<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python-cryptography/patches, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-05-29T03:41:17Z</updated>
<entry>
<title>python-cryptography: update to 48.0.0 + backport cross-include fix</title>
<updated>2026-05-29T03:41:17Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-05-27T12:23:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=903d8a3d07c2790548b54585dc7b507ac42064e2'/>
<id>urn:sha1:903d8a3d07c2790548b54585dc7b507ac42064e2</id>
<content type='text'>
Bump from 46.0.7 to the current 48.0.0 release. Notable upstream
changes since 46.0.7:

- 48.0.0 drops Python 3.8 support (requires 3.9+); raises
  Py_LIMITED_API floor to 0x030900f0.
- Adds ML-KEM / ML-DSA post-quantum primitives via OpenSSL 3.5.0+
  (in addition to existing AWS-LC / BoringSSL paths).
- BACKWARDS INCOMPATIBLE: stricter X.509 CRL signature-algorithm
  matching (mismatched inner/outer algs now raise ValueError at parse
  time).
- Drops 32-bit Windows wheels and ships macOS only on arm64.

Replace the old downstream cross-compile fix with a backport of the
upstream-merged version from pyca/cryptography PR #14904
(commit 5d072cb2a685, scheduled for the release after 48.0.0).

Release notes:
https://cryptography.io/en/latest/changelog/#v48-0-0

Fixes: https://github.com/openwrt/packages/issues/29521

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>python-cryptography: bump to 46.0.6</title>
<updated>2026-04-05T12:03:06Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-03-29T15:58:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=733123acf79622f763de44183213d2cca5337f13'/>
<id>urn:sha1:733123acf79622f763de44183213d2cca5337f13</id>
<content type='text'>
Starting with 46.x, cryptography switched its build backend from
setuptools-rust to maturin. Update PKG_BUILD_DEPENDS accordingly:
replace python-setuptools-rust/host with python-maturin/host and
python-setuptools/host (setuptools is still required by cffi).

Drop 001-Update-ouroboros.patch: the ouroboros crate is no longer a
dependency in 46.x, so the patch (which bumped it from 0.15 to 0.18
to fix RUSTSEC-2023-0042) no longer applies.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>python-cryptography: Update to 41.0.4</title>
<updated>2023-09-27T23:40:55Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-09-13T04:33:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=9fdff3ea94662653188c3902840e97c35e9f138f'/>
<id>urn:sha1:9fdff3ea94662653188c3902840e97c35e9f138f</id>
<content type='text'>
This includes a patch to update the version of ouroboros (Rust crate)
used, to fix RUSTSEC-2023-0042[1]. Upstream has switch from ouroboros to
self_cell so this patch should only be necessary for cryptography 41.

[1]: https://rustsec.org/advisories/RUSTSEC-2023-0042.html

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-cryptography: Update patch to disable Rust</title>
<updated>2023-04-24T08:18:14Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-02-18T10:24:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=0b5091bbff52ef8e2e8b6b1f173928088ebe5cc6'/>
<id>urn:sha1:0b5091bbff52ef8e2e8b6b1f173928088ebe5cc6</id>
<content type='text'>
This extends the patch to also apply for pyproject.toml-based builds.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-cryptography: Fix failing build</title>
<updated>2022-07-07T09:35:41Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2022-07-07T09:35:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=9e3b7d78837b7181b859472894aa243a2eae595b'/>
<id>urn:sha1:9e3b7d78837b7181b859472894aa243a2eae595b</id>
<content type='text'>
Fixes https://github.com/openwrt/packages/issues/18876.
Fixes https://github.com/openwrt/packages/issues/18879.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-cryptography: bump to version 3.4.7</title>
<updated>2021-06-17T16:27:29Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2021-06-15T09:25:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=01d1b4581e885bc878de6e075b19a1008ef93569'/>
<id>urn:sha1:01d1b4581e885bc878de6e075b19a1008ef93569</id>
<content type='text'>
Dropped patches:
  0004-Replace-EVP_CIPHER_CTX_cleanup-with-EVP_CIPHER_CTX_r.patch
  0005-Switch-get_-Update-APIs-to-get0.patch

Reworked patches:
  0001-Add-new-ASN1_STRING_get0_data-API.patch
  0006-Add-X509_STORE_CTX_trusted_stack-compatibility-macro.patch
These 2 require that we keep only the CUSTOMIZATIONS stuff for now. Maybe
later we can drop this.

Ran 'make package/python-cryptography/refresh'.

Added patch:
  0004-disable-rust.patch
upstream did a sloppy job with the CRYPTOGRAPHY_DONT_BUILD_RUST logic; we
need to patch it, to make sure the setuptools-rust isn't installed.
We may need to carry this patch in our tree for a bit longer than upstream,
because in newer versions, CRYPTOGRAPHY_DONT_BUILD_RUST logic gets removed.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-cryptography: bump to version 3.3.1</title>
<updated>2020-12-16T06:45:36Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2020-12-14T10:11:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=e4303a3d283b8b138668d032665e2904784ea4df'/>
<id>urn:sha1:e4303a3d283b8b138668d032665e2904784ea4df</id>
<content type='text'>
Regenerated patches from:
  https://github.com/pyca/cryptography/pull/4920

The patch names were kept as generated via 'git format-patch 3.3.1..'
And ran through quilt.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-cryptography: bump to version 3.2.1</title>
<updated>2020-11-02T13:57:58Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2020-11-02T11:38:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=a9862edad79ea23d234e7adb531088696fffe5b3'/>
<id>urn:sha1:a9862edad79ea23d234e7adb531088696fffe5b3</id>
<content type='text'>
Also refreshed patches.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-cryptography: fix compilation without deprecated OpenSSL APIs</title>
<updated>2020-09-21T01:33:58Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-07-26T22:59:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=fcd9812bfd1f06c299e9f3c95d4d1265264b36cf'/>
<id>urn:sha1:fcd9812bfd1f06c299e9f3c95d4d1265264b36cf</id>
<content type='text'>
Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-cryptography: Update to 3.0</title>
<updated>2020-07-26T21:40:30Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2020-07-26T21:40:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=b6eef2af19ce3ac46e1aa369cf4b0e0c3d839df7'/>
<id>urn:sha1:b6eef2af19ce3ac46e1aa369cf4b0e0c3d839df7</id>
<content type='text'>
Also:
* Remove patches that are included in the update
* Replace the python3 dependency with a smaller list (python3-urllib is
  needed because it is a dependency of python3-email)

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
</feed>
