@@ -3,4 +3,4 @@
#
# Additionally AUH will detect that they share this .inc file and
# perform a lockstep upgrade for both.
-PV = "50.0.2"
+PV = "51.0.0"
@@ -2,69 +2,71 @@
# from Cargo.lock
SRC_URI += " \
- crate://crates.io/asn1/0.24.1 \
- crate://crates.io/asn1_derive/0.24.1 \
- crate://crates.io/base64/0.23.0 \
- crate://crates.io/bitflags/2.13.1 \
- crate://crates.io/cc/1.4.0 \
- crate://crates.io/cfg-if/1.0.4 \
- crate://crates.io/find-msvc-tools/0.1.9 \
+ crate://crates.io/asn1/0.25.1 \
+ crate://crates.io/asn1_derive/0.25.1 \
+ crate://crates.io/base64/0.23.1 \
+ crate://crates.io/bitflags/2.13.2 \
+ crate://crates.io/cc/1.12.0 \
+ crate://crates.io/cfg-if/1.0.5 \
+ crate://crates.io/find-msvc-tools/0.1.16 \
crate://crates.io/foreign-types/0.3.2 \
crate://crates.io/foreign-types-shared/0.1.1 \
crate://crates.io/heck/0.5.0 \
- crate://crates.io/itoa/1.0.18 \
- crate://crates.io/libc/0.2.189 \
+ crate://crates.io/itoa/1.0.19 \
+ crate://crates.io/libc/0.2.191 \
crate://crates.io/once_cell/1.21.4 \
- crate://crates.io/openssl/0.10.81 \
+ crate://crates.io/openssl/0.10.82 \
crate://crates.io/openssl-macros/0.1.1 \
- crate://crates.io/openssl-sys/0.9.117 \
+ crate://crates.io/openssl-sys/0.9.118 \
crate://crates.io/pem/4.0.0 \
- crate://crates.io/pkg-config/0.3.33 \
- crate://crates.io/portable-atomic/1.14.0 \
+ crate://crates.io/pkg-config/0.3.34 \
+ crate://crates.io/portable-atomic/1.15.0 \
crate://crates.io/proc-macro2/1.0.107 \
- crate://crates.io/pyo3/0.29.2 \
- crate://crates.io/pyo3-build-config/0.29.2 \
- crate://crates.io/pyo3-ffi/0.29.2 \
- crate://crates.io/pyo3-macros/0.29.2 \
- crate://crates.io/pyo3-macros-backend/0.29.2 \
+ crate://crates.io/pyo3/0.30.1 \
+ crate://crates.io/pyo3-build-config/0.30.1 \
+ crate://crates.io/pyo3-ffi/0.30.1 \
+ crate://crates.io/pyo3-macros/0.30.1 \
+ crate://crates.io/pyo3-macros-backend/0.30.1 \
crate://crates.io/quote/1.0.47 \
crate://crates.io/self_cell/1.3.0 \
crate://crates.io/shlex/2.0.1 \
crate://crates.io/syn/2.0.119 \
- crate://crates.io/target-lexicon/0.13.5 \
- crate://crates.io/unicode-ident/1.0.24 \
+ crate://crates.io/syn/3.0.10 \
+ crate://crates.io/target-lexicon/0.13.6 \
+ crate://crates.io/unicode-ident/1.0.27 \
crate://crates.io/vcpkg/0.2.15 \
"
-SRC_URI[asn1-0.24.1.sha256sum] = "c9795210620c0cb3f9a7ce4f882808c38e1ef7b347c90591dceae0886e031fb1"
-SRC_URI[asn1_derive-0.24.1.sha256sum] = "909e307f1cc32bb8bccbd98f446e6d1bf03fa30f7b53a4337da7181ad30fa11a"
-SRC_URI[base64-0.23.0.sha256sum] = "b25655df2c3cdd83c5e5b293b88acd880332b2ddadd7c30ac43144fdc0033da9"
-SRC_URI[bitflags-2.13.1.sha256sum] = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da"
-SRC_URI[cc-1.4.0.sha256sum] = "5add81bb678e6cb321aff7fa0dc7689ad82b112dbc032cea19f91d6b8e3582b9"
-SRC_URI[cfg-if-1.0.4.sha256sum] = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
-SRC_URI[find-msvc-tools-0.1.9.sha256sum] = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
+SRC_URI[asn1-0.25.1.sha256sum] = "c8c471698abfbafd1307fa726d63fad5a01c4c44328fb35ae5e7f9d1d0b0713a"
+SRC_URI[asn1_derive-0.25.1.sha256sum] = "80e0938b96e7b7a78214c6367ade497f507b157cd45df7ed384a5afc795272c1"
+SRC_URI[base64-0.23.1.sha256sum] = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
+SRC_URI[bitflags-2.13.2.sha256sum] = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
+SRC_URI[cc-1.12.0.sha256sum] = "95e45cf2980b2d467be49a9ed942c9179b701063a7ca3d037de7ee9bd67f8d66"
+SRC_URI[cfg-if-1.0.5.sha256sum] = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
+SRC_URI[find-msvc-tools-0.1.16.sha256sum] = "3e44f110d1777dc6559a51e7d45083945ded4f1bf3305494350f693b6d20b9c8"
SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
-SRC_URI[itoa-1.0.18.sha256sum] = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
-SRC_URI[libc-0.2.189.sha256sum] = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
+SRC_URI[itoa-1.0.19.sha256sum] = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
+SRC_URI[libc-0.2.191.sha256sum] = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
SRC_URI[once_cell-1.21.4.sha256sum] = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
-SRC_URI[openssl-0.10.81.sha256sum] = "77823a27f0babb03091cb9ed9ef80af3b39dbc82f97e8fa530374b7dafd87a45"
+SRC_URI[openssl-0.10.82.sha256sum] = "4de8111e94a56adca7ebfe6c365b6d42f99deb69b74b6becacd4204e2f193aa2"
SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
-SRC_URI[openssl-sys-0.9.117.sha256sum] = "b47e7e6bb2c38cd930d25a23b40fa52e068c10e85f3e03a7f5ba5aaca5713695"
+SRC_URI[openssl-sys-0.9.118.sha256sum] = "19c413d6ec9ebaf5e1c829d355cb3e9f783778d700f135be0921d52fce3c60ae"
SRC_URI[pem-4.0.0.sha256sum] = "d354a98a3d1251555de99e8fdd8afda05573c31b82f59063a7b0a29b5527f120"
-SRC_URI[pkg-config-0.3.33.sha256sum] = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"
-SRC_URI[portable-atomic-1.14.0.sha256sum] = "3d20d5497ef88037a52ff98267d066e7f11fcc5e99bbfbd58a42336193aacec3"
+SRC_URI[pkg-config-0.3.34.sha256sum] = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
+SRC_URI[portable-atomic-1.15.0.sha256sum] = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
SRC_URI[proc-macro2-1.0.107.sha256sum] = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
-SRC_URI[pyo3-0.29.2.sha256sum] = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
-SRC_URI[pyo3-build-config-0.29.2.sha256sum] = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
-SRC_URI[pyo3-ffi-0.29.2.sha256sum] = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
-SRC_URI[pyo3-macros-0.29.2.sha256sum] = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
-SRC_URI[pyo3-macros-backend-0.29.2.sha256sum] = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
+SRC_URI[pyo3-0.30.1.sha256sum] = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
+SRC_URI[pyo3-build-config-0.30.1.sha256sum] = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
+SRC_URI[pyo3-ffi-0.30.1.sha256sum] = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
+SRC_URI[pyo3-macros-0.30.1.sha256sum] = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
+SRC_URI[pyo3-macros-backend-0.30.1.sha256sum] = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
SRC_URI[quote-1.0.47.sha256sum] = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
SRC_URI[self_cell-1.3.0.sha256sum] = "2ab42ca02749e120097e328d91d415325bdf43b1c72c4c8badf37375fe40a813"
SRC_URI[shlex-2.0.1.sha256sum] = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
SRC_URI[syn-2.0.119.sha256sum] = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
-SRC_URI[target-lexicon-0.13.5.sha256sum] = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
-SRC_URI[unicode-ident-1.0.24.sha256sum] = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
+SRC_URI[syn-3.0.10.sha256sum] = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
+SRC_URI[target-lexicon-0.13.6.sha256sum] = "8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da"
+SRC_URI[unicode-ident-1.0.27.sha256sum] = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
# NOTE: Make sure to keep this recipe at the same version as python3-cryptography
# Upgrade both recipes at the same time
require python3-cryptography-common.inc
-SRC_URI += "file://0001-pyproject.toml-relax-uv_build-upper-bound.patch"
-SRC_URI[sha256sum] = "d99111fe5dd5a8d40650e300aad34b6e6910ca198c674b8008450ca69f8f05c4"
+SRC_URI += "${PYPI_SRC_URI}"
+SRC_URI[sha256sum] = "bd06fa03e7ef225dbd793f9ca4301511d3473db187577fb5620b74b07256c688"
inherit pypi python_uv_build
deleted file mode 100644
@@ -1,29 +0,0 @@
-From 9315d44ea059d68629c5adb33df7a84fa8ea03c2 Mon Sep 17 00:00:00 2001
-From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
-Date: Tue, 13 Oct 2026 17:53:26 +0000
-Subject: [PATCH] Allow uv-build 0.13.0
-
-Upstream-Status: Backport [https://github.com/pyca/cryptography/commit/1e0ced8ad61d3c84215fd749abb183e87b58caea]
-
-Note: The upstream change also updates .github/requirements/build-requirements.{in,txt},
-which only exist in the git repository. The PyPI sdist that this recipe builds
-from contains just pyproject.toml, so only that file is patched here.
-
-Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
----
- pyproject.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index 0b10dcc..ee03759 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -1,5 +1,5 @@
- [build-system]
--requires = ["uv_build>=0.7.19,<0.13.0"]
-+requires = ["uv_build>=0.7.19,<0.14.0"]
- build-backend = "uv_build"
-
- [project]
-2.40.0
@@ -11,12 +11,44 @@ LDSHARED += "-pthread"
# NOTE: Make sure to keep this recipe at the same version as python3-cryptography-vectors
# Upgrade both recipes at the same time
require python3-cryptography-common.inc
-SRC_URI[sha256sum] = "7b46165bb56eb4704e2eaaf86f3c940d19154535d9b0ca7d6d590b04060e00d5"
+SRC_URI[sha256sum] = "e0de4d4939458eb3e8efac86b398959959930babc6931572792f9ba8e5c5d47d"
SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
- file://check-memfree.py \
- file://run-ptest \
- file://0001-Raise-InvalidTag-on-AEAD-finalize-failure-regardless.patch \
+ file://check-memfree.py \
+ file://run-ptest \
+ crate://crates.io/asn1/0.25.1 \
+ crate://crates.io/asn1_derive/0.25.1 \
+ crate://crates.io/base64/0.23.1 \
+ crate://crates.io/bitflags/2.13.2 \
+ crate://crates.io/cc/1.12.0 \
+ crate://crates.io/cfg-if/1.0.5 \
+ crate://crates.io/find-msvc-tools/0.1.16 \
+ crate://crates.io/foreign-types/0.3.2 \
+ crate://crates.io/foreign-types-shared/0.1.1 \
+ crate://crates.io/heck/0.5.0 \
+ crate://crates.io/itoa/1.0.19 \
+ crate://crates.io/libc/0.2.191 \
+ crate://crates.io/once_cell/1.21.4 \
+ crate://crates.io/openssl/0.10.82 \
+ crate://crates.io/openssl-macros/0.1.1 \
+ crate://crates.io/openssl-sys/0.9.118 \
+ crate://crates.io/pem/4.0.0 \
+ crate://crates.io/pkg-config/0.3.34 \
+ crate://crates.io/portable-atomic/1.15.0 \
+ crate://crates.io/proc-macro2/1.0.107 \
+ crate://crates.io/pyo3/0.30.1 \
+ crate://crates.io/pyo3-build-config/0.30.1 \
+ crate://crates.io/pyo3-ffi/0.30.1 \
+ crate://crates.io/pyo3-macros/0.30.1 \
+ crate://crates.io/pyo3-macros-backend/0.30.1 \
+ crate://crates.io/quote/1.0.47 \
+ crate://crates.io/self_cell/1.3.0 \
+ crate://crates.io/shlex/2.0.1 \
+ crate://crates.io/syn/2.0.119 \
+ crate://crates.io/syn/3.0.10 \
+ crate://crates.io/target-lexicon/0.13.6 \
+ crate://crates.io/unicode-ident/1.0.27 \
+ crate://crates.io/vcpkg/0.2.15 \
"
require ${BPN}-crates.inc
deleted file mode 100644
@@ -1,53 +0,0 @@
-From 098b3b1816c3541847b507b2b1e0ae2e3aa85102 Mon Sep 17 00:00:00 2001
-From: Alex Gaynor <alex.gaynor@gmail.com>
-Date: Sat, 5 Sep 2026 17:11:53 -0400
-Subject: [PATCH] Raise InvalidTag on AEAD finalize failure regardless of error
- queue (#15596)
-
-OpenSSL f7d2d2acef (openssl/openssl#32587) now pushes PROV_R_BAD_DECRYPT
-onto the error queue when an AEAD tag check fails in EVP_DecryptFinal_ex.
-Our finalize only mapped failures to InvalidTag when the error queue was
-empty, so on OpenSSL master a bad GCM tag surfaced as a ValueError about
-block length instead.
-
-For modes with an authentication tag, treat any finalize failure as
-InvalidTag. Older OpenSSL, BoringSSL, AWS-LC, and LibreSSL still leave
-the queue empty, so behavior there is unchanged.
-
-Claude-Session: https://claude.ai/code/session_01Eg4jjDRiLcBQrdEFsL3fCD
-
-Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
-
-Upstream-Status: Backport [https://github.com/pyca/cryptography/commit/e83bbe58e373536636baaa7c33a64a6e8f04c953]
-Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
----
- src/rust/src/backend/ciphers.rs | 16 ++++++++++------
- 1 file changed, 10 insertions(+), 6 deletions(-)
-
-diff --git a/src/rust/src/backend/ciphers.rs b/src/rust/src/backend/ciphers.rs
-index f850bef..073bee3 100644
---- a/src/rust/src/backend/ciphers.rs
-+++ b/src/rust/src/backend/ciphers.rs
-@@ -233,12 +233,16 @@ impl CipherContext {
- py: pyo3::Python<'p>,
- ) -> CryptographyResult<pyo3::Bound<'p, pyo3::types::PyBytes>> {
- let mut out_buf = vec![0; self.ctx.block_size()];
-- let n = self.ctx.cipher_final(&mut out_buf).or_else(|e| {
-- if e.errors().is_empty()
-- && self
-- .py_mode
-- .bind(py)
-- .is_instance(&types::MODE_WITH_AUTHENTICATION_TAG.get(py)?)?
-+ let n = self.ctx.cipher_final(&mut out_buf).or_else(|_| {
-+ // For authenticated modes, the only way finalize can fail is a
-+ // tag mismatch. Older OpenSSL versions (and BoringSSL, AWS-LC,
-+ // and LibreSSL) leave the error queue empty in that case, while
-+ // OpenSSL >= 4.1 pushes PROV_R_BAD_DECRYPT, so we can't key on
-+ // the error queue.
-+ if self
-+ .py_mode
-+ .bind(py)
-+ .is_instance(&types::MODE_WITH_AUTHENTICATION_TAG.get(py)?)?
- {
- return Err(CryptographyError::from(exceptions::InvalidTag::new_err(())));
- }
@@ -1,4 +1,4 @@
-From 1e86700ed4780712f9c2a78dd1b98cde92d674e2 Mon Sep 17 00:00:00 2001
+From 6d9bc9fa5a09fa757b7553312560bb76119eddb0 Mon Sep 17 00:00:00 2001
From: Mingli Yu <mingli.yu@windriver.com>
Date: Tue, 17 May 2022 17:22:48 +0800
Subject: [PATCH] pyproject.toml: remove --benchmark-disable option
@@ -26,10 +26,10 @@ Signed-off-by: Tim Orling <tim.orling@konsulko.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
-index d0187a8..cbec7a1 100644
+index 23ecdcd..5021e3d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
-@@ -141,7 +141,7 @@ exclude = [
+@@ -142,7 +142,7 @@ exclude = [
]
[tool.pytest.ini_options]
Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *python3-cryptography-vectors,python3-cryptography* to *51.0.0* has Succeeded. Next steps: - apply the patch: git am 0001-python3-cryptography-vectors-python3-cryptography-up.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From a2a04e551bc9f698e8558fb98d6adf9abd89f0af Mon Sep 17 00:00:00 2001 From: Upgrade Helper <auh@yoctoproject.org> Date: Wed, 2 Dec 2026 05:12:47 +0000 Subject: [PATCH] python3-cryptography-vectors,python3-cryptography: upgrade 50.0.2 -> 51.0.0 51.0.0 - 2026-12-01 ~~~~~~~~~~~~~~~~~~~ Credit to **@X1AOxiang** for reporting the issue. **CVE-2026-69247** --- .../python/python3-cryptography-common.inc | 2 +- .../python/python3-cryptography-crates.inc | 82 ++++++++++--------- .../python/python3-cryptography-vectors.bb | 4 +- ...ject.toml-relax-uv_build-upper-bound.patch | 29 ------- .../python/python3-cryptography.bb | 40 ++++++++- ...-on-AEAD-finalize-failure-regardless.patch | 53 ------------ ...toml-remove-benchmark-disable-option.patch | 6 +- 7 files changed, 84 insertions(+), 132 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-cryptography-vectors/0001-pyproject.toml-relax-uv_build-upper-bound.patch delete mode 100644 meta/recipes-devtools/python/python3-cryptography/0001-Raise-InvalidTag-on-AEAD-finalize-failure-regardless.patch