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

fix: auth providers: ensure cookie secrets are len 32 #365

Closed
wants to merge 1 commit into from

Conversation

g-linville
Copy link
Collaborator

I'm still not sure exactly how it happened, but even though we generate 32 bytes for the cookie secret, I one time saw an auth provider crash on launch, saying it was only 31 bytes that it had. This is a little bandaid to prevent that from happening again. I saved the value that caused the problem so that I can investigate it more thoroughly in the future. For now, I just want to prevent it from happening again.

@g-linville g-linville marked this pull request as ready for review January 23, 2025 21:21
@g-linville g-linville closed this Jan 23, 2025
@g-linville
Copy link
Collaborator Author

The real fix is here: obot-platform/obot#1427

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.

2 participants