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

Raise error on degenerate keys (fixes #152) #157

Merged
merged 2 commits into from
Mar 13, 2017
Merged

Conversation

tarcieri
Copy link
Contributor

@tarcieri tarcieri commented Mar 13, 2017

(Picking up on @paragonie-scott's work from #153)

This fixes the RuboCop errors from @paragonie-scott's #153 PR, adds a test, and adopts a belt-and-suspenders approach by trying to detect degenerate keys eagerly (still also handling errors surfaced from libsodium itself)

paragonie-scott and others added 2 commits March 12, 2017 19:33
This fixes the RuboCop errors from @paragonie-scott's #153 PR, adds a test, and
adopts a belt-and-suspenders approach by trying to detect degenerate keys
eagerly (still also handling errors surfaced from libsodium itself)
@tarcieri tarcieri changed the title Fix degenerate keys Raise error on degenerate keys (fixes #152) Mar 13, 2017
@tarcieri tarcieri merged commit 96be04d into master Mar 13, 2017
@tarcieri tarcieri deleted the fix-degenerate-keys branch March 13, 2017 04:29
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