python3-cryptography{-vectors}: upgrade 42.0.8 -> 43.0.0
PATCH 1/1 python3-cryptography{-vectors}: upgrade 42.0.8 -> 43.0.0
From: Tim Orling <[email protected]>
* PEP-517 has changed to maturin
https://github.com/pyca/cryptography/commit/5b23baae7e1a59ab16630e6f8eae13e2b8822ded
https://github.com/pyca/cryptography/compare/42.0.8...43.0.0
43.0.0 - 2024-07-20
* BACKWARDS INCOMPATIBLE: Support for OpenSSL less than 1.1.1e has been removed. Users on older version of OpenSSL will need to upgrade.
* BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.8.
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.3.1.
* Updated the minimum supported Rust version (MSRV) to 1.65.0, from 1.63.0.
* generate_private_key() now enforces a minimum RSA key size of 1024-bit. Note that 1024-bit is still considered insecure, users should generally use a key size of 2048-bits.
* serialize_certificates() now emits ASN.1 that more closely follows the recommendations in RFC 2315.
* Added new Decrepit cryptography module which contains outdated and insecure cryptographic primitives. CAST5, SEED, IDEA, and Blowfish, which were deprecated in 37.0.0, have been added to this module. They will be removed from the cipher module in 45.0.0.
* Moved TripleDES and ARC4 into Decrepit cryptography and deprecated them in the cipher module. They will be removed from the cipher module in 48.0.0.
* Added support for deterministic ECDSA (RFC 6979)
* Added support for client certificate verification to the X.509 path validation APIs in the form of ClientVerifier, VerifiedClient, and PolicyBuilder build_client_verifier().
* Added Certificate public_key_algorithm_oid and Certificate Signing Request public_key_algorithm_oid to determine the PublicKeyAlgorithmOID Object Identifier of the public key found inside the certificate.
* Added invalidity_date_utc, a timezone-aware alternative to the naïve datetime attribute invalidity_date.
* Added support for parsing empty DN string in from_rfc4514_string().
* Added the following properties that return timezone-aware datetime objects:
produced_at_utc(), revocation_time_utc(), this_update_utc(), next_update_utc(), revocation_time_utc(), this_update_utc(), next_update_utc(), These are timezone-aware variants of existing properties that return naïve datetime objects.
* Added rsa_recover_private_exponent()
* Added reset_nonce() for altering the nonce of a cipher context without initializing a new instance. See the docs for additional restrictions.
* NameAttribute now raises an exception when attempting to create a common name whose length is shorter or longer than RFC 5280 permits.
* Added basic support for PKCS7 encryption (including SMIME) via PKCS7EnvelopeBuilder.
---
.../python/python3-cryptography-crates.inc | 130 +++++++-----------
...=> python3-cryptography-vectors_43.0.0.bb} | 2 +-
...toml-remove-benchmark-disable-option.patch | 8 +-
....0.8.bb => python3-cryptography_43.0.0.bb} | 4 +-
4 files changed, 57 insertions(+), 87 deletions(-)
rename meta/recipes-devtools/python/{python3-cryptography-vectors_42.0.8.bb => python3-cryptography-vectors_43.0.0.bb} (91%)
rename meta/recipes-devtools/python/{python3-cryptography_42.0.8.bb => python3-cryptography_43.0.0.bb} (91%)meta/recipes-devtools/python/python3-cryptography-crates.inc +50 -80
@@ -2,101 +2,71 @@ # from src/rust/Cargo.lock SRC_URI += " \ - crate://crates.io/asn1/0.15.5 \ - crate://crates.io/asn1_derive/0.15.5 \ - crate://crates.io/autocfg/1.1.0 \ - crate://crates.io/base64/0.21.7 \ - crate://crates.io/bitflags/1.3.2 \ - crate://crates.io/bitflags/2.4.2 \ - crate://crates.io/cc/1.0.83 \ + crate://crates.io/asn1/0.16.2 \ + crate://crates.io/asn1_derive/0.16.2 \ + crate://crates.io/autocfg/1.3.0 \ + crate://crates.io/base64/0.22.1 \ + crate://crates.io/bitflags/2.6.0 \ + crate://crates.io/cc/1.1.6 \ crate://crates.io/cfg-if/1.0.0 \ crate://crates.io/foreign-types/0.3.2 \ crate://crates.io/foreign-types-shared/0.1.1 \ - crate://crates.io/heck/0.4.1 \ - crate://crates.io/indoc/2.0.4 \ - crate://crates.io/libc/0.2.152 \ - crate://crates.io/lock_api/0.4.11 \ - crate://crates.io/memoffset/0.9.0 \ + crate://crates.io/heck/0.5.0 \ + crate://crates.io/indoc/2.0.5 \ + crate://crates.io/libc/0.2.155 \ + crate://crates.io/memoffset/0.9.1 \ crate://crates.io/once_cell/1.19.0 \ - crate://crates.io/openssl/0.10.64 \ + crate://crates.io/openssl/0.10.65 \ crate://crates.io/openssl-macros/0.1.1 \ - crate://crates.io/openssl-sys/0.9.102 \ - crate://crates.io/parking_lot/0.12.1 \ - crate://crates.io/parking_lot_core/0.9.9 \ - crate://crates.io/pem/3.0.3 \ - crate://crates.io/pkg-config/0.3.29 \ - crate://crates.io/portable-atomic/1.6.0 \ - crate://crates.io/proc-macro2/1.0.78 \ - crate://crates.io/pyo3/0.20.3 \ - crate://crates.io/pyo3-build-config/0.20.3 \ - crate://crates.io/pyo3-ffi/0.20.3 \ - crate://crates.io/pyo3-macros/0.20.3 \ - crate://crates.io/pyo3-macros-backend/0.20.3 \ - crate://crates.io/quote/1.0.35 \ - crate://crates.io/redox_syscall/0.4.1 \ - crate://crates.io/scopeguard/1.2.0 \ - crate://crates.io/self_cell/1.0.3 \ - crate://crates.io/smallvec/1.13.1 \ - crate://crates.io/syn/2.0.48 \ - crate://crates.io/target-lexicon/0.12.13 \ + crate://crates.io/openssl-sys/0.9.103 \ + crate://crates.io/pem/3.0.4 \ + crate://crates.io/pkg-config/0.3.30 \ + crate://crates.io/portable-atomic/1.7.0 \ + crate://crates.io/proc-macro2/1.0.86 \ + crate://crates.io/pyo3/0.22.2 \ + crate://crates.io/pyo3-build-config/0.22.2 \ + crate://crates.io/pyo3-ffi/0.22.2 \ + crate://crates.io/pyo3-macros/0.22.2 \ + crate://crates.io/pyo3-macros-backend/0.22.2 \ + crate://crates.io/quote/1.0.36 \ + crate://crates.io/self_cell/1.0.4 \ + crate://crates.io/syn/2.0.71 \ + crate://crates.io/target-lexicon/0.12.15 \ crate://crates.io/unicode-ident/1.0.12 \ crate://crates.io/unindent/0.2.3 \ crate://crates.io/vcpkg/0.2.15 \ - crate://crates.io/windows-targets/0.48.5 \ - crate://crates.io/windows_aarch64_gnullvm/0.48.5 \ - crate://crates.io/windows_aarch64_msvc/0.48.5 \ - crate://crates.io/windows_i686_gnu/0.48.5 \ - crate://crates.io/windows_i686_msvc/0.48.5 \ - crate://crates.io/windows_x86_64_gnu/0.48.5 \ - crate://crates.io/windows_x86_64_gnullvm/0.48.5 \ - crate://crates.io/windows_x86_64_msvc/0.48.5 \ " -SRC_URI[asn1-0.15.5.sha256sum] = "ae3ecbce89a22627b5e8e6e11d69715617138290289e385cde773b1fe50befdb" -SRC_URI[asn1_derive-0.15.5.sha256sum] = "861af988fac460ac69a09f41e6217a8fb9178797b76fcc9478444be6a59be19c" -SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" -SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" -SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" -SRC_URI[bitflags-2.4.2.sha256sum] = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" -SRC_URI[cc-1.0.83.sha256sum] = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +SRC_URI[asn1-0.16.2.sha256sum] = "532ceda058281b62096b2add4ab00ab3a453d30dee28b8890f62461a0109ebbd" +SRC_URI[asn1_derive-0.16.2.sha256sum] = "56e6076d38cc17cc22b0f65f31170a2ee1975e6b07f0012893aefd86ce19c987" +SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" +SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" +SRC_URI[bitflags-2.6.0.sha256sum] = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +SRC_URI[cc-1.1.6.sha256sum] = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f" SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" -SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" -SRC_URI[indoc-2.0.4.sha256sum] = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8" -SRC_URI[libc-0.2.152.sha256sum] = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" -SRC_URI[lock_api-0.4.11.sha256sum] = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" -SRC_URI[memoffset-0.9.0.sha256sum] = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" +SRC_URI[indoc-2.0.5.sha256sum] = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" +SRC_URI[libc-0.2.155.sha256sum] = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" -SRC_URI[openssl-0.10.64.sha256sum] = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f" +SRC_URI[openssl-0.10.65.sha256sum] = "c2823eb4c6453ed64055057ea8bd416eda38c71018723869dd043a3b1186115e" SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" -SRC_URI[openssl-sys-0.9.102.sha256sum] = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2" -SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -SRC_URI[parking_lot_core-0.9.9.sha256sum] = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" -SRC_URI[pem-3.0.3.sha256sum] = "1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310" -SRC_URI[pkg-config-0.3.29.sha256sum] = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb" -SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" -SRC_URI[proc-macro2-1.0.78.sha256sum] = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" -SRC_URI[pyo3-0.20.3.sha256sum] = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233" -SRC_URI[pyo3-build-config-0.20.3.sha256sum] = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7" -SRC_URI[pyo3-ffi-0.20.3.sha256sum] = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa" -SRC_URI[pyo3-macros-0.20.3.sha256sum] = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158" -SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185" -SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" -SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" -SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" -SRC_URI[self_cell-1.0.3.sha256sum] = "58bf37232d3bb9a2c4e641ca2a11d83b5062066f88df7fed36c28772046d65ba" -SRC_URI[smallvec-1.13.1.sha256sum] = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" -SRC_URI[syn-2.0.48.sha256sum] = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" -SRC_URI[target-lexicon-0.12.13.sha256sum] = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" +SRC_URI[openssl-sys-0.9.103.sha256sum] = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6" +SRC_URI[pem-3.0.4.sha256sum] = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae" +SRC_URI[pkg-config-0.3.30.sha256sum] = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" +SRC_URI[portable-atomic-1.7.0.sha256sum] = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265" +SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +SRC_URI[pyo3-0.22.2.sha256sum] = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433" +SRC_URI[pyo3-build-config-0.22.2.sha256sum] = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8" +SRC_URI[pyo3-ffi-0.22.2.sha256sum] = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6" +SRC_URI[pyo3-macros-0.22.2.sha256sum] = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206" +SRC_URI[pyo3-macros-backend-0.22.2.sha256sum] = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372" +SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +SRC_URI[self_cell-1.0.4.sha256sum] = "d369a96f978623eb3dc28807c4852d6cc617fed53da5d3c400feff1ef34a714a" +SRC_URI[syn-2.0.71.sha256sum] = "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462" +SRC_URI[target-lexicon-0.12.15.sha256sum] = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2" SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce" SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" -SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" -SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" -SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" -SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" -SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" -SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" -SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
meta/recipes-devtools/python/python3-cryptography-vectors_43.0.0.bb renamed from meta/recipes-devtools/python/python3-cryptography-vectors_42.0.8.bb +1 -1
@@ -9,7 +9,7 @@ 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 -SRC_URI[sha256sum] = "df5657367bc0a90c374309cb261009a2c53cae91a458781339a0f724f819a46a" +SRC_URI[sha256sum] = "5c9d09a732d5433cede1542a96ecd70a80e122af047ee7404bcdf1f3ccb8e702" PYPI_PACKAGE = "cryptography_vectors"
meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch +4 -4
@@ -1,4 +1,4 @@ -From e4d7856fe842f3df7c614554d006d81253a5edf2 Mon Sep 17 00:00:00 2001 +From 82e71e7122d9131ffcd786a0bffeaf846967a37e Mon Sep 17 00:00:00 2001 From: Mingli Yu <[email protected]> Date: Tue, 17 May 2022 17:22:48 +0800 Subject: [PATCH] pyproject.toml: remove --benchmark-disable option
@@ -26,11 +26,11 @@ Signed-off-by: Tim Orling <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml -index d2e304f..10aabcf 100644 +index 5f1bcc7..ba02540 100644 --- a/pyproject.toml +++ b/pyproject.toml -@@ -92,7 +92,7 @@ rust-version = ">=1.63.0" - +@@ -117,7 +117,7 @@ exclude = [ + ] [tool.pytest.ini_options] -addopts = "-r s --capture=no --strict-markers --benchmark-disable"
meta/recipes-devtools/python/python3-cryptography_43.0.0.bb renamed from meta/recipes-devtools/python/python3-cryptography_42.0.8.bb +2 -2
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \ " LDSHARED += "-pthread" -SRC_URI[sha256sum] = "8d09d05439ce7baa8e9e95b07ec5b6c886f548deb7e0f69ef25f64b3bce842f2" +SRC_URI[sha256sum] = "b88075ada2d51aa9f18283532c9f60e72170041bba88d7f37e49cbb10275299e" SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \ file://check-memfree.py \
@@ -17,7 +17,7 @@ SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \ require ${BPN}-crates.inc -inherit pypi python_setuptools3_rust cargo-update-recipe-crates pkgconfig +inherit pypi python_maturin cargo-update-recipe-crates pkgconfig DEPENDS += " \ python3-cffi-native \
Signature · 1 line
2.46.0
This causes reproducibility issues:
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240813-qgfyyhkg/packages/diff-html/
Quoted 292 lines · Tim Orling
From: Tim Orling <[email protected]>
* PEP-517 has changed to maturin
https://github.com/pyca/cryptography/commit/5b23baae7e1a59ab16630e6f8eae13e2b8822dedhttps://github.com/pyca/cryptography/compare/42.0.8...43.0.0
43.0.0 - 2024-07-20
* BACKWARDS INCOMPATIBLE: Support for OpenSSL less than 1.1.1e has been removed. Users on older version of OpenSSL will need to upgrade.
* BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.8.
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.3.1.
* Updated the minimum supported Rust version (MSRV) to 1.65.0, from 1.63.0.
*generate_private_key()now enforces a minimum RSA key size of 1024-bit. Note that 1024-bit is still considered insecure, users should generally use a key size of 2048-bits.
*serialize_certificates()now emits ASN.1 that more closely follows the recommendations in RFC 2315.
* Added new Decrepit cryptography module which contains outdated and insecure cryptographic primitives. CAST5, SEED, IDEA, and Blowfish, which were deprecated in 37.0.0, have been added to this module. They will be removed from the cipher module in 45.0.0.
* Moved TripleDES and ARC4 into Decrepit cryptography and deprecated them in the cipher module. They will be removed from the cipher module in 48.0.0.
* Added support for deterministic ECDSA (RFC 6979)
* Added support for client certificate verification to the X.509 path validation APIs in the form of ClientVerifier, VerifiedClient, and PolicyBuilderbuild_client_verifier().
* Added Certificatepublic_key_algorithm_oidand Certificate Signing Requestpublic_key_algorithm_oidto determine the PublicKeyAlgorithmOID Object Identifier of the public key found inside the certificate.
* Addedinvalidity_date_utc, a timezone-aware alternative to the naïve datetime attributeinvalidity_date.
* Added support for parsing empty DN string infrom_rfc4514_string().
* Added the following properties that return timezone-aware datetime objects:
produced_at_utc(),revocation_time_utc(),this_update_utc(),next_update_utc(),revocation_time_utc(),this_update_utc(),next_update_utc(), These are timezone-aware variants of existing properties that return naïve datetime objects.
* Addedrsa_recover_private_exponent()
* Addedreset_nonce()for altering the nonce of a cipher context without initializing a new instance. See the docs for additional restrictions.
* NameAttribute now raises an exception when attempting to create a common name whose length is shorter or longer than RFC 5280 permits.
* Added basic support for PKCS7 encryption (including SMIME) via PKCS7EnvelopeBuilder.Signed-off-by Tim Orling <[email protected]>--- .../python/python3-cryptography-crates.inc | 130 +++++++----------- ...=> python3-cryptography-vectors_43.0.0.bb} | 2 +- ...toml-remove-benchmark-disable-option.patch | 8 +- ....0.8.bb => python3-cryptography_43.0.0.bb} | 4 +- 4 files changed, 57 insertions(+), 87 deletions(-) rename meta/recipes-devtools/python/{python3-cryptography-vectors_42.0.8.bb => python3-cryptography-vectors_43.0.0.bb} (91%) rename meta/recipes-devtools/python/{python3-cryptography_42.0.8.bb => python3-cryptography_43.0.0.bb} (91%)meta/recipes-devtools/python/python3-cryptography-crates.inc +50
-80@@ -2,101 +2,71 @@ # from src/rust/Cargo.lock SRC_URI += " \ - crate://crates.io/asn1/0.15.5 \ - crate://crates.io/asn1_derive/0.15.5 \ - crate://crates.io/autocfg/1.1.0 \ - crate://crates.io/base64/0.21.7 \ - crate://crates.io/bitflags/1.3.2 \ - crate://crates.io/bitflags/2.4.2 \ - crate://crates.io/cc/1.0.83 \ + crate://crates.io/asn1/0.16.2 \ + crate://crates.io/asn1_derive/0.16.2 \ + crate://crates.io/autocfg/1.3.0 \ + crate://crates.io/base64/0.22.1 \ + crate://crates.io/bitflags/2.6.0 \ + crate://crates.io/cc/1.1.6 \ crate://crates.io/cfg-if/1.0.0 \ crate://crates.io/foreign-types/0.3.2 \ crate://crates.io/foreign-types-shared/0.1.1 \ - crate://crates.io/heck/0.4.1 \ - crate://crates.io/indoc/2.0.4 \ - crate://crates.io/libc/0.2.152 \ - crate://crates.io/lock_api/0.4.11 \ - crate://crates.io/memoffset/0.9.0 \ + crate://crates.io/heck/0.5.0 \ + crate://crates.io/indoc/2.0.5 \ + crate://crates.io/libc/0.2.155 \ + crate://crates.io/memoffset/0.9.1 \ crate://crates.io/once_cell/1.19.0 \ - crate://crates.io/openssl/0.10.64 \ + crate://crates.io/openssl/0.10.65 \ crate://crates.io/openssl-macros/0.1.1 \ - crate://crates.io/openssl-sys/0.9.102 \ - crate://crates.io/parking_lot/0.12.1 \ - crate://crates.io/parking_lot_core/0.9.9 \ - crate://crates.io/pem/3.0.3 \ - crate://crates.io/pkg-config/0.3.29 \ - crate://crates.io/portable-atomic/1.6.0 \ - crate://crates.io/proc-macro2/1.0.78 \ - crate://crates.io/pyo3/0.20.3 \ - crate://crates.io/pyo3-build-config/0.20.3 \ - crate://crates.io/pyo3-ffi/0.20.3 \ - crate://crates.io/pyo3-macros/0.20.3 \ - crate://crates.io/pyo3-macros-backend/0.20.3 \ - crate://crates.io/quote/1.0.35 \ - crate://crates.io/redox_syscall/0.4.1 \ - crate://crates.io/scopeguard/1.2.0 \ - crate://crates.io/self_cell/1.0.3 \ - crate://crates.io/smallvec/1.13.1 \ - crate://crates.io/syn/2.0.48 \ - crate://crates.io/target-lexicon/0.12.13 \ + crate://crates.io/openssl-sys/0.9.103 \ + crate://crates.io/pem/3.0.4 \ + crate://crates.io/pkg-config/0.3.30 \ + crate://crates.io/portable-atomic/1.7.0 \ + crate://crates.io/proc-macro2/1.0.86 \ + crate://crates.io/pyo3/0.22.2 \ + crate://crates.io/pyo3-build-config/0.22.2 \ + crate://crates.io/pyo3-ffi/0.22.2 \ + crate://crates.io/pyo3-macros/0.22.2 \ + crate://crates.io/pyo3-macros-backend/0.22.2 \ + crate://crates.io/quote/1.0.36 \ + crate://crates.io/self_cell/1.0.4 \ + crate://crates.io/syn/2.0.71 \ + crate://crates.io/target-lexicon/0.12.15 \ crate://crates.io/unicode-ident/1.0.12 \ crate://crates.io/unindent/0.2.3 \ crate://crates.io/vcpkg/0.2.15 \ - crate://crates.io/windows-targets/0.48.5 \ - crate://crates.io/windows_aarch64_gnullvm/0.48.5 \ - crate://crates.io/windows_aarch64_msvc/0.48.5 \ - crate://crates.io/windows_i686_gnu/0.48.5 \ - crate://crates.io/windows_i686_msvc/0.48.5 \ - crate://crates.io/windows_x86_64_gnu/0.48.5 \ - crate://crates.io/windows_x86_64_gnullvm/0.48.5 \ - crate://crates.io/windows_x86_64_msvc/0.48.5 \ " -SRC_URI[asn1-0.15.5.sha256sum] = "ae3ecbce89a22627b5e8e6e11d69715617138290289e385cde773b1fe50befdb" -SRC_URI[asn1_derive-0.15.5.sha256sum] = "861af988fac460ac69a09f41e6217a8fb9178797b76fcc9478444be6a59be19c" -SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" -SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" -SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" -SRC_URI[bitflags-2.4.2.sha256sum] = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" -SRC_URI[cc-1.0.83.sha256sum] = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +SRC_URI[asn1-0.16.2.sha256sum] = "532ceda058281b62096b2add4ab00ab3a453d30dee28b8890f62461a0109ebbd" +SRC_URI[asn1_derive-0.16.2.sha256sum] = "56e6076d38cc17cc22b0f65f31170a2ee1975e6b07f0012893aefd86ce19c987" +SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" +SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" +SRC_URI[bitflags-2.6.0.sha256sum] = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +SRC_URI[cc-1.1.6.sha256sum] = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f" SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" -SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" -SRC_URI[indoc-2.0.4.sha256sum] = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8" -SRC_URI[libc-0.2.152.sha256sum] = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" -SRC_URI[lock_api-0.4.11.sha256sum] = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" -SRC_URI[memoffset-0.9.0.sha256sum] = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" +SRC_URI[indoc-2.0.5.sha256sum] = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" +SRC_URI[libc-0.2.155.sha256sum] = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" -SRC_URI[openssl-0.10.64.sha256sum] = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f" +SRC_URI[openssl-0.10.65.sha256sum] = "c2823eb4c6453ed64055057ea8bd416eda38c71018723869dd043a3b1186115e" SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" -SRC_URI[openssl-sys-0.9.102.sha256sum] = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2" -SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -SRC_URI[parking_lot_core-0.9.9.sha256sum] = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" -SRC_URI[pem-3.0.3.sha256sum] = "1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310" -SRC_URI[pkg-config-0.3.29.sha256sum] = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb" -SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" -SRC_URI[proc-macro2-1.0.78.sha256sum] = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" -SRC_URI[pyo3-0.20.3.sha256sum] = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233" -SRC_URI[pyo3-build-config-0.20.3.sha256sum] = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7" -SRC_URI[pyo3-ffi-0.20.3.sha256sum] = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa" -SRC_URI[pyo3-macros-0.20.3.sha256sum] = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158" -SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185" -SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" -SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" -SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" -SRC_URI[self_cell-1.0.3.sha256sum] = "58bf37232d3bb9a2c4e641ca2a11d83b5062066f88df7fed36c28772046d65ba" -SRC_URI[smallvec-1.13.1.sha256sum] = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" -SRC_URI[syn-2.0.48.sha256sum] = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" -SRC_URI[target-lexicon-0.12.13.sha256sum] = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" +SRC_URI[openssl-sys-0.9.103.sha256sum] = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6" +SRC_URI[pem-3.0.4.sha256sum] = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae" +SRC_URI[pkg-config-0.3.30.sha256sum] = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" +SRC_URI[portable-atomic-1.7.0.sha256sum] = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265" +SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +SRC_URI[pyo3-0.22.2.sha256sum] = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433" +SRC_URI[pyo3-build-config-0.22.2.sha256sum] = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8" +SRC_URI[pyo3-ffi-0.22.2.sha256sum] = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6" +SRC_URI[pyo3-macros-0.22.2.sha256sum] = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206" +SRC_URI[pyo3-macros-backend-0.22.2.sha256sum] = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372" +SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +SRC_URI[self_cell-1.0.4.sha256sum] = "d369a96f978623eb3dc28807c4852d6cc617fed53da5d3c400feff1ef34a714a" +SRC_URI[syn-2.0.71.sha256sum] = "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462" +SRC_URI[target-lexicon-0.12.15.sha256sum] = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2" SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce" SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" -SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" -SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" -SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" -SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" -SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" -SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" -SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"meta/recipes-devtools/python/python3-cryptography-vectors_43.0.0.bb renamed from meta/recipes-devtools/python/python3-cryptography-vectors_42.0.8.bb +1
-1@@ -9,7 +9,7 @@ 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 -SRC_URI[sha256sum] = "df5657367bc0a90c374309cb261009a2c53cae91a458781339a0f724f819a46a" +SRC_URI[sha256sum] = "5c9d09a732d5433cede1542a96ecd70a80e122af047ee7404bcdf1f3ccb8e702" PYPI_PACKAGE = "cryptography_vectors"meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch +4
-4@@ -1,4 +1,4 @@ -From e4d7856fe842f3df7c614554d006d81253a5edf2 Mon Sep 17 00:00:00 2001 +From 82e71e7122d9131ffcd786a0bffeaf846967a37e Mon Sep 17 00:00:00 2001 From: Mingli Yu <[email protected]> Date: Tue, 17 May 2022 17:22:48 +0800 Subject: [PATCH] pyproject.toml: remove --benchmark-disable option@@ -26,11 +26,11 @@ Signed-off-by: Tim Orling <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml -index d2e304f..10aabcf 100644 +index 5f1bcc7..ba02540 100644 --- a/pyproject.toml +++ b/pyproject.toml -@@ -92,7 +92,7 @@ rust-version = ">=1.63.0" - +@@ -117,7 +117,7 @@ exclude = [ + ] [tool.pytest.ini_options] -addopts = "-r s --capture=no --strict-markers --benchmark-disable"meta/recipes-devtools/python/python3-cryptography_43.0.0.bb renamed from meta/recipes-devtools/python/python3-cryptography_42.0.8.bb +2
-2@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \ " LDSHARED += "-pthread" -SRC_URI[sha256sum] = "8d09d05439ce7baa8e9e95b07ec5b6c886f548deb7e0f69ef25f64b3bce842f2" +SRC_URI[sha256sum] = "b88075ada2d51aa9f18283532c9f60e72170041bba88d7f37e49cbb10275299e" SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \ file://check-memfree.py \@@ -17,7 +17,7 @@ SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \ require ${BPN}-crates.inc -inherit pypi python_setuptools3_rust cargo-update-recipe-crates pkgconfig +inherit pypi python_maturin cargo-update-recipe-crates pkgconfig DEPENDS += " \ python3-cffi-native \Signature · 11 lines
2.46.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#203242): https://lists.openembedded.org/g/openembedded-core/message/203242 Mute This Topic: https://lists.openembedded.org/mt/107870272/3617179 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 2 lines · Alexandre Belloni
This causes reproducibility issues:
lol. This was supposed to fix reproducibility issues!
Quoted 5 lines
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240813-qgfyyhkg/packages/diff-html/
Those data.tar.xz differences look entirely different. I'm going to have to dig over the next couple days and perhaps ask upstream, unless someone else recognizes a pattern. Although I wonder if this is just "this rust package was not populated in Repro A because the task was already in state and it was populated in Repro B because it was built from scratch". If that is the case, we have something elsewhere causing problems with state (rust, cargo, python3-py03 or python3-maturin for instance).
Quoted 414 lines · Tim Orling
Quoted 4 lines
From: Tim Orling <[email protected]>
* PEP-517 has changed to maturin
https://github.com/pyca/cryptography/commit/5b23baae7e1a59ab16630e6f8eae13e2b8822ded
Quoted 8 lines
https://github.com/pyca/cryptography/compare/42.0.8...43.0.0
43.0.0 - 2024-07-20
* BACKWARDS INCOMPATIBLE: Support for OpenSSL less than 1.1.1e has been removed. Users on older version of OpenSSL will need to upgrade.
* BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.8.
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL3.3.1.
Quoted 1 line
* Updated the minimum supported Rust version (MSRV) to 1.65.0, from
1.63.0.
Quoted 2 lines
*
generate_private_key()now enforces a minimum RSA key size of 1024-bit. Note that 1024-bit is still considered insecure, users shouldgenerally use
Quoted 4 lines
a key size of 2048-bits.
*serialize_certificates()now emits ASN.1 that more closely follows the recommendations in RFC 2315.
* Added new Decrepit cryptography module which contains outdated andinsecure
Quoted 2 lines
cryptographic primitives. CAST5, SEED, IDEA, and Blowfish, which were deprecated in 37.0.0, have been added to this module. They will be
removed
Quoted 2 lines
from the cipher module in 45.0.0.
* Moved TripleDES and ARC4 into Decrepit cryptography and deprecatedthem in
Quoted 1 line
the cipher module. They will be removed from the cipher module in
48.0.0.
Quoted 5 lines
* Added support for deterministic ECDSA (RFC 6979)
* Added support for client certificate verification to the X.509 path validation APIs in the form of ClientVerifier, VerifiedClient, and PolicyBuilderbuild_client_verifier().
* Added Certificatepublic_key_algorithm_oidand Certificate SigningRequest
Quoted 6 lines
public_key_algorithm_oidto determine the PublicKeyAlgorithmOID Object Identifier of the public key found inside the certificate.
* Addedinvalidity_date_utc, a timezone-aware alternative to the naïve datetime attributeinvalidity_date.
* Added support for parsing empty DN string infrom_rfc4514_string().
* Added the following properties that return timezone-aware datetimeobjects:
Quoted 3 lines
produced_at_utc(),revocation_time_utc(),this_update_utc(),next_update_utc(),revocation_time_utc(),this_update_utc(),next_update_utc(), These are timezone-aware variants of existingproperties
Quoted 5 lines
that return naïve datetime objects.
* Addedrsa_recover_private_exponent()
* Addedreset_nonce()for altering the nonce of a cipher context without initializing a new instance. See the docs for additional restrictions.
* NameAttribute now raises an exception when attempting to create acommon
Quoted 4 lines
name whose length is shorter or longer than RFC 5280 permits.
* Added basic support for PKCS7 encryption (including SMIME) via PKCS7EnvelopeBuilder.Quoted 8 lines
Signed-off-by Tim Orling <[email protected]>--- .../python/python3-cryptography-crates.inc | 130 +++++++----------- ...=> python3-cryptography-vectors_43.0.0.bb} | 2 +- ...toml-remove-benchmark-disable-option.patch | 8 +- ....0.8.bb => python3-cryptography_43.0.0.bb} | 4 +- 4 files changed, 57 insertions(+), 87 deletions(-) rename meta/recipes-devtools/python/{python3-cryptography-vectors_42.0.8.bb =>
python3-cryptography-vectors_43.0.0.bb} (91%)Quoted 1 line
rename meta/recipes-devtools/python/{python3-cryptography_42.0.8.bb =>python3-cryptography_43.0.0.bb} (91%)
Quoted 2 lines
diff --git
a/meta/recipes-devtools/python/python3-cryptography-crates.inc b/meta/recipes-devtools/python/python3-cryptography-crates.inc
Quoted 73 lines
index
dbeda05dc45..a0f606cb46e100644meta/recipes-devtools/python/python3-cryptography-crates.inc +25
-33@@ -2,101 +2,71 @@ # from src/rust/Cargo.lock SRC_URI += " \ - crate://crates.io/asn1/0.15.5 \ - crate://crates.io/asn1_derive/0.15.5 \ - crate://crates.io/autocfg/1.1.0 \ - crate://crates.io/base64/0.21.7 \ - crate://crates.io/bitflags/1.3.2 \ - crate://crates.io/bitflags/2.4.2 \ - crate://crates.io/cc/1.0.83 \ + crate://crates.io/asn1/0.16.2 \ + crate://crates.io/asn1_derive/0.16.2 \ + crate://crates.io/autocfg/1.3.0 \ + crate://crates.io/base64/0.22.1 \ + crate://crates.io/bitflags/2.6.0 \ + crate://crates.io/cc/1.1.6 \ crate://crates.io/cfg-if/1.0.0 \ crate://crates.io/foreign-types/0.3.2 \ crate://crates.io/foreign-types-shared/0.1.1 \ - crate://crates.io/heck/0.4.1 \ - crate://crates.io/indoc/2.0.4 \ - crate://crates.io/libc/0.2.152 \ - crate://crates.io/lock_api/0.4.11 \ - crate://crates.io/memoffset/0.9.0 \ + crate://crates.io/heck/0.5.0 \ + crate://crates.io/indoc/2.0.5 \ + crate://crates.io/libc/0.2.155 \ + crate://crates.io/memoffset/0.9.1 \ crate://crates.io/once_cell/1.19.0 \ - crate://crates.io/openssl/0.10.64 \ + crate://crates.io/openssl/0.10.65 \ crate://crates.io/openssl-macros/0.1.1 \ - crate://crates.io/openssl-sys/0.9.102 \ - crate://crates.io/parking_lot/0.12.1 \ - crate://crates.io/parking_lot_core/0.9.9 \ - crate://crates.io/pem/3.0.3 \ - crate://crates.io/pkg-config/0.3.29 \ - crate://crates.io/portable-atomic/1.6.0 \ - crate://crates.io/proc-macro2/1.0.78 \ - crate://crates.io/pyo3/0.20.3 \ - crate://crates.io/pyo3-build-config/0.20.3 \ - crate://crates.io/pyo3-ffi/0.20.3 \ - crate://crates.io/pyo3-macros/0.20.3 \ - crate://crates.io/pyo3-macros-backend/0.20.3 \ - crate://crates.io/quote/1.0.35 \ - crate://crates.io/redox_syscall/0.4.1 \ - crate://crates.io/scopeguard/1.2.0 \ - crate://crates.io/self_cell/1.0.3 \ - crate://crates.io/smallvec/1.13.1 \ - crate://crates.io/syn/2.0.48 \ - crate://crates.io/target-lexicon/0.12.13 \ + crate://crates.io/openssl-sys/0.9.103 \ + crate://crates.io/pem/3.0.4 \ + crate://crates.io/pkg-config/0.3.30 \ + crate://crates.io/portable-atomic/1.7.0 \ + crate://crates.io/proc-macro2/1.0.86 \ + crate://crates.io/pyo3/0.22.2 \ + crate://crates.io/pyo3-build-config/0.22.2 \ + crate://crates.io/pyo3-ffi/0.22.2 \ + crate://crates.io/pyo3-macros/0.22.2 \ + crate://crates.io/pyo3-macros-backend/0.22.2 \ + crate://crates.io/quote/1.0.36 \ + crate://crates.io/self_cell/1.0.4 \ + crate://crates.io/syn/2.0.71 \ + crate://crates.io/target-lexicon/0.12.15 \ crate://crates.io/unicode-ident/1.0.12 \ crate://crates.io/unindent/0.2.3 \ crate://crates.io/vcpkg/0.2.15 \ - crate://crates.io/windows-targets/0.48.5 \meta/recipes-devtools/python/python3-cryptography-crates.inc line 55
Quoted 10 lines
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-8- crate://crates.io/windows_aarch64_gnullvm/0.48.5 \ - crate://crates.io/windows_aarch64_msvc/0.48.5 \ - crate://crates.io/windows_i686_gnu/0.48.5 \ - crate://crates.io/windows_i686_msvc/0.48.5 \ - crate://crates.io/windows_x86_64_gnu/0.48.5 \ - crate://crates.io/windows_x86_64_gnullvm/0.48.5 \ - crate://crates.io/windows_x86_64_msvc/0.48.5 \ " -SRC_URI[asn1-0.15.5.sha256sum] ="
ae3ecbce89a22627b5e8e6e11d69715617138290289e385cde773b1fe50befdb"meta/recipes-devtools/python/python3-cryptography-crates.inc line 56
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[asn1_derive-0.15.5.sha256sum] ="
861af988fac460ac69a09f41e6217a8fb9178797b76fcc9478444be6a59be19c"meta/recipes-devtools/python/python3-cryptography-crates.inc line 57
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[autocfg-1.1.0.sha256sum] ="
d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"meta/recipes-devtools/python/python3-cryptography-crates.inc line 58
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[base64-0.21.7.sha256sum] ="
9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"meta/recipes-devtools/python/python3-cryptography-crates.inc line 59
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[bitflags-1.3.2.sha256sum] ="
bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"meta/recipes-devtools/python/python3-cryptography-crates.inc line 60
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[bitflags-2.4.2.sha256sum] ="
ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"meta/recipes-devtools/python/python3-cryptography-crates.inc line 61
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[cc-1.0.83.sha256sum] ="
f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"meta/recipes-devtools/python/python3-cryptography-crates.inc line 40
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[asn1-0.16.2.sha256sum] ="
532ceda058281b62096b2add4ab00ab3a453d30dee28b8890f62461a0109ebbd"meta/recipes-devtools/python/python3-cryptography-crates.inc line 41
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[asn1_derive-0.16.2.sha256sum] ="
56e6076d38cc17cc22b0f65f31170a2ee1975e6b07f0012893aefd86ce19c987"meta/recipes-devtools/python/python3-cryptography-crates.inc line 42
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[autocfg-1.3.0.sha256sum] ="
0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"meta/recipes-devtools/python/python3-cryptography-crates.inc line 43
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[base64-0.22.1.sha256sum] ="
72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"meta/recipes-devtools/python/python3-cryptography-crates.inc line 44
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[bitflags-2.6.0.sha256sum] ="
b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"meta/recipes-devtools/python/python3-cryptography-crates.inc line 45
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[cc-1.1.6.sha256sum] ="
2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f"meta/recipes-devtools/python/python3-cryptography-crates.inc line 46
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-0SRC_URI[cfg-if-1.0.0.sha256sum] ="
baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"meta/recipes-devtools/python/python3-cryptography-crates.inc line 47
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-0SRC_URI[foreign-types-0.3.2.sha256sum] ="
f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"meta/recipes-devtools/python/python3-cryptography-crates.inc line 48
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-0SRC_URI[foreign-types-shared-0.1.1.sha256sum] ="
00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"meta/recipes-devtools/python/python3-cryptography-crates.inc line 65
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[heck-0.4.1.sha256sum] ="
95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"meta/recipes-devtools/python/python3-cryptography-crates.inc line 66
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[indoc-2.0.4.sha256sum] ="
1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8"meta/recipes-devtools/python/python3-cryptography-crates.inc line 67
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[libc-0.2.152.sha256sum] ="
13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7"meta/recipes-devtools/python/python3-cryptography-crates.inc line 68
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[lock_api-0.4.11.sha256sum] ="
3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"meta/recipes-devtools/python/python3-cryptography-crates.inc line 69
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[memoffset-0.9.0.sha256sum] ="
5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"meta/recipes-devtools/python/python3-cryptography-crates.inc line 49
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[heck-0.5.0.sha256sum] ="
2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"meta/recipes-devtools/python/python3-cryptography-crates.inc line 50
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[indoc-2.0.5.sha256sum] ="
b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"meta/recipes-devtools/python/python3-cryptography-crates.inc line 51
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[libc-0.2.155.sha256sum] ="
97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"meta/recipes-devtools/python/python3-cryptography-crates.inc line 52
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[memoffset-0.9.1.sha256sum] ="
488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"meta/recipes-devtools/python/python3-cryptography-crates.inc line 53
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-0SRC_URI[once_cell-1.19.0.sha256sum] ="
3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"meta/recipes-devtools/python/python3-cryptography-crates.inc line 71
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[openssl-0.10.64.sha256sum] ="
95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f"meta/recipes-devtools/python/python3-cryptography-crates.inc line 54
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[openssl-0.10.65.sha256sum] ="
c2823eb4c6453ed64055057ea8bd416eda38c71018723869dd043a3b1186115e"meta/recipes-devtools/python/python3-cryptography-crates.inc line 55
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-0SRC_URI[openssl-macros-0.1.1.sha256sum] ="
a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"meta/recipes-devtools/python/python3-cryptography-crates.inc line 73
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[openssl-sys-0.9.102.sha256sum] ="
c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2"meta/recipes-devtools/python/python3-cryptography-crates.inc line 74
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[parking_lot-0.12.1.sha256sum] ="
3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"meta/recipes-devtools/python/python3-cryptography-crates.inc line 75
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[parking_lot_core-0.9.9.sha256sum] ="
4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"meta/recipes-devtools/python/python3-cryptography-crates.inc line 76
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[pem-3.0.3.sha256sum] ="
1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310"meta/recipes-devtools/python/python3-cryptography-crates.inc line 77
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[pkg-config-0.3.29.sha256sum] ="
2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb"meta/recipes-devtools/python/python3-cryptography-crates.inc line 78
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[portable-atomic-1.6.0.sha256sum] ="
7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"meta/recipes-devtools/python/python3-cryptography-crates.inc line 79
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[proc-macro2-1.0.78.sha256sum] ="
e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"meta/recipes-devtools/python/python3-cryptography-crates.inc line 80
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[pyo3-0.20.3.sha256sum] ="
53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"meta/recipes-devtools/python/python3-cryptography-crates.inc line 81
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[pyo3-build-config-0.20.3.sha256sum] ="
deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"meta/recipes-devtools/python/python3-cryptography-crates.inc line 82
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[pyo3-ffi-0.20.3.sha256sum] ="
62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"meta/recipes-devtools/python/python3-cryptography-crates.inc line 83
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[pyo3-macros-0.20.3.sha256sum] ="
7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"meta/recipes-devtools/python/python3-cryptography-crates.inc line 84
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] ="
7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"meta/recipes-devtools/python/python3-cryptography-crates.inc line 85
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[quote-1.0.35.sha256sum] ="
291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"meta/recipes-devtools/python/python3-cryptography-crates.inc line 86
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[redox_syscall-0.4.1.sha256sum] ="
4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"meta/recipes-devtools/python/python3-cryptography-crates.inc line 87
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[scopeguard-1.2.0.sha256sum] ="
94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"meta/recipes-devtools/python/python3-cryptography-crates.inc line 88
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[self_cell-1.0.3.sha256sum] ="
58bf37232d3bb9a2c4e641ca2a11d83b5062066f88df7fed36c28772046d65ba"meta/recipes-devtools/python/python3-cryptography-crates.inc line 89
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[smallvec-1.13.1.sha256sum] ="
e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"meta/recipes-devtools/python/python3-cryptography-crates.inc line 90
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[syn-2.0.48.sha256sum] ="
0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f"meta/recipes-devtools/python/python3-cryptography-crates.inc line 91
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[target-lexicon-0.12.13.sha256sum] ="
69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae"meta/recipes-devtools/python/python3-cryptography-crates.inc line 56
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[openssl-sys-0.9.103.sha256sum] ="
7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6"meta/recipes-devtools/python/python3-cryptography-crates.inc line 57
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[pem-3.0.4.sha256sum] ="
8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae"meta/recipes-devtools/python/python3-cryptography-crates.inc line 58
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[pkg-config-0.3.30.sha256sum] ="
d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"meta/recipes-devtools/python/python3-cryptography-crates.inc line 59
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[portable-atomic-1.7.0.sha256sum] ="
da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265"meta/recipes-devtools/python/python3-cryptography-crates.inc line 60
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[proc-macro2-1.0.86.sha256sum] ="
5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"meta/recipes-devtools/python/python3-cryptography-crates.inc line 61
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[pyo3-0.22.2.sha256sum] ="
831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433"meta/recipes-devtools/python/python3-cryptography-crates.inc line 62
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[pyo3-build-config-0.22.2.sha256sum] ="
1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8"meta/recipes-devtools/python/python3-cryptography-crates.inc line 63
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[pyo3-ffi-0.22.2.sha256sum] ="
5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6"meta/recipes-devtools/python/python3-cryptography-crates.inc line 64
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[pyo3-macros-0.22.2.sha256sum] ="
eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206"meta/recipes-devtools/python/python3-cryptography-crates.inc line 65
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[pyo3-macros-backend-0.22.2.sha256sum] ="
ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372"meta/recipes-devtools/python/python3-cryptography-crates.inc line 66
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[quote-1.0.36.sha256sum] ="
0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"meta/recipes-devtools/python/python3-cryptography-crates.inc line 67
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[self_cell-1.0.4.sha256sum] ="
d369a96f978623eb3dc28807c4852d6cc617fed53da5d3c400feff1ef34a714a"meta/recipes-devtools/python/python3-cryptography-crates.inc line 68
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[syn-2.0.71.sha256sum] ="
b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462"meta/recipes-devtools/python/python3-cryptography-crates.inc line 69
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[target-lexicon-0.12.15.sha256sum] ="
4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2"meta/recipes-devtools/python/python3-cryptography-crates.inc line 70
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-0SRC_URI[unicode-ident-1.0.12.sha256sum] ="
3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"meta/recipes-devtools/python/python3-cryptography-crates.inc line 71
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-0SRC_URI[unindent-0.2.3.sha256sum] ="
c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"meta/recipes-devtools/python/python3-cryptography-crates.inc line 72
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-0SRC_URI[vcpkg-0.2.15.sha256sum] ="
accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"meta/recipes-devtools/python/python3-cryptography-crates.inc line 95
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[windows-targets-0.48.5.sha256sum] ="
9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"meta/recipes-devtools/python/python3-cryptography-crates.inc line 96
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] ="
2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"meta/recipes-devtools/python/python3-cryptography-crates.inc line 97
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] ="
dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"meta/recipes-devtools/python/python3-cryptography-crates.inc line 98
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[windows_i686_gnu-0.48.5.sha256sum] ="
a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"meta/recipes-devtools/python/python3-cryptography-crates.inc line 99
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[windows_i686_msvc-0.48.5.sha256sum] ="
8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"meta/recipes-devtools/python/python3-cryptography-crates.inc line 100
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] ="
53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"meta/recipes-devtools/python/python3-cryptography-crates.inc line 101
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] ="
0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"meta/recipes-devtools/python/python3-cryptography-crates.inc line 102
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1-SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] ="
ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"Review
Quoted 1 line
(quoted diff) +0
-0python3-cryptography-vectors_42.0.8.bb b/meta/recipes-devtools/python/ python3-cryptography-vectors_43.0.0.bb
Quoted 2 lines
similarity index 91%
rename from meta/recipes-devtools/python/python3-cryptography-vectors_42.0.8.bb
Quoted 1 line
rename to meta/recipes-devtools/python/
python3-cryptography-vectors_43.0.0.bb
Quoted 2 lines
index
1256e75c474..1f766140748100644
--- a/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.8.bb
Quoted 1 line
+++ b/meta/recipes-devtools/python/
python3-cryptography-vectors_43.0.0.bb
meta/recipes-devtools/python/python3-cryptography-crates.inc LIC_FILES_CHKSUM =
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-0@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM ="file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
meta/recipes-devtools/python/python3-cryptography-crates.inc LIC_FILES_CHKSUM = · line 9
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-0# NOTE: Make sure to keep this recipe at the same version aspython3-cryptography
meta/recipes-devtools/python/python3-cryptography-crates.inc LIC_FILES_CHKSUM = · line 12
Quoted 3 lines
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-1# Upgrade both recipes at the same time -SRC_URI[sha256sum] ="
df5657367bc0a90c374309cb261009a2c53cae91a458781339a0f724f819a46a"meta/recipes-devtools/python/python3-cryptography-crates.inc LIC_FILES_CHKSUM = · line 12
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography-crates.inc +1
-0+SRC_URI[sha256sum] ="
5c9d09a732d5433cede1542a96ecd70a80e122af047ee7404bcdf1f3ccb8e702"Quoted 4 lines
meta/recipes-devtools/python/python3-cryptography-crates.inc +0
-0PYPI_PACKAGE = "cryptography_vectors"diff --git
a/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patchb/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patchQuoted 2 lines
index
3eed171ffee..b0c5098961d100644
---
a/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patchQuoted 1 line
+++
b/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patchReview
Quoted 22 lines
meta/recipes-devtools/python/python3-cryptography-crates.inc +4
-4@@ -1,4 +1,4 @@ -From e4d7856fe842f3df7c614554d006d81253a5edf2 Mon Sep 17 00:00:00 2001 +From 82e71e7122d9131ffcd786a0bffeaf846967a37e Mon Sep 17 00:00:00 2001 From: Mingli Yu <[email protected]> Date: Tue, 17 May 2022 17:22:48 +0800 Subject: [PATCH] pyproject.toml: remove --benchmark-disable option@@ -26,11 +26,11 @@ Signed-off-by: Tim Orling <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml -index d2e304f..10aabcf 100644 +index 5f1bcc7..ba02540 100644 --- a/pyproject.toml +++ b/pyproject.toml -@@ -92,7 +92,7 @@ rust-version = ">=1.63.0" - +@@ -117,7 +117,7 @@ exclude = [ + ] [tool.pytest.ini_options] -addopts = "-r s --capture=no --strict-markers --benchmark-disable"(quoted diff) +0
-0b/meta/recipes-devtools/python/python3-cryptography_43.0.0.bb
meta/recipes-devtools/python/python3-cryptography_43.0.0.bb LIC_FILES_CHKSUM =
Quoted 7 lines
similarity index 91%
rename from meta/recipes-devtools/python/python3-cryptography_42.0.8.bb rename to meta/recipes-devtools/python/python3-cryptography_43.0.0.bb index3f70f910d4d..778471b4ff5100644meta/recipes-devtools/python/python3-cryptography_43.0.0.bb renamed from meta/recipes-devtools/python/python3-cryptography_42.0.8.bb +0
-0@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM ="file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
meta/recipes-devtools/python/python3-cryptography_43.0.0.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
Quoted 4 lines
meta/recipes-devtools/python/python3-cryptography_43.0.0.bb renamed from meta/recipes-devtools/python/python3-cryptography_42.0.8.bb +0
-1" LDSHARED += "-pthread" -SRC_URI[sha256sum] ="
8d09d05439ce7baa8e9e95b07ec5b6c886f548deb7e0f69ef25f64b3bce842f2"meta/recipes-devtools/python/python3-cryptography_43.0.0.bb LIC_FILES_CHKSUM = · line 11
Quoted 1 line
meta/recipes-devtools/python/python3-cryptography_43.0.0.bb renamed from meta/recipes-devtools/python/python3-cryptography_42.0.8.bb +1
-0+SRC_URI[sha256sum] ="
b88075ada2d51aa9f18283532c9f60e72170041bba88d7f37e49cbb10275299e"meta/recipes-devtools/python/python3-cryptography_43.0.0.bb LIC_FILES_CHKSUM = · line 12
Quoted 2 lines
meta/recipes-devtools/python/python3-cryptography_43.0.0.bb renamed from meta/recipes-devtools/python/python3-cryptography_42.0.8.bb +0
-0SRC_URI +="file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
meta/recipes-devtools/python/python3-cryptography_43.0.0.bb SRC_URI +=
Quoted 2 lines
meta/recipes-devtools/python/python3-cryptography_43.0.0.bb renamed from meta/recipes-devtools/python/python3-cryptography_42.0.8.bb +0
-0file://check-memfree.py \@@ -17,7 +17,7 @@ SRC_URI +="file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
meta/recipes-devtools/python/python3-cryptography_43.0.0.bb SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
Quoted 4 lines
meta/recipes-devtools/python/python3-cryptography_43.0.0.bb renamed from meta/recipes-devtools/python/python3-cryptography_42.0.8.bb +0
-1require ${BPN}-crates.inc -inherit pypi python_setuptools3_rust cargo-update-recipe-cratespkgconfig
Quoted 9 lines
meta/recipes-devtools/python/python3-cryptography_43.0.0.bb renamed from meta/recipes-devtools/python/python3-cryptography_42.0.8.bb +1
-1+inherit pypi python_maturin cargo-update-recipe-crates pkgconfig DEPENDS += " \ python3-cffi-native \ --2.46.0
Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#203242):https://lists.openembedded.org/g/openembedded-core/message/203242
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/107870272/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Quoted 16 lines · Tim Orling via lists.openembedded.org
Quoted 2 lines · Alexandre Belloni
This causes reproducibility issues:
lol. This was supposed to fix reproducibility issues!
Quoted 9 lines
Those data.tar.xz differences look entirely different. I'm going to have to dig over the next couple days and perhaps ask upstream, unless someone else recognizes a pattern. Although I wonder if this is just "this rust package was not populated in Repro A because the task was already in state and it was populated in Repro B because it was built from scratch". If that is the case, we have something elsewhere causing problems with state (rust, cargo, python3-py03 or python3-maturin for instance).
They don't look that different. The RECORD file changed and the lines look to have changed ordering as I think the same lines are there, e.g.:
cryptography/hazmat/primitives/hashes.py,sha256=EvDIJBhj83Z7f- oHbsA0TzZLFSDV_Yv8hQRdM4o8FD0,5091
and
cryptography/hazmat/primitives/hashes.py,sha256=EvDIJBhj83Z7f- oHbsA0TzZLFSDV_Yv8hQRdM4o8FD0,5091
but different ordering.
So the question is what is writing that file and is it doing it based on something like "ls" output which just lists the order on disk? If that is true you can thrown a sort in somewhere...
Cheers,
Richard
Quoted 9 lines · Richard Purdie via lists.openembedded.org
They don't look that different. The RECORD file changed and the lines look to have changed ordering as I think the same lines are there, e.g.:
cryptography/hazmat/primitives/hashes.py,sha256=EvDIJBhj83Z7f- oHbsA0TzZLFSDV_Yv8hQRdM4o8FD0,5091
and
Quoted 8 lines
cryptography/hazmat/primitives/hashes.py,sha256=EvDIJBhj83Z7f- oHbsA0TzZLFSDV_Yv8hQRdM4o8FD0,5091
but different ordering.
So the question is what is writing that file and is it doing it based on something like "ls" output which just lists the order on disk? If that is true you can thrown a sort in somewhere...
Note that neither is sorted. I just built this with the in-progress python 3.13 update, and with that the entries do seem to be sorted, so it seems the problem will disappear with that update.
Alex
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Alexander Kanavin via lists.openembedded.org
Quoted 3 lines
So the question is what is writing that file and is it doing it based on something like "ls" output which just lists the order on disk? If that is true you can thrown a sort in somewhere...
Note that neither is sorted. I just built this with the in-progress python 3.13 update, and with that the entries do seem to be sorted, so it seems the problem will disappear with that update.
Sadly this was a premature celebration. This was the case in my local build, but on the autobuilder (test python 3.13 build) it again fails in the same non-sorted way:
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240925-w8kid2em/packages/diff-html/
Alex
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Alexander Kanavin via lists.openembedded.org
Quoted 4 lines
Quoted 3 lines
So the question is what is writing that file and is it doing it based on something like "ls" output which just lists the order on disk? If that is true you can thrown a sort in somewhere...
Quoted 8 lines
Quoted 3 lines
Note that neither is sorted. I just built this with the in-progress python 3.13 update, and with that the entries do seem to be sorted, so it seems the problem will disappear with that update.
Sadly this was a premature celebration. This was the case in my local build, but on the autobuilder (test python 3.13 build) it again fails in the same non-sorted way:
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240925-w8kid2em/packages/diff-html/
I have a fix for this now:
https://git.yoctoproject.org/poky-contrib/tree/meta/recipes-devtools/python/python3-installer/0001-src-installer-utils.py-sort-entries-before-writing-o.patch?h=akanavin/package-version-updates
Python 3.13 upgrade is still in progress, I need to go over these fails:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/7361
Alex
Quoted 16 lines · Alexander Kanavin
Quoted 4 lines · Alexander Kanavin via lists.openembedded.org
Quoted 4 lines
Quoted 3 lines
So the question is what is writing that file and is it doing it based on something like "ls" output which just lists the order on disk? If that is true you can thrown a sort in somewhere...
Quoted 8 lines
Quoted 3 lines
Note that neither is sorted. I just built this with the in-progress python 3.13 update, and with that the entries do seem to be sorted, so it seems the problem will disappear with that update.
Sadly this was a premature celebration. This was the case in my local build, but on the autobuilder (test python 3.13 build) it again fails in the same non-sorted way:
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240925-w8kid2em/packages/diff-html/
Quoted 5 lines
I have a fix for this now:
https://git.yoctoproject.org/poky-contrib/tree/meta/recipes-devtools/python/python3-installer/0001-src-installer-utils.py-sort-entries-before-writing-o.patch?h=akanavin/package-version-updatesPython 3.13 upgrade is still in progress, I need to go over these fails:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/7361
I have patches queued for bitbake to address some of the python 3.13 issues in our own codebase. Python 3.13 also has issues working with pseudo which have just been fixed. Those would affect python3-native functionality.
Cheers,
Richard