From 839cbdabfe3538b347ac4186eb504658cf46e6c6 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Fri, 6 Sep 2024 10:48:53 -0700 Subject: [PATCH] bump pkcs8 dependency after breaking change (#857) This bump the following dependencies: - pkcs8 0.11.0-rc.0 -> 0.11.0-rc.1 - elliptic-curve 0.14.0-pre.6 -> 0.14.0-rc.0 This is a followup on breaking changes made on pkcs8 (https://github.com/RustCrypto/formats/pull/1483). --- Cargo.lock | 15 +++++++++------ Cargo.toml | 6 ------ dsa/Cargo.toml | 4 ++-- ecdsa/Cargo.toml | 4 ++-- ed25519/Cargo.toml | 2 +- ed448/Cargo.toml | 2 +- 6 files changed, 15 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 356b760b..f674b6fc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -418,8 +418,9 @@ checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] name = "elliptic-curve" -version = "0.14.0-pre.6" -source = "git+https://github.com/RustCrypto/traits.git#64277691b0abeef47b6a8725939ad90cd1727b7e" +version = "0.14.0-rc.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0532f93842f7a74b76f927c2495bf3557faa1db03adf829f9e7ecb8307f5785f" dependencies = [ "base16ct", "crypto-bigint", @@ -775,8 +776,9 @@ dependencies = [ [[package]] name = "pkcs8" -version = "0.11.0-rc.0" -source = "git+https://github.com/RustCrypto/formats.git#3fb883b2f445e74f38f51fef63a347ecfe69f623" +version = "0.11.0-rc.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eacd2c7141f32aef1cfd1ad0defb5287a3d94592d7ab57c1ae20e3f9f1f0db1f" dependencies = [ "der", "spki", @@ -1031,8 +1033,9 @@ dependencies = [ [[package]] name = "sec1" -version = "0.8.0-rc.0" -source = "git+https://github.com/RustCrypto/formats.git#3fb883b2f445e74f38f51fef63a347ecfe69f623" +version = "0.8.0-rc.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99890e11f8ab873d750adfe2a8e46062d6f8b78431d3ec1e0e7daba10b8ba397" dependencies = [ "base16ct", "der", diff --git a/Cargo.toml b/Cargo.toml index 51e6d685..d9709ecd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,9 +13,3 @@ members = [ [profile.dev] opt-level = 2 - -[patch.crates-io] -sec1 = { git = "https://github.com/RustCrypto/formats.git" } -pkcs8 = { git = "https://github.com/RustCrypto/formats.git" } -# https://github.com/RustCrypto/traits/pull/1650 -elliptic-curve = { git = "https://github.com/RustCrypto/traits.git" } diff --git a/dsa/Cargo.toml b/dsa/Cargo.toml index e8522f6c..00df2734 100644 --- a/dsa/Cargo.toml +++ b/dsa/Cargo.toml @@ -19,14 +19,14 @@ rust-version = "1.72" digest = "=0.11.0-pre.9" num-bigint = { package = "num-bigint-dig", version = "0.8", default-features = false, features = ["prime", "rand", "zeroize"] } num-traits = { version = "0.2", default-features = false } -pkcs8 = { version = "=0.11.0-rc.0", default-features = false, features = ["alloc"] } +pkcs8 = { version = "=0.11.0-rc.1", default-features = false, features = ["alloc"] } rfc6979 = { version = "=0.5.0-pre.4", path = "../rfc6979" } sha2 = { version = "=0.11.0-pre.4", default-features = false } signature = { version = "=2.3.0-pre.4", default-features = false, features = ["alloc", "digest", "rand_core"] } zeroize = { version = "1", default-features = false } [dev-dependencies] -pkcs8 = { version = "=0.11.0-rc.0", default-features = false, features = ["pem"] } +pkcs8 = { version = "=0.11.0-rc.1", default-features = false, features = ["pem"] } rand = "0.8" rand_chacha = "0.3" sha1 = "=0.11.0-pre.4" diff --git a/ecdsa/Cargo.toml b/ecdsa/Cargo.toml index 54a160d2..95d15b02 100644 --- a/ecdsa/Cargo.toml +++ b/ecdsa/Cargo.toml @@ -17,7 +17,7 @@ edition = "2021" rust-version = "1.73" [dependencies] -elliptic-curve = { version = "=0.14.0-pre.6", default-features = false, features = ["digest", "sec1"] } +elliptic-curve = { version = "=0.14.0-rc.0", default-features = false, features = ["digest", "sec1"] } signature = { version = "=2.3.0-pre.4", default-features = false, features = ["rand_core"] } # optional dependencies @@ -29,7 +29,7 @@ sha2 = { version = "=0.11.0-pre.4", optional = true, default-features = false, f spki = { version = "0.8.0-rc.0", optional = true, default-features = false } [dev-dependencies] -elliptic-curve = { version = "=0.14.0-pre.6", default-features = false, features = ["dev"] } +elliptic-curve = { version = "=0.14.0-rc.0", default-features = false, features = ["dev"] } hex-literal = "0.4" sha2 = { version = "=0.11.0-pre.4", default-features = false } diff --git a/ed25519/Cargo.toml b/ed25519/Cargo.toml index bea22060..52ea8965 100644 --- a/ed25519/Cargo.toml +++ b/ed25519/Cargo.toml @@ -22,7 +22,7 @@ rust-version = "1.72" signature = { version = "=2.3.0-pre.4", default-features = false } # optional dependencies -pkcs8 = { version = "0.11.0-rc.0", optional = true } +pkcs8 = { version = "0.11.0-rc.1", optional = true } serde = { version = "1", optional = true, default-features = false } serde_bytes = { version = "0.11", optional = true } zeroize = { version = "1", optional = true, default-features = false } diff --git a/ed448/Cargo.toml b/ed448/Cargo.toml index 33dab6e1..a6589a02 100644 --- a/ed448/Cargo.toml +++ b/ed448/Cargo.toml @@ -22,7 +22,7 @@ rust-version = "1.72" signature = { version = "=2.3.0-pre.4", default-features = false } # optional dependencies -pkcs8 = { version = "=0.11.0-rc.0", optional = true } +pkcs8 = { version = "=0.11.0-rc.1", optional = true } serde = { version = "1", optional = true, default-features = false } serde_bytes = { version = "0.11", optional = true } zeroize = { version = "1", optional = true, default-features = false }