Bump the pip group across 1 directory with 10 updates
Bumps the pip group with 10 updates in the / directory:
| Package | From | To |
|---|---|---|
| black | 21.6b0 |
24.3.0 |
| cryptography | 3.4.7 |
42.0.4 |
| dnspython | 2.1.0 |
2.6.1 |
| flask | 2.0.1 |
2.2.5 |
| idna | 3.2 |
3.7 |
| jinja2 | 3.0.1 |
3.1.3 |
| mako | 1.1.4 |
1.2.2 |
| pyjwt | 2.1.0 |
2.4.0 |
| starkbank-ecdsa | 1.1.1 |
2.0.1 |
| werkzeug | 2.0.1 |
2.3.8 |
Updates black from 21.6b0 to 24.3.0
Release notes
Sourced from black's releases.
24.3.0
Highlights
This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix CVE-2024-21503.
This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.
Stable style
- Don't move comments along with delimiters, which could cause crashes (#4248)
- Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (#4270)
- Fix a bug where line-ranges exceeding the last code line would not work as expected (#4273)
Performance
- Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes CVE-2024-21503. (#4278)
Documentation
- Note what happens when
--checkis used with--quiet(#4236)24.2.0
Stable style
- Fixed a bug where comments where mistakenly removed along with redundant parentheses (#4218)
Preview style
- Move the
hug_parens_with_braces_and_square_bracketsfeature to the unstable style due to an outstanding crash and proposed formatting tweaks (#4198)- Fixed a bug where base expressions caused inconsistent formatting of ** in tenary expression (#4154)
- Checking for newline before adding one on docstring that is almost at the line limit (#4185)
- Remove redundant parentheses in
casestatementifguards (#4214).Configuration
... (truncated)
Changelog
Sourced from black's changelog.
24.3.0
Highlights
This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix CVE-2024-21503.
This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.
Stable style
- Don't move comments along with delimiters, which could cause crashes (#4248)
- Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (#4270)
- Fix a bug where line-ranges exceeding the last code line would not work as expected (#4273)
Performance
- Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes CVE-2024-21503. (#4278)
Documentation
- Note what happens when
--checkis used with--quiet(#4236)24.2.0
Stable style
- Fixed a bug where comments where mistakenly removed along with redundant parentheses (#4218)
Preview style
- Move the
hug_parens_with_braces_and_square_bracketsfeature to the unstable style due to an outstanding crash and proposed formatting tweaks (#4198)- Fixed a bug where base expressions caused inconsistent formatting of ** in tenary expression (#4154)
- Checking for newline before adding one on docstring that is almost at the line limit (#4185)
- Remove redundant parentheses in
casestatementifguards (#4214).
... (truncated)
Commits
- See full diff in compare view
Updates cryptography from 3.4.7 to 42.0.4
Changelog
Sourced from cryptography's changelog.
42.0.4 - 2024-02-20
* Fixed a null-pointer-dereference and segfault that could occur when creating a PKCS#12 bundle. Credit to **Alexander-Programming** for reporting the issue. **CVE-2024-26130** * Fixed ASN.1 encoding for PKCS7/SMIME signed messages. The fields ``SMIMECapabilities`` and ``SignatureAlgorithmIdentifier`` should now be correctly encoded according to the definitions in :rfc:`2633` :rfc:`3370`... _v42-0-3:
42.0.3 - 2024-02-15
- Fixed an initialization issue that caused key loading failures for some users.
.. _v42-0-2:
42.0.2 - 2024-01-30
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.2.1. * Fixed an issue that prevented the use of Python buffer protocol objects in ``sign`` and ``verify`` methods on asymmetric keys. * Fixed an issue with incorrect keyword-argument naming with ``EllipticCurvePrivateKey`` :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey.exchange`, ``X25519PrivateKey`` :meth:`~cryptography.hazmat.primitives.asymmetric.x25519.X25519PrivateKey.exchange`, ``X448PrivateKey`` :meth:`~cryptography.hazmat.primitives.asymmetric.x448.X448PrivateKey.exchange`, and ``DHPrivateKey`` :meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHPrivateKey.exchange`... _v42-0-1:
42.0.1 - 2024-01-24
- Fixed an issue with incorrect keyword-argument naming with
EllipticCurvePrivateKey:meth:~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey.sign.- Resolved compatibility issue with loading certain RSA public keys in :func:
~cryptography.hazmat.primitives.serialization.load_pem_public_key... _v42-0-0:
42.0.0 - 2024-01-22
</tr></table>
... (truncated)
Commits
fe18470Bump for 42.0.4 release (#10445)aaa2dd0Fix ASN.1 issues in PKCS#7 and S/MIME signing (#10373) (#10442)7a4d012Fixes #10422 -- don't crash when a PKCS#12 key and cert don't match (#10423) ...df314bbbackport actions m1 switch to 42.0.x (#10415)c49a7a5changelog and version bump for 42.0.3 (#10396)396bcf6fix provider loading take two (#10390) (#10395)0e0e46fbackport: initialize openssl's legacy provider in rust (#10323) (#10333)2202123changelog and version bump 42.0.2 (#10268)f7032bdbump openssl in CI (#10298) (#10299)002e886Fixes #10294 -- correct accidental change to exchange kwarg (#10295) (#10296)- Additional commits viewable in compare view
Updates dnspython from 2.1.0 to 2.6.1
Release notes
Sourced from dnspython's releases.
dnspython 2.6.1
See What's New for details.
This is a bug fix release for 2.6.0 where the "TuDoor" fix erroneously suppressed legitimate Truncated exceptions. This caused the stub resolver to timeout instead of failing over to TCP when a legitimate truncated response was received over UDP.
This release addresses the potential DoS issue discussed in the "TuDoor" paper (CVE-2023-29483). The dnspython stub resolver is vulnerable to a potential DoS if a bad-in-some-way response from the right address and port forged by an attacker arrives before a legitimate one on the UDP port dnspython is using for that query. In this situation, dnspython might switch to querying another resolver or give up entirely, possibly denying service for that resolution. This release addresses the issue by adopting the recommended mitigation, which is ignoring the bad packets and continuing to listen for a legitimate response until the timeout for the query has expired.
Thank you to all the contributors to this release, and, as usual, thanks to my co-maintainers: Tomáš Křížek, Petr Špaček, and Brian Wellington.
dnspython 2.6.0
See What's New for details.
This release addresses the potential DoS issue discussed in the "TuDoor" paper (CVE-2023-29483). The dnspython stub resolver is vulnerable to a potential DoS if a bad-in-some-way response from the right address and port forged by an attacker arrives before a legitimate one on the UDP port dnspython is using for that query. In this situation, dnspython might switch to querying another resolver or give up entirely, possibly denying service for that resolution. This release addresses the issue by adopting the recommended mitigation, which is ignoring the bad packets and continuing to listen for a legitimate response until the timeout for the query has expired.
Thank you to all the contributors to this release, and, as usual, thanks to my co-maintainers: Tomáš Křížek, Petr Špaček, and Brian Wellington.
dnspython 2.5.0
See the What's New page for a summary of this release.
Thanks to all the contributors, and, as usual, thanks to my co-maintainers: Tomáš Křížek, Petr Špaček, and Brian Wellington.
dnspython 2.4.2
This is a bug fix release, see the What's New page in the documentation for a summary.
Thanks to the people who reported the bugs and, as usual, thanks to my co-maintainers: Tomáš Křížek, Petr Špaček, and Brian Wellington.
Changelog
Sourced from dnspython's changelog.
2.6.1
- The Tudoor fix ate legitimate Truncated exceptions, preventing the resolver from failing over to TCP and causing the query to timeout #1053.
2.6.0
As mentioned in the "TuDoor" paper and the associated CVE-2023-29483, the dnspython stub resolver is vulnerable to a potential DoS if a bad-in-some-way response from the right address and port forged by an attacker arrives before a legitimate one on the UDP port dnspython is using for that query.
This release addresses the issue by adopting the recommended mitigation, which is ignoring the bad packets and continuing to listen for a legitimate response until the timeout for the query has expired.
Added support for the NSID EDNS option.
Dnspython now looks for version metadata for optional packages and will not use them if they are too old. This prevents possible exceptions when a feature like DoH is not desired in dnspython, but an old httpx is installed along with dnspython for some other purpose.
The DoHNameserver class now allows GET to be used instead of the default POST, and also passes source and source_port correctly to the underlying query methods.
2.5.0
Dnspython now uses hatchling for builds.
Asynchronous destinationless sockets now work on Windows.
Cython is no longer supported due to various typing issues.
Dnspython now explicitly canonicalizes IPv4 and IPv6 addresses. Previously it was possible for non-canonical IPv6 forms to be stored in a AAAA address, which would work correctly but possibly cause problmes if the address were used as a key in a dictionary.
The number of messages in a section can be retrieved with section_count().
Truncation preferences for messages can be specified.
The length of a message can be automatically prepended when rendering.
... (truncated)
Commits
0a742b9update CI0ea5ad0The Tudoor fix should not eat valid Truncated exceptions #1053 (#1054)f12d3982.6.1 version prepcecb853Further improve CVE fix coverage to 100% for sync and async.7952e31test IgnoreErrorse093299For the Tudoor fix, we also need the UDP nameserver to ignore_unexpected.3af9f782.6.0 versioningca63d95Require cryptography >=41 instead of 42.902cbf3Create CODE_OF_CONDUCT.mded9795fgithub contributing and pull request template- Additional commits viewable in compare view
Updates flask from 2.0.1 to 2.2.5
Release notes
Sourced from flask's releases.
2.2.5
This is a security fix release for the 2.2.x release branch. Note that 2.3.x is the currently supported release branch; please upgrade to the latest version if possible.
- Security advisory: https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq, CVE-2023-30861
- Changes: https://flask.palletsprojects.com/en/2.2.x/changes/#version-2-2-5
- Milestone: https://github.com/pallets/flask/milestone/30?closed=1
2.2.4
This is a fix release for the 2.2.x release branch.
- Changes: https://flask.palletsprojects.com/en/2.2.x/changes/#version-2-2-4
- Milestone: https://github.com/pallets/flask/milestone/27?closed=1
2.2.3
This is a fix release for the 2.2.x release branch.
- Changes: https://flask.palletsprojects.com/en/2.2.x/changes/#version-2-2-3
- Milestone: https://github.com/pallets/flask/milestone/26?closed=1
2.2.2
This is a fix release for the 2.2.0 feature release.
- Changes: https://flask.palletsprojects.com/en/2.2.x/changes/#version-2-2-2
- Milestone: https://github.com/pallets/flask/milestone/25?closed=1
2.2.1
This is a fix release for the 2.2.0 feature release.
- Changes: https://flask.palletsprojects.com/en/2.2.x/changes/#version-2-2-1
- Milestone: https://github.com/pallets/flask/milestone/23?closed=1
2.2.0
This is a feature release, which includes new features and removes previously deprecated code. The 2.2.x branch is now the supported bug fix branch, the 2.1.x branch will become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades.
- Changes: https://flask.palletsprojects.com/en/2.2.x/changes/#version-2-2-0
- Milestone: https://github.com/pallets/flask/milestone/19?closed=1
2.1.3
- Changes: https://flask.palletsprojects.com/en/2.1.x/changes/#version-2-1-3
- Milestone: https://github.com/pallets/flask/milestone/22?closed=1
2.1.2
This is a fix release for the 2.1.0 feature release.
- Changes: https://flask.palletsprojects.com/en/2.1.x/changes/#version-2-1-2
- Milestone: https://github.com/pallets/flask/milestone/21?closed=1
2.1.1
This is a fix release for the 2.1.0 feature release.
... (truncated)
Changelog
Sourced from flask's changelog.
Version 2.2.5
Released 2023-05-02
- Update for compatibility with Werkzeug 2.3.3.
- Set
Vary: Cookieheader when the session is accessed, modified, or refreshed.Version 2.2.4
Released 2023-04-25
- Update for compatibility with Werkzeug 2.3.
Version 2.2.3
Released 2023-02-15
- Autoescape is enabled by default for
.svgtemplate files. :issue:4831- Fix the type of
template_folderto acceptpathlib.Path. :issue:4892- Add
--debugoption to theflask runcommand. :issue:4777Version 2.2.2
Released 2022-08-08
- Update Werkzeug dependency to >= 2.2.2. This includes fixes related to the new faster router, header parsing, and the development server. :pr:
4754- Fix the default value for
app.envto be"production". This attribute remains deprecated. :issue:4740Version 2.2.1
Released 2022-08-03
- Setting or accessing
json_encoderorjson_decoderraises a deprecation warning. :issue:4732Version 2.2.0
... (truncated)
Commits
47af817release version 2.2.5afd63b1Merge pull request #5109 from pallets/backport-vary-cookie8646edcsetVary: Cookieheader consistently for sessiona6367daMerge pull request #5108 from pallets/werkzeug-compat3fbfbadwerkzeug 2.3.3 compatibility726d3f4start version 2.2.5ddc7accMerge pull request #5081 from pallets/release-2.2.474e0329release version 2.2.42d46068update dev env64bc458update dev dependencies- Additional commits viewable in compare view
Updates idna from 3.2 to 3.7
Release notes
Sourced from idna's releases.
v3.7
What's Changed
- Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time to process. [CVE-2024-3651]
Thanks to Guido Vranken for reporting the issue.
Full Changelog: https://github.com/kjd/idna/compare/v3.6...v3.7
Changelog
Sourced from idna's changelog.
3.7 (2024-04-11) ++++++++++++++++
- Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time to process. [CVE-2024-3651]
Thanks to Guido Vranken for reporting the issue.
3.6 (2023-11-25) ++++++++++++++++
- Fix regression to include tests in source distribution.
3.5 (2023-11-24) ++++++++++++++++
- Update to Unicode 15.1.0
- String codec name is now "idna2008" as overriding the system codec "idna" was not working.
- Fix typing error for codec encoding
- "setup.cfg" has been added for this release due to some downstream lack of adherence to PEP 517. Should be removed in a future release so please prepare accordingly.
- Removed reliance on a symlink for the "idna-data" tool to comport with PEP 517 and the Python Packaging User Guide for sdist archives.
- Added security reporting protocol for project
Thanks Jon Ribbens, Diogo Teles Sant'Anna, Wu Tingfeng for contributions to this release.
3.4 (2022-09-14) ++++++++++++++++
- Update to Unicode 15.0.0
- Migrate to pyproject.toml for build information (PEP 621)
- Correct another instance where generic exception was raised instead of IDNAError for malformed input
- Source distribution uses zeroized file ownership for improved reproducibility
Thanks to Seth Michael Larson for contributions to this release.
3.3 (2021-10-13) ++++++++++++++++
- Update to Unicode 14.0.0
- Update to in-line type annotations
- Throw IDNAError exception correctly for some malformed input
- Advertise support for Python 3.10
- Improve testing regime on Github
... (truncated)
Commits
1d365e1Release v3.7c1b3154Merge pull request #172 from kjd/optimize-contextj0394ec7Merge branch 'master' into optimize-contextjcd58a23Merge pull request #152 from elliotwutingfeng/dev5beb28bMore efficient resolution of joiner contexts1b12148Update ossf/scorecard-action to v2.3.1d516b87Update Github actions/checkout to v4c095c75Merge branch 'master' into dev60a0a4cFix typo in GitHub Actions workflow key5918a0eMerge branch 'master' into dev- Additional commits viewable in compare view
Updates jinja2 from 3.0.1 to 3.1.3
Release notes
Sourced from jinja2's releases.
3.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.- Changes: https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-3
- Milestone: https://github.com/pallets/jinja/milestone/15?closed=1
3.1.2
This is a fix release for the 3.1.0 feature release.
- Changes: https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-2
- Milestone: https://github.com/pallets/jinja/milestone/13?closed=1
3.1.1
- Changes: https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-1
- Milestone: https://github.com/pallets/jinja/milestone/12?closed=1
3.1.0
This is a feature release, which includes new features and removes previously deprecated features. The 3.1.x branch is now the supported bugfix branch, the 3.0.x branch has become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades. We also encourage upgrading to MarkupSafe 2.1.1, the latest version at this time.
- Changes: https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-0
- Milestone: https://github.com/pallets/jinja/milestone/8?closed=1
- MarkupSafe changes: https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-1
3.0.3
3.0.2
Changelog
Sourced from jinja2's changelog.
Version 3.1.3
Released 2024-01-10
- Fix compiler error when checking if required blocks in parent templates are empty. :pr:
1858xmlattrfilter does not allow keys with spaces. GHSA-h5c8-rqwp-cp95- Make error messages stemming from invalid nesting of
{% trans %}blocks more helpful. :pr:1918Version 3.1.2
Released 2022-04-28
- Add parameters to
Environment.overlayto match__init__. :issue:1645- Handle race condition in
FileSystemBytecodeCache. :issue:1654Version 3.1.1
Released 2022-03-25
- The template filename on Windows uses the primary path separator. :issue:
1637Version 3.1.0
Released 2022-03-24
Drop support for Python 3.6. :pr:
1534Remove previously deprecated code. :pr:
1544
WithExtensionandAutoEscapeExtensionare built-in now.contextfilterandcontextfunctionare replaced bypass_context.evalcontextfilterandevalcontextfunctionare replaced bypass_eval_context.environmentfilterandenvironmentfunctionare replaced bypass_environment.Markupandescapeshould be imported from MarkupSafe.- Compiled templates from very old Jinja versions may need to be recompiled.
- Legacy resolve mode for
Contextsubclasses is no longer supported. Overrideresolve_or_missinginstead of
... (truncated)
Commits
d9de4bbrelease version 3.1.350124e1skip test pypi9ea7222use trusted publishingda703f7use trusted publishingbce1746use trusted publishing7277d80update pre-commit hooks5c8a105Make nested-trans-block exceptions nicer (#1918)19a55dbMake nested-trans-block exceptions nicer7167953Merge pull request from GHSA-h5c8-rqwp-cp957dd3680xmlattr filter disallows keys with spaces- Additional commits viewable in compare view
Updates mako from 1.1.4 to 1.2.2
Release notes
Sourced from mako's releases.
1.2.2
Released: Mon Aug 29 2022
bug
[bug] [lexer] Fixed issue in lexer where the regexp used to match tags would not correctly interpret quoted sections individually. While this parsing issue still produced the same expected tag structure later on, the mis-handling of quoted sections was also subject to a regexp crash if a tag had a large number of quotes within its quoted sections.
References: #366
1.2.1
Released: Thu Jun 30 2022
bug
[bug] [tests] Various fixes to the test suite in the area of exception message rendering to accommodate for variability in Python versions as well as Pygments.
References: #360
misc
[performance] Optimized some codepaths within the lexer/Python code generation process, improving performance for generation of templates prior to their being cached. Pull request courtesy Takuto Ikuta.
References: #361
1.2.0
Released: Thu Mar 10 2022
changed
[changed] [py3k] Corrected "universal wheel" directive in
setup.cfgso that building a wheel does not target Python 2.References: #351
[changed] [py3k] The
bytestring_passthroughtemplate argument is removed, as this flag only applied to Python 2.
... (truncated)
Commits
- See full diff in compare view
Updates pyjwt from 2.1.0 to 2.4.0
Release notes
Sourced from pyjwt's releases.
2.4.0
Security
- [CVE-2022-29217] Prevent key confusion through non-blocklisted public key formats. https://github.com/jpadilla/pyjwt/security/advisories/GHSA-ffqj-6fqr-9h24
What's Changed
- Add support for Python 3.10 by
@hugovkin jpadilla/pyjwt#699- Don't use implicit optionals by
@rekyungminin jpadilla/pyjwt#705- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#708- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#710- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#711- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#712- documentation fix: show correct scope for decode_complete() by
@sseeringin jpadilla/pyjwt#661- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#716- Explicit check the key for ECAlgorithm by
@estinin jpadilla/pyjwt#713- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#720- api_jwk: Add PyJWKSet.getitem by
@woodruffwin jpadilla/pyjwt#725- Update usage.rst by
@guneybilenin jpadilla/pyjwt#727- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#728- fix: Update copyright information by
@kkirschein jpadilla/pyjwt#729- Docs: mention performance reasons for reusing RSAPrivateKey when encoding by
@dmahr1in jpadilla/pyjwt#734- Fixed typo in usage.rst by
@israelabrahamin jpadilla/pyjwt#738- Add detached payload support for JWS encoding and decoding by
@fviardin jpadilla/pyjwt#723- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#740- Raise DeprecationWarning for jwt.decode(verify=...) by
@akxin jpadilla/pyjwt#742- Don't mutate options dictionary in .decode_complete() by
@akxin jpadilla/pyjwt#743- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#748- Replace various string interpolations with f-strings by
@akxin jpadilla/pyjwt#744- Update CHANGELOG.rst by
@hipertrackerin jpadilla/pyjwt#751New Contributors
@hugovkmade their first contribution in jpadilla/pyjwt#699@rekyungminmade their first contribution in jpadilla/pyjwt#705@sseeringmade their first contribution in jpadilla/pyjwt#661@estinmade their first contribution in jpadilla/pyjwt#713@woodruffwmade their first contribution in jpadilla/pyjwt#725@guneybilenmade their first contribution in jpadilla/pyjwt#727@dmahr1made their first contribution in jpadilla/pyjwt#734@israelabrahammade their first contribution in jpadilla/pyjwt#738@fviardmade their first contribution in jpadilla/pyjwt#723@akxmade their first contribution in jpadilla/pyjwt#742@hipertrackermade their first contribution in jpadilla/pyjwt#751Full Changelog: https://github.com/jpadilla/pyjwt/compare/2.3.0...2.4.0
2.3.0
What's Changed
- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#700- Add exception chaining by
@ehdgua01in jpadilla/pyjwt#702- Revert "Remove arbitrary kwargs." by
@auvipyin jpadilla/pyjwt#701
... (truncated)
Changelog
Sourced from pyjwt's changelog.
v2.4.0 <https://github.com/jpadilla/pyjwt/compare/2.3.0...2.4.0>__Security
- [CVE-2022-29217] Prevent key confusion through non-blocklisted public key formats. https://github.com/jpadilla/pyjwt/security/advisories/GHSA-ffqj-6fqr-9h24Changed
- Explicit check the key for ECAlgorithm by @estin in https://github.com/jpadilla/pyjwt/pull/713 - Raise DeprecationWarning for jwt.decode(verify=...) by @akx in https://github.com/jpadilla/pyjwt/pull/742Fixed
- Don't use implicit optionals by @rekyungmin in https://github.com/jpadilla/pyjwt/pull/705 - documentation fix: show correct scope for decode_complete() by @sseering in https://github.com/jpadilla/pyjwt/pull/661 - fix: Update copyright information by @kkirsche in https://github.com/jpadilla/pyjwt/pull/729 - Don't mutate options dictionary in .decode_complete() by @akx in https://github.com/jpadilla/pyjwt/pull/743 Added
- Add support for Python 3.10 by @hugovk in https://github.com/jpadilla/pyjwt/pull/699
- api_jwk: Add PyJWKSet.getitem by @woodruffw in https://github.com/jpadilla/pyjwt/pull/725
- Update usage.rst by @guneybilen in https://github.com/jpadilla/pyjwt/pull/727
- Docs: mention performance reasons for reusing RSAPrivateKey when encoding by @dmahr1 in https://github.com/jpadilla/pyjwt/pull/734
- Fixed typo in usage.rst by @israelabraham in https://github.com/jpadilla/pyjwt/pull/738
- Add detached payload support for JWS encoding and decoding by @fviard in https://github.com/jpadilla/pyjwt/pull/723
- Replace various string interpolations with f-strings by @akx in https://github.com/jpadilla/pyjwt/pull/744
- Update CHANGELOG.rst by @hipertracker in https://github.com/jpadilla/pyjwt/pull/751
v2.3.0 &lt;https://github.com/jpadilla/pyjwt/compare/2.2.0...2.3.0&gt;__Fixed
- Revert &quot;Remove arbitrary kwargs.&quot; `[#701](https://github.com/jpadilla/pyjwt/issues/701) &lt;https://github.com/jpadilla/pyjwt/pull/701&gt;`__ Added
- Add exception chaining
[#702](https://github.com/jpadilla/pyjwt/issues/702) &lt;https://github.com/jpadilla/pyjwt/pull/702&gt;__
v2.2.0 &lt;https://github.com/jpadilla/pyjwt/compare/2.1.0...2.2.0&gt;__</tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary>
<ul> <li><a href="https://github.com/jpadilla/pyjwt/commit/83ff831a4d11190e3a0bed781da43f8d84352653"><code>83ff831</code></a> chore: update changelog</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/4c1ce8fd9019dd312ff257b5141cdb6d897379d9"><code>4c1ce8f</code></a> chore: update changelog</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/96f3f0275745c5a455c019a0d3476a054980e8ea"><code>96f3f02</code></a> fix: failing advisory test</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/9c528670c455b8d948aff95ed50e22940d1ad3fc"><code>9c52867</code></a> Merge pull request from GHSA-ffqj-6fqr-9h24</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/24b29adfebcb4f057a3cef5aaf35653bc0c1c8cc"><code>24b29ad</code></a> Update CHANGELOG.rst (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/751">#751</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/31f5acb8fb3ec6cdfe2b1b0a4a8f329b5f3ca67f"><code>31f5acb</code></a> Replace various string interpolations with f-strings (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/744">#744</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/5581a31c21de70444c1162bcfa29f7e0fc86edda"><code>5581a31</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/748">#748</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/3d4d82248f1120c87f1f4e0e8793eaa1d54843a6"><code>3d4d822</code></a> Don't mutate options dictionary in .decode_complete() (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/743">#743</a>)</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/1f1fe15bb41846c602b3e106176b2c692b93a613"><code>1f1fe15</code></a> Add a deprecation warning when jwt.decode() is called with the legacy verify=...</li> <li><a href="https://github.com/jpadilla/pyjwt/commit/35fa28e59d99b99c6a780d2a029a74d6bbba8b1e"><code>35fa28e</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/740">#740</a>)</li> <li>Additional commits viewable in <a href="https://github.com/jpadilla/pyjwt/compare/2.1.0...2.4.0">compare view</a></li> </ul> </details>
<br />
Updates
starkbank-ecdsafrom 1.1.1 to 2.0.1Release notes
Sourced from starkbank-ecdsa's releases.
v2.0.1
Fixed
- Signature r and s range check
v2.0.0
Added
- root imports: from ellipticcurve import PrivateKey, PublicKey, Signature, Ecdsa, File
Changed
- return type of toDer() methods from str to bytes
- internal DER parsing structure for better maintainability, translatability and usability
Changelog
Sourced from starkbank-ecdsa's changelog.
[2.0.1] - 2021-11-04
Fixed
- Signature r and s range check
[2.0.0] - 2021-10-08
Added
- root imports: from ellipticcurve import PrivateKey, PublicKey, Signature, Ecdsa, File
Changed
- return type of toDer() methods from str to bytes
- internal DER parsing structure for better maintainability, translatability and usability
Commits
cb6d807Update to v2.0.1ea20ebbMerge pull request #28 from starkbank/fix/signature-range-checkd136170Add signature.r and signature.s range check998c92bUpdate to v2.0.06f6b680Merge pull request #26 from starkbank/refactor/der1dabf70Refactor DER and binary handling structures for better readability and easier...- See full diff in compare view
Updates
werkzeugfrom 2.0.1 to 2.3.8Release notes
Sourced from werkzeug's releases.
2.3.8
This is a security release for the 2.3.x feature branch.
2.3.7
This is a fix release for the 2.3.x feature branch.
- Changes: https://werkzeug.palletsprojects.com/en/2.3.x/changes/#version-2-3-7
- Milestone: https://github.com/pallets/werkzeug/milestone/33?closed=1
2.3.6
This is a fix release for the 2.3.x feature branch.
- Changes: https://werkzeug.palletsprojects.com/en/2.3.x/changes/#version-2-3-6
- Milestone: https://github.com/pallets/werkzeug/milestone/32?closed=1
2.3.5
This is a fix release for the 2.3.x feature branch.
- Changes: https://werkzeug.palletsprojects.com/en/2.3.x/changes/#version-2-3-5
- Milestone: https://github.com/pallets/werkzeug/milestone/31?closed=1
2.3.4
This is a fix release for the 2.3.x release branch.
- Changes: https://werkzeug.palletsprojects.com/en/2.3.x/changes/#version-2-3-4
- Milestone: https://github.com/pallets/werkzeug/milestone/30?closed=1
2.3.3
This is a fix release for the 2.3.x release branch.
- Changes: https://werkzeug.palletsprojects.com/en/2.3.x/changes/#version-2-3-3
- Milestone: https://github.com/pallets/werkzeug/milestone/29?closed=1
2.3.2
This is a fix release for the 2.3.x release branch.
- Changes: https://werkzeug.palletsprojects.com/en/2.3.x/changes/#version-2-3-2
- Milestone: https://github.com/pallets/werkzeug/milestone/28?closed=1
2.3.1
This is a fix release for the 2.3.x release branch.
- Changes: https://werkzeug.palletsprojects.com/en/2.3.x/changes/#version-2-3-1
- Milestone: https://github.com/pallets/werkzeug/milestone/27?closed=1
2.3.0
This is a feature release, which includes new features, removes previously deprecated code, and adds new deprecations. The 2.3.x branch is now the supported fix branch, the 2.2.x branch will become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades. Test with warnings treated as errors to be able to adapt to deprecation warnings early.
... (truncated)
Changelog
Sourced from werkzeug's changelog.
Version 2.3.8
Released 2023-11-08
- Fix slow multipart parsing for large parts potentially enabling DoS attacks.
Version 2.3.7
Released 2023-08-14
- Use
flit_coreinstead ofsetuptoolsas build backend.- Fix parsing of multipart bodies. :issue:
2734- Adjust index of last newline in data start. :issue:
2761- Parsing ints from header values strips spacing first. :issue:
2734- Fix empty file streaming when testing. :issue:
2740- Clearer error message when URL rule does not start with slash. :pr:
2750Acceptqvalue can be a float without a decimal part. :issue:2751Version 2.3.6
Released 2023-06-08
FileStorage.content_lengthdoes not fail if the form data did not provide a value. :issue:2726Version 2.3.5
Released 2023-06-07
- Python 3.12 compatibility. :issue:
2704- Fix handling of invalid base64 values in
Authorization.from_header. :issue:2717- The debugger escapes the exception message in the page title. :pr:
2719- When binding
routing.Map, a long IDNAserver_namewith a port does not fail encoding. :issue:2700iri_to_urishows a deprecation warning instead of an error when passing bytes. :issue:2708- When parsing numbers in HTTP request headers such as
Content-Length, only ASCII digits are accepted rather than any format that Python'sintandfloataccept. :issue:2716Version 2.3.4
... (truncated)
Commits
dc90943Release version 2.3.8f230020Fix: slow multipart parsing for huge files with few CR/LF characters26f3e95reformat lines828bab4Start version 2.3.83c2ba3dRelease version 2.3.7ac9974cFix qvalue parsing (#2753)88f4ed6qvalue parsing accepts float without decimalDescription has been truncated