Skip to content

fix: explicitly specify HS256 algorithm for JWT signing#150

Merged
LivingLikeKrillin merged 1 commit intodevelopfrom
fix/jwt-algorithm-mismatch
Mar 27, 2026
Merged

fix: explicitly specify HS256 algorithm for JWT signing#150
LivingLikeKrillin merged 1 commit intodevelopfrom
fix/jwt-algorithm-mismatch

Conversation

@LivingLikeKrillin
Copy link
Copy Markdown
Contributor

Summary

  • jjwt의 signWith(key)가 키 길이에 따라 알고리즘을 자동 선택(HS384/HS512)하여 NimbusJwtDecoder(HS256 고정)와 불일치하는 문제 수정
  • signWith(getSigningKey(), Jwts.SIG.HS256)으로 알고리즘 명시

Test plan

  • 빌드 확인 완료

🤖 Generated with Claude Code

jjwt의 signWith(key)가 키 길이에 따라 알고리즘을 자동 선택하여
NimbusJwtDecoder(HS256 고정)와 불일치하는 문제 수정

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@LivingLikeKrillin LivingLikeKrillin merged commit 49dabb9 into develop Mar 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant