From 5832ab2fb20fdd71e25ab70cf8df885380e95989 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Thu, 29 May 2025 14:11:35 -0700 Subject: [PATCH 1/2] Bump dependencies --- Cargo.lock | 646 +++------------------------ Cargo.toml | 71 +-- cmpv2/Cargo.toml | 2 +- cms/Cargo.toml | 2 +- crmf/Cargo.toml | 2 +- gss-api/Cargo.toml | 4 +- pkcs1/Cargo.toml | 2 +- pkcs12/Cargo.toml | 8 +- pkcs5/Cargo.toml | 18 +- pkcs5/src/pbes2.rs | 2 +- pkcs5/src/pbes2/encryption.rs | 2 +- pkcs5/src/pbes2/kdf.rs | 1 - pkcs8/Cargo.toml | 2 +- pkcs8/tests/encrypted_private_key.rs | 6 +- sec1/Cargo.toml | 2 +- spki/Cargo.toml | 6 +- x509-cert/Cargo.toml | 2 +- x509-ocsp/Cargo.toml | 2 +- x509-tsp/Cargo.toml | 2 +- 19 files changed, 116 insertions(+), 666 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5f71a0df2..a205b750f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,25 +2,11 @@ # It is not intended for manual editing. version = 4 -[[package]] -name = "addr2line" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler2" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" - [[package]] name = "aead" -version = "0.6.0-rc.0" -source = "git+https://github.com/RustCrypto/traits.git#915474f1ed5be0a19fd102d5f75ef8e04c765416" +version = "0.6.0-rc.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c01559752fbde7734af628961723aa734aa46351cbf5c9ce41133ad2ae1a09b9" dependencies = [ "crypto-common", "inout", @@ -28,9 +14,9 @@ dependencies = [ [[package]] name = "aes" -version = "0.9.0-pre.3" +version = "0.9.0-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38e4da00d9978020ddaa556c1747cfcafc3f375cfadb109acfe8b752cfc373bf" +checksum = "cd4838e4ad37bb032dea137f441d5f71c16c26c068af512e64c5bc13a88cdfc7" dependencies = [ "cfg-if", "cipher", @@ -39,8 +25,9 @@ dependencies = [ [[package]] name = "aes-gcm" -version = "0.11.0-pre.2" -source = "git+https://github.com/RustCrypto/AEADs.git#976052da8e274544f0cd6b292f38a0d0a2934849" +version = "0.11.0-rc.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2be322be4a73a3a55ad74b9833238e76bfd6034ce69a05c1b41c879f6a3bdca6" dependencies = [ "aead", "aes", @@ -50,15 +37,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "aes-kw" -version = "0.3.0-pre" -source = "git+https://github.com/RustCrypto/key-wraps.git#15f7dd084793ea67360a8f66f771a8e420c1657f" -dependencies = [ - "aes", - "const-oid", -] - [[package]] name = "aho-corasick" version = "1.1.3" @@ -74,14 +52,6 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" -[[package]] -name = "ansi-x963-kdf" -version = "0.0.1" -source = "git+https://github.com/RustCrypto/KDFs.git#b1d7fe67b3053deef498563adcf415ec631d1cd8" -dependencies = [ - "digest", -] - [[package]] name = "anstyle" version = "1.0.10" @@ -103,21 +73,6 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" -[[package]] -name = "backtrace" -version = "0.3.75" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" -dependencies = [ - "addr2line", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", - "windows-targets", -] - [[package]] name = "base16ct" version = "0.2.0" @@ -224,8 +179,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" [[package]] name = "cbc" -version = "0.2.0-pre.2" -source = "git+https://github.com/RustCrypto/block-modes.git#3ec1c8191dea30def40c033513bbc8bdb3a9cd78" +version = "0.2.0-rc.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ef95f543a56c245d9d0826ccbb34636ee983b3e846eff57bc5fc72e1bce1701" dependencies = [ "cipher", ] @@ -265,9 +221,9 @@ dependencies = [ [[package]] name = "cipher" -version = "0.5.0-pre.8" +version = "0.5.0-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276974d2acb7cf592603150941fc1ff6442acdeb1dc653ac2825928f4703c131" +checksum = "bd4ef774202f1749465fc7cf88d70fc30620e8cacd5429268f4bff7d003bd976" dependencies = [ "crypto-common", "inout", @@ -298,49 +254,14 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" -[[package]] -name = "cmpv2" -version = "0.3.0-pre.0" -dependencies = [ - "const-oid", - "crmf", - "der", - "digest", - "hex-literal", - "spki", - "x509-cert", -] - [[package]] name = "cms" version = "0.3.0-pre.0" dependencies = [ - "aes", - "aes-kw", - "ansi-x963-kdf", - "cbc", - "cipher", "const-oid", "der", - "digest", - "ecdsa", - "elliptic-curve", - "getrandom 0.3.3", - "hex-literal", - "p256", - "pbkdf2", - "pem-rfc7468", - "pkcs5", - "rand 0.9.1", - "rsa", - "sha1", - "sha2", - "sha3", - "signature", "spki", - "tokio", "x509-cert", - "zeroize", ] [[package]] @@ -393,58 +314,26 @@ dependencies = [ "itertools 0.10.5", ] -[[package]] -name = "crmf" -version = "0.3.0-pre.0" -dependencies = [ - "cms", - "const-oid", - "der", - "spki", - "x509-cert", -] - [[package]] name = "crunchy" version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" -[[package]] -name = "crypto-bigint" -version = "0.7.0-pre.3" -source = "git+https://github.com/RustCrypto/crypto-bigint.git#e08a2d04081bb0ba6f3b72ef45f0c7f619a5a826" -dependencies = [ - "hybrid-array", - "num-traits", - "rand_core 0.9.3", - "serdect", - "subtle", - "zeroize", -] - [[package]] name = "crypto-common" -version = "0.2.0-rc.2" -source = "git+https://github.com/RustCrypto/traits.git#915474f1ed5be0a19fd102d5f75ef8e04c765416" +version = "0.2.0-rc.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a23fa214dea9efd4dacee5a5614646b30216ae0f05d4bb51bafb50e9da1c5be" dependencies = [ "hybrid-array", - "rand_core 0.9.3", -] - -[[package]] -name = "crypto-primes" -version = "0.7.0-dev" -source = "git+https://github.com/entropyxyz/crypto-primes.git#541a5eb1c05664385aaff2697faf72c7200a9786" -dependencies = [ - "crypto-bigint", - "rand_core 0.9.3", ] [[package]] name = "ctr" -version = "0.10.0-pre.2" -source = "git+https://github.com/RustCrypto/block-modes.git#3ec1c8191dea30def40c033513bbc8bdb3a9cd78" +version = "0.10.0-rc.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f239edce204df0e4503cccef3492552773d1ca4e002659a59ca715f099b45ca1" dependencies = [ "cipher", ] @@ -497,17 +386,18 @@ dependencies = [ [[package]] name = "des" -version = "0.9.0-pre.3" +version = "0.9.0-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fee752f2df22a55f0f703c8eabfeb36990559e1b836263e35580a4186e1cca0a" +checksum = "8025983b9f9f242e94d459a57b81c571e92e4e1717ca57d092d8a69fc539efa1" dependencies = [ "cipher", ] [[package]] name = "digest" -version = "0.11.0-pre.10" -source = "git+https://github.com/RustCrypto/traits.git#915474f1ed5be0a19fd102d5f75ef8e04c765416" +version = "0.11.0-rc.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "460dd7f37e4950526b54a5a6b1f41b6c8e763c58eb9a8fc8fc05ba5c2f44ca7b" dependencies = [ "block-buffer", "const-oid", @@ -515,46 +405,12 @@ dependencies = [ "subtle", ] -[[package]] -name = "ecdsa" -version = "0.17.0-pre.9" -source = "git+https://github.com/RustCrypto/signatures.git#b66adc00be5c4cf594331c091da8ea71e5f5f32d" -dependencies = [ - "der", - "digest", - "elliptic-curve", - "rfc6979", - "signature", - "spki", - "zeroize", -] - [[package]] name = "either" version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" -[[package]] -name = "elliptic-curve" -version = "0.14.0-rc.1" -source = "git+https://github.com/RustCrypto/traits.git#915474f1ed5be0a19fd102d5f75ef8e04c765416" -dependencies = [ - "base16ct", - "crypto-bigint", - "digest", - "ff", - "group", - "hkdf", - "hybrid-array", - "pem-rfc7468", - "pkcs8", - "rand_core 0.9.3", - "sec1", - "subtle", - "zeroize", -] - [[package]] name = "equivalent" version = "1.0.2" @@ -577,16 +433,6 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" -[[package]] -name = "ff" -version = "0.14.0-pre.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d42dd26f5790eda47c1a2158ea4120e32c35ddc9a7743c98a292accc01b54ef3" -dependencies = [ - "rand_core 0.9.3", - "subtle", -] - [[package]] name = "flagset" version = "0.4.7" @@ -599,49 +445,6 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" -[[package]] -name = "futures-core" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" - -[[package]] -name = "futures-macro" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "futures-task" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" - -[[package]] -name = "futures-timer" -version = "3.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" - -[[package]] -name = "futures-util" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" -dependencies = [ - "futures-core", - "futures-macro", - "futures-task", - "pin-project-lite", - "pin-utils", - "slab", -] - [[package]] name = "getrandom" version = "0.2.15" @@ -667,47 +470,19 @@ dependencies = [ [[package]] name = "ghash" -version = "0.6.0-rc.0" +version = "0.6.0-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b92860fda25ab571512af210134cde2c42732cd53253bcee3f21b288b7afbc4" +checksum = "7df2ef47489983b86b012ce4955b61fcfb1a99a761a1a8c79c3129e722da6795" dependencies = [ - "opaque-debug", "polyval", ] -[[package]] -name = "gimli" -version = "0.31.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" - [[package]] name = "glob" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" -[[package]] -name = "group" -version = "0.14.0-pre.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ff6a0b2dd4b981b1ae9e3e6830ab146771f3660d31d57bafd9018805a91b0f1" -dependencies = [ - "ff", - "rand_core 0.9.3", - "subtle", -] - -[[package]] -name = "gss-api" -version = "0.2.0-pre" -dependencies = [ - "der", - "hex-literal", - "spki", - "x509-cert", -] - [[package]] name = "half" version = "2.6.0" @@ -749,18 +524,11 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bcaaec4551594c969335c98c903c1397853d4198408ea609190f420500f6be71" -[[package]] -name = "hkdf" -version = "0.13.0-pre.5" -source = "git+https://github.com/RustCrypto/KDFs.git#2e2dbcd45b8678696e85dcbef922345f3ca04dbf" -dependencies = [ - "hmac", -] - [[package]] name = "hmac" -version = "0.13.0-pre.5" -source = "git+https://github.com/RustCrypto/MACs.git#64d671d5c375838173d18e30bc14dffc80c13e51" +version = "0.13.0-rc.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8dc6a2fcc35ab09136c6df2cdf9ca49790701420a3a6b5db0987dddbabc79b21" dependencies = [ "digest", ] @@ -772,7 +540,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891d15931895091dea5c47afa5b3c9a01ba634b311919fd4d41388fa0e3d76af" dependencies = [ "typenum", - "zeroize", ] [[package]] @@ -819,15 +586,6 @@ version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" -[[package]] -name = "keccak" -version = "0.2.0-pre.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cdd4f0dc5807b9a2b25dd48a3f58e862606fe7bd47f41ecde36e97422d7e90" -dependencies = [ - "cpufeatures", -] - [[package]] name = "lazy_static" version = "1.5.0" @@ -852,15 +610,6 @@ version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" -[[package]] -name = "miniz_oxide" -version = "0.8.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a" -dependencies = [ - "adler2", -] - [[package]] name = "num-conv" version = "0.1.0" @@ -876,15 +625,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "object" -version = "0.36.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" -dependencies = [ - "memchr", -] - [[package]] name = "once_cell" version = "1.21.3" @@ -897,24 +637,6 @@ version = "11.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" -[[package]] -name = "opaque-debug" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" - -[[package]] -name = "p256" -version = "0.14.0-pre.2" -source = "git+https://github.com/RustCrypto/elliptic-curves.git#e31132665d2d8440d806cb249c109e5f4b788708" -dependencies = [ - "ecdsa", - "elliptic-curve", - "primefield", - "primeorder", - "sha2", -] - [[package]] name = "paste" version = "1.0.15" @@ -923,8 +645,9 @@ checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "pbkdf2" -version = "0.13.0-pre.1" -source = "git+https://github.com/RustCrypto/password-hashes.git#aaf653989744a0c791d0d932bd6eb7fca8c154a6" +version = "0.13.0-rc.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2efb182a4d7d26aa7442a4ef2f91c5021c6abb61f9fdd251fcc2e327f5faaf6" dependencies = [ "digest", "hmac", @@ -937,18 +660,6 @@ dependencies = [ "base64ct 1.7.3", ] -[[package]] -name = "pin-project-lite" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - [[package]] name = "pkcs1" version = "0.8.0-rc.1" @@ -1012,13 +723,12 @@ dependencies = [ [[package]] name = "polyval" -version = "0.7.0-rc.0" +version = "0.7.0-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b01cbf5c028f9f862c6f7f5a5544307d7858634df190488d432ec470c8fbc063" +checksum = "ff52e661730d7c6f95a72137e812e337eb5ff371d38d8588798e0df8404e610c" dependencies = [ "cfg-if", "cpufeatures", - "opaque-debug", "universal-hash", ] @@ -1037,35 +747,6 @@ dependencies = [ "zerocopy", ] -[[package]] -name = "primefield" -version = "0.14.0-pre.0" -source = "git+https://github.com/RustCrypto/elliptic-curves.git#6a6447c8e749f48cfef2062cd684602aa823f2ed" -dependencies = [ - "crypto-bigint", - "ff", - "rand_core 0.9.3", - "subtle", - "zeroize", -] - -[[package]] -name = "primeorder" -version = "0.14.0-pre.2" -source = "git+https://github.com/RustCrypto/elliptic-curves.git#6a6447c8e749f48cfef2062cd684602aa823f2ed" -dependencies = [ - "elliptic-curve", -] - -[[package]] -name = "proc-macro-crate" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35" -dependencies = [ - "toml_edit", -] - [[package]] name = "proc-macro2" version = "1.0.94" @@ -1086,8 +767,8 @@ dependencies = [ "bitflags", "lazy_static", "num-traits", - "rand 0.8.5", - "rand_chacha 0.3.1", + "rand", + "rand_chacha", "rand_xorshift", "regex-syntax", "rusty-fork", @@ -1123,20 +804,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha 0.3.1", + "rand_chacha", "rand_core 0.6.4", ] -[[package]] -name = "rand" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97" -dependencies = [ - "rand_chacha 0.9.0", - "rand_core 0.9.3", -] - [[package]] name = "rand_chacha" version = "0.3.1" @@ -1147,16 +818,6 @@ dependencies = [ "rand_core 0.6.4", ] -[[package]] -name = "rand_chacha" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" -dependencies = [ - "ppv-lite86", - "rand_core 0.9.3", -] - [[package]] name = "rand_core" version = "0.6.4" @@ -1213,21 +874,6 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" -[[package]] -name = "relative-path" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2" - -[[package]] -name = "rfc6979" -version = "0.5.0-pre.4" -source = "git+https://github.com/RustCrypto/signatures.git#132a6b1b38d055caa548a095e6342d58d2bc3f3c" -dependencies = [ - "hmac", - "subtle", -] - [[package]] name = "rmp" version = "0.8.14" @@ -1250,70 +896,6 @@ dependencies = [ "serde", ] -[[package]] -name = "rsa" -version = "0.10.0-pre.4" -source = "git+https://github.com/RustCrypto/RSA.git#bac46c9a24592ef82842a07b12af3c4709fa36a7" -dependencies = [ - "const-oid", - "crypto-bigint", - "crypto-primes", - "digest", - "pkcs1", - "pkcs8", - "rand_core 0.9.3", - "sha2", - "signature", - "spki", - "subtle", - "zeroize", -] - -[[package]] -name = "rstest" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fc39292f8613e913f7df8fa892b8944ceb47c247b78e1b1ae2f09e019be789d" -dependencies = [ - "futures-timer", - "futures-util", - "rstest_macros", - "rustc_version", -] - -[[package]] -name = "rstest_macros" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f168d99749d307be9de54d23fd226628d99768225ef08f6ffb52e0182a27746" -dependencies = [ - "cfg-if", - "glob", - "proc-macro-crate", - "proc-macro2", - "quote", - "regex", - "relative-path", - "rustc_version", - "syn", - "unicode-ident", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" - -[[package]] -name = "rustc_version" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" -dependencies = [ - "semver", -] - [[package]] name = "rustix" version = "1.0.5" @@ -1347,8 +929,9 @@ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "salsa20" -version = "0.11.0-pre.2" -source = "git+https://github.com/RustCrypto/stream-ciphers.git#94f861690846f3237e103f8c67ff3c9e4cbda28a" +version = "0.11.0-rc.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01a9ebec7e5784021e346c32d27b6d3df9b034e2603f1d60ed84b9e1f701d9b9" dependencies = [ "cfg-if", "cipher", @@ -1365,8 +948,9 @@ dependencies = [ [[package]] name = "scrypt" -version = "0.12.0-pre.2" -source = "git+https://github.com/RustCrypto/password-hashes.git#aaf653989744a0c791d0d932bd6eb7fca8c154a6" +version = "0.12.0-rc.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d88fc3052d284ebbd0fb26de47d04232da7cb2468c62afd7fc3f95e53dc0c1e" dependencies = [ "pbkdf2", "salsa20", @@ -1388,12 +972,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "semver" -version = "1.0.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" - [[package]] name = "serde" version = "1.0.219" @@ -1464,8 +1042,9 @@ dependencies = [ [[package]] name = "sha1" -version = "0.11.0-pre.5" -source = "git+https://github.com/RustCrypto/hashes.git#7d44caf065dbeb3f10a372a26a8b9f1c927f8433" +version = "0.11.0-rc.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f9318facddf9ac32a33527066936837e189b3f23ced6edc1603720ead5e2b3d" dependencies = [ "cfg-if", "cpufeatures", @@ -1474,41 +1053,15 @@ dependencies = [ [[package]] name = "sha2" -version = "0.11.0-pre.5" -source = "git+https://github.com/RustCrypto/hashes.git#7d44caf065dbeb3f10a372a26a8b9f1c927f8433" +version = "0.11.0-rc.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa1d2e6b3cc4e43a8258a9a3b17aa5dfd2cc5186c7024bba8a64aa65b2c71a59" dependencies = [ "cfg-if", "cpufeatures", "digest", ] -[[package]] -name = "sha3" -version = "0.11.0-pre.5" -source = "git+https://github.com/RustCrypto/hashes.git#7d44caf065dbeb3f10a372a26a8b9f1c927f8433" -dependencies = [ - "digest", - "keccak", -] - -[[package]] -name = "signature" -version = "3.0.0-pre" -source = "git+https://github.com/RustCrypto/traits.git#915474f1ed5be0a19fd102d5f75ef8e04c765416" -dependencies = [ - "digest", - "rand_core 0.9.3", -] - -[[package]] -name = "slab" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] - [[package]] name = "spki" version = "0.8.0-rc.1" @@ -1631,28 +1184,6 @@ dependencies = [ "trybuild", ] -[[package]] -name = "tokio" -version = "1.45.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75ef51a33ef1da925cea3e4eb122833cb377c61439ca401b770f54902b806779" -dependencies = [ - "backtrace", - "pin-project-lite", - "tokio-macros", -] - -[[package]] -name = "tokio-macros" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "toml" version = "0.8.22" @@ -1729,9 +1260,9 @@ checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" [[package]] name = "universal-hash" -version = "0.6.0-rc.0" +version = "0.6.0-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3517d72c5ca6d60f9f2e85d2c772e2652830062a685105a528d19dd823cf87d5" +checksum = "17866ce72039aaa929b785c51d08d0395e02cb5eaffd3efdf634b9b1f80b8157" dependencies = [ "crypto-common", "subtle", @@ -1773,8 +1304,9 @@ dependencies = [ [[package]] name = "whirlpool" -version = "0.11.0-pre.5" -source = "git+https://github.com/RustCrypto/hashes.git#7d44caf065dbeb3f10a372a26a8b9f1c927f8433" +version = "0.11.0-rc.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07a25da782fc00b0640f452046e59b6ff83ff805e820feb876d12870b74d72fc" dependencies = [ "digest", ] @@ -1883,63 +1415,9 @@ dependencies = [ name = "x509-cert" version = "0.3.0-pre.0" dependencies = [ - "arbitrary", "const-oid", "der", - "digest", - "ecdsa", - "hex-literal", - "p256", - "rand 0.9.1", - "rsa", - "rstest", - "sha1", - "sha2", - "signature", "spki", - "tempfile", - "tls_codec", - "tokio", - "x509-cert-test-support", -] - -[[package]] -name = "x509-cert-test-support" -version = "0.1.0" -dependencies = [ - "serde", - "serde_json", - "tempfile", -] - -[[package]] -name = "x509-ocsp" -version = "0.3.0-pre" -dependencies = [ - "const-oid", - "der", - "digest", - "hex-literal", - "lazy_static", - "rand 0.9.1", - "rand_core 0.9.3", - "rsa", - "sha1", - "sha2", - "signature", - "spki", - "x509-cert", -] - -[[package]] -name = "x509-tsp" -version = "0.2.0-pre" -dependencies = [ - "cmpv2", - "cms", - "der", - "hex-literal", - "x509-cert", ] [[package]] @@ -1981,3 +1459,19 @@ dependencies = [ "quote", "syn", ] + +[[patch.unused]] +name = "cmpv2" +version = "0.3.0-pre.0" + +[[patch.unused]] +name = "crmf" +version = "0.3.0-pre.0" + +[[patch.unused]] +name = "x509-ocsp" +version = "0.3.0-pre" + +[[patch.unused]] +name = "x509-tsp" +version = "0.2.0-pre" diff --git a/Cargo.toml b/Cargo.toml index 8ec4062a5..b7fc9646d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,13 +4,13 @@ members = [ "base16ct", "base32ct", "base64ct", - "cmpv2", - "cms", + #"cmpv2", + #"cms", "const-oid", - "crmf", + #"crmf", "der", "der_derive", - "gss-api", + #"gss-api", "pem-rfc7468", "pkcs1", "pkcs5", @@ -22,6 +22,16 @@ members = [ "tai64", "tls_codec", "tls_codec/derive", + #"x509-tsp", + #"x509-cert", + #"x509-cert/test-support", + #"x509-ocsp" +] +exclude = [ + "cmpv2", + "cms", + "crmf", + "gss-api", "x509-tsp", "x509-cert", "x509-cert/test-support", @@ -58,56 +68,3 @@ tls_codec_derive = { path = "./tls_codec/derive" } x509-tsp = { path = "./x509-tsp" } x509-cert = { path = "./x509-cert" } x509-ocsp = { path = "./x509-ocsp" } - - -# https://github.com/RustCrypto/signatures/pull/913 -# https://github.com/RustCrypto/signatures/pull/923 -ecdsa = { git = "https://github.com/RustCrypto/signatures.git" } -rfc6979 = { git = "https://github.com/RustCrypto/signatures.git" } -# https://github.com/RustCrypto/key-wraps/pull/34 -# https://github.com/RustCrypto/key-wraps/pull/35 -# https://github.com/RustCrypto/key-wraps/pull/39 -aes-kw = { git = "https://github.com/RustCrypto/key-wraps.git" } - - -# https://github.com/RustCrypto/KDFs/pull/102 -ansi-x963-kdf = { git = "https://github.com/RustCrypto/KDFs.git" } -hkdf = { git = "https://github.com/RustCrypto/KDFs.git" } - - -# https://github.com/RustCrypto/traits/pull/1777 -crypto-common = { git = "https://github.com/RustCrypto/traits.git" } -elliptic-curve = { git = "https://github.com/RustCrypto/traits.git" } -signature = { git = "https://github.com/RustCrypto/traits.git" } -aead = { git = "https://github.com/RustCrypto/traits.git" } -digest = { git = "https://github.com/RustCrypto/traits.git" } - -# https://github.com/RustCrypto/RSA/pull/478 -# https://github.com/RustCrypto/RSA/pull/504 -rsa = { git = "https://github.com/RustCrypto/RSA.git" } - -# https://github.com/RustCrypto/password-hashes/pull/577 -# https://github.com/RustCrypto/password-hashes/pull/578 -# https://github.com/RustCrypto/password-hashes/pull/592 -pbkdf2 = { git = "https://github.com/RustCrypto/password-hashes.git" } -scrypt = { git = "https://github.com/RustCrypto/password-hashes.git" } - -crypto-bigint = { git = "https://github.com/RustCrypto/crypto-bigint.git" } -crypto-primes = { git = "https://github.com/entropyxyz/crypto-primes.git" } - -# https://github.com/RustCrypto/elliptic-curves/pull/1125 -# https://github.com/RustCrypto/elliptic-curves/pull/1131 -primefield = { git = "https://github.com/RustCrypto/elliptic-curves.git" } -p256 = { git = "https://github.com/RustCrypto/elliptic-curves.git" } - -cbc = { git = "https://github.com/RustCrypto/block-modes.git" } -ctr = { git = "https://github.com/RustCrypto/block-modes.git" } -aes-gcm = { git = "https://github.com/RustCrypto/AEADs.git" } -salsa20 = { git = "https://github.com/RustCrypto/stream-ciphers.git" } - -sha1 = { git = "https://github.com/RustCrypto/hashes.git" } -sha2 = { git = "https://github.com/RustCrypto/hashes.git" } -sha3 = { git = "https://github.com/RustCrypto/hashes.git" } -whirlpool = { git = "https://github.com/RustCrypto/hashes.git" } - -hmac = { git = "https://github.com/RustCrypto/MACs.git" } diff --git a/cmpv2/Cargo.toml b/cmpv2/Cargo.toml index 383604fa8..b81cebbee 100644 --- a/cmpv2/Cargo.toml +++ b/cmpv2/Cargo.toml @@ -17,7 +17,7 @@ rust-version = "1.85" [dependencies] crmf = "=0.3.0-pre.0" -der = { version = "0.8.0-rc.0", features = ["alloc", "derive", "flagset", "oid"] } +der = { version = "0.8.0-rc.3", features = ["alloc", "derive", "flagset", "oid"] } spki = { version = "0.8.0-rc.0" } x509-cert = { version = "=0.3.0-pre.0", default-features = false } diff --git a/cms/Cargo.toml b/cms/Cargo.toml index 76d6809e6..815e7e0b0 100644 --- a/cms/Cargo.toml +++ b/cms/Cargo.toml @@ -16,7 +16,7 @@ rust-version = "1.85" [dependencies] const-oid = { version = "0.10", features = ["db"] } -der = { version = "0.8.0-rc.0", features = ["alloc", "derive", "oid"] } +der = { version = "0.8.0-rc.3", features = ["alloc", "derive", "oid"] } spki = { version = "0.8.0-rc.0" } x509-cert = { version = "=0.3.0-pre.0", default-features = false } diff --git a/crmf/Cargo.toml b/crmf/Cargo.toml index 63ecee760..1da9fb627 100644 --- a/crmf/Cargo.toml +++ b/crmf/Cargo.toml @@ -17,7 +17,7 @@ rust-version = "1.85" [dependencies] cms = "=0.3.0-pre.0" -der = { version = "0.8.0-rc.0", features = ["alloc", "derive"] } +der = { version = "0.8.0-rc.3", features = ["alloc", "derive"] } spki = "0.8.0-rc.0" x509-cert = { version = "=0.3.0-pre.0", default-features = false } diff --git a/gss-api/Cargo.toml b/gss-api/Cargo.toml index 8c7858674..0b88cf622 100644 --- a/gss-api/Cargo.toml +++ b/gss-api/Cargo.toml @@ -16,12 +16,12 @@ edition = "2024" rust-version = "1.85" [dependencies] -der = { version = "0.8.0-rc.0", features = ["oid", "alloc"] } +der = { version = "0.8.0-rc.3", features = ["oid", "alloc"] } spki = { version = "0.8.0-rc.0" } x509-cert = { version = "=0.3.0-pre.0", default-features = false } [dev-dependencies] -der = { version = "0.8.0-rc.0", features = ["oid", "pem", "alloc"] } +der = { version = "0.8.0-rc.3", features = ["oid", "pem", "alloc"] } hex-literal = "1" x509-cert = { version = "=0.3.0-pre.0", default-features = false, features = ["pem"] } diff --git a/pkcs1/Cargo.toml b/pkcs1/Cargo.toml index c1ed0f7fa..50c9a9150 100644 --- a/pkcs1/Cargo.toml +++ b/pkcs1/Cargo.toml @@ -16,7 +16,7 @@ edition = "2024" rust-version = "1.85" [dependencies] -der = { version = "0.8.0-rc.0", features = ["oid"] } +der = { version = "0.8.0-rc.3", features = ["oid"] } spki = { version = "0.8.0-rc.0" } # optional dependencies diff --git a/pkcs12/Cargo.toml b/pkcs12/Cargo.toml index 3fc0a3baa..ad4495b56 100644 --- a/pkcs12/Cargo.toml +++ b/pkcs12/Cargo.toml @@ -16,22 +16,22 @@ edition = "2024" rust-version = "1.85" [dependencies] -der = { version = "0.8.0-rc.0", features = ["alloc", "derive", "oid"], default-features = false } +der = { version = "0.8.0-rc.3", features = ["alloc", "derive", "oid"], default-features = false } spki = { version = "0.8.0-rc.0", default-features = false } x509-cert = { version = "=0.3.0-pre.0", default-features = false } const-oid = { version = "0.10.0", features = ["db"], default-features = false } cms = { version = "=0.3.0-pre.0", default-features = false } # optional dependencies -digest = { version = "0.11.0-pre.10", features = ["alloc"], optional = true } +digest = { version = "0.11.0-rc.0", features = ["alloc"], optional = true } zeroize = { version = "1.8.1", optional = true, default-features = false } [dev-dependencies] hex-literal = "1" pkcs8 = { version = "0.11.0-rc.1", features = ["pkcs5", "getrandom"] } pkcs5 = { version = "0.8.0-rc.0", features = ["pbes2", "3des"] } -sha2 = "=0.11.0-pre.5" -whirlpool = "=0.11.0-pre.5" +sha2 = "0.11.0-rc.0" +whirlpool = "0.11.0-rc.0" [features] default = ["pem"] diff --git a/pkcs5/Cargo.toml b/pkcs5/Cargo.toml index 37c299d65..36c088ebb 100644 --- a/pkcs5/Cargo.toml +++ b/pkcs5/Cargo.toml @@ -16,19 +16,19 @@ edition = "2024" rust-version = "1.85" [dependencies] -der = { version = "0.8.0-rc.0", features = ["oid"] } +der = { version = "0.8.0-rc.3", features = ["oid"] } spki = { version = "0.8.0-rc.0" } # optional dependencies -cbc = { version = "=0.2.0-pre.2", optional = true } -aes = { version = "=0.9.0-pre.3", optional = true, default-features = false } -aes-gcm = { version = "=0.11.0-pre.2", optional = true, default-features = false, features = ["aes"] } -des = { version = "=0.9.0-pre.3", optional = true, default-features = false } -pbkdf2 = { version = "=0.13.0-pre.1", optional = true, default-features = false, features = ["hmac"] } +cbc = { version = "0.2.0-rc.0", optional = true } +aes = { version = "0.9.0-rc.0", optional = true, default-features = false } +aes-gcm = { version = "0.11.0-rc.0", optional = true, default-features = false, features = ["aes"] } +des = { version = "0.9.0-rc.0", optional = true, default-features = false } +pbkdf2 = { version = "0.13.0-rc.0", optional = true, default-features = false, features = ["hmac"] } rand_core = { version = "0.9", optional = true, default-features = false } -scrypt = { version = "=0.12.0-pre.2", optional = true, default-features = false } -sha1 = { version = "=0.11.0-pre.5", optional = true, default-features = false } -sha2 = { version = "=0.11.0-pre.5", optional = true, default-features = false } +scrypt = { version = "0.12.0-rc.1", optional = true, default-features = false } +sha1 = { version = "0.11.0-rc.0", optional = true, default-features = false } +sha2 = { version = "0.11.0-rc.0", optional = true, default-features = false } [dev-dependencies] hex-literal = "1" diff --git a/pkcs5/src/pbes2.rs b/pkcs5/src/pbes2.rs index 8e6c73057..b3453f5fd 100644 --- a/pkcs5/src/pbes2.rs +++ b/pkcs5/src/pbes2.rs @@ -176,7 +176,7 @@ impl Parameters { let mut salt = [0u8; Self::DEFAULT_SALT_LEN]; rng.fill_bytes(&mut salt); - scrypt::Params::new(14, 8, 1, 32) + scrypt::Params::new(14, 8, 1) .ok() .and_then(|params| Self::scrypt_aes256cbc(params, &salt, iv).ok()) .expect("invalid scrypt parameters") diff --git a/pkcs5/src/pbes2/encryption.rs b/pkcs5/src/pbes2/encryption.rs index e9032aa1a..426f3d62f 100644 --- a/pkcs5/src/pbes2/encryption.rs +++ b/pkcs5/src/pbes2/encryption.rs @@ -9,7 +9,7 @@ use cbc::cipher::{ }; use pbkdf2::{ hmac::{ - block_api::EagerHash, + EagerHash, digest::{ FixedOutput, HashMarker, Update, block_api::BlockSizeUser, diff --git a/pkcs5/src/pbes2/kdf.rs b/pkcs5/src/pbes2/kdf.rs index e17aad84b..efb40cb1c 100644 --- a/pkcs5/src/pbes2/kdf.rs +++ b/pkcs5/src/pbes2/kdf.rs @@ -493,7 +493,6 @@ impl TryFrom<&ScryptParams> for scrypt::Params { log_n, params.block_size.into(), params.parallelization.into(), - scrypt::Params::RECOMMENDED_LEN, ) .map_err(|_| ScryptParams::INVALID_ERR) } diff --git a/pkcs8/Cargo.toml b/pkcs8/Cargo.toml index 5af0fbf2a..5b9e6eca7 100644 --- a/pkcs8/Cargo.toml +++ b/pkcs8/Cargo.toml @@ -17,7 +17,7 @@ edition = "2024" rust-version = "1.85" [dependencies] -der = { version = "0.8.0-rc.2", features = ["oid"] } +der = { version = "0.8.0-rc.3", features = ["oid"] } spki = { version = "0.8.0-rc.0" } # optional dependencies diff --git a/pkcs8/tests/encrypted_private_key.rs b/pkcs8/tests/encrypted_private_key.rs index 9f122218c..7a6705711 100644 --- a/pkcs8/tests/encrypted_private_key.rs +++ b/pkcs8/tests/encrypted_private_key.rs @@ -202,7 +202,7 @@ fn decrypt_ed25519_der_encpriv_aes128_gcm_scrypt() { #[test] fn encrypt_ed25519_der_encpriv_aes128_gcm_scrypt() { let scrypt_params = pkcs5::pbes2::Parameters::scrypt_aes128gcm( - pkcs5::scrypt::Params::new(14, 8, 1, 16).unwrap(), + pkcs5::scrypt::Params::new(14, 8, 1).unwrap(), &hex!("05BE17663E551D120F81308E"), hex!("D7E967A5DF6189471BCC1F49"), ) @@ -232,7 +232,7 @@ fn decrypt_ed25519_der_encpriv_aes256_gcm_scrypt() { #[test] fn encrypt_ed25519_der_encpriv_aes256_gcm_scrypt() { let scrypt_params = pkcs5::pbes2::Parameters::scrypt_aes256gcm( - pkcs5::scrypt::Params::new(15, 8, 1, 32).unwrap(), + pkcs5::scrypt::Params::new(15, 8, 1).unwrap(), &hex!("F67F4005A8393BD41F5B4981"), hex!("98B118A950D39E2ECB5B125C"), ) @@ -274,7 +274,7 @@ fn encrypt_ed25519_der_encpriv_aes256_pbkdf2_sha256() { #[test] fn encrypt_ed25519_der_encpriv_aes256_scrypt() { let scrypt_params = pkcs5::pbes2::Parameters::scrypt_aes256cbc( - pkcs5::scrypt::Params::new(15, 8, 1, 32).unwrap(), + pkcs5::scrypt::Params::new(15, 8, 1).unwrap(), &hex!("E6211E2348AD69E0"), hex!("9BD0A6251F2254F9FD5963887C27CF01"), ) diff --git a/sec1/Cargo.toml b/sec1/Cargo.toml index cd633438b..c36beb85c 100644 --- a/sec1/Cargo.toml +++ b/sec1/Cargo.toml @@ -18,7 +18,7 @@ rust-version = "1.85" [dependencies] base16ct = { version = "0.2", optional = true, default-features = false } -der = { version = "0.8.0-rc.0", optional = true, features = ["oid"] } +der = { version = "0.8.0-rc.3", optional = true, features = ["oid"] } hybrid-array = { version = "0.3", optional = true, default-features = false } pkcs8 = { version = "0.11.0-rc.1", optional = true, default-features = false } serdect = { version = "0.3.0-rc.0", optional = true, default-features = false, features = ["alloc"] } diff --git a/spki/Cargo.toml b/spki/Cargo.toml index bccd23484..63e4b0601 100644 --- a/spki/Cargo.toml +++ b/spki/Cargo.toml @@ -16,13 +16,13 @@ edition = "2024" rust-version = "1.85" [dependencies] -der = { version = "0.8.0-rc.0", features = ["oid"] } +der = { version = "0.8.0-rc.3", features = ["oid"] } # Optional dependencies arbitrary = { version = "1.4", features = ["derive"], optional = true } base64ct = { version = "1", optional = true, default-features = false } -digest = { version = "0.11.0-pre.10", optional = true, default-features = false } -sha2 = { version = "=0.11.0-pre.5", optional = true, default-features = false } +digest = { version = "0.11.0-rc.0", optional = true, default-features = false } +sha2 = { version = "0.11.0-rc.0", optional = true, default-features = false } [dev-dependencies] hex-literal = "1" diff --git a/x509-cert/Cargo.toml b/x509-cert/Cargo.toml index 258cd21ec..eb290dd60 100644 --- a/x509-cert/Cargo.toml +++ b/x509-cert/Cargo.toml @@ -17,7 +17,7 @@ rust-version = "1.85" [dependencies] const-oid = { version = "0.10.0", features = ["db"] } -der = { version = "0.8.0-rc.0", features = ["alloc", "derive", "flagset", "oid"] } +der = { version = "0.8.0-rc.3", features = ["alloc", "derive", "flagset", "oid"] } spki = { version = "0.8.0-rc.0", features = ["alloc"] } # optional dependencies diff --git a/x509-ocsp/Cargo.toml b/x509-ocsp/Cargo.toml index d0cc8d001..14457a82e 100644 --- a/x509-ocsp/Cargo.toml +++ b/x509-ocsp/Cargo.toml @@ -17,7 +17,7 @@ rust-version = "1.85" [dependencies] const-oid = { version = "0.10.0-rc.0", default-features = false, features = ["db"] } -der = { version = "0.8.0-rc.0", features = ["alloc", "derive", "oid"] } +der = { version = "0.8.0-rc.3", features = ["alloc", "derive", "oid"] } spki = { version = "0.8.0-rc.0", features = ["alloc"] } x509-cert = { version = "=0.3.0-pre.0", default-features = false } diff --git a/x509-tsp/Cargo.toml b/x509-tsp/Cargo.toml index 69c79f00f..c65e7f4ac 100644 --- a/x509-tsp/Cargo.toml +++ b/x509-tsp/Cargo.toml @@ -15,7 +15,7 @@ readme = "README.md" rust-version = "1.85" [dependencies] -der = { version = "0.8.0-rc.0", features = ["alloc", "derive", "oid", "pem"] } +der = { version = "0.8.0-rc.3", features = ["alloc", "derive", "oid", "pem"] } cms = { version = "=0.3.0-pre.0" } cmpv2 = { version = "=0.3.0-pre.0", features = ["alloc"] } x509-cert = { version = "=0.3.0-pre.0", default-features = false } From 1a4ee8c200909e5b64b9425e7c97806c4a9774d4 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Thu, 29 May 2025 14:11:35 -0700 Subject: [PATCH 2/2] pkcs1+pkcs5+pkcs8+sec1+spki: rc releases - `pkcs1` 0.8.0-rc.2 - `pkcs5` 0.8.0-rc.4 - `pkcs8` 0.11.0-rc.4 - `sec1` 0.8.0-rc.5 - `spki` 0.8.0-rc.2 --- Cargo.lock | 10 +++++----- pkcs1/Cargo.toml | 2 +- pkcs5/Cargo.toml | 2 +- pkcs8/Cargo.toml | 4 ++-- sec1/Cargo.toml | 4 ++-- spki/Cargo.toml | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a205b750f..a3c321a44 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -662,7 +662,7 @@ dependencies = [ [[package]] name = "pkcs1" -version = "0.8.0-rc.1" +version = "0.8.0-rc.2" dependencies = [ "const-oid", "der", @@ -692,7 +692,7 @@ dependencies = [ [[package]] name = "pkcs5" -version = "0.8.0-rc.3" +version = "0.8.0-rc.4" dependencies = [ "aes", "aes-gcm", @@ -710,7 +710,7 @@ dependencies = [ [[package]] name = "pkcs8" -version = "0.11.0-rc.3" +version = "0.11.0-rc.4" dependencies = [ "der", "hex-literal", @@ -959,7 +959,7 @@ dependencies = [ [[package]] name = "sec1" -version = "0.8.0-rc.4" +version = "0.8.0-rc.5" dependencies = [ "base16ct", "der", @@ -1064,7 +1064,7 @@ dependencies = [ [[package]] name = "spki" -version = "0.8.0-rc.1" +version = "0.8.0-rc.2" dependencies = [ "arbitrary", "base64ct 1.7.3", diff --git a/pkcs1/Cargo.toml b/pkcs1/Cargo.toml index 50c9a9150..9f70a2252 100644 --- a/pkcs1/Cargo.toml +++ b/pkcs1/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pkcs1" -version = "0.8.0-rc.1" +version = "0.8.0-rc.2" description = """ Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.2 (RFC 8017) diff --git a/pkcs5/Cargo.toml b/pkcs5/Cargo.toml index 36c088ebb..5cae4edb8 100644 --- a/pkcs5/Cargo.toml +++ b/pkcs5/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pkcs5" -version = "0.8.0-rc.3" +version = "0.8.0-rc.4" description = """ Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #5: Password-Based Cryptography Specification Version 2.1 (RFC 8018) diff --git a/pkcs8/Cargo.toml b/pkcs8/Cargo.toml index 5b9e6eca7..118d2b817 100644 --- a/pkcs8/Cargo.toml +++ b/pkcs8/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pkcs8" -version = "0.11.0-rc.3" +version = "0.11.0-rc.4" description = """ Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #8: Private-Key Information Syntax Specification (RFC 5208), with additional @@ -22,7 +22,7 @@ spki = { version = "0.8.0-rc.0" } # optional dependencies rand_core = { version = "0.9", optional = true, default-features = false } -pkcs5 = { version = "0.8.0-rc.3", optional = true, features = ["rand_core"] } +pkcs5 = { version = "0.8.0-rc.4", optional = true, features = ["rand_core"] } subtle = { version = "2", optional = true, default-features = false } [dev-dependencies] diff --git a/sec1/Cargo.toml b/sec1/Cargo.toml index c36beb85c..713cfd9bb 100644 --- a/sec1/Cargo.toml +++ b/sec1/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sec1" -version = "0.8.0-rc.4" +version = "0.8.0-rc.5" description = """ Pure Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats including ASN.1 DER-serialized private keys as well as the @@ -20,7 +20,7 @@ rust-version = "1.85" base16ct = { version = "0.2", optional = true, default-features = false } der = { version = "0.8.0-rc.3", optional = true, features = ["oid"] } hybrid-array = { version = "0.3", optional = true, default-features = false } -pkcs8 = { version = "0.11.0-rc.1", optional = true, default-features = false } +pkcs8 = { version = "0.11.0-rc.4", optional = true, default-features = false } serdect = { version = "0.3.0-rc.0", optional = true, default-features = false, features = ["alloc"] } subtle = { version = "2", optional = true, default-features = false } zeroize = { version = "1", optional = true, default-features = false } diff --git a/spki/Cargo.toml b/spki/Cargo.toml index 63e4b0601..6beae6a6c 100644 --- a/spki/Cargo.toml +++ b/spki/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spki" -version = "0.8.0-rc.1" +version = "0.8.0-rc.2" description = """ X.509 Subject Public Key Info (RFC5280) describing public keys as well as their associated AlgorithmIdentifiers (i.e. OIDs)