Re: [webauthn] RS256 test vector has seemingly incorrect key size of 3482 bits (#2333)

Thanks for the clarification, I had no idea RS256 could have different key sizes!

The modulus length limitation is entirely self-inflicted based on the assumption an RS256 modulus would be 256 bytes.

For context, I wrote a function to create a 'verifying key' from just the modulus and exponent that among other things, determined the digest algorithm based on the modulus length.

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


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

Received on Friday, 26 September 2025 10:42:17 UTC