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

Add more hints when decrypting AES with an invalid key #277

Merged
merged 2 commits into from
Sep 1, 2017

Conversation

xrmx
Copy link
Contributor

@xrmx xrmx commented Jun 29, 2017

Fix #275

@kvesteri
Copy link
Owner

Before merging this needs tests. Otherwise looks good 👍

@xrmx
Copy link
Contributor Author

xrmx commented Jun 29, 2017

I've grepped decrypt in tests/ and haven't found anything. Where do you think should i add them?

@kvesteri
Copy link
Owner

kvesteri commented Jul 4, 2017

Each type has its own tests. You can find the encrypted type tests in https://github.com/kvesteri/sqlalchemy-utils/blob/master/tests/types/test_encrypted.py and add your tests there.

Also the test before asserts the same thing is a pytz.tzfile.DstTzInfo
@xrmx
Copy link
Contributor Author

xrmx commented Aug 17, 2017

Updated PR with test plus removed an assert on an unrelated test that makes the build fail

@xrmx
Copy link
Contributor Author

xrmx commented Aug 31, 2017

Friendly ping

@kvesteri kvesteri merged commit fade68c into kvesteri:master Sep 1, 2017
@kvesteri
Copy link
Owner

kvesteri commented Sep 1, 2017

Thanks for the PR! 🚋

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