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

key generation should use secure random instead of random #16

Open
yangyangsfdc opened this issue Mar 31, 2015 · 0 comments
Open

key generation should use secure random instead of random #16

yangyangsfdc opened this issue Mar 31, 2015 · 0 comments

Comments

@yangyangsfdc
Copy link

Here is the link for that code:
https://github.com/pelle/oauth/blob/master/lib/oauth/helper.rb#l20

We should use SecureRandom for any key generation:
http://ruby-doc.org/stdlib-1.9.3/libdoc/securerandom/rdoc/SecureRandom.html

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