BACKWARDS INCOMPATIBLE: Removed support for idna based U-label parsing in various X.509 classes. This support was originally deprecated in version 2.1 and moved to an extra in 2.5.
Deprecated OpenSSL 1.0.2 support. OpenSSL 1.0.2 is no longer supported by the OpenSSL project. The next version of cryptography will drop support for it.
Deprecated support for Python 3.5. This version sees very little use and will be removed in the next release.
backend arguments to functions are no longer required and the default backend will automatically be selected if no backend is provided.
Added initial support for parsing certificates from PKCS7 files with ~cryptography.hazmat.primitives.serialization.pkcs7.load_pem_pkcs7_certificates and ~cryptography.hazmat.primitives.serialization.pkcs7.load_der_pkcs7_certificates .
Calling update or update_into on ~cryptography.hazmat.primitives.ciphers.CipherContext with data longer than 2^31^ bytes no longer raises an OverflowError. This also resolves the same issue in /fernet.
3.0 - 2020-07-20
BACKWARDS INCOMPATIBLE: Removed support for passing an ~cryptography.x509.Extension instance to ~cryptography.x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier, as per our deprecation policy.
BACKWARDS INCOMPATIBLE: Support for LibreSSL 2.7.x, 2.8.x, and 2.9.0 has been removed (2.9.1+ is still supported).
BACKWARDS INCOMPATIBLE: Dropped support for macOS 10.9, macOS users must upgrade to 10.10 or newer.
BACKWARDS INCOMPATIBLE: RSA ~cryptography.hazmat.primitives.asymmetric.rsa.generate_private_key no longer accepts public_exponent values except 65537 and 3 (the latter for legacy purposes).
BACKWARDS INCOMPATIBLE: X.509 certificate parsing now enforces that the version field contains a valid value, rather than deferring this check until ~cryptography.x509.Certificate.version is accessed.
Deprecated support for Python 2. At the time there is no time table for actually dropping support, however we strongly encourage all users to upgrade their Python, as Python 2 no longer receives support from the Python core team.
If you have trouble suppressing this warning in tests view the FAQ
entry addressing this issue <faq-howto-handle-deprecation-warning>.
Added support for OpenSSH serialization format for ec, ed25519, rsa and dsa private keys: ~cryptography.hazmat.primitives.serialization.load_ssh_private_key for loading and ~cryptography.hazmat.primitives.serialization.PrivateFormat.OpenSSH for writing.
Added support for OpenSSH certificates to ~cryptography.hazmat.primitives.serialization.load_ssh_public_key.
Added ~cryptography.fernet.Fernet.encrypt_at_time and ~cryptography.fernet.Fernet.decrypt_at_time to ~cryptography.fernet.Fernet.
Added support for the ~cryptography.x509.SubjectInformationAccess X.509 extension.
Added support for parsing ~cryptography.x509.SignedCertificateTimestamps in OCSP responses.
Added support for parsing attributes in certificate signing requests via ~cryptography.x509.CertificateSigningRequest.get_attribute_for_oid.
Added support for encoding attributes in certificate signing requests via ~cryptography.x509.CertificateSigningRequestBuilder.add_attribute.
On OpenSSL 1.1.1d and higher cryptography now uses OpenSSL's built-in CSPRNG instead of its own OS random engine because these versions of OpenSSL properly reseed on fork.
Added initial support for creating PKCS12 files with ~cryptography.hazmat.primitives.serialization.pkcs12.serialize_key_and_certificates.
2.9.2 - 2020-04-22
Updated the macOS wheel to fix an issue where it would not run on macOS versions older than 10.15.
2.9.1 - 2020-04-21
Updated Windows, macOS, and manylinux wheels to be compiled with OpenSSL 1.1.1g.
2.9 - 2020-04-02
BACKWARDS INCOMPATIBLE: Support for Python 3.4 has been removed due to low usage and maintenance burden.
BACKWARDS INCOMPATIBLE: Support for OpenSSL 1.0.1 has been removed. Users on older version of OpenSSL will need to upgrade.
BACKWARDS INCOMPATIBLE: Support for LibreSSL 2.6.x has been removed.
Removed support for calling ~cryptography.hazmat.primitives.asymmetric.x25519.X25519PublicKey.public_bytes with no arguments, as per our deprecation policy. You must now pass encoding and format.
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.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
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 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)
@dependabot use these labels will set the current labels as the default for future PRs for this repo and language
@dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
@dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
@dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
@dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
Update frequency (including time of day and day of week)
Pull request limits (per update run and/or open at any time)
Out-of-range updates (receive only lockfile updates, if desired)
Security updates (receive only security updates, if desired)
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.8 to 3.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst">cryptography's changelog</a>.</em></p>
<blockquote>
<h1>3.1 - 2020-08-26</h1>
<ul>
<li><strong>BACKWARDS INCOMPATIBLE:</strong> Removed support for <code>idna</code> based U-label parsing in various X.509 classes. This support was originally deprecated in version 2.1 and moved to an extra in 2.5.</li>
<li>Deprecated OpenSSL 1.0.2 support. OpenSSL 1.0.2 is no longer supported by the OpenSSL project. The next version of <code>cryptography</code> will drop support for it.</li>
<li>Deprecated support for Python 3.5. This version sees very little use and will be removed in the next release.</li>
<li><code>backend</code> arguments to functions are no longer required and the default backend will automatically be selected if no <code>backend</code> is provided.</li>
<li>Added initial support for parsing certificates from PKCS7 files with ~cryptography.hazmat.primitives.serialization.pkcs7.load_pem_pkcs7_certificates and ~cryptography.hazmat.primitives.serialization.pkcs7.load_der_pkcs7_certificates .</li>
<li>Calling <code>update</code> or <code>update_into</code> on ~cryptography.hazmat.primitives.ciphers.CipherContext with <code>data</code> longer than 2^31^ bytes no longer raises an <code>OverflowError</code>. This also resolves the same issue in /fernet.</li>
</ul>
<h1>3.0 - 2020-07-20</h1>
<ul>
<li>
<p><strong>BACKWARDS INCOMPATIBLE:</strong> Removed support for passing an ~cryptography.x509.Extension instance to ~cryptography.x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier, as per our deprecation policy.</p>
</li>
<li>
<p><strong>BACKWARDS INCOMPATIBLE:</strong> Support for LibreSSL 2.7.x, 2.8.x, and 2.9.0 has been removed (2.9.1+ is still supported).</p>
</li>
<li>
<p><strong>BACKWARDS INCOMPATIBLE:</strong> Dropped support for macOS 10.9, macOS users must upgrade to 10.10 or newer.</p>
</li>
<li>
<p><strong>BACKWARDS INCOMPATIBLE:</strong> RSA ~cryptography.hazmat.primitives.asymmetric.rsa.generate_private_key no longer accepts <code>public_exponent</code> values except 65537 and 3 (the latter for legacy purposes).</p>
</li>
<li>
<p><strong>BACKWARDS INCOMPATIBLE:</strong> X.509 certificate parsing now enforces that the <code>version</code> field contains a valid value, rather than deferring this check until ~cryptography.x509.Certificate.version is accessed.</p>
</li>
<li>
<p>Deprecated support for Python 2. At the time there is no time table for actually dropping support, however we strongly encourage all users to upgrade their Python, as Python 2 no longer receives support from the Python core team.</p>
<p>If you have trouble suppressing this warning in tests view the FAQ
entry addressing this issue <faq-howto-handle-deprecation-warning>.</p>
</li>
<li>
<p>Added support for <code>OpenSSH</code> serialization format for <code>ec</code>, <code>ed25519</code>, <code>rsa</code> and <code>dsa</code> private keys: ~cryptography.hazmat.primitives.serialization.load_ssh_private_key for loading and ~cryptography.hazmat.primitives.serialization.PrivateFormat.OpenSSH for writing.</p>
</li>
<li>
<p>Added support for <code>OpenSSH</code> certificates to ~cryptography.hazmat.primitives.serialization.load_ssh_public_key.</p>
</li>
<li>
<p>Added ~cryptography.fernet.Fernet.encrypt_at_time and ~cryptography.fernet.Fernet.decrypt_at_time to ~cryptography.fernet.Fernet.</p>
</li>
<li>
<p>Added support for the ~cryptography.x509.SubjectInformationAccess X.509 extension.</p>
</li>
<li>
<p>Added support for parsing ~cryptography.x509.SignedCertificateTimestamps in OCSP responses.</p>
</li>
<li>
<p>Added support for parsing attributes in certificate signing requests via ~cryptography.x509.CertificateSigningRequest.get_attribute_for_oid.</p>
</li>
<li>
<p>Added support for encoding attributes in certificate signing requests via ~cryptography.x509.CertificateSigningRequestBuilder.add_attribute.</p>
</li>
<li>
<p>On OpenSSL 1.1.1d and higher <code>cryptography</code> now uses OpenSSL's built-in CSPRNG instead of its own OS random engine because these versions of OpenSSL properly reseed on fork.</p>
</li>
<li>
<p>Added initial support for creating PKCS12 files with ~cryptography.hazmat.primitives.serialization.pkcs12.serialize_key_and_certificates.</p>
</li>
</ul>
<h1>2.9.2 - 2020-04-22</h1>
<ul>
<li>Updated the macOS wheel to fix an issue where it would not run on macOS versions older than 10.15.</li>
</ul>
<h1>2.9.1 - 2020-04-21</h1>
<ul>
<li>Updated Windows, macOS, and <code>manylinux</code> wheels to be compiled with OpenSSL 1.1.1g.</li>
</ul>
<h1>2.9 - 2020-04-02</h1>
<ul>
<li><strong>BACKWARDS INCOMPATIBLE:</strong> Support for Python 3.4 has been removed due to low usage and maintenance burden.</li>
<li><strong>BACKWARDS INCOMPATIBLE:</strong> Support for OpenSSL 1.0.1 has been removed. Users on older version of OpenSSL will need to upgrade.</li>
<li><strong>BACKWARDS INCOMPATIBLE:</strong> Support for LibreSSL 2.6.x has been removed.</li>
<li>Removed support for calling ~cryptography.hazmat.primitives.asymmetric.x25519.X25519PublicKey.public_bytes with no arguments, as per our deprecation policy. You must now pass <code>encoding</code> and <code>format</code>.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pyca/cryptography/commit/ba2c0e5e3e4fb242b80474d2ff7368c91e7ebeaf"><code>ba2c0e5</code></a> 3.1 release (<a href="https://github-redirect.dependabot.com/pyca/cryptography/issues/5430">#5430</a>)</li>
<li><a href="https://github.com/pyca/cryptography/commit/c63106c46be435d274f9d3fd82bc74bb3f348226"><code>c63106c</code></a> Build manylinux wheels with Zuul (<a href="https://github-redirect.dependabot.com/pyca/cryptography/issues/5386">#5386</a>)</li>
<li><a href="https://github.com/pyca/cryptography/commit/bda138768ae1231481a1c9a2f6afcbf016d934f1"><code>bda1387</code></a> new black, actually slightly different than the old black (<a href="https://github-redirect.dependabot.com/pyca/cryptography/issues/5429">#5429</a>)</li>
<li><a href="https://github.com/pyca/cryptography/commit/0b2435940eaa5be72cf385b59b35221c40152049"><code>0b24359</code></a> remove keywords with side effects hack in setup.py (<a href="https://github-redirect.dependabot.com/pyca/cryptography/issues/5426">#5426</a>)</li>
<li><a href="https://github.com/pyca/cryptography/commit/1394edb83a26f720d52f5a1df37f0c7296d85497"><code>1394edb</code></a> rephrase changelog entry (<a href="https://github-redirect.dependabot.com/pyca/cryptography/issues/5422">#5422</a>)</li>
<li><a href="https://github.com/pyca/cryptography/commit/b9d26d2608aac4df9bac6ea914a8b01b5fed7df8"><code>b9d26d2</code></a> add some words about separating ECDH and ECDSA (<a href="https://github-redirect.dependabot.com/pyca/cryptography/issues/5423">#5423</a>)</li>
<li><a href="https://github.com/pyca/cryptography/commit/ed3ded47e7764d52fbf1d9100ebfe7df38cb494b"><code>ed3ded4</code></a> bump libressl 3.1.x (<a href="https://github-redirect.dependabot.com/pyca/cryptography/issues/5421">#5421</a>)</li>
<li><a href="https://github.com/pyca/cryptography/commit/b6c51be988850fac0766e29530879a780b51a5c0"><code>b6c51be</code></a> document that we auto-chunk on symmetric cipher contexts now (<a href="https://github-redirect.dependabot.com/pyca/cryptography/issues/5420">#5420</a>)</li>
<li><a href="https://github.com/pyca/cryptography/commit/f90ba1808ee9bd9a13c5673b776484644f29d7ba"><code>f90ba18</code></a> chunked update_into (<a href="https://github-redirect.dependabot.com/pyca/cryptography/issues/5419">#5419</a>)</li>
<li><a href="https://github.com/pyca/cryptography/commit/bc4b956f7532646d3c9be44eb1f6ed0fe66cd44a"><code>bc4b956</code></a> Run AWS SDK tests on Python 3.7 (<a href="https://github-redirect.dependabot.com/pyca/cryptography/issues/5414">#5414</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/pyca/cryptography/compare/2.8...3.1">compare view</a></li>
</ul>
</details>
<br />
[](https://dependabot.com/compatibility-score/?dependency-name=cryptography&package-manager=pip&previous-version=2.8&new-version=3.1)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).
<details>
<summary>Dependabot commands and options</summary>
<br />
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 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps cryptography from 2.8 to 3.1.
Changelog
Sourced from cryptography's changelog.
Commits
ba2c0e53.1 release (#5430)c63106cBuild manylinux wheels with Zuul (#5386)bda1387new black, actually slightly different than the old black (#5429)0b24359remove keywords with side effects hack in setup.py (#5426)1394edbrephrase changelog entry (#5422)b9d26d2add some words about separating ECDH and ECDSA (#5423)ed3ded4bump libressl 3.1.x (#5421)b6c51bedocument that we auto-chunk on symmetric cipher contexts now (#5420)f90ba18chunked update_into (#5419)bc4b956Run AWS SDK tests on Python 3.7 (#5414)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.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump nowin your Dependabot dashboard.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readmeAdditionally, you can set the following in your Dependabot dashboard:
@dependabot rebase
@dependabot squash and merge