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

Msodde failed decrypt fix #432

Merged

Conversation

christian-intra2net
Copy link
Contributor

This fixes a stupid little bug introduced when integrating crypto into msodde: check whether decryption actually worked and raise appropriate error if not.

Fixed this also in crypto recommendations and created a unittest

@christian-intra2net
Copy link
Contributor Author

Error found by @decalage2 in PR #403 (and overlooked by me at first)

@christian-intra2net
Copy link
Contributor Author

Rebased onto current master

@decalage2
Copy link
Owner

Hi @christian-intra2net, this one is now in conflict with your other PRs that I merged. Could you please check?

@christian-intra2net
Copy link
Contributor Author

I will, thanks for the note

@christian-intra2net christian-intra2net force-pushed the msodde-failed-decrypt-fix branch 4 times, most recently from 8f5ebe4 to 34681da Compare June 3, 2019 09:06
@christian-intra2net
Copy link
Contributor Author

Finally, updated. The first motivating commit for this branch was already included in another pull request. Still, the other commits are worth merging, I think (update docs, create test).
Needed so many force-pushs since there was an error in pypy which I could not re-create on my workstation (warning about libopenssl)

Might otherwise try to delete a non-existent file
pypy's json loader does not accept newlines in strings
json is messed up in pypy with warnings
@christian-intra2net christian-intra2net force-pushed the msodde-failed-decrypt-fix branch from 34681da to bb38dc6 Compare June 26, 2019 08:51
@christian-intra2net
Copy link
Contributor Author

Rebased onto current master

@decalage2 decalage2 merged commit 4bfa29a into decalage2:master Jul 6, 2019
@christian-intra2net christian-intra2net deleted the msodde-failed-decrypt-fix branch July 8, 2019 07:56
@christian-intra2net
Copy link
Contributor Author

Thanks for merging :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants