Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | | | | | | | | | | | | Validate the IV/nonce length for a given algorithm. | Alex Gaynor | 2013-11-19 | 2 | -2/+18 | |
| | |_|_|_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #159 | |||||
* | | | | | | | | | | | | | | | | backend support check now lists which backend caused the skip | Paul Kehrer | 2014-01-03 | 2 | -2/+4 | |
| |_|_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | Merge branch 'master' into privatize-me-captain | Alex Gaynor | 2014-01-01 | 1 | -6/+3 | |
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cryptography/hazmat/backends/openssl/backend.py | |||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge pull request #386 from alex/move-gcm-tag-validation | Paul Kehrer | 2014-01-01 | 1 | -6/+3 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move GCM tag size/value validation farther forward | |||||
| | * | | | | | | | | | | | | | | | Fixed test for earlier exceptino | Alex Gaynor | 2014-01-01 | 1 | -6/+3 | |
| | | |_|_|_|/ / / / / / / / / / | | |/| | | | | | | | | | | | | | ||||||
* | / | | | | | | | | | | | | | | Make lib and ffi be private on backend | Alex Gaynor | 2014-01-01 | 1 | -11/+6 | |
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because now they are public on a binding instance if you need them! | |||||
* / / / / / / / / / / / / / / | Split OpenSSL binding | Alex Stapleton | 2014-01-01 | 1 | -0/+22 | |
|/ / / / / / / / / / / / / / | ||||||
* | | | | | | | | | | | | | | Merge pull request #353 from reaperhulk/supported-mark | Alex Gaynor | 2013-12-27 | 16 | -408/+341 | |
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | Add mark that allows us to do skip tests on backends via decorators | |||||
| * | | | | | | | | | | | | | re-add some removed generators to simplify patch | Paul Kehrer | 2013-12-27 | 3 | -50/+101 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | change typeerror to valueerror | Paul Kehrer | 2013-12-27 | 2 | -3/+3 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | refactor all tests to use mark instead of generator skips | Paul Kehrer | 2013-12-26 | 13 | -450/+290 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | rename the method to be less horribly named | Paul Kehrer | 2013-12-26 | 3 | -10/+10 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | add mark that allows us to do skip tests on backends via decorators | Paul Kehrer | 2013-12-26 | 3 | -2/+44 | |
| | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | Remove verify from Hash. | Julian Krause | 2013-12-26 | 1 | -26/+1 | |
| | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | 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 | |
| | | | | | | | | | | |