chore(deps): bump the python-packages group in /mutate with 16 updates
Bumps the python-packages group in /mutate with 16 updates:
| Package | From | To |
|---|---|---|
| pyjwt | 2.8.0 |
2.10.1 |
| requests | 2.31.0 |
2.32.3 |
| docker | 6.1.3 |
7.1.0 |
| jinja2 | 3.1.2 |
3.1.6 |
| psycopg2-binary | 2.9.9 |
2.9.10 |
| pycryptodome | 3.19.0 |
3.22.0 |
| cryptography | 41.0.4 |
44.0.2 |
| certifi | 2023.7.22 |
2025.1.31 |
| cffi | 1.16.0 |
1.17.1 |
| charset-normalizer | 3.3.1 |
3.4.1 |
| idna | 3.7 |
3.10 |
| markupsafe | 2.1.3 |
3.0.2 |
| packaging | 23.2 |
24.2 |
| pycparser | 2.21 |
2.22 |
| urllib3 | 2.0.7 |
2.3.0 |
| websocket-client | 1.6.4 |
1.8.0 |
Updates pyjwt from 2.8.0 to 2.10.1
Release notes
Sourced from pyjwt's releases.
2.10.1
Fixed
- Prevent partial matching of
issclaim. Thanks@fabianbadoi! (See: https://github.com/jpadilla/pyjwt/security/advisories/GHSA-75c5-xw7c-p5pm)Full Changelog: https://github.com/jpadilla/pyjwt/compare/2.10.0...2.10.1
2.10.0
What's Changed
- chore: use sequence for typing rather than list by
@imnotjamesin jpadilla/pyjwt#970- Add support for Python 3.13 by
@hugovkin jpadilla/pyjwt#972- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#971- Add an RTD config file to resolve RTD build failures by
@kurtmckeein jpadilla/pyjwt#977- docs: Update
iatexception docs by@pachewisein jpadilla/pyjwt#974- Remove algorithm requirement for JWT API by
@luhnin jpadilla/pyjwt#975- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#978- Create SECURITY.md by
@auvipyin jpadilla/pyjwt#973- docs fix: decode_complete scope and algorithms by
@RbnRncnin jpadilla/pyjwt#982- fix doctest for docs/usage.rst by
@pachewisein jpadilla/pyjwt#986- fix test_utils.py not to xfail by
@pachewisein jpadilla/pyjwt#987- Correct jwt.decode audience param doc expression by
@peter279kin jpadilla/pyjwt#994- Add PS256 encoding and decoding usage by
@peter279kin jpadilla/pyjwt#992- Add API docs for PyJWK by
@luhnin jpadilla/pyjwt#980- Refactor project configuration files from setup.cfg to pyproject.toml PEP-518 by
@clederin jpadilla/pyjwt#995- Add JWK support to JWT encode by
@luhnin jpadilla/pyjwt#979- Update pre-commit hooks to lint pyproject.toml by
@clederin jpadilla/pyjwt#1002- Add EdDSA algorithm encoding/decoding usage by
@peter279kin jpadilla/pyjwt#993- Ruff linter and formatter changes by
@gagandeeppin jpadilla/pyjwt#1001- Validate
subandjticlaims for the token by@Divan009in jpadilla/pyjwt#1005- Add ES256 usage by
@Gautam-Hegdein jpadilla/pyjwt#1003- Encode EC keys with a fixed bit length by
@way-davein jpadilla/pyjwt#990- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#1000- Drop support for Python 3.8 by
@kkirschein jpadilla/pyjwt#1007- Prepare 2.10.0 release by
@benvdhin jpadilla/pyjwt#1011- Bump codecov/codecov-action from 4 to 5 by
@dependabotin jpadilla/pyjwt#1014- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#1006New Contributors
@imnotjamesmade their first contribution in jpadilla/pyjwt#970@kurtmckeemade their first contribution in jpadilla/pyjwt#977@pachewisemade their first contribution in jpadilla/pyjwt#974@RbnRncnmade their first contribution in jpadilla/pyjwt#982@peter279kmade their first contribution in jpadilla/pyjwt#994@cledermade their first contribution in jpadilla/pyjwt#995@gagandeeppmade their first contribution in jpadilla/pyjwt#1001@Divan009made their first contribution in jpadilla/pyjwt#1005@Gautam-Hegdemade their first contribution in jpadilla/pyjwt#1003@way-davemade their first contribution in jpadilla/pyjwt#990Full Changelog: https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0
... (truncated)
Changelog
Sourced from pyjwt's changelog.
v2.10.1 <https://github.com/jpadilla/pyjwt/compare/2.10.0...2.10.1>__Fixed
- Prevent partial matching of `iss` claim by @fabianbadoi in `GHSA-75c5-xw7c-p5pm <https://github.com/jpadilla/pyjwt/security/advisories/GHSA-75c5-xw7c-p5pm>`__
v2.10.0 <https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0>__Changed
Remove algorithm requirement from JWT API, instead relying on JWS API for enforcement, by
@luhnin[#975](https://github.com/jpadilla/pyjwt/issues/975) <https://github.com/jpadilla/pyjwt/pull/975>__Use
Sequencefor parameter types rather thanListwhere applicable by@imnotjamesin[#970](https://github.com/jpadilla/pyjwt/issues/970) <https://github.com/jpadilla/pyjwt/pull/970>__Add JWK support to JWT encode by
@luhnin[#979](https://github.com/jpadilla/pyjwt/issues/979) <https://github.com/jpadilla/pyjwt/pull/979>__Encoding and decoding payloads using the
nonealgorithm by@jpadillain#c2629f6 <https://github.com/jpadilla/pyjwt/commit/c2629f66c593459e02616048443231ccbe18be16>Before:
.. code-block:: pycon
import jwt jwt.encode({"payload": "abc"}, key=None, algorithm=None)
After:
.. code-block:: pycon
import jwt jwt.encode({"payload": "abc"}, key=None, algorithm="none")
Added validation for 'sub' (subject) and 'jti' (JWT ID) claims in tokens by
@Divan009in[#1005](https://github.com/jpadilla/pyjwt/issues/1005) <https://github.com/jpadilla/pyjwt/pull/1005>__Refactor project configuration files from
setup.cfgtopyproject.tomlby@clederin[#995](https://github.com/jpadilla/pyjwt/issues/995) <https://github.com/jpadilla/pyjwt/pull/995>__Ruff linter and formatter changes by
@gagandeeppin[#1001](https://github.com/jpadilla/pyjwt/issues/1001) <https://github.com/jpadilla/pyjwt/pull/1001>__Drop support for Python 3.8 (EOL) by
@kkirschein[#1007](https://github.com/jpadilla/pyjwt/issues/1007) <https://github.com/jpadilla/pyjwt/pull/1007>__Fixed
- Encode EC keys with a fixed bit length by @etianen in `[#990](https://github.com/jpadilla/pyjwt/issues/990) <https://github.com/jpadilla/pyjwt/pull/990>`__ - Add an RTD config file to resolve Read the Docs build failures by @kurtmckee in `[#977](https://github.com/jpadilla/pyjwt/issues/977) <https://github.com/jpadilla/pyjwt/pull/977>`__ - Docs: Update ``iat`` exception docs by @pachewise in `[#974](https://github.com/jpadilla/pyjwt/issues/974) <https://github.com/jpadilla/pyjwt/pull/974>`__ - Docs: Fix ``decode_complete`` scope and algorithms by @RbnRncn in `[#982](https://github.com/jpadilla/pyjwt/issues/982) <https://github.com/jpadilla/pyjwt/pull/982>`__ - Fix doctest for ``docs/usage.rst`` by @pachewise in `[#986](https://github.com/jpadilla/pyjwt/issues/986) <https://github.com/jpadilla/pyjwt/pull/986>`__ </tr></table>
... (truncated)
Commits
3ebbb22fix lint37748dcupdate changelog33022c2Merge commit from fork783f324[pre-commit.ci] pre-commit autoupdate (#1006)0116fc6Bump codecov/codecov-action from 4 to 5 (#1014)b032353feat: surfacejwt.decode_complete(...)a759c45Prepare 2.10.0 release (#1011)b6b8bceDrop support for Python 3.8 (#1007)189c256Update index.rst1900857Update index.rst- Additional commits viewable in compare view
Updates requests from 2.31.0 to 2.32.3
Release notes
Sourced from requests's releases.
v2.32.3
2.32.3 (2024-05-29)
Bugfixes
- Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of HTTPAdapter. (#6716)
- Fixed issue where Requests started failing to run on Python versions compiled without the
sslmodule. (#6724)v2.32.2
2.32.2 (2024-05-21)
Deprecations
To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, we've renamed
_get_connectionto a new public API,get_connection_with_tls_context. Existing custom HTTPAdapters will need to migrate their code to use this new API.get_connectionis considered deprecated in all versions of Requests>=2.32.0.A minimal (2-line) example has been provided in the linked PR to ease migration, but we strongly urge users to evaluate if their custom adapter is subject to the same issue described in CVE-2024-35195. (#6710)
v2.32.1
2.32.1 (2024-05-20)
Bugfixes
- Add missing test certs to the sdist distributed on PyPI.
v2.32.0
2.32.0 (2024-05-20)
🐍 PYCON US 2024 EDITION 🐍
Security
- Fixed an issue where setting
verify=Falseon the first request from a Session will cause subsequent requests to the same origin to also ignore cert verification, regardless of the value ofverify. (https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56)Improvements
verify=Truenow reuses a global SSLContext which should improve request time variance between first and subsequent requests. It should also minimize certificate load time on Windows systems when using a Python version built with OpenSSL 3.x. (#6667)- Requests now supports optional use of character detection (
chardetorcharset_normalizer) when repackaged or vendored.
... (truncated)
Changelog
Sourced from requests's changelog.
2.32.3 (2024-05-29)
Bugfixes
- Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of HTTPAdapter. (#6716)
- Fixed issue where Requests started failing to run on Python versions compiled without the
sslmodule. (#6724)2.32.2 (2024-05-21)
Deprecations
To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, we've renamed
_get_connectionto a new public API,get_connection_with_tls_context. Existing custom HTTPAdapters will need to migrate their code to use this new API.get_connectionis considered deprecated in all versions of Requests>=2.32.0.A minimal (2-line) example has been provided in the linked PR to ease migration, but we strongly urge users to evaluate if their custom adapter is subject to the same issue described in CVE-2024-35195. (#6710)
2.32.1 (2024-05-20)
Bugfixes
- Add missing test certs to the sdist distributed on PyPI.
2.32.0 (2024-05-20)
Security
- Fixed an issue where setting
verify=Falseon the first request from a Session will cause subsequent requests to the same origin to also ignore cert verification, regardless of the value ofverify. (https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56)Improvements
verify=Truenow reuses a global SSLContext which should improve request time variance between first and subsequent requests. It should also minimize certificate load time on Windows systems when using a Python version built with OpenSSL 3.x. (#6667)- Requests now supports optional use of character detection (
chardetorcharset_normalizer) when repackaged or vendored. This enablespipand other projects to minimize their vendoring surface area. TheResponse.text()andapparent_encodingAPIs will default toutf-8if neither library is present. (#6702)
... (truncated)
Commits
0e322afv2.32.3e188799Don't create default SSLContext if ssl module isn't present (#6724)145b539Merge pull request #6716 from sigmavirus24/bug/6715b1d73ddDon't use default SSLContext with custom poolmanager kwargs6badbacUpdate HISTORY.mda62a2d3Allow for overriding of specific pool key params88dce9dv2.32.2c98e4d1Merge pull request #6710 from nateprewitt/api_rename92075b3Add deprecation warningaa1461bMove _get_connection to get_connection_with_tls_context- Additional commits viewable in compare view
Updates docker from 6.1.3 to 7.1.0
Release notes
Sourced from docker's releases.
7.1.0
Upgrade Notes
- Bumped minimum engine API version to 1.24
- Bumped default engine API version to 1.44 (Moby 25.0)
Bugfixes
- Fixed issue with tag parsing when the registry address includes ports that resulted in
invalid tag formaterrors- Fixed issue preventing creating new configs (
ConfigCollection), which failed with aKeyErrordue to thenamefield- Fixed an issue due to an update in the requests package breaking
docker-pyby applying the suggested fixMiscellaneous
- Documentation improvements
- Updated Ruff (linter) and fixed minor linting issues
- Packaging/CI updates
- Started using hatch for packaging (https://github.com/pypa/hatch)
- Updated
setup-pythongithub action- Updated tests
- Stopped checking for deprecated container and image related fields (
ContainerandContainerConfig)- Updated tests that check
NetworkSettings.Networks.<network>.Aliasesdue to engine changesWhat's Changed
- Bump default API version to 1.43 (Moby 24.0) by
@vvolandin docker/docker-py#3199- integration/commit: Don't check for deprecated fields by
@vvolandin docker/docker-py#3203- fix: tag regex should allow ports by
@artificial-intelligencein docker/docker-py#3196- utils: Fix datetime_to_timestamp by
@vvolandin docker/docker-py#3208- fix: keyerror when creating new config(#3110) by
@Khushiyantin docker/docker-py#3200- Update Ruff, fix some minor issues by
@akxin docker/docker-py#3206- docs: change image.history() return type to list (#3076) by
@Khushiyantin docker/docker-py#3202- lint: fix string formatting by
@milasin docker/docker-py#3211- Drop
packagingdependency by@akxin docker/docker-py#3205- Bump default API version to 1.44 (Moby 25.0) by
@vvolandin docker/docker-py#3231- Modernize build to use
hatchlingandhatch-vcsby@akxin docker/docker-py#3207- Enable Ruff I (import sort), autofix by
@akxin docker/docker-py#3212- chore(ci): fix-ups across Make / Docker / GitHub Actions by
@milasin docker/docker-py#3241- chore: fix return type docs for
container.logs()by@BobDuin docker/docker-py#2240- CI fix by
@krissettoin docker/docker-py#3260- Fix for requests 2.32 by
@felixfonteinin docker/docker-py#3257- Added 7.1.0 changelog by
@krissettoin docker/docker-py#3262- Fix env var name in release pipeline by
@krissettoin docker/docker-py#3263- Change env var name in release pipeline to match hatch expectations by
@krissettoin docker/docker-py#3264New Contributors
@vvolandmade their first contribution in docker/docker-py#3199@artificial-intelligencemade their first contribution in docker/docker-py#3196@Khushiyantmade their first contribution in docker/docker-py#3200@BobDumade their first contribution in docker/docker-py#2240@krissettomade their first contribution in docker/docker-py#3260Full Changelog: https://github.com/docker/docker-py/compare/7.0.0...7.1.0
... (truncated)
Commits
a365202Merge pull request #3264 from krissetto/rename-env-var-in-release-pipeline1ab40c8Fix env var name in release pipeline to match hatch expectationsb33088eMerge pull request #3263 from krissetto/fix-release-pipeline45488acFix env var name in release pipeline20879ecMerge pull request #3262 from krissetto/changelog-7.1.04f2a26dAdded 7.1.0 changelog7785ad9Merge pull request #3257 from felixfontein/requests-hotfixd8e9bcbrequests 2.32.0 and 2.32.1 have been yanked.2a059a9Extend fix to requests 2.32.2+.e33e0a4Hotfix for requests 2.32.0.- Additional commits viewable in compare view
Updates jinja2 from 3.1.2 to 3.1.6
Release notes
Sourced from jinja2's releases.
3.1.6
This is the Jinja 3.1.6 security release, which fixes security issues but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Jinja2/3.1.6/ Changes: https://jinja.palletsprojects.com/en/stable/changes/#version-3-1-6
- The
|attrfilter does not bypass the environment's attribute lookup, allowing the sandbox to apply its checks. https://github.com/pallets/jinja/security/advisories/GHSA-cpwx-vrp4-4pq73.1.5
This is the Jinja 3.1.5 security fix release, which fixes security issues and bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Jinja2/3.1.5/ Changes: https://jinja.palletsprojects.com/changes/#version-3-1-5 Milestone: https://github.com/pallets/jinja/milestone/16?closed=1
- The sandboxed environment handles indirect calls to
str.format, such as by passing a stored reference to a filter that calls its argument. GHSA-q2x7-8rv6-6q7h- Escape template name before formatting it into error messages, to avoid issues with names that contain f-string syntax. #1792, GHSA-gmj6-6f8f-6699
- Sandbox does not allow
clearandpopon known mutable sequence types. #2032- Calling sync
renderfor an async template usesasyncio.run. #1952- Avoid unclosed
auto_aiterwarnings. #1960- Return an
aclose-ableAsyncGeneratorfromTemplate.generate_async. #1960- Avoid leaving
root_render_func()unclosed inTemplate.generate_async. #1960- Avoid leaving async generators unclosed in blocks, includes and extends. #1960
- The runtime uses the correct
concatfunction for the current environment when calling block references. #1701- Make
|uniqueasync-aware, allowing it to be used after another async-aware filter. #1781|intfilter handlesOverflowErrorfrom scientific notation. #1921- Make compiling deterministic for tuple unpacking in a
{% set ... %}call. #2021- Fix dunder protocol (
copy/pickle/etc) interaction withUndefinedobjects. #2025- Fix
copy/picklesupport for the internalmissingobject. #2027Environment.overlay(enable_async)is applied correctly. #2061- The error message from
FileSystemLoaderincludes the paths that were searched. #1661PackageLoadershows a clearer error message when the package does not contain the templates directory. #1705- Improve annotations for methods returning copies. #1880
urlizedoes not addmailto:to values like@a@b. #1870- Tests decorated with
@pass_contextcan be used with the|selectfilter. #1624- Using
setfor multiple assignment (a, b = 1, 2) does not fail when the target is a namespace attribute. #1413- Using
setin all branches of{% if %}{% elif %}{% else %}blocks does not cause the variable to be considered initially undefined. #12533.1.4
This is the Jinja 3.1.4 security release, which fixes security issues and bugs but does not otherwise change behavior and should not result in breaking changes.
PyPI: https://pypi.org/project/Jinja2/3.1.4/ Changes: https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-4
- The
xmlattrfilter does not allow keys with/solidus,>greater-than sign, or=equals sign, in addition to disallowing spaces. Regardless of any validation done by Jinja, user input should never be used as keys to this filter, or must be separately validated first. GHSA-h75v-3vvj-5mfj3.1.3
This is a fix release for the 3.1.x feature branch.
- Fix for GHSA-h5c8-rqwp-cp95. You are affected if you are using
xmlattrand passing user input as attribute keys.
... (truncated)
Changelog
Sourced from jinja2's changelog.
Version 3.1.6
Released 2025-03-05
- The
|attrfilter does not bypass the environment's attribute lookup, allowing the sandbox to apply its checks. :ghsa:cpwx-vrp4-4pq7Version 3.1.5
Released 2024-12-21
- The sandboxed environment handles indirect calls to
str.format, such as by passing a stored reference to a filter that calls its argument. :ghsa:q2x7-8rv6-6q7h- Escape template name before formatting it into error messages, to avoid issues with names that contain f-string syntax. :issue:
1792, :ghsa:gmj6-6f8f-6699- Sandbox does not allow
clearandpopon known mutable sequence types. :issue:2032- Calling sync
renderfor an async template usesasyncio.run. :pr:1952- Avoid unclosed
auto_aiterwarnings. :pr:1960- Return an
aclose-ableAsyncGeneratorfromTemplate.generate_async. :pr:1960- Avoid leaving
root_render_func()unclosed inTemplate.generate_async. :pr:1960- Avoid leaving async generators unclosed in blocks, includes and extends. :pr:
1960- The runtime uses the correct
concatfunction for the current environment when calling block references. :issue:1701- Make
|uniqueasync-aware, allowing it to be used after another async-aware filter. :issue:1781|intfilter handlesOverflowErrorfrom scientific notation. :issue:1921- Make compiling deterministic for tuple unpacking in a
{% set ... %}call. :issue:2021- Fix dunder protocol (
copy/pickle/etc) interaction withUndefinedobjects. :issue:2025- Fix
copy/picklesupport for the internalmissingobject. :issue:2027Environment.overlay(enable_async)is applied correctly. :pr:2061- The error message from
FileSystemLoaderincludes the paths that were searched. :issue:1661PackageLoadershows a clearer error message when the package does not contain the templates directory. :issue:1705- Improve annotations for methods returning copies. :pr:
1880urlizedoes not addmailto:to values like@a@b. :pr:1870
... (truncated)
Commits
1520688release version 3.1.690457bbMerge commit from fork065334dattr filter uses env.getattr033c200start version 3.1.6bc68d4euse global contributing guide (#2070)247de5euse global contributing guideab8218cuse project advisory link instead of globalb4ffc8frelease version 3.1.5 (#2066)877f6e5release version 3.1.58d58859remove test pypi- Additional commits viewable in compare view
Updates psycopg2-binary from 2.9.9 to 2.9.10
Changelog
Sourced from psycopg2-binary's changelog.
Current release
What's new in psycopg 2.9.10 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Add support for Python 3.13.
- Receive notifications on commit (:ticket:
[#1728](https://github.com/psycopg/psycopg2/issues/1728)).~psycopg2.errorcodesmap and~psycopg2.errorsclasses updated to PostgreSQL 17.- Drop support for Python 3.7.
What's new in psycopg 2.9.9 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Add support for Python 3.12.
- Drop support for Python 3.6.
What's new in psycopg 2.9.8 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Wheel package bundled with PostgreSQL 16 libpq in order to add support for recent features, such as
sslcertmode.What's new in psycopg 2.9.7 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Fix propagation of exceptions raised during module initialization (:ticket:
[#1598](https://github.com/psycopg/psycopg2/issues/1598)).- Fix building when pg_config returns an empty string (:ticket:
[#1599](https://github.com/psycopg/psycopg2/issues/1599)).- Wheel package bundled with OpenSSL 1.1.1v.
What's new in psycopg 2.9.6 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Package manylinux 2014 for aarch64 and ppc64le platforms, in order to include libpq 15 in the binary package (:ticket:
[#1396](https://github.com/psycopg/psycopg2/issues/1396)).- Wheel package bundled with OpenSSL 1.1.1t.
What's new in psycopg 2.9.5 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Add support for Python 3.11.
- Add support for rowcount in MERGE statements in binary packages (:ticket:
[#1497](https://github.com/psycopg/psycopg2/issues/1497)).
... (truncated)
Commits
a805acfchore: bump to version 2.9.1078561acMerge pull request #1728 from romank0/fetch-notifications-on-commit5283a83chore: add TransactionTimeout error, added in PostgreSQL 17f64dd39docs: add news entry about notifications on commitcba6d39removes duplication in tests282360dadds notifications processing after every PQexec362cb00Adds notifies processing in pq_commiteaeeb76Merge pull request #1729 from edgarrmondragon/1692-py313-wheels4987362ci(windows): drop Python 3.8 packages8c9a35dci: test with PostgreSQL 17- Additional commits viewable in compare view
Updates pycryptodome from 3.19.0 to 3.22.0
Release notes
Sourced from pycryptodome's releases.
v3.22.0 - Caen
New features
- Added support for HPKE (RFC 9180).
Resolved issues
- GH#812: CCM ciphers will now fail before encrypting (or decrypting) data beyond the limit imposed by the nonce length.
- GH#846: fix infinite loop with RC4 for data larger than 4GB.
- GH#852: handle correctly invalid PEM files with less than 3 lines.
Other changes
- Remove support for Python 3.6.
v3.21.0 - Bourdeaux
New features
- By setting the PYCRYPTODOME_DISABLE_GMP environment variable, the GMP library will not be used even if detected.
- Add support for Curve25519 / X25519.
- Add support for Curve448 / X448.
- Add attribute
curveto EccPoint and EccXPoint classes, with the canonical name of the curve.- GH#781: the label for the SP800_108_Counter KDF may now contain zero bytes. Thanks to Julien Rische.
- GH#814: RSA keys for PSS can be imported.
Resolved issues
- GH#810: fixed negation of Ed25519 points.
- GH#819: accept an RFC5916 ECPrivateKey even if it doesn't contain any of the optional elements (parameters [0] and publicKey[1]).
Other changes
- Remove support for Python 3.5.
v3.20.0 - Amiens
New features
- Added support for TurboSHAKE128 and TurboSHAKE256.
- Added method
Crypto.Hash.new()to generate a hash object given a hash name.- Added support for AES-GCM encryption of PBES2 and PKCS#8 containers.
- Added support for SHA-2 and SHA-3 algorithms in PBKDF2 when creating PBES2 and PKCS#8 containers.
... (truncated)
Changelog
Sourced from pycryptodome's changelog.
3.22.0 (16 March 2025) ++++++++++++++++++++++++++
New features
- Added support for HPKE (RFC 9180).
Resolved issues
- GH#812: CCM ciphers will now fail before encrypting (or decrypting) data beyond the limit imposed by the nonce length.
- GH#846: fix infinite loop with RC4 for data larger than 4GB.
- GH#852: handle correctly invalid PEM files with less than 3 lines.
Other changes
- Remove support for Python 3.6.
3.21.0 (30 September 2024) ++++++++++++++++++++++++++
New features
- By setting the PYCRYPTODOME_DISABLE_GMP environment variable, the GMP library will not be used even if detected.
- Add support for Curve25519 / X25519.
- Add support for Curve448 / X448.
- Add attribute
curveto EccPoint and EccXPoint classes, with the canonical name of the curve.- GH#781: the label for the SP800_108_Counter KDF may now contain zero bytes. Thanks to Julien Rische.
- GH#814: RSA keys for PSS can be imported.
Resolved issues
- GH#810: fixed negation of Ed25519 points.
- GH#819: accept an RFC5916 ECPrivateKey even if it doesn't contain any of the optional elements (parameters [0] and publicKey[1]).
Other changes
- Remove support for Python 3.5.
3.20.0 (9 January 2024) ++++++++++++++++++++++++++
New features
- Added support for TurboSHAKE128 and TurboSHAKE256.
... (truncated)
Commits
e1f06edInclude OS and package type in the wheels archive208d281Bump versionf277db8Fix typing info75dc6e0Fix GH#812: CCM will now fail before en/decrypting too much dataeac9de8Fix GH#852: a PEM file must have at least 3 lines46bf040Clarify how ChaCha20.seek() can be used to seek to blocksfd3c7f2Some clarifications for SecretSharing967938fUpdate Changelogf979abfGH#846: fix infinite loop with RC4 for data larger than 4GB291400cStress that passwords should not be used as PSK- Additional commits viewable in compare view
Updates cryptography from 41.0.4 to 44.0.2
Changelog
Sourced from cryptography's changelog.
44.0.2 - 2025-03-01
* We now build wheels for PyPy 3.11... _v44-0-1:
44.0.1 - 2025-02-11
- Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.4.1.
- We now build
armv7lmanylinuxwheels and publish them to PyPI.- We now build
manylinux_2_34wheels and publish them to PyPI... _v44-0-0:
44.0.0 - 2024-11-27
* **BACKWARDS INCOMPATIBLE:** Dropped support for LibreSSL < 3.9. * Deprecated Python 3.7 support. Python 3.7 is no longer supported by the Python core team. Support for Python 3.7 will be removed in a future ``cryptography`` release. * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.4.0. * macOS wheels are now built against the macOS 10.13 SDK. Users on older versions of macOS should upgrade, or they will need to build ``cryptography`` themselves. * Enforce the :rfc:`5280` requirement that extended key usage extensions must not be empty. * Added support for timestamp extraction to the :class:`~cryptography.fernet.MultiFernet` class. * Relax the Authority Key Identifier requirements on root CA certificates during X.509 verification to allow fields permitted by :rfc:`5280` but forbidden by the CA/Browser BRs. * Added support for :class:`~cryptography.hazmat.primitives.kdf.argon2.Argon2id` when using OpenSSL 3.2.0+. * Added support for the :class:`~cryptography.x509.Admissions` certificate extension. * Added basic support for PKCS7 decryption (including S/MIME 3.2) via :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_der`, :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_pem`, and :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_smime`... _v43-0-3:
43.0.3 - 2024-10-18
- Fixed release metadata for
cryptography-vectors.. _v43-0-2:
... (truncated)
Commits
56cfce644.0.2 release (#12537)7b4cc26Backport PyPy3.11 support (#12536)adaaaedBump for 44.0.1 release (#12441)ccc61da[backport] test and build on armv7l (#12420) (#12431)f299a48remove deprecated call (#12052)439eb05Bump version for 44.0.0 (#12051)2c5ad4dchore(deps): bump maturin from 1.7.4 to 1.7.5 in /.github/requirements (#12050)d23968achore(deps): bump libc from 0.2.165 to 0.2.166 (#12049)133c0e0Bump x509-limbo and/or wycheproof in CI (#12047)f2259d7Bump BoringSSL and/or OpenSSL in CI (#12046)- Additional commits viewable in compare view
Updates certifi from 2023.7.22 to 2025.1.31
Commits
088f9312025.01.31 (#336)1c17795Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 (#335)a2e88f0Bump actions/upload-artifact from 4.5.0 to 4.6.0 (#334)82284edBump peter-evans/create-pull-request from 7.0.5 to 7.0.6 (#333)10d3d1dBump actions/upload-artifact from 4.4.3 to 4.5.0 (#332)4ba39002024.12.14 (#329)9164660Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 (#331)3dc3651Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 (#328)c5bf18dBump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 (#327)b908391Bump actions/setup-python from 5.2.0 to 5.3.0 (#326)- Additional commits viewable in compare view
Updates cffi from 1.16.0 to 1.17.1
Release notes
Sourced from cffi's releases.
v1.17.1
- Fix failing
distutils.msvc9compilerimports under Windows (#118).ffibuilder.emit_python_code()andffibuiler.emit_c_code()accept file-like objects (#115).ffiplatformcalls are bypassed byffibuilder.emit_python_code()andffibuilder.emit_c_code()(#81).Full Changelog: https://github.com/python-cffi/cffi/compare/v1.17.0...v1.17.1
v1.17.0
- Add support for Python 3.13.
- Free-threaded CPython builds (i.e.
python3.13tand the3.13tABI) are not currently supported.- In API mode, when you get a function from a C library by writing
fn = lib.myfunc, you get an object of a special type for performance reasons, instead of a<cdata 'C-function-type'>. Before version 1.17 you could only call such objects. You could writeffi.addressof(lib, "myfunc")in order to get a real<cdata>object, based on the idea that in these cases in C you'd usually write&myfuncinstead ofmyfunc. In version 1.17, the special objectlib.myfunccan now be passed in many places where CFFI expects a regular<cdata>object. For example, you can now pass it as a callback to a C function call, or write it inside a C structure field of the correct pointer-to-function type, or useffi.cast()orffi.typeof()on it.Full Changelog: https://github.com/python-cffi/cffi/compare/v1.16.0...v1.17.0
v1.17.0rc1
- Add support for Python 3.13.
- In API mode, when you get a function from a C library by writing fn = lib.myfunc, you get an object of a special type for performance reasons, instead of a object. For example, you can now pass it as a callback to a C function call, or write it inside a C structure field of the correct pointer-to-function type, or use ffi.cast() or ffi.typeof() on it.
- Build wheels for ...
Description has been truncated