Unable to compute HS512 signature with JCA algorithm 'HmacSHA512' using key {class: javax.crypto.spec.SecretKeySpec, algorithm: HmacSHA512, format: RAW}: Mac callback execution failed: No installed provider supports this key: javax.crypto.spec.SecretKeySpec #931
Replies: 2 comments 3 replies
-
It's difficult to what the problem is here because the example above is not reproducible (the problematic values are defined in your spring config). That said my guess is your secret is not defined correctly, see the related section of the README: More specifically, number 3 in this post: Five Anti-Patterns with Secrets in Java Note This post was based on a presentation JWTs for CSRF & Microservices from @dogeared, which is also embedded in the post. If those resources don't help, create an example that uses hard-coded values (don't use real keys), and we can point you in the right direction. |
Beta Was this translation helpful? Give feedback.
-
@ehddbs4521 any update on this based on our feedback? |
Beta Was this translation helpful? Give feedback.
-
spring version:3.2.2
jvm version:17.0.7
jjwt version:0.12.5
It worked 3days ago. but It deosn't work now...
Beta Was this translation helpful? Give feedback.
All reactions