Re: [webauthn] Clarify the need for truly randomly generated challenges (#1856)

Storing the challenge client-side in a JWT opens you up for replay-attacks in the validity window  of the JWT.   Challenges should be "use-exactly-once" which JWTs (or encrypted cookie; or signed cookie) will not give you.  I'd say storing the challenge server-side is a must for security.

-- 
GitHub Notification of comment by arianvp
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/1856#issuecomment-1438923661 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 21 February 2023 18:29:03 UTC