Skip to content

Commit bfe5feb

Browse files
Bump cryptography from 47.0.0 to 48.0.0 (#12455)
Bumps [cryptography](https://github.com/pyca/cryptography) from 47.0.0 to 48.0.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst">cryptography's changelog</a>.</em></p> <blockquote> <p>48.0.0 - 2026-05-04</p> <pre><code> * **BACKWARDS INCOMPATIBLE:** Support for Python 3.8 has been removed. ``cryptography`` now requires Python 3.9 or later. * **BACKWARDS INCOMPATIBLE:** Loading an X.509 CRL whose inner ``TBSCertList.signature`` algorithm does not match the outer ``signatureAlgorithm`` now raises ``ValueError``. Previously, such CRLs were parsed successfully and only rejected during signature validation. * Added support for :doc:`/hazmat/primitives/asymmetric/mlkem` and :doc:`/hazmat/primitives/asymmetric/mldsa` when using OpenSSL 3.5.0 or later, in addition to the existing AWS-LC and BoringSSL support. This means post-quantum algorithms are now available to users of our wheels. <ul> <li><strong>Note:</strong> Going forward, we do not guarantee that all functionality<br /> in <code>cryptography</code> will be available when building against<br /> OpenSSL. See :doc:<code>/statements/state-of-openssl</code> for more information.</li> </ul> <p>.. _v47-0-0:<br /> </code></pre></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pyca/cryptography/commit/8e03e30e3aae01632a697e903e3593c924f0139d"><code>8e03e30</code></a> bump for 48.0.0 release (<a href="https://redirect.github.com/pyca/cryptography/issues/14796">#14796</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/295e0d254ef31ab864730aa41312ec355416ee71"><code>295e0d2</code></a> Add AGENTS.md with CLAUDE.md symlink (<a href="https://redirect.github.com/pyca/cryptography/issues/14794">#14794</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/104a2de19e268a433e6da92be9cb872dcf0003c8"><code>104a2de</code></a> Bump BoringSSL, OpenSSL, AWS-LC in CI (<a href="https://redirect.github.com/pyca/cryptography/issues/14793">#14793</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/67ec1e51988195e17993d2edef5258b27509b926"><code>67ec1e5</code></a> call check_length early on AesSiv::encrypt (<a href="https://redirect.github.com/pyca/cryptography/issues/14792">#14792</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/b2da57a0d9e4bfd2b95364299091a18f74127b26"><code>b2da57a</code></a> changelog for mldsa/mlkem for openssl (<a href="https://redirect.github.com/pyca/cryptography/issues/14791">#14791</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/3cf44adee25c368d4a136e072fa9f80465d91eb0"><code>3cf44ad</code></a> ML-KEM OpenSSL support (<a href="https://redirect.github.com/pyca/cryptography/issues/14781">#14781</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/2e31639666766f846fbab2c605879db0fa64fe83"><code>2e31639</code></a> ML-DSA OpenSSL support (<a href="https://redirect.github.com/pyca/cryptography/issues/14773">#14773</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/5affe5a286a986fdf512c4a5cb280d28a96c10e3"><code>5affe5a</code></a> fix rust nightly clippy (<a href="https://redirect.github.com/pyca/cryptography/issues/14790">#14790</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/2e73ca448eaf64b6f0d4ffbb794cf96170cef5ec"><code>2e73ca4</code></a> bump rust-openssl dep and update EcPoint::mul_generator to mul_generator2 (<a href="https://redirect.github.com/pyca/cryptography/issues/1">#1</a>...</li> <li><a href="https://github.com/pyca/cryptography/commit/82ebd3b9f49d49ad5fd8b4b1f1dd02487b6e1466"><code>82ebd3b</code></a> Bump BoringSSL, OpenSSL, AWS-LC in CI (<a href="https://redirect.github.com/pyca/cryptography/issues/14785">#14785</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pyca/cryptography/compare/47.0.0...48.0.0">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 753a326 commit bfe5feb

6 files changed

Lines changed: 66 additions & 9 deletions

File tree

requirements/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ coverage==7.13.5
7070
# via
7171
# -r requirements/test-common.in
7272
# pytest-cov
73-
cryptography==47.0.0
73+
cryptography==48.0.0
7474
# via trustme
7575
cython==3.2.4
7676
# via -r requirements/cython.in

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ coverage==7.13.5
7070
# via
7171
# -r requirements/test-common.in
7272
# pytest-cov
73-
cryptography==47.0.0
73+
cryptography==48.0.0
7474
# via trustme
7575
distlib==0.4.0
7676
# via virtualenv

requirements/lint.txt

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ annotated-types==0.7.0
1717
ast-serialize==0.3.0
1818
# via mypy
1919
async-timeout==5.0.1
20-
# via valkey
20+
# via
21+
# aiohttp
22+
# valkey
23+
attrs==26.1.0
24+
# via aiohttp
25+
backports-asyncio-runner==1.2.0
26+
# via pytest-asyncio
2127
backports-zstd==1.3.0 ; implementation_name == "cpython" and python_version < "3.14"
2228
# via -r requirements/lint.in
2329
blockbuster==1.5.26
@@ -31,7 +37,7 @@ cfgv==3.5.0
3137
# via pre-commit
3238
click==8.3.3
3339
# via slotscheck
34-
cryptography==47.0.0
40+
cryptography==48.0.0
3541
# via trustme
3642
distlib==0.4.0
3743
# via virtualenv
@@ -45,10 +51,16 @@ forbiddenfruit==0.1.4
4551
# via blockbuster
4652
freezegun==1.5.5
4753
# via -r requirements/lint.in
54+
frozenlist==1.8.0
55+
# via
56+
# aiohttp
57+
# aiosignal
4858
identify==2.6.19
4959
# via pre-commit
5060
idna==3.11
51-
# via trustme
61+
# via
62+
# trustme
63+
# yarl
5264
iniconfig==2.3.0
5365
# via pytest
5466
isal==1.7.2
@@ -59,6 +71,10 @@ markdown-it-py==4.2.0
5971
# via rich
6072
mdurl==0.1.2
6173
# via markdown-it-py
74+
multidict==6.7.1
75+
# via
76+
# aiohttp
77+
# yarl
6278
mypy==2.0.0 ; implementation_name == "cpython"
6379
# via -r requirements/lint.in
6480
mypy-extensions==1.1.0
@@ -133,12 +149,14 @@ trustme==1.2.1
133149
# via -r requirements/lint.in
134150
typing-extensions==4.15.0
135151
# via
152+
# aiosignal
136153
# cryptography
137154
# exceptiongroup
138155
# multidict
139156
# mypy
140157
# pydantic
141158
# pydantic-core
159+
# pytest-asyncio
142160
# python-on-whales
143161
# typing-inspection
144162
# virtualenv
@@ -150,5 +168,7 @@ valkey==6.1.1
150168
# via -r requirements/lint.in
151169
virtualenv==21.3.1
152170
# via pre-commit
171+
yarl==1.23.0
172+
# via aiohttp
153173
zlib-ng==1.0.0
154174
# via -r requirements/lint.in

requirements/test-common.txt

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,22 @@
44
#
55
# pip-compile --allow-unsafe --output-file=requirements/test-common.txt --strip-extras requirements/test-common.in
66
#
7+
aiohappyeyeballs==2.6.1
8+
# via aiohttp
9+
aiohttp==3.13.5
10+
# via pytest-aiohttp
11+
aiosignal==1.4.0
12+
# via aiohttp
713
annotated-types==0.7.0
814
# via pydantic
915
ast-serialize==0.3.0
1016
# via mypy
17+
async-timeout==5.0.1
18+
# via aiohttp
19+
attrs==26.1.0
20+
# via aiohttp
21+
backports-asyncio-runner==1.2.0
22+
# via pytest-asyncio
1123
blockbuster==1.5.26
1224
# via -r requirements/test-common.in
1325
cffi==2.0.0
@@ -20,7 +32,7 @@ coverage==7.13.5
2032
# via
2133
# -r requirements/test-common.in
2234
# pytest-cov
23-
cryptography==47.0.0
35+
cryptography==48.0.0
2436
# via trustme
2537
exceptiongroup==1.3.1
2638
# via pytest
@@ -30,8 +42,14 @@ forbiddenfruit==0.1.4
3042
# via blockbuster
3143
freezegun==1.5.5
3244
# via -r requirements/test-common.in
45+
frozenlist==1.8.0
46+
# via
47+
# aiohttp
48+
# aiosignal
3349
idna==3.11
34-
# via trustme
50+
# via
51+
# trustme
52+
# yarl
3553
iniconfig==2.3.0
3654
# via pytest
3755
isal==1.8.0 ; python_version < "3.14"
@@ -42,6 +60,10 @@ markdown-it-py==4.2.0
4260
# via rich
4361
mdurl==0.1.2
4462
# via markdown-it-py
63+
multidict==6.7.1
64+
# via
65+
# aiohttp
66+
# yarl
4567
mypy==2.0.0 ; implementation_name == "cpython"
4668
# via -r requirements/test-common.in
4769
mypy-extensions==1.1.0
@@ -56,6 +78,10 @@ pluggy==1.6.0
5678
# via
5779
# pytest
5880
# pytest-cov
81+
propcache==0.5.2
82+
# via
83+
# aiohttp
84+
# yarl
5985
proxy-py==2.4.10
6086
# via -r requirements/test-common.in
6187
pycparser==3.0
@@ -71,10 +97,16 @@ pygments==2.20.0
7197
pytest==9.0.3
7298
# via
7399
# -r requirements/test-common.in
100+
# pytest-aiohttp
101+
# pytest-asyncio
74102
# pytest-codspeed
75103
# pytest-cov
76104
# pytest-mock
77105
# pytest-xdist
106+
pytest-aiohttp==1.1.0
107+
# via -r requirements/test-common.in
108+
pytest-asyncio==1.3.0
109+
# via pytest-aiohttp
78110
pytest-codspeed==4.5.0
79111
# via -r requirements/test-common.in
80112
pytest-cov==7.1.0
@@ -102,16 +134,21 @@ trustme==1.2.1 ; platform_machine != "i686"
102134
# via -r requirements/test-common.in
103135
typing-extensions==4.15.0
104136
# via
137+
# aiosignal
105138
# cryptography
106139
# exceptiongroup
140+
# multidict
107141
# mypy
108142
# pydantic
109143
# pydantic-core
144+
# pytest-asyncio
110145
# python-on-whales
111146
# typing-inspection
112147
typing-inspection==0.4.2
113148
# via pydantic
114149
wait-for-it==2.3.0
115150
# via -r requirements/test-common.in
151+
yarl==1.23.0
152+
# via aiohttp
116153
zlib-ng==1.0.0
117154
# via -r requirements/test-common.in

requirements/test-ft.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ coverage==7.13.5
4545
# via
4646
# -r requirements/test-common.in
4747
# pytest-cov
48-
cryptography==47.0.0
48+
cryptography==48.0.0
4949
# via trustme
5050
exceptiongroup==1.3.1
5151
# via pytest

requirements/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ coverage==7.13.5
4545
# via
4646
# -r requirements/test-common.in
4747
# pytest-cov
48-
cryptography==47.0.0
48+
cryptography==48.0.0
4949
# via trustme
5050
exceptiongroup==1.3.1
5151
# via pytest

0 commit comments

Comments
 (0)