diff --git a/Cargo.lock b/Cargo.lock index 149db71..c53e77a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -263,6 +263,16 @@ dependencies = [ "generic-array", ] +[[package]] +name = "aead" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1973cfbc1a2daf9cf550e74e1f088c28e7f7d8c1e1418fb6c9dc5184b7e84c99" +dependencies = [ + "crypto-common 0.2.2", + "inout 0.2.2", +] + [[package]] name = "aes" version = "0.8.4" @@ -270,19 +280,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if", - "cipher", + "cipher 0.4.4", "cpufeatures 0.2.17", ] [[package]] -name = "aes-gcm" -version = "0.10.3" +name = "aes" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +checksum = "f8eb277bec05f56a0e0591f155a484cbd0f4f07ff2905051a48c72f004f7ed58" dependencies = [ - "aead", - "aes", - "cipher", + "cipher 0.5.2", + "cpubits", + "cpufeatures 0.3.0", +] + +[[package]] +name = "aes-gcm" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdf011db2e21ce0d575593d749db5554b47fed37aff429e4dc50bc91ac93a028" +dependencies = [ + "aead 0.6.1", + "aes 0.9.2", + "cipher 0.5.2", "ctr", "ghash", "subtle", @@ -680,7 +701,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" dependencies = [ "cfg-if", - "cipher", + "cipher 0.4.4", "cpufeatures 0.2.17", ] @@ -701,9 +722,9 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" dependencies = [ - "aead", + "aead 0.5.2", "chacha20 0.9.1", - "cipher", + "cipher 0.4.4", "poly1305", "zeroize", ] @@ -728,10 +749,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" dependencies = [ "crypto-common 0.1.7", - "inout", + "inout 0.1.4", "zeroize", ] +[[package]] +name = "cipher" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8cf2a2c93cd704877c0858356ed03480ff301ee950b43f1cbe4573b088bfa6c" +dependencies = [ + "block-buffer 0.12.1", + "crypto-common 0.2.2", + "inout 0.2.2", +] + [[package]] name = "clap" version = "4.6.6" @@ -933,6 +965,12 @@ version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" +[[package]] +name = "cpubits" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae" + [[package]] name = "cpufeatures" version = "0.2.17" @@ -1057,11 +1095,11 @@ dependencies = [ [[package]] name = "ctr" -version = "0.9.2" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +checksum = "baaca1c4b237092596f64d571e9db6ce4109c4ef9742e27590f1709594461f21" dependencies = [ - "cipher", + "cipher 0.5.2", ] [[package]] @@ -1654,11 +1692,10 @@ dependencies = [ [[package]] name = "ghash" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +checksum = "2eecf2d5dc9b66b732b97707a0210906b1d30523eb773193ab777c0c84b3e8d5" dependencies = [ - "opaque-debug", "polyval", ] @@ -2178,6 +2215,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "inout" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4250ce6452e92010fdf7268ccc5d14faa80bb12fc741938534c58f16804e03c7" +dependencies = [ + "hybrid-array", +] + [[package]] name = "instability" version = "0.3.12" @@ -3784,19 +3830,18 @@ checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ "cpufeatures 0.2.17", "opaque-debug", - "universal-hash", + "universal-hash 0.5.1", ] [[package]] name = "polyval" -version = "0.6.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" +checksum = "f0fa31d631f2b2cb2a544d0aa321ce847a94764d701ca2becc411138b93d49cd" dependencies = [ - "cfg-if", - "cpufeatures 0.2.17", - "opaque-debug", - "universal-hash", + "cpubits", + "cpufeatures 0.3.0", + "universal-hash 0.6.1", ] [[package]] @@ -5296,6 +5341,16 @@ dependencies = [ "subtle", ] +[[package]] +name = "universal-hash" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4987bdc12753382e0bec4a65c50738ffaabc998b9cdd1f952fb5f39b0048a96" +dependencies = [ + "crypto-common 0.2.2", + "ctutils", +] + [[package]] name = "unsafe-libyaml" version = "0.2.11" @@ -6109,7 +6164,7 @@ version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb2a05c7c36fde6c09b08576c9f7fb4cda705990f73b58fe011abf7dfb24168b" dependencies = [ - "aes", + "aes 0.8.4", "arbitrary", "bzip2", "constant_time_eq", diff --git a/client/Cargo.toml b/client/Cargo.toml index 174b5fa..c99cbc9 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -14,7 +14,7 @@ iota-auth = { path = "../iota-auth" } actix-web = { version = "4", features = ["rustls-0_23"] } actix-web-actors = "4" -aes-gcm = "0.10.3" +aes-gcm = "0.11.0" async-trait = "0.1.89" base64 = "0.22.1" chrono = "0.4.43" diff --git a/communities/Cargo.toml b/communities/Cargo.toml index 89c4f57..9e27fb7 100644 --- a/communities/Cargo.toml +++ b/communities/Cargo.toml @@ -13,7 +13,7 @@ iota-auth = { path = "../iota-auth" } actix-web = { version = "4", features = ["rustls-0_23"] } actix-web-actors = "4" -aes-gcm = "0.10.3" +aes-gcm = "0.11.0" async-trait = "0.1.89" base64 = "0.22.1" chrono = "0.4.43" diff --git a/iota-auth/Cargo.toml b/iota-auth/Cargo.toml index dc43347..15476c9 100644 --- a/iota-auth/Cargo.toml +++ b/iota-auth/Cargo.toml @@ -10,7 +10,7 @@ iota-util = { path = "../iota-util" } iota-storage = { path = "../iota-storage" } iota-state = { path = "../iota-state" } -aes-gcm = "0.10.3" +aes-gcm = "0.11.0" async-trait = "0.1.89" base64 = "0.22.1" chrono = "0.4.43" diff --git a/iota-cli/Cargo.toml b/iota-cli/Cargo.toml index 4c3d508..f06cd70 100644 --- a/iota-cli/Cargo.toml +++ b/iota-cli/Cargo.toml @@ -28,7 +28,7 @@ mtp = { git = "https://git.methanium.net/Methanium/mtp.git", optional = true } actix-web = { version = "4", features = ["rustls-0_23"] } actix-web-actors = "4" -aes-gcm = "0.10.3" +aes-gcm = "0.11.0" async-trait = "0.1.89" base64 = "0.22.1" chrono = "0.4.43" diff --git a/iota-storage/Cargo.toml b/iota-storage/Cargo.toml index caf6417..438afc0 100644 --- a/iota-storage/Cargo.toml +++ b/iota-storage/Cargo.toml @@ -11,7 +11,7 @@ iota-paths = { path = "../iota-paths" } mtp = { git = "https://git.methanium.net/Methanium/mtp.git" } -aes-gcm = "0.10.3" +aes-gcm = "0.11.0" base64 = "0.22.1" hex = "*" hkdf = "0.12.4" diff --git a/iota-updater/Cargo.toml b/iota-updater/Cargo.toml index 2f6bf04..0b4f0e6 100644 --- a/iota-updater/Cargo.toml +++ b/iota-updater/Cargo.toml @@ -18,7 +18,7 @@ sysinfo = "0.39.0" uuid = { version = "*", features = ["v4"] } walkdir = "2.5.0" zip = "6.0.0" -aes-gcm = "0.10.3" +aes-gcm = "0.11.0" base64 = "0.22.1" rand_core = { version = "0.6", features = ["getrandom", "std"] } sha2 = "0.11.0" diff --git a/other-iota/Cargo.toml b/other-iota/Cargo.toml index a6933c3..01653fd 100644 --- a/other-iota/Cargo.toml +++ b/other-iota/Cargo.toml @@ -13,7 +13,7 @@ iota-auth = { path = "../iota-auth" } actix-web = { version = "4", features = ["rustls-0_23"] } actix-web-actors = "4" -aes-gcm = "0.10.3" +aes-gcm = "0.11.0" async-trait = "0.1.89" base64 = "0.22.1" chrono = "0.4.43" diff --git a/web-ui/Cargo.toml b/web-ui/Cargo.toml index 988aac1..9318d94 100644 --- a/web-ui/Cargo.toml +++ b/web-ui/Cargo.toml @@ -13,7 +13,7 @@ mtp = { git = "https://git.methanium.net/Methanium/mtp.git" } actix-web = { version = "4", features = ["rustls-0_23"] } actix-web-actors = "4" -aes-gcm = "0.10.3" +aes-gcm = "0.11.0" async-trait = "0.1.89" base64 = "0.22.1" chrono = "0.4.43"