spring security error1 [Spring Security] The signing key's size is 40 bits which is not secure enough for the HS512 algorithm. spring security + jwt 에서 로그인 api 를 사용하던 중 다음과 같은 에러가 나왔다. io.jsonwebtoken.security.WeakKeyException: The signing key's size is 40 bits which is not secure enough for the HS512 algorithm. The JWT JWA Specification (RFC 7518, Section 3.2) states that keys used with HS512 MUST have a size >= 512 bits (the key size must be greater than or equal to the hash output size). Consider using the io.jsonweb.. 2022. 11. 9. 이전 1 다음