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

Use a secure random number generator #29

Open
mcfedr opened this issue Jul 24, 2017 · 0 comments
Open

Use a secure random number generator #29

mcfedr opened this issue Jul 24, 2017 · 0 comments

Comments

@mcfedr
Copy link

mcfedr commented Jul 24, 2017

Looking for a library to use and noticed you use rand to generate api keys.

You should use random_bytes or similar to securely do this. Rand is not appropriate.

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