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

Made the command to generate a SECRET_KEY_BASE more portable #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cowens-papa
Copy link

macOS treats input files to tr as UTF-8 by default and the chances of /dev/random spitting out valid UTF-8 is low (which causes tr to fail and output nothing). Also, the complement of "A-Za-z0-9" seems to allow for invalid characters for some reason, but the alnum character class doesn't.

macOS treats input files to tr as UTF-8 by default and the chances of /dev/random spitting out valid UTF-8 is low (which causes tr to fail and output nothing). Also, the complement of "A-Za-z0-9" seems to allow for invalid characters for some reason, but the alnum character class doesn't.
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