summaryrefslogtreecommitdiff
path: root/src/cryptography/hazmat/bindings/openssl/binding.py
Commit message (Collapse)AuthorAgeFilesLines
* Use from __future__ import annotations everywhere (#8643)Alex Gaynor2023-03-311-0/+2
|
* drop support for openssl < 1.1.1d (#8449)Paul Kehrer2023-03-241-31/+0
| | | | | This removes the OS random engine, which contained the only CPython PSF licensed code in the repository. Accordingly, that license has now been removed.
* Simplify/unify Rust and Python OpenSSL error handling (#8552)Alex Gaynor2023-03-201-76/+6
|
* Support handling OpenSSL errors from Rust code (#8530)Alex Gaynor2023-03-161-18/+23
|
* Ressurect the PoC of OpenSSL from Rust (#7164)Alex Gaynor2023-03-151-7/+16
|
* deprecate support for OpenSSL <1.1.1d (#8444)Paul Kehrer2023-03-051-0/+18
| | | | | * deprecate support for OpenSSL <1.1.1d * use an actually exported constant
* Use the ruff 'pyupgrade' checks (#8104)Alex Gaynor2023-01-201-5/+7
|
* support compilation against openssl 3 with no legacy provider (#7650)Paul Kehrer2022-09-261-8/+23
| | | | | You must pass CRYPTOGRAPHY_OPENSSL_NO_LEGACY for this to be allowed. Downstreams can easily patch this check out if they want to default to this behavior.
* Warn users on 32-bit Pythons on 64-bit windows. (#7641)Alex Gaynor2022-09-241-1/+15
| | | They're leaving a ton of performance on the table.
* A handful of small internal typing improvements (#7625)Alex Gaynor2022-09-181-6/+9
|
* Drop OpenSSL 1.1.0 (#7570)Alex Gaynor2022-09-071-18/+0
| | | | | There's still a few TODOs for cleanup. Refs #7109
* final deprecation warnings for 1.1.0 (#7123)Paul Kehrer2022-04-261-1/+1
|
* Be clear that OpenSSL 1.1.0 is going bye bye (#7108)Alex Gaynor2022-04-221-2/+2
|
* Try removing the SSL_library_init call in initialization (#6986)Alex Gaynor2022-03-211-2/+0
| | | I'm reasonably certain it's not required in recent OpenSSL's
* Remove initialization call that's not required in 1.1.0+ (#6952)Alex Gaynor2022-03-131-2/+0
|
* Remove explicit subclassing of object now that all classes are new-style (#6830)Alex Gaynor2022-01-301-2/+2
| | | As someone who first with Python in 2.4 or so, this habit is going to be hard to break.
* improve types in the binding (#6737)Paul Kehrer2021-12-221-7/+7
|
* more backend typing (#6731)Paul Kehrer2021-12-211-1/+1
| | | | | | | * more backend typing slow progress in a variety of places * type checking isn't the only way we run code
* more internal typing. supported methods, hash, hmac (#6728)Paul Kehrer2021-12-221-2/+6
| | | | | | | | | * more internal typing. supported mehods, hash, hmac * cursed * cursed again * has this man ever linted a thing
* Expand typing coverage to exceptions (#6717)Alex Gaynor2021-12-211-3/+3
| | | | | | | * Expand typing coverage to exceptions Involves making _OpenSSLErrorWithText a typing.NamedTuple * Poke for CI
* Remove read_only_property and precisely type all these getters (#6668)Alex Gaynor2021-11-291-3/+11
| | | | | | | * Remove read_only_property and precisely type all these getters * flake8 * unused
* closes #6663 -- deprecate openssl 1.1.0 support (#6667)Alex Gaynor2021-11-281-0/+17
|
* FIPS 3.0.0 support (#6012)Paul Kehrer2021-08-291-0/+16
| | | | | | | | | | | | | | | | | | | | | * FIPS 3.0.0 support * comments * remove unneeded error clear * review comments * small refactor * black * flake8 too * review feedback * oops * fix
* 3.0.0 deprecated func and it isn't useful to us in general (#6148)Paul Kehrer2021-06-301-7/+4
| | | remove it everywhere and assert on the code/lib/reason
* [WIP] 3.0.0 support (#5250)Paul Kehrer2021-04-221-0/+20
| | | | | | | * 3.0.0 support * almost...there... * make mypy happy
* type updates from turning on unchecked-defs on tests (#5720)Paul Kehrer2021-01-311-1/+1
| | | test changes themselves will be in a separate PR
* Introduce the most very basic mypy type checking (#5706)Alex Gaynor2021-01-281-1/+2
| | | Nothing is really annotated, just getting to clean.
* Remove __future__ import from our code (#5610)Alex Gaynor2020-12-091-1/+0
|
* in OpenSSL 1.1.0+ error strings are automatically loaded (#5587)Paul Kehrer2020-11-261-2/+0
|
* Always rely on OpenSSL's builtin locking callbacks (#5561)Alex Gaynor2020-11-111-22/+1
|
* Delete all the 1.0.2 code (#5511)Alex Gaynor2020-10-251-27/+0
|
* be more verbose in the 102 deprecation notice (#5505)Paul Kehrer2020-10-251-2/+5
|
* Break users on OpenSSL 1.0.2 (#5438)Alex Gaynor2020-08-281-6/+14
| | | fixes #5432
* Improve debugability of this internal error (#5399)Alex Gaynor2020-08-151-2/+4
|
* Commit to dropping OpenSSL 1.0.2 (#5363)Alex Gaynor2020-07-301-1/+1
|
* start trying to make our error handling a bit more generic (#5352)Paul Kehrer2020-07-261-12/+21
| | | | | | | | | * start trying to make our error handling a bit more generic * remove more and black * attach error stack to memorylimit error * blaaack
* fixes #5321 -- deprecate support for OpenSSL 1.0.2 (#5333)Alex Gaynor2020-07-201-0/+16
|
* Paint it Black by the Rolling Stones (#5324)Alex Gaynor2020-07-201-3/+6
|
* disable the osrandom engine on 1.1.1d+ (#5317)Paul Kehrer2020-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * disable the osrandom engine on 1.1.1d+ * skip (and run) some tests on 1.1.1d+ * simplify our conditionals * Update src/_cffi_src/openssl/src/osrandom_engine.c Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> * words * more words * language * get coverage more cleverly * a word * Update .github/workflows/ci.yml Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
* Drop support for OpenSSL 1.0.1 (#5178)Alex Gaynor2020-04-041-24/+0
|
* Fixes #5018 -- break users on OpenSSL 1.0.1 (#5022)Alex Gaynor2019-10-181-6/+14
| | | | | | | | | | | | * Fixes #5018 -- break users on OpenSSL 1.0.1 * Grammar * Syntax error * Missing import * Missing import
* Refs #4923; deprecate OpenSSL 1.0.1 (#4924)Alex Gaynor2019-06-151-1/+1
| | | | | | * Refs #4923; deprecate OpenSSL 1.0.1 * changelog
* support NO_ENGINE (#4763)Paul Kehrer2019-02-251-2/+3
| | | | | | | | * support OPENSSL_NO_ENGINE * support some new openssl config args * sigh
* why did we have these variables (#4764)Paul Kehrer2019-02-241-2/+0
|
* encode the package version in the shared object (#4756)Paul Kehrer2019-02-201-0/+24
| | | | | | | | | | * encode the package version in the shared object * review feedback * move into build_ffi so the symbol is in all shared objects * review feedback
* Use our cryptography-specific warning class (#4493)Alex Gaynor2018-10-101-1/+1
|
* Fixes #3460 -- deprecate OpenSSL 1.0.1 (#4427)Alex Gaynor2018-08-311-0/+16
| | | | | | | | | | | | * Fixes #3460 -- deprecate OpenSSL 1.0.1 * We need to import warnings * flake8 * words are hard * rephrase
* 1.1.0 locks (#4420)Paul Kehrer2018-08-291-1/+2
| | | | | | | | | | | | * Do conditional compiling of Cryptography_setup_ssl_threads * Check Cryptography_HAS_LOCKING_CALLBACKS before initing static locks Check if compiling and initing locking callbacks is necessary PEP8 fix * Make test_crypto_lock_init more complete
* Make our locking setup function compy with our style guide (#4316)Alex Gaynor2018-07-061-1/+1
| | | And not expose an unprefixed name to anyone who dlopens us.
* Fixed #4058 -- use the thread-safe API from OpenSSL, not the danger one (#4059)Alex Gaynor2017-12-181-3/+4
|