Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a few new flake8 issues (#4008) | Alex Gaynor | 2017-11-02 | 1 | -1/+0 |
| | |||||
* | deprecate signer/verifier on asymmetric keys (#3663) | Paul Kehrer | 2017-06-03 | 1 | -2/+4 |
| | | | | | | * 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/+16 |
| | | | | | | * make signature and verification contexts error better re: prehashed * code review feedback | ||||
* | add convenience methods for key_size on EC{Public,Private}Key (#3587) | Paul Kehrer | 2017-05-23 | 1 | -0/+9 |
| | |||||
* | Fixes #3538 -- Make our OpenSSL EC verifier's implementation match the API ↵ | Alex Gaynor | 2017-05-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | (#3539) * Document our real API for EC verification, not an accident * formatting consistency * fix the code itself * fixed class name * fixed a test too | ||||
* | error if private_value is <= 0 in ec.derive_private_key (#3273) | Paul Kehrer | 2016-11-21 | 1 | -0/+3 |
| | |||||
* | add support for prehashing in ECDSA sign/verify (#3267) | Paul Kehrer | 2016-11-20 | 1 | -1/+67 |
| | | | | | | * add support for prehashing in ECDSA sign/verify * move signature_algorithm check to its own function | ||||
* | add ec.private_key_from_secret_and_curve (#3225) | Ofek Lev | 2016-11-11 | 1 | -0/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * finish https://github.com/pyca/cryptography/pull/1973 * change API & add test Function will now return an instance of EllipticCurvePrivateKey, as that is the users' ultimate goal anyway. * fix test * improve coverage * complete coverage * final fix * centos fix * retry * cleanup asserts * use openssl_assert * skip unsupported platforms * change API name to derive_private_key * change version added * improve description of `secret` param * separate successful and failure test cases * simplify successful case * add docs for derive_elliptic_curve_public_point * add period | ||||
* | One shot sign/verification ECDSA (#3029) | Aviv Palivoda | 2016-07-02 | 1 | -0/+22 |
| | | | | | | | | | | | | | | * Add sign and verify methods to ECDSA * Documented ECDSA sign/verify methods * Added CHANGELOG entry * Skipping test verify and sign if curve is not supported * Fixed typo in documentation return type * Removed provider language from EllipticCurvePrivateKey and EllipticCurvePublicKey | ||||
* | SSH serialization for public keys (#2957) | Alex Gaynor | 2016-06-03 | 1 | -0/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fixed #2887 -- implement __hash__ on EC numbers classes (#2888) | Alex Gaynor | 2016-04-30 | 1 | -0/+24 |
| | |||||
* | Un-double the test doubles | Alex Gaynor | 2016-03-05 | 1 | -6/+2 |
| | |||||
* | Write some tests for skip conditions in tests. | Alex Gaynor | 2016-01-10 | 1 | -0/+6 |
| | | | | Without this these branches aren't excersised without 0.9.8, but conceptually they are needed. | ||||
* | use the non-deprecated name for this function | Alex Gaynor | 2015-12-19 | 1 | -3/+3 |
| | |||||
* | Swapping modified x509 test with modified ec test | Peter Hamilton | 2015-10-30 | 1 | -11/+2 |
| | |||||
* | Error cleanly if the public and private keys to an ECDH key exchange are on ↵ | Alex Gaynor | 2015-10-28 | 1 | -1/+27 |
| | | | | different curves | ||||
* | add ellipticcurvepublicnumbers repr | Paul Kehrer | 2015-10-28 | 1 | -0/+5 |
| | |||||
* | address review feedback | Paul Kehrer | 2015-10-28 | 1 | -7/+0 |
| | |||||
* | modify approach to use EllipticCurvePublicNumbers methods | Paul Kehrer | 2015-10-27 | 1 | -0/+74 |
| | |||||
* | better place for this test | Alex Gaynor | 2015-10-19 | 1 | -0/+16 |
| | |||||
* | removed unused code, and added a test | Alex Gaynor | 2015-10-19 | 1 | -12/+13 |
| | |||||
* | be more pro-active in handling invalid keys | Alex Gaynor | 2015-10-18 | 1 | -23/+27 |
| | |||||
* | unused | Alex Gaynor | 2015-10-17 | 1 | -6/+0 |
| | |||||
* | a refactor to the API | Alex Gaynor | 2015-10-17 | 1 | -53/+41 |
| | |||||
* | Add an Elliptic Curve Key Exchange Algorithm(ECDH) | Simo Sorce | 2015-10-17 | 1 | -1/+93 |
| | | | | | | | | | The ECDH Key Exchange algorithm as standardized in NIST publication 800-56A Revision 2 Includes tests with vectors from NIST. Signed-off-by: Simo Sorce <simo@redhat.com> | ||||
* | Catch Invalid X or Y points and raise a ValueError | Simo Sorce | 2015-10-12 | 1 | -0/+29 |
| | | | | Signed-off-by: Simo Sorce <simo@redhat.com> | ||||
* | skip if check on ec test | Paul Kehrer | 2015-08-12 | 1 | -1/+2 |
| | |||||
* | Enforce signature type in ECDSA and add tests | Stanisław Pitucha | 2015-08-12 | 1 | -0/+9 |
| | | | | | Ensure that ECDSA signatures are bytes to match RSA/DSA and add tests for all three. | ||||
* | require serialization in asym tests | Paul Kehrer | 2015-06-27 | 1 | -36/+5 |
| | |||||
* | fix ec_cdata_to_evp_pkey bug | Paul Kehrer | 2015-06-22 | 1 | -0/+18 |
| | | | | | | We weren't actually returning the object and the tests weren't catching it because we didn't try to use the evp_pkey property in the tests. The added test confirms it actually works. | ||||
* | add support for secp256k1 | Paul Kehrer | 2015-05-08 | 1 | -4/+11 |
| | |||||
* | support DER encoded EC private key serialization | Paul Kehrer | 2015-03-13 | 1 | -12/+93 |
| | |||||
* | Merge pull request #1741 from reaperhulk/serialize-der-public-keys | Alex Gaynor | 2015-03-10 | 1 | -8/+23 |
|\ | | | | | support DER serialization of public keys | ||||
| * | support DER serialization of public keys | Paul Kehrer | 2015-03-10 | 1 | -8/+23 |
| | | |||||
* | | Fixed the deprecation warnings being triggered by the tests | Alex Gaynor | 2015-03-10 | 1 | -1/+1 |
|/ | |||||
* | make tests properly skip on OpenSSLs without EC support | Paul Kehrer | 2015-03-08 | 1 | -0/+4 |
| | |||||
* | serialize EC public keys | Paul Kehrer | 2015-03-08 | 1 | -1/+69 |
| | |||||
* | format to privateformat | Paul Kehrer | 2015-03-02 | 1 | -7/+10 |
| | |||||
* | skip those tests if ec unsupported | Paul Kehrer | 2015-03-01 | 1 | -0/+7 |
| | |||||
* | add support for serialization of EC private keys | Paul Kehrer | 2015-03-01 | 1 | -2/+162 |
| | |||||
* | move EC interfaces | Paul Kehrer | 2015-02-12 | 1 | -4/+4 |
| | |||||
* | Removed some deprecated code | Alex Gaynor | 2014-12-24 | 1 | -19/+0 |
| | |||||
* | 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 | -0/+35 |
| | | | | fixes #1449 | ||||
* | add encode_rfc6979_signature and refactor tests to use it | Paul Kehrer | 2014-11-27 | 1 | -11/+7 |
| | |||||
* | Update the license header for every source file, as well as the documentation. | Alex Gaynor | 2014-11-16 | 1 | -13/+3 |
| | | | | Fixes #1209 | ||||
* | Don't mark this test class as implementing the interface. | Alex Gaynor | 2014-10-30 | 1 | -1/+0 |
| | | | | It doesn't correctly implement it, that's sort of the point of this test. | ||||
* | Added attributes that are part of hte interface to several test fakes | Alex Gaynor | 2014-10-27 | 1 | -1/+1 |
| | |||||
* | Change how we represented that a test requires a backend. | Alex Gaynor | 2014-10-23 | 1 | -3/+3 |
| | | | | This way is more extensible and requires less maintaince | ||||
* | Fixes #1416 -- replaced assertions with error checking in EC key from numbers. | Alex Gaynor | 2014-10-19 | 1 | -0/+22 |
| | | | | Includes tests. |