From 0d0ba5c5000d9b36dcbe3dbe798335f99570c009 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Wed, 5 Nov 2025 11:39:02 -0700 Subject: [PATCH] Bump `cipher` dependency to v0.5.0-rc.2 --- Cargo.lock | 47 ++++++++++++++++++++++++--------------------- Cargo.toml | 7 ------- belt-ctr/Cargo.toml | 8 ++++---- cbc/Cargo.toml | 6 +++--- cfb-mode/Cargo.toml | 10 +++++----- cfb8/Cargo.toml | 8 ++++---- ctr/Cargo.toml | 10 +++++----- cts/Cargo.toml | 8 ++++---- ige/Cargo.toml | 6 +++--- ofb/Cargo.toml | 6 +++--- pcbc/Cargo.toml | 6 +++--- 11 files changed, 59 insertions(+), 63 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5146360..306b8ce 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 4 [[package]] name = "aes" -version = "0.9.0-rc.1" +version = "0.9.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e713c57c2a2b19159e7be83b9194600d7e8eb3b7c2cd67e671adf47ce189a05" +checksum = "fd9e1c818b25efb32214df89b0ec22f01aa397aaeb718d1022bf0635a3bfd1a8" dependencies = [ "cfg-if", "cipher", @@ -15,9 +15,9 @@ dependencies = [ [[package]] name = "belt-block" -version = "0.2.0-rc.1" +version = "0.2.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4bbddee901eea0f5448cfcc94ea6390d0ee0f3ca8d0308fe34e37553f856640" +checksum = "e34d9cc93a6506887eed92e4e9459c13469eee4ef2b2af305a182ebf53e4d6a3" dependencies = [ "cipher", ] @@ -33,8 +33,9 @@ dependencies = [ [[package]] name = "blobby" -version = "0.4.0-pre.0" -source = "git+https://github.com/RustCrypto/utils#8fd37074861e2d8e400a53d68e10ce713944fa65" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89af0b093cc13baa4e51e64e65ec2422f7e73aea0e612e5ad3872986671622f1" [[package]] name = "block-buffer" @@ -48,9 +49,9 @@ dependencies = [ [[package]] name = "block-padding" -version = "0.4.0-rc.4" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e59c1aab3e6c5e56afe1b7e8650be9b5a791cb997bdea449194ae62e4bf8c73" +checksum = "41d28ed5f5f65056148fd25e1a596b5b6d9e772270abf9a9085d7cbfbf26c563" dependencies = [ "hybrid-array", ] @@ -66,7 +67,7 @@ dependencies = [ [[package]] name = "cfb-mode" -version = "0.9.0-rc.1" +version = "0.9.0-rc.2" dependencies = [ "aes", "belt-block", @@ -76,7 +77,7 @@ dependencies = [ [[package]] name = "cfb8" -version = "0.9.0-rc.1" +version = "0.9.0-rc.2" dependencies = [ "aes", "cipher", @@ -91,8 +92,9 @@ checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9" [[package]] name = "cipher" -version = "0.5.0-rc.1" -source = "git+https://github.com/RustCrypto/traits#e0b946691a9af9c875045c554317bcb9726ad370" +version = "0.5.0-rc.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "155e4a260750fa4f7754649f049748aacc31db238a358d85fd721002f230f92f" dependencies = [ "blobby", "block-buffer", @@ -112,8 +114,9 @@ dependencies = [ [[package]] name = "crypto-common" -version = "0.2.0-rc.4" -source = "git+https://github.com/RustCrypto/traits#e0b946691a9af9c875045c554317bcb9726ad370" +version = "0.2.0-rc.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "919bd05924682a5480aec713596b9e2aabed3a0a6022fab6847f85a99e5f190a" dependencies = [ "hybrid-array", ] @@ -147,9 +150,9 @@ checksum = "bcaaec4551594c969335c98c903c1397853d4198408ea609190f420500f6be71" [[package]] name = "hybrid-array" -version = "0.4.0" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fe39a812f039072707ce38020acbab2f769087952eddd9e2b890f37654b2349" +checksum = "f471e0a81b2f90ffc0cb2f951ae04da57de8baa46fa99112b062a5173a5088d0" dependencies = [ "typenum", "zeroize", @@ -166,9 +169,9 @@ dependencies = [ [[package]] name = "inout" -version = "0.2.0-rc.6" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1603f76010ff924b616c8f44815a42eb10fb0b93d308b41deaa8da6d4251fd4b" +checksum = "c7357b6e7aa75618c7864ebd0634b115a7218b0615f4cb1df33ac3eca23943d4" dependencies = [ "block-padding", "hybrid-array", @@ -176,9 +179,9 @@ dependencies = [ [[package]] name = "kuznyechik" -version = "0.9.0-rc.1" +version = "0.9.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e39eb5f1f53d41c9341e559c72a732db17619643679116d56ca0af8b34cb8b26" +checksum = "f692f9023c6a17c2646c2751b169c9136d517718505531f2af18bd2b69780f13" dependencies = [ "cfg-if", "cipher", @@ -192,9 +195,9 @@ checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543" [[package]] name = "magma" -version = "0.10.0-rc.1" +version = "0.10.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47c60b0343c651857c53e0072315831622d550efeb663a589bbd3fdd83073da0" +checksum = "0a050323412d2adf0ad86903bc188640b1abba7da0ab6450e035437fce7596d7" dependencies = [ "cipher", ] diff --git a/Cargo.toml b/Cargo.toml index 8af01af..db63e39 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,10 +14,3 @@ members = [ [profile.dev] opt-level = 2 - -[patch.crates-io] -# https://github.com/RustCrypto/traits/pull/1998 -cipher = { git = "https://github.com/RustCrypto/traits" } -# https://github.com/RustCrypto/utils/pull/1187 -# https://github.com/RustCrypto/utils/pull/1207 -blobby = { git = "https://github.com/RustCrypto/utils" } diff --git a/belt-ctr/Cargo.toml b/belt-ctr/Cargo.toml index 8840547..0e0e085 100644 --- a/belt-ctr/Cargo.toml +++ b/belt-ctr/Cargo.toml @@ -13,13 +13,13 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers", "belt"] categories = ["cryptography", "no-std"] [dependencies] -cipher = { version = "0.5.0-rc.1", features = ["stream-wrapper"] } -belt-block = "0.2.0-rc.1" +cipher = { version = "0.5.0-rc.2", features = ["stream-wrapper"] } +belt-block = "0.2.0-rc.2" [dev-dependencies] hex-literal = "1" -belt-block = "0.2.0-rc.1" -cipher = { version = "0.5.0-rc.1", features = ["dev"] } +belt-block = "0.2.0-rc.2" +cipher = { version = "0.5.0-rc.2", features = ["dev"] } [features] alloc = ["cipher/alloc"] diff --git a/cbc/Cargo.toml b/cbc/Cargo.toml index 5eba944..2358651 100644 --- a/cbc/Cargo.toml +++ b/cbc/Cargo.toml @@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "ciphers"] categories = ["cryptography", "no-std"] [dependencies] -cipher = "0.5.0-rc.1" +cipher = "0.5.0-rc.2" [dev-dependencies] -aes = "0.9.0-rc.1" -cipher = { version = "0.5.0-rc.1", features = ["dev"] } +aes = "0.9.0-rc.2" +cipher = { version = "0.5.0-rc.2", features = ["dev"] } hex-literal = "1" [features] diff --git a/cfb-mode/Cargo.toml b/cfb-mode/Cargo.toml index 585ea8a..41ea50b 100644 --- a/cfb-mode/Cargo.toml +++ b/cfb-mode/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cfb-mode" -version = "0.9.0-rc.1" +version = "0.9.0-rc.2" description = "Cipher Feedback (CFB) block cipher mode of operation" authors = ["RustCrypto Developers"] license = "MIT OR Apache-2.0" @@ -13,12 +13,12 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers"] categories = ["cryptography", "no-std"] [dependencies] -cipher = "0.5.0-rc.1" +cipher = "0.5.0-rc.2" [dev-dependencies] -aes = "0.9.0-rc.1" -belt-block = "0.2.0-rc.1" -cipher = { version = "0.5.0-rc.1", features = ["dev"] } +aes = "0.9.0-rc.2" +belt-block = "0.2.0-rc.2" +cipher = { version = "0.5.0-rc.2", features = ["dev"] } hex-literal = "1" [features] diff --git a/cfb8/Cargo.toml b/cfb8/Cargo.toml index d41db4b..4053a3d 100644 --- a/cfb8/Cargo.toml +++ b/cfb8/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cfb8" -version = "0.9.0-rc.1" +version = "0.9.0-rc.2" description = "Cipher Feedback with eight bit feedback (CFB-8) block cipher mode of operation" authors = ["RustCrypto Developers"] license = "MIT OR Apache-2.0" @@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers"] categories = ["cryptography", "no-std"] [dependencies] -cipher = "0.5.0-rc.1" +cipher = "0.5.0-rc.2" [dev-dependencies] -aes = "0.9.0-rc.1" -cipher = { version = "0.5.0-rc.1", features = ["dev"] } +aes = "0.9.0-rc.2" +cipher = { version = "0.5.0-rc.2", features = ["dev"] } hex-literal = "1" [features] diff --git a/ctr/Cargo.toml b/ctr/Cargo.toml index 011a580..5e05196 100644 --- a/ctr/Cargo.toml +++ b/ctr/Cargo.toml @@ -13,13 +13,13 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers"] categories = ["cryptography", "no-std"] [dependencies] -cipher = { version = "0.5.0-rc.1", features = ["stream-wrapper"] } +cipher = { version = "0.5.0-rc.2", features = ["stream-wrapper"] } [dev-dependencies] -aes = "0.9.0-rc.1" -magma = "0.10.0-rc.1" -kuznyechik = "0.9.0-rc.1" -cipher = { version = "0.5.0-rc.1", features = ["dev"] } +aes = "0.9.0-rc.2" +magma = "0.10.0-rc.2" +kuznyechik = "0.9.0-rc.2" +cipher = { version = "0.5.0-rc.2", features = ["dev"] } hex-literal = "1" [features] diff --git a/cts/Cargo.toml b/cts/Cargo.toml index 5a26f1d..216611e 100644 --- a/cts/Cargo.toml +++ b/cts/Cargo.toml @@ -13,13 +13,13 @@ keywords = ["crypto", "block-mode", "ciphers"] categories = ["cryptography", "no-std"] [dependencies] -cipher = "0.5.0-rc.1" +cipher = "0.5.0-rc.2" [dev-dependencies] -cipher = { version = "0.5.0-rc.1", features = ["dev"] } +cipher = { version = "0.5.0-rc.2", features = ["dev"] } hex-literal = "1" -aes = "0.9.0-rc.1" -belt-block = "0.2.0-rc.1" +aes = "0.9.0-rc.2" +belt-block = "0.2.0-rc.2" [package.metadata.docs.rs] all-features = true diff --git a/ige/Cargo.toml b/ige/Cargo.toml index c2e6e2f..eb6ea26 100644 --- a/ige/Cargo.toml +++ b/ige/Cargo.toml @@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "ciphers"] categories = ["cryptography", "no-std"] [dependencies] -cipher = "0.5.0-rc.1" +cipher = "0.5.0-rc.2" [dev-dependencies] -aes = "0.9.0-rc.1" -cipher = { version = "0.5.0-rc.1", features = ["dev"] } +aes = "0.9.0-rc.2" +cipher = { version = "0.5.0-rc.2", features = ["dev"] } hex-literal = "1" [features] diff --git a/ofb/Cargo.toml b/ofb/Cargo.toml index 29a942f..b3ed250 100644 --- a/ofb/Cargo.toml +++ b/ofb/Cargo.toml @@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers"] categories = ["cryptography", "no-std"] [dependencies] -cipher = { version = "0.5.0-rc.1", features = ["stream-wrapper"] } +cipher = { version = "0.5.0-rc.2", features = ["stream-wrapper"] } [dev-dependencies] -aes = "0.9.0-rc.1" -cipher = { version = "0.5.0-rc.1", features = ["dev"] } +aes = "0.9.0-rc.2" +cipher = { version = "0.5.0-rc.2", features = ["dev"] } hex-literal = "1" [features] diff --git a/pcbc/Cargo.toml b/pcbc/Cargo.toml index 53692a4..3513254 100644 --- a/pcbc/Cargo.toml +++ b/pcbc/Cargo.toml @@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "ciphers"] categories = ["cryptography", "no-std"] [dependencies] -cipher = "0.5.0-rc.1" +cipher = "0.5.0-rc.2" [dev-dependencies] -aes = "0.9.0-rc.1" -cipher = { version = "0.5.0-rc.1", features = ["dev"] } +aes = "0.9.0-rc.2" +cipher = { version = "0.5.0-rc.2", features = ["dev"] } hex-literal = "1" [features]