diff --git a/Cargo.lock b/Cargo.lock index da0add4d..8c4302e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -913,7 +913,7 @@ dependencies = [ [[package]] name = "ciphersuite" -version = "0.3.0" +version = "0.4.1" dependencies = [ "dalek-ff-group", "digest 0.10.7", @@ -1465,7 +1465,7 @@ dependencies = [ [[package]] name = "dalek-ff-group" -version = "0.3.0" +version = "0.4.0" dependencies = [ "crypto-bigint", "curve25519-dalek 4.0.0", @@ -1759,7 +1759,7 @@ dependencies = [ [[package]] name = "dkg" -version = "0.4.0" +version = "0.5.1" dependencies = [ "chacha20 0.9.1", "ciphersuite", @@ -1776,7 +1776,7 @@ dependencies = [ [[package]] name = "dleq" -version = "0.3.1" +version = "0.4.1" dependencies = [ "blake2", "dalek-ff-group", @@ -2454,7 +2454,7 @@ dependencies = [ [[package]] name = "ff-group-tests" -version = "0.13.0" +version = "0.13.1" dependencies = [ "bls12_381", "ff", @@ -2540,7 +2540,7 @@ dependencies = [ [[package]] name = "flexible-transcript" -version = "0.3.1" +version = "0.3.2" dependencies = [ "blake2", "digest 0.10.7", @@ -2833,7 +2833,7 @@ dependencies = [ [[package]] name = "frost-schnorrkel" -version = "0.1.0" +version = "0.1.2" dependencies = [ "ciphersuite", "flexible-transcript", @@ -4611,7 +4611,7 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "minimal-ed448" -version = "0.3.1" +version = "0.4.0" dependencies = [ "crypto-bigint", "ff", @@ -4680,7 +4680,7 @@ dependencies = [ [[package]] name = "modular-frost" -version = "0.7.0" +version = "0.8.1" dependencies = [ "ciphersuite", "dalek-ff-group", @@ -4702,7 +4702,7 @@ dependencies = [ [[package]] name = "monero-generators" -version = "0.3.0" +version = "0.4.0" dependencies = [ "curve25519-dalek 4.0.0", "dalek-ff-group", @@ -4779,7 +4779,7 @@ dependencies = [ [[package]] name = "multiexp" -version = "0.3.1" +version = "0.4.0" dependencies = [ "dalek-ff-group", "ff", @@ -7767,7 +7767,7 @@ dependencies = [ [[package]] name = "schnorr-signatures" -version = "0.4.0" +version = "0.5.1" dependencies = [ "ciphersuite", "dalek-ff-group", @@ -9357,7 +9357,7 @@ dependencies = [ [[package]] name = "std-shims" -version = "0.1.0" +version = "0.1.1" dependencies = [ "hashbrown 0.14.0", "spin 0.9.8", diff --git a/coins/bitcoin/Cargo.toml b/coins/bitcoin/Cargo.toml index 37db0b0a..34a6698f 100644 --- a/coins/bitcoin/Cargo.toml +++ b/coins/bitcoin/Cargo.toml @@ -21,7 +21,7 @@ bitcoin = { version = "0.30", features = ["serde"] } k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits"] } transcript = { package = "flexible-transcript", path = "../../crypto/transcript", version = "0.3", features = ["recommended"] } -frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["secp256k1"] } +frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.8", features = ["secp256k1"] } hex = "0.4" serde = { version = "1", features = ["derive"] } @@ -29,7 +29,7 @@ serde_json = "1" reqwest = { version = "0.11", features = ["json"] } [dev-dependencies] -frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["tests"] } +frost = { package = "modular-frost", path = "../../crypto/frost", features = ["tests"] } tokio = { version = "1", features = ["full"] } diff --git a/coins/monero/Cargo.toml b/coins/monero/Cargo.toml index 2367a954..8a002fb4 100644 --- a/coins/monero/Cargo.toml +++ b/coins/monero/Cargo.toml @@ -12,7 +12,7 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -std-shims = { path = "../../common/std-shims", version = "0.1", default-features = false } +std-shims = { path = "../../common/std-shims", version = "^0.1.1", default-features = false } async-trait = { version = "0.1", default-features = false } thiserror = { version = "1", optional = true } @@ -35,15 +35,15 @@ curve25519-dalek = { version = "4", default-features = false, features = ["alloc # Used for the hash to curve, along with the more complicated proofs group = { version = "0.13", default-features = false } -dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.3", default-features = false } -multiexp = { path = "../../crypto/multiexp", version = "0.3", default-features = false, features = ["batch"] } +dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.4", default-features = false } +multiexp = { path = "../../crypto/multiexp", version = "0.4", default-features = false, features = ["batch"] } # Needed for multisig transcript = { package = "flexible-transcript", path = "../../crypto/transcript", version = "0.3", default-features = false, features = ["recommended"], optional = true } -dleq = { path = "../../crypto/dleq", version = "0.3", features = ["serialize"], optional = true } -frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["ed25519"], optional = true } +dleq = { path = "../../crypto/dleq", version = "0.4", features = ["serialize"], optional = true } +frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.8", features = ["ed25519"], optional = true } -monero-generators = { path = "generators", version = "0.3", default-features = false } +monero-generators = { path = "generators", version = "0.4", default-features = false } futures = { version = "0.3", default-features = false, features = ["alloc"], optional = true } @@ -62,13 +62,13 @@ reqwest = { version = "0.11", features = ["json"], optional = true } tokio = { version = "1", features = ["rt-multi-thread", "macros"], optional = true } [build-dependencies] -dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.3", default-features = false } -monero-generators = { path = "generators", version = "0.3", default-features = false } +dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.4", default-features = false } +monero-generators = { path = "generators", version = "0.4", default-features = false } [dev-dependencies] tokio = { version = "1", features = ["rt-multi-thread", "sync", "macros"] } -frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["tests"] } +frost = { package = "modular-frost", path = "../../crypto/frost", features = ["tests"] } [features] std = [ diff --git a/coins/monero/generators/Cargo.toml b/coins/monero/generators/Cargo.toml index 2e797149..d1a1866f 100644 --- a/coins/monero/generators/Cargo.toml +++ b/coins/monero/generators/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "monero-generators" -version = "0.3.0" +version = "0.4.0" description = "Monero's hash_to_point and generators" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/coins/monero/generators" @@ -12,7 +12,7 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -std-shims = { path = "../../../common/std-shims", version = "0.1", default-features = false } +std-shims = { path = "../../../common/std-shims", version = "^0.1.1", default-features = false } subtle = { version = "^2.4", default-features = false } @@ -21,7 +21,7 @@ sha3 = { version = "0.10", default-features = false } curve25519-dalek = { version = "4", default-features = false, features = ["alloc", "zeroize", "precomputed-tables"] } group = { version = "0.13", default-features = false } -dalek-ff-group = { path = "../../../crypto/dalek-ff-group", version = "0.3" } +dalek-ff-group = { path = "../../../crypto/dalek-ff-group", version = "0.4" } [features] std = ["std-shims/std"] diff --git a/common/std-shims/Cargo.toml b/common/std-shims/Cargo.toml index efad19ab..e4cf7378 100644 --- a/common/std-shims/Cargo.toml +++ b/common/std-shims/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "std-shims" -version = "0.1.0" +version = "0.1.1" description = "A series of std shims to make alloc more feasible" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/common/std-shims" diff --git a/crypto/ciphersuite/Cargo.toml b/crypto/ciphersuite/Cargo.toml index a3bd0582..40ccea9b 100644 --- a/crypto/ciphersuite/Cargo.toml +++ b/crypto/ciphersuite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ciphersuite" -version = "0.3.0" +version = "0.4.1" description = "Ciphersuites built around ff/group" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ciphersuite" @@ -14,7 +14,7 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -std-shims = { path = "../../common/std-shims", version = "0.1", default-features = false, optional = true } +std-shims = { path = "../../common/std-shims", version = "^0.1.1", default-features = false, optional = true } rand_core = { version = "0.6", default-features = false } @@ -22,20 +22,20 @@ 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 } ff = { version = "0.13", default-features = false, features = ["bits"] } group = { version = "0.13", default-features = false } -dalek-ff-group = { path = "../dalek-ff-group", version = "0.3", default-features = false, optional = true } +dalek-ff-group = { path = "../dalek-ff-group", version = "0.4", default-features = false, optional = true } elliptic-curve = { version = "0.13", default-features = false, features = ["hash2curve"], optional = true } p256 = { version = "^0.13.1", default-features = false, features = ["arithmetic", "bits", "hash2curve"], optional = true } k256 = { version = "^0.13.1", default-features = false, features = ["arithmetic", "bits", "hash2curve"], optional = true } -minimal-ed448 = { path = "../ed448", version = "0.3", default-features = false, optional = true } +minimal-ed448 = { path = "../ed448", version = "0.4", default-features = false, optional = true } [dev-dependencies] hex = "0.4" diff --git a/crypto/dalek-ff-group/Cargo.toml b/crypto/dalek-ff-group/Cargo.toml index 9aa03c00..aab1da7e 100644 --- a/crypto/dalek-ff-group/Cargo.toml +++ b/crypto/dalek-ff-group/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dalek-ff-group" -version = "0.3.0" +version = "0.4.0" description = "ff/group bindings around curve25519-dalek" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dalek-ff-group" diff --git a/crypto/dkg/Cargo.toml b/crypto/dkg/Cargo.toml index 390c3bbe..efc00587 100644 --- a/crypto/dkg/Cargo.toml +++ b/crypto/dkg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dkg" -version = "0.4.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.3", default-features = false } -multiexp = { path = "../multiexp", version = "0.3", 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.4", default-features = false } -dleq = { path = "../dleq", version = "0.3", 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.3", 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 77ea5e44..0e41ad5c 100644 --- a/crypto/dleq/Cargo.toml +++ b/crypto/dleq/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dleq" -version = "0.3.1" +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,12 +21,12 @@ 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 } -multiexp = { path = "../multiexp", version = "0.3", default-features = false, features = ["batch"], optional = true } +multiexp = { path = "../multiexp", version = "0.4", default-features = false, features = ["batch"], optional = true } [dev-dependencies] hex-literal = "0.4" diff --git a/crypto/ed448/Cargo.toml b/crypto/ed448/Cargo.toml index 44558ad3..b3a5364c 100644 --- a/crypto/ed448/Cargo.toml +++ b/crypto/ed448/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "minimal-ed448" -version = "0.3.1" +version = "0.4.0" description = "Unaudited, inefficient implementation of Ed448 in Rust" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ed448" diff --git a/crypto/ff-group-tests/Cargo.toml b/crypto/ff-group-tests/Cargo.toml index e998fbfa..641e5da8 100644 --- a/crypto/ff-group-tests/Cargo.toml +++ b/crypto/ff-group-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ff-group-tests" -version = "0.13.0" +version = "0.13.1" description = "A collection of sanity tests for implementors of ff/group APIs" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ff-group-tests" diff --git a/crypto/frost/Cargo.toml b/crypto/frost/Cargo.toml index 8db51b9c..f7d5242c 100644 --- a/crypto/frost/Cargo.toml +++ b/crypto/frost/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "modular-frost" -version = "0.7.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,25 +25,25 @@ 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.3", optional = true } -minimal-ed448 = { path = "../ed448", version = "0.3", optional = true } +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.3", features = ["std"] } +ciphersuite = { path = "../ciphersuite", version = "^0.4.1", features = ["std"] } -multiexp = { path = "../multiexp", version = "0.3", features = ["batch"] } +multiexp = { path = "../multiexp", version = "0.4", features = ["batch"] } -schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.4" } -dleq = { path = "../dleq", version = "0.3", 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.4" } +dkg = { path = "../dkg", version = "^0.5.1" } [dev-dependencies] hex = "0.4" serde_json = "1" -dkg = { path = "../dkg", version = "0.4", features = ["tests"] } +dkg = { path = "../dkg", features = ["tests"] } [features] ed25519 = ["dalek-ff-group", "ciphersuite/ed25519"] diff --git a/crypto/multiexp/Cargo.toml b/crypto/multiexp/Cargo.toml index c254ce19..d9231d0f 100644 --- a/crypto/multiexp/Cargo.toml +++ b/crypto/multiexp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "multiexp" -version = "0.3.1" +version = "0.4.0" description = "Multiexponentation algorithms for ff/group" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/multiexp" @@ -16,7 +16,7 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] rustversion = "1" -std-shims = { path = "../../common/std-shims", version = "0.1", default-features = false } +std-shims = { path = "../../common/std-shims", version = "^0.1.1", default-features = false } zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] } diff --git a/crypto/schnorr/Cargo.toml b/crypto/schnorr/Cargo.toml index f0f2b183..191b3289 100644 --- a/crypto/schnorr/Cargo.toml +++ b/crypto/schnorr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "schnorr-signatures" -version = "0.4.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" @@ -14,16 +14,16 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -std-shims = { path = "../../common/std-shims", version = "0.1", default-features = false } +std-shims = { path = "../../common/std-shims", version = "^0.1.1", default-features = false } 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.3", default-features = false, features = ["alloc"] } -multiexp = { path = "../multiexp", version = "0.3", default-features = false, features = ["batch"] } +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] hex = "0.4" @@ -32,8 +32,8 @@ rand_core = { version = "0.6", features = ["std"] } sha2 = "0.10" -dalek-ff-group = { path = "../dalek-ff-group", version = "0.3" } -ciphersuite = { path = "../ciphersuite", version = "0.3", features = ["ed25519"] } +dalek-ff-group = { path = "../dalek-ff-group" } +ciphersuite = { path = "../ciphersuite", features = ["ed25519"] } [features] std = ["std-shims/std", "ciphersuite/std", "multiexp/std"] diff --git a/crypto/schnorrkel/Cargo.toml b/crypto/schnorrkel/Cargo.toml index e84f635d..f14013fa 100644 --- a/crypto/schnorrkel/Cargo.toml +++ b/crypto/schnorrkel/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "frost-schnorrkel" -version = "0.1.0" +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.3", features = ["std", "ristretto"] } -schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.4" } -frost = { path = "../frost", package = "modular-frost", version = "0.7", 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 = { version = "0.11", git = "https://github.com/serai-dex/schnorrkel" } diff --git a/crypto/transcript/Cargo.toml b/crypto/transcript/Cargo.toml index 1b38b206..e5526121 100644 --- a/crypto/transcript/Cargo.toml +++ b/crypto/transcript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flexible-transcript" -version = "0.3.1" +version = "0.3.2" description = "A simple transcript trait definition, along with viable options" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/transcript" diff --git a/substrate/client/Cargo.toml b/substrate/client/Cargo.toml index 4a529b31..8bfa3d6a 100644 --- a/substrate/client/Cargo.toml +++ b/substrate/client/Cargo.toml @@ -26,7 +26,7 @@ subxt = { version = "0.29", default-features = false, features = ["jsonrpsee-ws" bitcoin = { version = "0.30", optional = true } -ciphersuite = { path = "../../crypto/ciphersuite", version = "0.3", optional = true } +ciphersuite = { path = "../../crypto/ciphersuite", version = "0.4", optional = true } monero-serai = { path = "../../coins/monero", version = "0.1.4-alpha", optional = true } [dev-dependencies] diff --git a/substrate/validator-sets/primitives/Cargo.toml b/substrate/validator-sets/primitives/Cargo.toml index 881a1d9d..aaae5581 100644 --- a/substrate/validator-sets/primitives/Cargo.toml +++ b/substrate/validator-sets/primitives/Cargo.toml @@ -14,8 +14,8 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] zeroize = { version = "^1.5", features = ["derive"], optional = true } -ciphersuite = { path = "../../../crypto/ciphersuite", version = "0.3", default-features = false, features = ["alloc", "ristretto"] } -dkg = { path = "../../../crypto/dkg", version = "0.4", default-features = false } +ciphersuite = { path = "../../../crypto/ciphersuite", version = "0.4", default-features = false, features = ["alloc", "ristretto"] } +dkg = { path = "../../../crypto/dkg", version = "0.5", default-features = false } serde = { version = "1", default-features = false, features = ["derive", "alloc"] }