From dd523b22c2a951601ba94729ff84d37b72d56fc7 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Tue, 8 Aug 2023 18:30:19 -0400 Subject: [PATCH] Correct transcript minimum version requirements --- Cargo.lock | 12 ++++++------ crypto/ciphersuite/Cargo.toml | 4 ++-- crypto/dkg/Cargo.toml | 12 ++++++------ crypto/dleq/Cargo.toml | 4 ++-- crypto/frost/Cargo.toml | 12 ++++++------ crypto/schnorr/Cargo.toml | 6 +++--- crypto/schnorrkel/Cargo.toml | 10 +++++----- 7 files changed, 30 insertions(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 585658f8..ab2dfaee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -913,7 +913,7 @@ dependencies = [ [[package]] name = "ciphersuite" -version = "0.4.0" +version = "0.4.1" dependencies = [ "dalek-ff-group", "digest 0.10.7", @@ -1758,7 +1758,7 @@ dependencies = [ [[package]] name = "dkg" -version = "0.5.0" +version = "0.5.1" dependencies = [ "chacha20 0.9.1", "ciphersuite", @@ -1775,7 +1775,7 @@ dependencies = [ [[package]] name = "dleq" -version = "0.4.0" +version = "0.4.1" dependencies = [ "blake2", "dalek-ff-group", @@ -2822,7 +2822,7 @@ dependencies = [ [[package]] name = "frost-schnorrkel" -version = "0.1.1" +version = "0.1.2" dependencies = [ "ciphersuite", "flexible-transcript", @@ -4675,7 +4675,7 @@ dependencies = [ [[package]] name = "modular-frost" -version = "0.8.0" +version = "0.8.1" dependencies = [ "ciphersuite", "dalek-ff-group", @@ -7804,7 +7804,7 @@ dependencies = [ [[package]] name = "schnorr-signatures" -version = "0.5.0" +version = "0.5.1" dependencies = [ "ciphersuite", "dalek-ff-group", diff --git a/crypto/ciphersuite/Cargo.toml b/crypto/ciphersuite/Cargo.toml index 036d518a..40ccea9b 100644 --- a/crypto/ciphersuite/Cargo.toml +++ b/crypto/ciphersuite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ciphersuite" -version = "0.4.0" +version = "0.4.1" description = "Ciphersuites built around ff/group" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ciphersuite" @@ -22,7 +22,7 @@ zeroize = { version = "^1.5", default-features = false } subtle = { version = "^2.4", default-features = false } digest = { version = "0.10", default-features = false } -transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false } +transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false } sha2 = { version = "0.10", default-features = false, optional = true } sha3 = { version = "0.10", default-features = false, optional = true } diff --git a/crypto/dkg/Cargo.toml b/crypto/dkg/Cargo.toml index 9ad1d423..efc00587 100644 --- a/crypto/dkg/Cargo.toml +++ b/crypto/dkg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dkg" -version = "0.5.0" +version = "0.5.1" description = "Distributed key generation over ff/group" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dkg" @@ -24,18 +24,18 @@ std-shims = { version = "0.1", path = "../../common/std-shims", default-features serde = { version = "1", features = ["derive"], optional = true } -transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false, features = ["recommended"] } +transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false, features = ["recommended"] } chacha20 = { version = "0.9", default-features = false, features = ["zeroize"] } -ciphersuite = { path = "../ciphersuite", version = "0.4", default-features = false } +ciphersuite = { path = "../ciphersuite", version = "^0.4.1", default-features = false } multiexp = { path = "../multiexp", version = "0.4", default-features = false } -schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.5", default-features = false } -dleq = { path = "../dleq", version = "0.4", default-features = false } +schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "^0.5.1", default-features = false } +dleq = { path = "../dleq", version = "^0.4.1", default-features = false } [dev-dependencies] rand_core = { version = "0.6", default-features = false, features = ["getrandom"] } -ciphersuite = { path = "../ciphersuite", version = "0.4", default-features = false, features = ["ristretto"] } +ciphersuite = { path = "../ciphersuite", default-features = false, features = ["ristretto"] } [features] std = [ diff --git a/crypto/dleq/Cargo.toml b/crypto/dleq/Cargo.toml index 5456eeea..0e41ad5c 100644 --- a/crypto/dleq/Cargo.toml +++ b/crypto/dleq/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dleq" -version = "0.4.0" +version = "0.4.1" description = "Implementation of single and cross-curve Discrete Log Equality proofs" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dleq" @@ -21,7 +21,7 @@ rand_core = { version = "0.6", default-features = false } zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] } digest = { version = "0.10", default-features = false } -transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false } +transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false } ff = { version = "0.13", default-features = false } group = { version = "0.13", default-features = false } diff --git a/crypto/frost/Cargo.toml b/crypto/frost/Cargo.toml index 0365dcaf..f7d5242c 100644 --- a/crypto/frost/Cargo.toml +++ b/crypto/frost/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "modular-frost" -version = "0.8.0" +version = "0.8.1" description = "Modular implementation of FROST over ff/group" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/frost" @@ -25,19 +25,19 @@ subtle = "^2.4" hex = { version = "0.4", optional = true } digest = "0.10" -transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", features = ["recommended"] } +transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", features = ["recommended"] } dalek-ff-group = { path = "../dalek-ff-group", version = "0.4", optional = true } minimal-ed448 = { path = "../ed448", version = "0.4", optional = true } -ciphersuite = { path = "../ciphersuite", version = "0.4", features = ["std"] } +ciphersuite = { path = "../ciphersuite", version = "^0.4.1", features = ["std"] } multiexp = { path = "../multiexp", version = "0.4", features = ["batch"] } -schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.5" } -dleq = { path = "../dleq", version = "0.4", features = ["serialize"] } +schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "^0.5.1" } +dleq = { path = "../dleq", version = "^0.4.1", features = ["serialize"] } -dkg = { path = "../dkg", version = "0.5" } +dkg = { path = "../dkg", version = "^0.5.1" } [dev-dependencies] hex = "0.4" diff --git a/crypto/schnorr/Cargo.toml b/crypto/schnorr/Cargo.toml index afda1726..191b3289 100644 --- a/crypto/schnorr/Cargo.toml +++ b/crypto/schnorr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "schnorr-signatures" -version = "0.5.0" +version = "0.5.1" description = "Minimal Schnorr signatures crate hosting common code" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/schnorr" @@ -20,9 +20,9 @@ rand_core = { version = "0.6", default-features = false } zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] } -transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false } +transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false } -ciphersuite = { path = "../ciphersuite", version = "0.4", default-features = false, features = ["alloc"] } +ciphersuite = { path = "../ciphersuite", version = "^0.4.1", default-features = false, features = ["alloc"] } multiexp = { path = "../multiexp", version = "0.4", default-features = false, features = ["batch"] } [dev-dependencies] diff --git a/crypto/schnorrkel/Cargo.toml b/crypto/schnorrkel/Cargo.toml index 5bf8451f..471e5827 100644 --- a/crypto/schnorrkel/Cargo.toml +++ b/crypto/schnorrkel/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "frost-schnorrkel" -version = "0.1.1" +version = "0.1.2" description = "modular-frost Algorithm compatible with Schnorrkel" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/schnorrkel" @@ -17,13 +17,13 @@ rustdoc-args = ["--cfg", "docsrs"] rand_core = "0.6" zeroize = "^1.5" -transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", features = ["merlin"] } +transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", features = ["merlin"] } group = "0.13" -ciphersuite = { path = "../ciphersuite", version = "0.4", features = ["std", "ristretto"] } -schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.5" } -frost = { path = "../frost", package = "modular-frost", version = "0.8", features = ["ristretto"] } +ciphersuite = { path = "../ciphersuite", version = "^0.4.1", features = ["std", "ristretto"] } +schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "^0.5.1" } +frost = { path = "../frost", package = "modular-frost", version = "^0.8.1", features = ["ristretto"] } schnorrkel = "0.10"