Skip to content

security(jwt): support environment override for JWT secret and warn on insecure defaults - #216

Open
AdamMagued wants to merge 1 commit into
go-eagle:masterfrom
AdamMagued:fix/issue-215-jwt-secret-env-override
Open

AdamMagued wants to merge 1 commit into
go-eagle:masterfrom
AdamMagued:fix/issue-215-jwt-secret-env-override

Conversation

@AdamMagued

Copy link
Copy Markdown

Fixes #215

Summary

  • Prioritize JWT_SECRET / EAGLE_JWT_SECRET environment variable over static config file defaults
  • Emit startup warning when insecure default or weak JWT secret is detected
  • Add unit tests for environment override resolution

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.

[Vulnerability] 存在可能导致越权风险的硬编码JWT Secret

1 participant