Skip to content

Conversation

@rubicae
Copy link

@rubicae rubicae commented Feb 14, 2020

While familiarizing myself with the code, I found that the the token generation function was using math/rand (docs for math/rand) which states For random numbers suitable for security-sensitive work, see the crypto/rand package.

Accordingly, I have switched the token generation to use crypto/rand.

@rubicae rubicae requested a review from m0namon February 14, 2020 06:15
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