Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add support for encoding compressed points (#4638) | Paul Kehrer | 2019-01-20 | 1 | -5/+20 |
| | | | | | | * add support for encoding compressed points * review feedback | ||||
* | support x448 public/private serialization both raw and pkcs8 (#4653) | Paul Kehrer | 2019-01-13 | 1 | -0/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * support x448 public/private serialization both raw and pkcs8 * add tests for all other asym key types to prevent Raw * more tests * better tests * fix a test * funny story, I'm actually illiterate. * pep8 * require PrivateFormat.Raw or PublicFormat.Raw with Encoding.Raw * missing docs * parametrize * docs fixes * remove dupe line * assert something | ||||
* | parametrize a bunch of tests (#4365) | Paul Kehrer | 2018-11-04 | 1 | -281/+58 |
| | |||||
* | create & use _evp_md_from_algorithm and _evp_md_non_null_from_algorithm (#4542) | Paul Kehrer | 2018-10-29 | 1 | -0/+18 |
| | | | | | | * create & use _evp_md_from_algorithm and _evp_md_non_null_from_algorithm * remove unused import | ||||
* | Test for expected CryptographyDeprecationWarnings (#4372) | Tim Burke | 2018-07-28 | 1 | -17/+20 |
| | | | | | | | The remaining calls to `signer()` and `verifier()` are exercising the deprecated API intentionally. Let's test that the deprecation warnings are being raised as expected. Closes #4311; see also #4314. | ||||
* | we don't actually care about the errstack here, it's an invalid signature ↵ | Paul Kehrer | 2018-07-10 | 1 | -0/+35 |
| | | | | | | | | | | | | | | (#4325) * we don't actually care about the errstack here, it's an invalid signature We previously had no cases where we could error without getting errors on the error stack, but wycheproof contains test cases that can error without adding anything to the stack. Accordingly, we should clear the stack but raise InvalidSignature no matter what (rather than InternalError if we have no error msgs) * add a test | ||||
* | reduce number of deprecated signer/verifier calls in test_rsa (#4314) | Paul Kehrer | 2018-07-06 | 1 | -113/+95 |
| | |||||
* | Fixed 120 warnings from the RSA tests (#4052) | Alex Gaynor | 2017-12-11 | 1 | -9/+6 |
| | | | | | | * Fixed 120 warnings from the RSA tests * typo | ||||
* | Use a different warning class so users get warnings (#4014) | Alex Gaynor | 2017-11-11 | 1 | -11/+9 |
| | | | | | | | | | | | | * Use a different warning class so users get warnings * fixed tests * do our own warning class * typo * flake8 | ||||
* | RSA OAEP label support for OpenSSL 1.0.2+ (#3897) | Paul Kehrer | 2017-09-08 | 1 | -2/+129 |
| | | | | | | | | | | * RSA OAEP label support for OpenSSL 1.0.2+ * changelog * move around tests, address review feedback, use backend supported method * unsupported padding catches this now | ||||
* | deprecate signer/verifier on asymmetric keys (#3663) | Paul Kehrer | 2017-06-03 | 1 | -2/+7 |
| | | | | | | * deprecate signer/verifier on asymmetric keys * review feedback, switch deprecated_call to work around a bug | ||||
* | make signature and verification contexts error better re: prehashed (#3658) | Paul Kehrer | 2017-06-02 | 1 | -0/+29 |
| | | | | | | * make signature and verification contexts error better re: prehashed * code review feedback | ||||
* | support RSA verify with prehashing (#3265) | Paul Kehrer | 2016-11-20 | 1 | -0/+23 |
| | | | | | | | | | | * support RSA verify with prehashing * review feedback * more dedupe * refactor and move to a separate module | ||||
* | support prehashing in RSA sign (#3238) | Paul Kehrer | 2016-11-20 | 1 | -1/+40 |
| | | | | | | | | * support prehashing in RSA sign * check to make sure digest size matches prehashed data provided * move doctest for prehashed | ||||
* | Enforce that p > q to improve OpenSSL compatibility (fixes #2990) (#3010) | Dirkjan Ochtman | 2016-07-19 | 1 | -1/+2 |
| | |||||
* | Fixed #3008 -- expose calculate max pss salt length (#3014) | Alex Gaynor | 2016-06-27 | 1 | -0/+4 |
| | | | | | | | | | | | | | | * Fixed #3008 -- expose calculate max pss salt length * Fixed a few mistakes in the docs * move all the code around * oops * write a unit test * versionadded + changelog | ||||
* | Add convenience methods to sign and verify w/ RSA (#2945) | Colleen Murphy | 2016-06-04 | 1 | -0/+22 |
| | | | | | | | | | This patch adds wrapper methods to allow the user to sign and verify a single message block without having to go through the multi-step process of creating a signer or verifier, updating it with the one message, and finalizing the result. This will make signing and verifying data more user-friendly when only using small messages. Partial bug #1529 | ||||
* | RSA OAEP SHA2 Support (#2956) | Paul Kehrer | 2016-06-04 | 1 | -0/+115 |
| | | | | | | | | | | | | | | | | | | | | * some rsa oaep sha2 support * various improvements * fix a thing * simplify * update the test * styyyyyle * more styyyyle * fix libre, remove a skip that should never be hit * OAEP version check fixes | ||||
* | SSH serialization for public keys (#2957) | Alex Gaynor | 2016-06-03 | 1 | -0/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * SSH serialization for public keys * name errors ahoy! * id, ego, superego * dsa support * EC support * Don't keyerror * Documentation OpenSSH * flake8 * fix * bytes bytes bytes * skip curve unsupported * bytes! * Move a function * reorganize code for coverage | ||||
* | Random grammar stuff (#2955) | Alex Gaynor | 2016-06-02 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2762 from alex/dedupe-doubles | Paul Kehrer | 2016-03-06 | 1 | -23/+10 |
|\ | | | | | Un-double the test doubles | ||||
| * | Un-double the test doubles | Alex Gaynor | 2016-03-05 | 1 | -23/+10 |
| | | |||||
* | | make the test function name make sense | Alex Gaynor | 2016-03-05 | 1 | -1/+1 |
| | | |||||
* | | move key | Alex Gaynor | 2016-03-05 | 1 | -73/+3 |
| | | |||||
* | | wrap some very long lines | Alex Gaynor | 2016-03-05 | 1 | -8/+80 |
| | | |||||
* | | Added a failing test case for #2760 | Alex Gaynor | 2016-03-05 | 1 | -0/+36 |
|/ | |||||
* | support rsa key generation testing when key is not serializable | Paul Kehrer | 2016-01-30 | 1 | -1/+10 |
| | |||||
* | Write some tests for skip conditions in tests. | Alex Gaynor | 2016-01-10 | 1 | -9/+26 |
| | | | | Without this these branches aren't excersised without 0.9.8, but conceptually they are needed. | ||||
* | move test | Paul Kehrer | 2015-12-27 | 1 | -0/+37 |
| | |||||
* | Enforce signature type in ECDSA and add tests | Stanisław Pitucha | 2015-08-12 | 1 | -0/+17 |
| | | | | | Ensure that ECDSA signatures are bytes to match RSA/DSA and add tests for all three. | ||||
* | Fixed #2143 -- added __hash__ to RSA{Public,Private}Numbers | Alex Gaynor | 2015-07-12 | 1 | -0/+16 |
| | |||||
* | require serialization in asym tests | Paul Kehrer | 2015-06-27 | 1 | -30/+3 |
| | |||||
* | support RSA DER private key serialization | Paul Kehrer | 2015-03-13 | 1 | -19/+84 |
| | |||||
* | Merge pull request #1741 from reaperhulk/serialize-der-public-keys | Alex Gaynor | 2015-03-10 | 1 | -21/+35 |
|\ | | | | | support DER serialization of public keys | ||||
| * | support DER serialization of public keys | Paul Kehrer | 2015-03-10 | 1 | -21/+35 |
| | | |||||
* | | Fixed the deprecation warnings being triggered by the tests | Alex Gaynor | 2015-03-10 | 1 | -1/+1 |
|/ | |||||
* | support RSA public key serialization | Paul Kehrer | 2015-03-07 | 1 | -2/+47 |
| | |||||
* | s/Format/PrivateFormat | Paul Kehrer | 2015-03-01 | 1 | -7/+10 |
| | |||||
* | change as_bytes to private_bytes, link more things | Paul Kehrer | 2015-02-28 | 1 | -14/+14 |
| | |||||
* | add exact byte test | Paul Kehrer | 2015-02-27 | 1 | -0/+17 |
| | |||||
* | listify a parametrized test | Paul Kehrer | 2015-02-25 | 1 | -1/+1 |
| | |||||
* | rename dump to as_bytes | Paul Kehrer | 2015-02-25 | 1 | -12/+12 |
| | |||||
* | address review comments | Paul Kehrer | 2015-02-25 | 1 | -17/+34 |
| | |||||
* | Support for traditional OpenSSL and PKCS8 RSA private key serialization | Paul Kehrer | 2015-02-25 | 1 | -2/+97 |
| | |||||
* | Updated RSA and DSA tests for moved classes | Alex Gaynor | 2015-02-24 | 1 | -2/+2 |
| | |||||
* | move asymmetric padding interface to primitives.asymmetric.padding | Paul Kehrer | 2015-02-16 | 1 | -1/+1 |
| | |||||
* | various improvements to rsa_recover_prime_factors per review feedback | Paul Kehrer | 2015-01-18 | 1 | -8/+2 |
| | |||||
* | recover (p, q) given (n, e, d). fixes #975 | Paul Kehrer | 2015-01-18 | 1 | -0/+33 |
| | |||||
* | add NotImplemented handling | Paul Kehrer | 2014-12-10 | 1 | -0/+2 |
| | |||||
* | add __ne__ and __eq__ methods to RSA, DSA, and EC numbers classes | Paul Kehrer | 2014-12-10 | 1 | -1/+50 |
| | | | | fixes #1449 |