summaryrefslogtreecommitdiff
path: root/src/cryptography/hazmat/backends/openssl/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Use from __future__ import annotations everywhere (#8643)Alex Gaynor2023-03-311-1/+3
|
* Simplify/unify Rust and Python OpenSSL error handling (#8552)Alex Gaynor2023-03-201-2/+2
|
* Stop validating keys in ECDH exchange (#8490)Alex Gaynor2023-03-111-4/+10
| | | | | The theory here is that we're already doing sufficient validation key loading, and this is purely duplicative. Note that there's at least _some_ validationg that was previously occurring only ECDH, the LowOrderPublic check that can be seen in wycheproof.
* Update to the new wycheproof (#8403)Alex Gaynor2023-02-281-1/+4
|
* type more asym internals (#6758)Paul Kehrer2021-12-261-1/+4
|
* simplify _calculate_digest_and_algorithm (#6719)Paul Kehrer2021-12-221-3/+7
|
* fixed out of date error message (#6675)Alex Gaynor2021-12-061-9/+0
|
* remove signer/verifier as they've been deprecated for 4.25 years (#6639)Paul Kehrer2021-12-031-13/+0
| | | | | * remove signer/verifier as they've been deprecated for 4.25 years * fix coverage
* remind people we're going to remove verifier/signer (#6640)Paul Kehrer2021-11-211-2/+3
|
* switch to evp_pkey_derive for ECDH (#5973)Paul Kehrer2021-04-141-1/+2
| | | remove unused lower level bindings, improve error msg
* Remove __future__ import from our code (#5610)Alex Gaynor2020-12-091-1/+0
|
* Add support for RSA signature recovery (#5573)Zoltan Kelemen2020-12-071-1/+2
| | | | | | | | | | | | | | | | | | * Removed unused argument. * Added support for RSA signature recovery. * Syntatic corrections for passing pep8 tests. * Corrected typo. * Added test of invalid Prehashed parameter to RSA signature recover. * Renamed recover to a more descriptive name. * Extended RSA signature recovery with option to return full data (not only the digest part). * Added missing words to pass spell check.
* Paint it Black by the Rolling Stones (#5324)Alex Gaynor2020-07-201-7/+3
|
* Fixes #4734 -- Deal with deprecated things (#4736)Alex Gaynor2019-01-231-1/+1
| | | | | | | | | | * Fixes #4734 -- Deal with deprecated things - Make year based aliases of PersistentlyDeprecated so we can easily assess age - Removed encode/decode rfc6979 signature - Removed Certificate.serial * Unused import
* refactor x25519 exchange into utils (#4603)Paul Kehrer2018-11-221-0/+24
|
* Fixed #3798 -- use the correct stacklevel on this warning (#3803)Alex Gaynor2017-07-211-1/+1
|
* deprecate signer/verifier on asymmetric keys (#3663)Paul Kehrer2017-06-031-0/+12
| | | | | | * 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 Kehrer2017-06-021-0/+8
| | | | | | * make signature and verification contexts error better re: prehashed * code review feedback
* Drop 1.0.0 (#3312)Alex Gaynor2016-12-131-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* support RSA verify with prehashing (#3265)Paul Kehrer2016-11-201-0/+20
| | | | | | | | | | * support RSA verify with prehashing * review feedback * more dedupe * refactor and move to a separate module
* Simplify chained comparisonAnton Ovchinnikov2015-03-291-1/+1
|
* Update the license header for every source file, as well as the documentation.Alex Gaynor2014-11-161-12/+3
| | | | Fixes #1209
* Move the cryptography package into a src/ subdirectoryDonald Stufft2014-11-131-0/+35
Due to differences in how py.test determines which module to ``import`` the test suite actually runs against the cryptography which is in the *current* directory instead of the cryptography which is installed. The problem essentially boils down to when there is a tests/__init__.py then py.test adds the current directory to the front of the sys.path, causing it to take precedence over the installed location. This means that running the tests relies on the implicit compile that CFFI does instead of testing against what people will actually be runnning, which is the module compiled by setup.py.