Added OpenSSL.SSL.Connection.get_selected_srtp_profile to determine which SRTP profile was negotiated.
[#1279](https://github.com/pyca/pyopenssl/issues/1279) <https://github.com/pyca/pyopenssl/pull/1279>_.
Removed OpenSSL.crypto.loads_pkcs7 and OpenSSL.crypto.loads_pkcs12 which had been deprecated for 3 years.
Added OpenSSL.SSL.OP_LEGACY_SERVER_CONNECT to allow legacy insecure renegotiation between OpenSSL and unpatched servers.
[#1234](https://github.com/pyca/pyopenssl/issues/1234) <https://github.com/pyca/pyopenssl/pull/1234>_.
Deprecations:
^^^^^^^^^^^^^
Deprecated OpenSSL.crypto.PKCS12 (which was intended to have been deprecated at the same time as OpenSSL.crypto.load_pkcs12).
Deprecated OpenSSL.crypto.NetscapeSPKI.
Deprecated OpenSSL.crypto.CRL
Deprecated OpenSSL.crypto.Revoked
Deprecated OpenSSL.crypto.load_crl and OpenSSL.crypto.dump_crl
Deprecated OpenSSL.crypto.sign and OpenSSL.crypto.verify
Deprecated OpenSSL.crypto.X509Extension
Changes:
^^^^^^^^
Changed OpenSSL.crypto.X509Store.add_crl to also accept
cryptography's x509.CertificateRevocationList arguments in addition
to the now deprecated OpenSSL.crypto.CRL arguments.
Fixed test_set_default_verify_paths test so that it is skipped if no
network connection is available.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pyopenssl from 23.2.0 to 24.0.0.
Changelog
Sourced from pyopenssl's changelog.
Commits
7f3e4f9
Bump for release (#1284)d9752e4
add all-green CI job (#1283)df358b3
Fix changelog by moving new features to 24.0.0 release (#1282)34b018f
Add Connection.get_selected_srtp_profile (#1278) (#1279)920fa96
Replace RSA-512 test keys with RSA-2048 (#1281)8219562
Fix a typo in deprecation warnings (#1280)abf91d7
Bump actions/setup-python from 4 to 5 (#1274)5dc1044
Put mypy, coverage.py, pytest in pyproject (#1273)acb31fb
Fix various issues around X509_STORE_CTX reuse (#1272)bb4a60d
docs: include test dependencies when developing pyOpenSSL (#1271)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show