Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | support equality checks on all public asymmetric key types (#8700) | Paul Kehrer | 2023-04-10 | 1 | -0/+9 |
| | | | | | * support equality checks on all public asymmetric key types * review feedback | ||||
* | Use from __future__ import annotations everywhere (#8643) | Alex Gaynor | 2023-03-31 | 1 | -9/+11 |
| | |||||
* | Remove use of deprecated EC functions (#8459) | Alex Gaynor | 2023-03-06 | 1 | -4/+6 |
| | |||||
* | Use the ruff 'pyupgrade' checks (#8104) | Alex Gaynor | 2023-01-20 | 1 | -1/+1 |
| | |||||
* | fixes #7005 -- check if public keys are at infinity earlier (#7020) | Alex Gaynor | 2022-04-02 | 1 | -0/+13 |
| | | | to infinity, and beyond! | ||||
* | Improve type coverage on some backend internals (#6776) | Alex Gaynor | 2022-01-02 | 1 | -2/+2 |
| | |||||
* | type more asym internals (#6758) | Paul Kehrer | 2021-12-26 | 1 | -8/+19 |
| | |||||
* | simplify _calculate_digest_and_algorithm (#6719) | Paul Kehrer | 2021-12-22 | 1 | -5/+3 |
| | |||||
* | remove signer/verifier as they've been deprecated for 4.25 years (#6639) | Paul Kehrer | 2021-12-03 | 1 | -81/+3 |
| | | | | | * remove signer/verifier as they've been deprecated for 4.25 years * fix coverage | ||||
* | Remove read_only_property and precisely type all these getters (#6668) | Alex Gaynor | 2021-11-29 | 1 | -2/+6 |
| | | | | | | | * Remove read_only_property and precisely type all these getters * flake8 * unused | ||||
* | x509 tests for boring (#6590) | Paul Kehrer | 2021-11-12 | 1 | -4/+4 |
| | |||||
* | switch to evp_pkey_derive for ECDH (#5973) | Paul Kehrer | 2021-04-14 | 1 | -13/+2 |
| | | | remove unused lower level bindings, improve error msg | ||||
* | add EC type hinting (#5729) | Paul Kehrer | 2021-01-31 | 1 | -32/+74 |
| | |||||
* | make PrivateKeyWithSerialization an alias of PrivateKey (#5722) | Paul Kehrer | 2021-01-31 | 1 | -2/+2 |
| | | | | | * make PrivateKeyWithSerialization an alias of PrivateKey * black | ||||
* | Remove __future__ import from our code (#5610) | Alex Gaynor | 2020-12-09 | 1 | -1/+0 |
| | |||||
* | Delete all the 1.0.2 code (#5511) | Alex Gaynor | 2020-10-25 | 1 | -3/+3 |
| | |||||
* | handle unnamed-but-really-named curves in 1.0.2u (#5362) | Paul Kehrer | 2020-07-30 | 1 | -7/+2 |
| | | | | | | | | | * handle unnamed-but-really-named curves in 1.0.2u * handle openssl 1.0.2 not supporting better install commands on make * do what openssl didn't feel was necessary in 1.0.2t/u I didn't bind the named curve constant, fight me. | ||||
* | Paint it Black by the Rolling Stones (#5324) | Alex Gaynor | 2020-07-20 | 1 | -38/+31 |
| | |||||
* | Cleanup serialize (#5149) | Marko Kreen | 2020-05-25 | 1 | -4/+1 |
| | | | | | | | | | | | | | | * Additional tests for public/private_bytes They expose few places that raise TypeError and AssertionError! before, and ValueError later. * Cleanup of private_bytes() backend Also pass key itself down to backend. * Cleanup of public_bytes() backend * Test handling of unsupported key type | ||||
* | update openssls (#4995) | Paul Kehrer | 2019-10-15 | 1 | -3/+15 |
| | | | | | | | | | | * update openssls * missed one * what will this do * only do this check for 1.1.0+ | ||||
* | Simplify string formatting (#4757) | Alex Gaynor | 2019-02-20 | 1 | -1/+1 |
| | |||||
* | add support for encoding compressed points (#4638) | Paul Kehrer | 2019-01-20 | 1 | -7/+50 |
| | | | | | | * add support for encoding compressed points * review feedback | ||||
* | centralize our bytes check (#4622) | Paul Kehrer | 2018-12-02 | 1 | -2/+1 |
| | | | this will make life a bit easier when we support bytearrays | ||||
* | deprecate signer/verifier on asymmetric keys (#3663) | Paul Kehrer | 2017-06-03 | 1 | -1/+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 | -1/+3 |
| | | | | | | * 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/+8 |
| | |||||
* | Fixes #3538 -- Make our OpenSSL EC verifier's implementation match the API ↵ | Alex Gaynor | 2017-05-10 | 1 | -3/+2 |
| | | | | | | | | | | | | | | (#3539) * Document our real API for EC verification, not an accident * formatting consistency * fix the code itself * fixed class name * fixed a test too | ||||
* | Fixed #3422 -- Remove some legacy code which is now in 1.0.1 (#3423) | Alex Gaynor | 2017-03-01 | 1 | -2/+2 |
| | | | | | | | | | | * Fixed #3422 -- Remove some legacy code which is now in 1.0.1 * _int_to_bn doesnt like negatives * minimize the diff * some additional cleanup | ||||
* | Drop 1.0.0 (#3312) | Alex Gaynor | 2016-12-13 | 1 | -38/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * delete the 1.0.0 support * drop the version check * drop the AES-CTR stuff * Update the example * openssl truncates for us now * delete unused test * unused imports * Remove a bunch of conditional bindings for NPN * no more 1.0.0 builders * libressl fix * update the docs * remove dead branches * oops * this is a word, damnit * spelling * try removing this * this test is not needed * unused import | ||||
* | add support for prehashing in ECDSA sign/verify (#3267) | Paul Kehrer | 2016-11-20 | 1 | -23/+34 |
| | | | | | | * add support for prehashing in ECDSA sign/verify * move signature_algorithm check to its own function | ||||
* | refactor ecdsa sign/verify for prehash (#3263) | Paul Kehrer | 2016-11-19 | 1 | -34/+31 |
| | |||||
* | fix warnings in cffi 1.8.3 due to wrong buffer types (#3155) | Paul Kehrer | 2016-09-21 | 1 | -1/+1 |
| | |||||
* | One shot sign/verification ECDSA (#3029) | Aviv Palivoda | 2016-07-02 | 1 | -0/+10 |
| | | | | | | | | | | | | | | * 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/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | please flake8 | Alex Gaynor | 2015-10-29 | 1 | -1/+1 |
| | |||||
* | Error cleanly if the public and private keys to an ECDH key exchange are on ↵ | Alex Gaynor | 2015-10-28 | 1 | -0/+5 |
| | | | | different curves | ||||
* | a refactor to the API | Alex Gaynor | 2015-10-17 | 1 | -0/+25 |
| | |||||
* | convert the rest of the openssl backend to using openssl_assert | Paul Kehrer | 2015-09-25 | 1 | -12/+12 |
| | |||||
* | Move signature type checks | Stanisław Pitucha | 2015-08-14 | 1 | -2/+3 |
| | | | | Move the point of checking signatures, as suggested by alex in PR 2262. | ||||
* | Enforce signature type in ECDSA and add tests | Stanisław Pitucha | 2015-08-12 | 1 | -0/+2 |
| | | | | | Ensure that ECDSA signatures are bytes to match RSA/DSA and add tests for all three. | ||||
* | evp_pkey in openssl asymmetric key constructors | Paul Kehrer | 2015-06-20 | 1 | -21/+9 |
| | |||||
* | Use the new names to reference these classes | Alex Gaynor | 2015-03-11 | 1 | -1/+1 |
| | |||||
* | refactor OpenSSL backend private_key_bytes | Paul Kehrer | 2015-03-11 | 1 | -1/+0 |
| | |||||
* | support DER serialization of public keys | Paul Kehrer | 2015-03-10 | 1 | -1/+0 |
| | |||||
* | serialize EC public keys | Paul Kehrer | 2015-03-08 | 1 | -1/+22 |
| | |||||
* | add support for serialization of EC private keys | Paul Kehrer | 2015-03-01 | 1 | -1/+18 |
| | |||||
* | move asymmetric signature/verification interfaces | Paul Kehrer | 2015-02-16 | 1 | -4/+6 |
| | |||||
* | move EC interfaces | Paul Kehrer | 2015-02-12 | 1 | -2/+2 |
| | |||||
* | Merge pull request #1538 from reaperhulk/named-curve | Alex Gaynor | 2014-12-17 | 1 | -0/+14 |
|\ | | | | | Set OPENSSL_EC_NAMED_CURVE on our EC_KEY instances | ||||
| * | british english? never heard of it. | Paul Kehrer | 2014-12-17 | 1 | -2/+2 |
| | |