From e2aa8ba0df6d37862b2ad46d0d1ea316477027bf Mon Sep 17 00:00:00 2001 From: Mike Mulchrone Date: Sun, 3 Aug 2025 20:06:31 -0400 Subject: [PATCH 1/7] argon2 upgrade --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4af0002..9f1f455 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ crate-type = ["lib"] [dependencies] aes-gcm = "0.10.3" -argon2 = "0.5.2" +argon2 = "0.5.3" bcrypt = "0.15.0" blake2 = "0.10.6" rand = "0.8.5" From 5ab090b3a9f25f903829bd53d2fbc4a5a52b430d Mon Sep 17 00:00:00 2001 From: Mike Mulchrone Date: Sun, 3 Aug 2025 20:07:01 -0400 Subject: [PATCH 2/7] bcrypt upgrade --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9f1f455..947d609 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ crate-type = ["lib"] [dependencies] aes-gcm = "0.10.3" argon2 = "0.5.3" -bcrypt = "0.15.0" +bcrypt = "0.17.0" blake2 = "0.10.6" rand = "0.8.5" rand_chacha = "0.3.1" From e1f5e68910b20f68bd2eccbbf0a55bb908c73df8 Mon Sep 17 00:00:00 2001 From: Mike Mulchrone Date: Sun, 3 Aug 2025 20:07:33 -0400 Subject: [PATCH 3/7] rsa upgrade --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 947d609..17c25f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ bcrypt = "0.17.0" blake2 = "0.10.6" rand = "0.8.5" rand_chacha = "0.3.1" -rsa = "0.9.6" +rsa = "0.9.8" scrypt = "0.11.0" sha3 = "0.10.8" x25519-dalek = {version = "2.0.0", features = ["static_secrets"]} From 1df8e4d7541ff9758b9f7ee6074b09f2edfb9395 Mon Sep 17 00:00:00 2001 From: Mike Mulchrone Date: Sun, 3 Aug 2025 20:08:17 -0400 Subject: [PATCH 4/7] x25519-dalek upgrade --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 17c25f4..85cf678 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ rand_chacha = "0.3.1" rsa = "0.9.8" scrypt = "0.11.0" sha3 = "0.10.8" -x25519-dalek = {version = "2.0.0", features = ["static_secrets"]} +x25519-dalek = {version = "2.0.1", features = ["static_secrets"]} ascon-aead = "0.4.2" rayon = "1.10.0" hmac = "0.12.1" From 3db181cc0919da8e972334996266ba1f07cd8eb6 Mon Sep 17 00:00:00 2001 From: Mike Mulchrone Date: Sun, 3 Aug 2025 20:09:11 -0400 Subject: [PATCH 5/7] upgrading ascon aead --- Cargo.toml | 2 +- src/sponges/ascon_aead.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 85cf678..c08fd1f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ rsa = "0.9.8" scrypt = "0.11.0" sha3 = "0.10.8" x25519-dalek = {version = "2.0.1", features = ["static_secrets"]} -ascon-aead = "0.4.2" +ascon-aead = "0.5.1" rayon = "1.10.0" hmac = "0.12.1" sha2 = "0.10.8" diff --git a/src/sponges/ascon_aead.rs b/src/sponges/ascon_aead.rs index 4567ead..dbcca7b 100644 --- a/src/sponges/ascon_aead.rs +++ b/src/sponges/ascon_aead.rs @@ -2,7 +2,7 @@ use std::sync::mpsc; use aes_gcm::AeadCore; -use ascon_aead::{aead::{generic_array::GenericArray, Aead, KeyInit, OsRng}, Ascon128}; +use ascon_aead::{aead::{generic_array::GenericArray, Aead, KeyInit, OsRng}, AsconAead128 as Ascon128}; use super::cas_ascon_aead::{CASAsconAead}; pub struct AsconAead; From df109459a8ef744a5e1c9c21825c8ea23a7c0e89 Mon Sep 17 00:00:00 2001 From: Mike Mulchrone Date: Sun, 3 Aug 2025 20:14:29 -0400 Subject: [PATCH 6/7] sha2, zstd, ed25519-dalek signatures --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c08fd1f..94ab1c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,12 +25,12 @@ x25519-dalek = {version = "2.0.1", features = ["static_secrets"]} ascon-aead = "0.5.1" rayon = "1.10.0" hmac = "0.12.1" -sha2 = "0.10.8" -zstd = "0.13" +sha2 = "0.10.9" +zstd = "0.13.3" hpke = "0.12.0" uuid = { version = "1.10.0", features = ["v4"] } pbkdf2 = "0.12.2" -ed25519-dalek = { version = "2", features = ["rand_core"] } +ed25519-dalek = { version = "2.2.0", features = ["rand_core"] } hkdf = "0.12.4" [profile.dev.package.num-bigint-dig] From 4ea8f280065ec1188ac3eae81d88dfef9b628bf0 Mon Sep 17 00:00:00 2001 From: Mike Mulchrone Date: Sun, 3 Aug 2025 20:16:26 -0400 Subject: [PATCH 7/7] fix for ascon --- Cargo.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 94ab1c7..fa6a791 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cas-lib" -version = "0.2.55" +version = "0.2.56" edition = "2021" description = "Core lib for CAS" license = "Apache-2.0" @@ -13,24 +13,24 @@ crate-type = ["lib"] [dependencies] aes-gcm = "0.10.3" -argon2 = "0.5.3" -bcrypt = "0.17.0" +argon2 = "0.5.2" +bcrypt = "0.15.0" blake2 = "0.10.6" rand = "0.8.5" rand_chacha = "0.3.1" -rsa = "0.9.8" +rsa = "0.9.6" scrypt = "0.11.0" sha3 = "0.10.8" -x25519-dalek = {version = "2.0.1", features = ["static_secrets"]} +x25519-dalek = {version = "2.0.0", features = ["static_secrets"]} ascon-aead = "0.5.1" rayon = "1.10.0" hmac = "0.12.1" -sha2 = "0.10.9" -zstd = "0.13.3" +sha2 = "0.10.8" +zstd = "0.13" hpke = "0.12.0" uuid = { version = "1.10.0", features = ["v4"] } pbkdf2 = "0.12.2" -ed25519-dalek = { version = "2.2.0", features = ["rand_core"] } +ed25519-dalek = { version = "2", features = ["rand_core"] } hkdf = "0.12.4" [profile.dev.package.num-bigint-dig]