Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | | | | | | | | Merge branch 'master' of https://github.com/pyca/cryptography into verify | Julian Krause | 2013-12-25 | 16 | -204/+359 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/hazmat/primitives/test_hashes.py tests/hazmat/primitives/test_hmac.py | |||||
| * | | | | | | | | | | | | | Merge pull request #347 from alex/better-error-emssage | Paul Kehrer | 2013-12-24 | 5 | -59/+35 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Better error emssage | |||||
| | * | | | | | | | | | | | | | Move stuff around and coverage | Alex Gaynor | 2013-12-24 | 5 | -61/+35 | |
| | | | | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | | | | Update test | Alex Gaynor | 2013-12-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | | | | Include teh name of the backend in the error message | Alex Gaynor | 2013-12-24 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | correct import style | Paul Kehrer | 2013-12-24 | 7 | -0/+7 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | add all the markers to the tests | Paul Kehrer | 2013-12-24 | 11 | -0/+45 | |
| |/ / / / / / / / / / / / / | ||||||
| * | | | | | | | | | | | | | whoops, python 2.6 compatible format string | Paul Kehrer | 2013-12-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | add test marks for various backend functionality | Paul Kehrer | 2013-12-24 | 3 | -0/+69 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Cover a missed branch | Alex Gaynor | 2013-12-24 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | add more skip check lambdas | Paul Kehrer | 2013-12-23 | 2 | -0/+40 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | add hmac_supported method to backend. | Paul Kehrer | 2013-12-23 | 2 | -8/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we were implicitly assuming that if a hash was supported then its hmac equivalent was as well. | |||||
| * | | | | | | | | | | | | | Merge pull request #325 from public/unsupported-cipher-messages | Alex Gaynor | 2013-12-22 | 2 | -8/+16 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UnsupportedAlgorithm error messages for Ciphers | |||||
| | * | | | | | | | | | | | | | UnsupportedAlgorithm error messages for Ciphers | Alex Stapleton | 2013-12-22 | 2 | -8/+16 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Merge pull request #327 from reaperhulk/gcm-lower-limit-tag | Alex Gaynor | 2013-12-21 | 1 | -0/+7 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restrict GCM tag length to 4+ bytes | |||||
| | * | | | | | | | | | | | | | | restrict gcm tags to a minimum of 4 bytes in length | Paul Kehrer | 2013-12-21 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | Merge pull request #326 from public/unsupported-hmac-hash | Alex Gaynor | 2013-12-21 | 1 | -2/+12 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | Raise UnsupportedAlgorithm when initing HMACs | |||||
| | * | | | | | | | | | | | | | | Raise UnsupportedAlgorithm when initing HMACs | Alex Stapleton | 2013-12-21 | 1 | -2/+12 | |
| | |/ / / / / / / / / / / / / | ||||||
| * | | | | | | | | | | | | | | Merge pull request #324 from public/unsupported-hash | Alex Gaynor | 2013-12-21 | 1 | -2/+12 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Raise UnsupportedAlgorithm when initing Hash() | |||||
| | * | | | | | | | | | | | | | | Raise UnsupportedAlgorithm when initing Hash() | Alex Stapleton | 2013-12-21 | 1 | -2/+12 | |
| | |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of just an AssertionError. | |||||
| * | | | | | | | | | | | | | | use both kwargs and named args in lambdas for clarity | Paul Kehrer | 2013-12-21 | 6 | -65/+43 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | don't modify params on parametrized tests | Paul Kehrer | 2013-12-20 | 7 | -55/+77 | |
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | multiple backends receive the same params dicts, but we were modifying them using pop. | |||||
| * | | | | | | | | | | | | | Merge branch 'master' into no-more-generator | Alex Gaynor | 2013-12-17 | 4 | -3/+44 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|/ / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/hazmat/primitives/utils.py | |||||
| * | | | | | | | | | | | | | pep8 | Alex Gaynor | 2013-12-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Make this less invasive | Alex Gaynor | 2013-12-13 | 1 | -177/+280 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Clean up test generation to not use generators anymore and use parametrization | Alex Gaynor | 2013-12-13 | 1 | -332/+209 | |
| | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | Add verify function to hmac and hashes. | Julian Krause | 2013-12-17 | 2 | -2/+48 | |
| |/ / / / / / / / / / / / |/| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | Merge pull request #308 from alex/rename-bindings | Donald Stufft | 2013-12-15 | 4 | -4/+4 | |
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | Renamed bindings to backends | |||||
| * | | | | | | | | | | | | Also rename teh tests | Alex Gaynor | 2013-12-13 | 2 | -0/+0 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Renamed bindings to backends | Alex Gaynor | 2013-12-13 | 3 | -4/+4 | |
| |/ / / / / / / / / / / | ||||||
* | | | | | | | | | | | | Merge pull request #283 from juliankrause/constant_time | Paul Kehrer | 2013-12-14 | 1 | -0/+41 | |
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | | Beginnings of a constant_time module. | |||||
| * | | | | | | | | | | | Beginnings of a constant_time module. | Julian Krause | 2013-12-04 | 1 | -0/+41 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | raise ValueErrors when supplying/not supplying tags for GCM | Paul Kehrer | 2013-12-04 | 3 | -3/+59 | |
|/ / / / / / / / / / / | ||||||
* | | | | | | | | | | | create AEADEncryptionContext and DecryptionContext | Paul Kehrer | 2013-11-29 | 1 | -1/+1 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | raise TypeError if you attempt to get the tag attribute on a decrypt | Paul Kehrer | 2013-11-29 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * To support this the _AEADCipherContext in base.py now needs to be aware of whether it is encrypting/decrypting | |||||
* | | | | | | | | | | | rename add_data to authenticate_additional_data for clarity (hopefully) | Paul Kehrer | 2013-11-29 | 1 | -5/+5 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | invalidtag exception for gcm | Paul Kehrer | 2013-11-29 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This exception is probably not safe. It depends on the assumption that if ERR_get_error returns a 0 then it is an AEAD tag error. | |||||
* | | | | | | | | | | | enforce AEAD add_data before update | Paul Kehrer | 2013-11-29 | 3 | -12/+14 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | _AEADCipherContext refactor | Paul Kehrer | 2013-11-29 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * No longer extends _CipherContext * Remove _tag from _CipherContext * This change duplicates a small amount of code from _CipherContext | |||||
* | | | | | | | | | | | rename NotFinalized exception to NotYetFinalized because alex is right | Paul Kehrer | 2013-11-29 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...it does read better that way | |||||
* | | | | | | | | | | | GCM support | Paul Kehrer | 2013-11-29 | 4 | -5/+163 | |
| |_|/ / / / / / / / |/| | | | | | | | | | ||||||
* | | | | | | | | | | Fixed this test. It was passing for the wrong reason. | Alex Gaynor | 2013-11-27 | 1 | -2/+2 | |
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Shame on us for letting something without coverage land. | |||||
* | | | | | | | | | Merge pull request #227 from dreid/explicit-backend-in-hazmat | Alex Gaynor | 2013-11-26 | 5 | -30/+22 | |
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | Explicit backend | |||||
| * | | | | | | | | Fix pep8 | David Reid | 2013-11-25 | 1 | -1/+2 | |
| | | | | | | | | | ||||||
| * | | | | | | | | Use keyword argument forms everywhere. | David Reid | 2013-11-25 | 3 | -15/+16 | |
| | | | | | | | | | ||||||
| * | | | | | | | | Test that openssl is the default backend. | David Reid | 2013-11-20 | 1 | -0/+4 | |
| | | | | | | | | | ||||||
| * | | | | | | | | Explicit backend | David Reid | 2013-11-20 | 4 | -37/+23 | |
| |/ / / / / / / | ||||||
* | | | | | | / | Fixed branch coverage | Alex Gaynor | 2013-11-23 | 1 | -0/+17 | |
| |_|_|_|_|_|/ |/| | | | | | | ||||||
* | | | | | | | Change teh exception | Alex Gaynor | 2013-11-22 | 1 | -5/+3 | |
| | | | | | | | ||||||
* | | | | | | | Coverage | Alex Gaynor | 2013-11-22 | 1 | -0/+4 | |
| | | | | | | |