Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Always use deprecated_call | Alex Gaynor | 2014-05-03 | 1 | -4/+8 |
| | |||||
* | Switch tests to pass salt length to the right place, except where actually ↵ | Alex Gaynor | 2014-05-03 | 1 | -12/+12 |
| | | | | testing the deprecation support | ||||
* | Don't import the exceptions module directly. | Alex Gaynor | 2014-04-29 | 1 | -12/+14 |
| | | | | | The name "exceptions" is way too common for modules, so it's crappy to put that name in the namespace, just import the classes we need. | ||||
* | Merge pull request #962 from reaperhulk/rsa-enc | Alex Gaynor | 2014-04-26 | 1 | -1/+119 |
|\ | | | | | RSA encryption support | ||||
| * | move ct length check into decrypt function, address review comments | Paul Kehrer | 2014-04-25 | 1 | -13/+8 |
| | | |||||
| * | another style fix in the rsa tests that I missed last time... | Paul Kehrer | 2014-04-24 | 1 | -2/+2 |
| | | |||||
| * | improve style in test, update docs for rsa encryption review | Paul Kehrer | 2014-04-24 | 1 | -1/+1 |
| | | |||||
| * | RSA encryption support | Paul Kehrer | 2014-04-24 | 1 | -0/+123 |
| | | |||||
* | | Rename OpenSSLSerializationBackend | Alex Stapleton | 2014-04-25 | 1 | -19/+3 |
| | | |||||
* | | No more comma seperated string strings | Alex Gaynor | 2014-04-24 | 1 | -1/+1 |
|/ | |||||
* | OAEP support for RSA decryption | Paul Kehrer | 2014-04-22 | 1 | -0/+59 |
| | |||||
* | more key length checks, docs update | Paul Kehrer | 2014-04-20 | 1 | -1/+3 |
| | |||||
* | remove InvalidDecryption and replace with ValueError | Paul Kehrer | 2014-04-20 | 1 | -2/+2 |
| | |||||
* | remove OAEP decryption to simplify review | Paul Kehrer | 2014-04-20 | 1 | -59/+0 |
| | |||||
* | cover a missing line | Paul Kehrer | 2014-04-20 | 1 | -0/+11 |
| | |||||
* | more testing for rsa decrypt | Paul Kehrer | 2014-04-20 | 1 | -0/+17 |
| | |||||
* | test should check for the right exception | Paul Kehrer | 2014-04-20 | 1 | -1/+1 |
| | |||||
* | add InvalidDecryption exception, check for ct > key size | Paul Kehrer | 2014-04-20 | 1 | -0/+13 |
| | |||||
* | docs, tests, general huge improvements to RSA decryption | Paul Kehrer | 2014-04-20 | 1 | -11/+59 |
| | |||||
* | prelim OAEP and PKCS1v15 for openssl 1.0.0+ and 0.9.8. decryption only | Paul Kehrer | 2014-04-20 | 1 | -0/+63 |
| | |||||
* | Merge pull request #935 from public/rsa-crt | Paul Kehrer | 2014-04-20 | 1 | -17/+4 |
|\ | | | | | Utility methods for RSA CRT params | ||||
| * | Utility methods for RSA CRT params | Alex Stapleton | 2014-04-18 | 1 | -17/+4 |
| | | |||||
* | | some checks for PKCS1 keys being too small for the payload to be signed | Paul Kehrer | 2014-04-19 | 1 | -0/+29 |
|/ | |||||
* | added unused NIST test files for FIPS 186-2 RSA (PKCS#1 v1.5) to test cases | Thomas Fenzl | 2014-04-15 | 1 | -0/+10 |
| | |||||
* | DummyMGF needs a _salt_length too | Paul Kehrer | 2014-04-02 | 1 | -1/+1 |
| | |||||
* | move DeprecatedIn04 to utils, some kwargs changes | Paul Kehrer | 2014-04-02 | 1 | -2/+2 |
| | |||||
* | address review comments | Paul Kehrer | 2014-04-02 | 1 | -3/+6 |
| | |||||
* | move salt_length from MGF1 to PSS and start deprecation cycle | Paul Kehrer | 2014-04-02 | 1 | -41/+99 |
| | |||||
* | fix pep8 errors | Alex Stapleton | 2014-04-01 | 1 | -1/+1 |
| | |||||
* | Add _Reasons.UNSUPPORTED_MGF | Alex Stapleton | 2014-04-01 | 1 | -2/+2 |
| | |||||
* | Update tests and raise sites | Alex Stapleton | 2014-03-27 | 1 | -20/+19 |
| | |||||
* | Fixed #809 -- switch back to always using UnsupportedAlgorithm | Alex Gaynor | 2014-03-27 | 1 | -17/+17 |
| | |||||
* | improve exception msgs, change how test_pss_signing_sha2 works | Paul Kehrer | 2014-03-20 | 1 | -27/+36 |
| | |||||
* | Merge branch 'master' into rsa-pss-signing | Paul Kehrer | 2014-03-20 | 1 | -50/+136 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: add mgf1_hash_supported unsupported hash check more concise way of generating tests switch to a lambda rename some things add FIPS 186-2/3 signature verification tests for RSA PKCSv15 and PSS revert one import order change a few small fixes Add ASN1_TIME_free import order fixes for future automated checking Conflicts: tests/hazmat/primitives/test_rsa.py tests/hazmat/primitives/utils.py | ||||
| * | more concise way of generating tests | Paul Kehrer | 2014-03-19 | 1 | -86/+52 |
| | | |||||
| * | switch to a lambda | Paul Kehrer | 2014-03-19 | 1 | -10/+35 |
| | | |||||
| * | rename some things | Paul Kehrer | 2014-03-19 | 1 | -11/+11 |
| | | |||||
| * | add FIPS 186-2/3 signature verification tests for RSA PKCSv15 and PSS | Paul Kehrer | 2014-03-19 | 1 | -11/+106 |
| | | |||||
| * | import order fixes for future automated checking | Paul Kehrer | 2014-03-19 | 1 | -2/+2 |
| | | |||||
* | | never trust openssl | Paul Kehrer | 2014-03-19 | 1 | -2/+103 |
| | | | | | | | | | | | | | | Turns out you can't trust it to safely compute the max salt length allowed for PSS, so now we get to do it ourselves. We also check for whether the key size is large enough for the selected hash function (PSS only for now, PKCS1 coming in another PR) | ||||
* | | RSA PSS signature support | Paul Kehrer | 2014-03-19 | 1 | -0/+85 |
|/ | |||||
* | change exception and improve some language | Paul Kehrer | 2014-03-17 | 1 | -2/+4 |
| | |||||
* | pass the hash class rather than using getattr | Paul Kehrer | 2014-03-16 | 1 | -5/+5 |
| | |||||
* | add RSA PSS verification support | Paul Kehrer | 2014-03-16 | 1 | -1/+248 |
| | |||||
* | Tiny style changes to some imports | Alex Gaynor | 2014-03-16 | 1 | -2/+1 |
| | |||||
* | Style nitpick | Ayrx | 2014-03-16 | 1 | -1/+1 |
| | |||||
* | Added backend check to rsa primitives | Ayrx | 2014-03-16 | 1 | -0/+25 |
| | |||||
* | make attributes of MGF1 private since that's our general convention | Paul Kehrer | 2014-03-11 | 1 | -4/+4 |
| | |||||
* | add MGF1 class, docs, tests | Paul Kehrer | 2014-03-10 | 1 | -0/+27 |
| | |||||
* | address some review comments | Paul Kehrer | 2014-02-26 | 1 | -2/+6 |
| |