Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JWT_SECRET & COOKIE_SECRET bad defaults #171

Open
happyjamstack opened this issue May 21, 2024 · 0 comments
Open

JWT_SECRET & COOKIE_SECRET bad defaults #171

happyjamstack opened this issue May 21, 2024 · 0 comments

Comments

@happyjamstack
Copy link

Is there a reason why JWT_SECRET and COOKIE_SECRET are not automatically randomly generated? Do they need to be the same each time the server restarts? What cryptographic requirements are they supposed to have? I haven't seen any information documenting these things.

It could be set to to some random string generated with crypto but that value would change every time the server restarted.

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

No branches or pull requests

1 participant