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
...then I pasted this text into the Public Key text box:
-----BEGIN PUBLIC KEY-----
MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiAKBgHkNtpy3GB0YTCl2VCCd22i0rJwI
GBSazD4QRKvH6rch0IP4igb+02r7t0X//tuj0VbwtJz3cEICP8OGSqrdTSCGj5Y0
3Oa2gPkx/0c0V8D0eSXS/CUC0qrYHnAGLqko7eW87HW0rh7nnl2bB4Lu+R8fOmQt
5frCJ5eTkzwK5YczAgMBAAE=
-----END PUBLIC KEY-----
...and the page indicates that the signature is not valid. However, the signature is valid as verified with https://dinochiesa.github.io/jwt/, pyjwt, and github.com/golang-jwt/jwt.
The text was updated successfully, but these errors were encountered:
It may technically be valid but the key's modulus length is not the minimum 2048 bits required by the JOSE specifications.
BenjaminPelletier
changed the title
RS256 signature verification does not work
RS256 signature verification simply indicates "invalid signature" with small key size
Feb 7, 2022
This issue should probably now be considered a feature request: "Invalid key" is a pretty unhelpful error message and arises from many very different situations. It would be great if there were some hint as to why the signature was invalid.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇♂️
I pasted in this JWT:
...then I pasted this text into the Public Key text box:
...and the page indicates that the signature is not valid. However, the signature is valid as verified with https://dinochiesa.github.io/jwt/,
pyjwt
, andgithub.lhy31512.workers.dev/golang-jwt/jwt
.The text was updated successfully, but these errors were encountered: