| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| | | |||||
| * | kwargs and class renames to bring verification up to date | Paul Kehrer | 2014-02-25 | 1 | -15/+35 |
| | | |||||
| * | more kwargs | Paul Kehrer | 2014-02-25 | 1 | -1/+4 |
| | | |||||
| * | add RSA verification support | Paul Kehrer | 2014-02-25 | 1 | -0/+88 |
| | | |||||
| * | more kwargs | Paul Kehrer | 2014-02-24 | 1 | -1/+5 |
| | | |||||
| * | rename PKCS1->PKCS1v15 & UnsupportedAsymmetricPadding->UnsupportedPadding | Paul Kehrer | 2014-02-24 | 1 | -3/+3 |
| | | |||||
| * | incorporate review feedback. kwarg! | Paul Kehrer | 2014-02-23 | 1 | -1/+10 |
| | | |||||
| * | keyword args | Paul Kehrer | 2014-02-23 | 1 | -1/+5 |
| | | |||||
| * | fix pep8 | Paul Kehrer | 2014-02-23 | 1 | -1/+0 |
| | | |||||
| * | some style fixes | Paul Kehrer | 2014-02-23 | 1 | -3/+7 |
| | | |||||
| * | add RSA PKCS1 signing (and structure for PSS + verification) | Paul Kehrer | 2014-02-23 | 1 | -0/+60 |
| | | |||||
| * | Explicitly pass the key parameters instead of using **kwargs. Now we don't ↵ | David Reid | 2014-02-19 | 1 | -3/+14 |
| | | | | | have to pop some stuff. | ||||
| * | fix rsa key loader test | Paul Kehrer | 2014-02-17 | 1 | -0/+1 |
| | | |||||
| * | switch to more compact modular multiplicative inverse | Paul Kehrer | 2014-02-14 | 1 | -27/+11 |
| | | |||||
| * | python3 compatibility is good | Paul Kehrer | 2014-02-14 | 1 | -1/+1 |
| | | |||||
| * | add egcd and modinv unit tests | Paul Kehrer | 2014-02-14 | 1 | -0/+36 |
| | | |||||
| * | expose dmp1, dmq1, iqmp getters on RSAPrivateKey | Paul Kehrer | 2014-02-13 | 1 | -3/+3 |
| | | |||||
| * | add crt coefficients to RSAPrivateKey constructor and update tests | Paul Kehrer | 2014-02-12 | 1 | -28/+135 |
| | | |||||
| * | Add RSAPrivateKey.generate | Alex Stapleton | 2014-02-12 | 1 | -7/+13 |
| | | |||||
| * | Generate RSA Keys | Alex Stapleton | 2014-02-11 | 1 | -5/+52 |
| | | |||||
| * | Make tests more explicit. | Alex Stapleton | 2014-02-07 | 1 | -38/+89 |
| | | |||||
| * | Check that public_exponent is odd | Alex Stapleton | 2014-02-07 | 1 | -12/+20 |
| | | |||||
| * | Use os.path.join to make paths | Alex Stapleton | 2014-02-06 | 1 | -1/+4 |
| | | |||||
| * | More sanity checks | Alex Stapleton | 2014-02-06 | 1 | -0/+12 |
| | | |||||
| * | Test alias properties | Alex Stapleton | 2014-02-05 | 1 | -0/+5 |
| | | |||||
| * | Check p*q=n in the tests | Alex Stapleton | 2014-02-05 | 1 | -0/+2 |
| | | |||||
| * | Sanity check keys. | Alex Stapleton | 2014-02-05 | 1 | -1/+35 |
| | | | | | Taken from RFC 3447. | ||||
| * | RSA keys | Alex Stapleton | 2014-02-05 | 1 | -0/+58 |
| These are implemented such that they don't depend on the backend. This means we don't have to worry about passing an RSA key created with one backend to a different one so much at the expense of having to create a backend specific context on demand. This is slightly non-trivial in (at least) OpenSSL as there are 3 additional derived parameters kept in its RSA struct. They aren't difficult to generate but it requires adding 30-40 lines of BN_* stuff to the backend so I'm leaving that out for now. We'll need to implement that before we can actually do any useful operations with the keys. This also adds a loader for some of the PKCS #1 test vectors. It only extracts the 10 key pairs from pss_vect.txt currently be should be extenable to include the example signatures and other files later. | |||||
