JWT signature does not match locally computed signature only on some POD
See original GitHub issueDescribe the bug
We are using PS256
as signing algorithm with rotated keys. the app is running on java 11 and deployed in kubernetes.
Recently we started to encounter signature verification issue, all jwt that passed through one pod will fail with JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted
message, but further retry with different pod confirms that the jwt is not the problem. Our current resolution for this is to kill the pod, but this is not ideal.
To Reproduce We are not able to reproduce it locally yet, but let me know if there’s any info that might be helpful
Expected behavior Signature should be successfully verified, as it’s verifiable on similar pods.
Screenshots
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:12 (5 by maintainers)
Top Results From Across the Web
JWT signature does not match locally computed signature
It means that if you issue a JWT, it is only valid as long as the server does not reboot. The SignatureException you...
Read more >Freshchat API responds with "JWT signature does not match ...
Freshchat API responds with "JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted.
Read more >jwtk - Bountysource
Returning null is not handled by the calling code in JJWT, so it appears ... JWT signature does not match locally computed signature...
Read more >TheHive-Project/TheHive - Gitter
DefaultJWTCookieDataCodec - decode: cookie has invalid signature! message = JWT signature does not match locally computed signature. JWT validity cannot be ...
Read more >Spring Boot JWT Setup with Frontend (VueJs)
If someone signed JWT with its private key, then it can only be opened by its ... JWT signature does not match locally...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s running on the same k8s deployment, so it should have the exact same configuration
This issue has been automatically marked as stale due to inactivity for 60 or more days. It will be closed in 7 days if no further activity occurs.