You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One observation I have is that if you choose to generate an encryption-usage key, the alg choices and generated key appears to be incorrect, and populates with JWS algs (RS256, ES256 etc)
The text was updated successfully, but these errors were encountered:
chadlwilson
changed the title
Alg field for encryption algs doesn't appear to give correct options
Alg field for encryption keys doesn't appear to give correct options
Jan 11, 2021
Good observation, right now the tool doesn't take into account the "use" field when making values available for the other fields, and the alg field pulls from a list of JWS values. we can look at adding that, or a pull request would be appreciated if you can!
I put in a fix for this and it's been pushed to the website. If there are any issues like missing or miscategorized algorithms, just file another issue or PR. Thanks!
Firstly, great little tool here! Thanks!
One observation I have is that if you choose to generate an encryption-usage key, the
alg
choices and generated key appears to be incorrect, and populates with JWS algs (RS256
,ES256
etc)While alg is optional in general, for encryption keys, believe these should be
RSA-OAEP-256
,ECDH-ES
,ECDH-ES+A256KW
etc per https://tools.ietf.org/html/rfc7518#section-4.1The text was updated successfully, but these errors were encountered: