Skip to content

Improve security of JWT Secret  #9

Description

@reznik99

JWT-Secret is stored as environment variable. This secret is an ASCII secret/password.

The jsonwebtoken library uses this value as a raw AES Key for HMAC auth0/node-jsonwebtoken#620

To improve security, the JWT-Secret should be put through a KDF function like Argon2ID, scrypt, bcrypt or PBKDF2 on start-up before any JWTs are signed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions