diff --git a/Cargo.lock b/Cargo.lock index 034a27aa..585658f8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -913,7 +913,7 @@ dependencies = [ [[package]] name = "ciphersuite" -version = "0.3.0" +version = "0.4.0" dependencies = [ "dalek-ff-group", "digest 0.10.7", @@ -1464,7 +1464,7 @@ dependencies = [ [[package]] name = "dalek-ff-group" -version = "0.3.0" +version = "0.4.0" dependencies = [ "crypto-bigint", "curve25519-dalek 3.2.0", @@ -1758,7 +1758,7 @@ dependencies = [ [[package]] name = "dkg" -version = "0.4.0" +version = "0.5.0" dependencies = [ "chacha20 0.9.1", "ciphersuite", @@ -1775,7 +1775,7 @@ dependencies = [ [[package]] name = "dleq" -version = "0.3.1" +version = "0.4.0" dependencies = [ "blake2", "dalek-ff-group", @@ -2443,7 +2443,7 @@ dependencies = [ [[package]] name = "ff-group-tests" -version = "0.13.0" +version = "0.13.1" dependencies = [ "bls12_381", "ff", @@ -2529,7 +2529,7 @@ dependencies = [ [[package]] name = "flexible-transcript" -version = "0.3.1" +version = "0.3.2" dependencies = [ "blake2", "digest 0.10.7", @@ -2822,7 +2822,7 @@ dependencies = [ [[package]] name = "frost-schnorrkel" -version = "0.1.0" +version = "0.1.1" dependencies = [ "ciphersuite", "flexible-transcript", @@ -4606,7 +4606,7 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "minimal-ed448" -version = "0.3.1" +version = "0.4.0" dependencies = [ "crypto-bigint", "ff", @@ -4675,7 +4675,7 @@ dependencies = [ [[package]] name = "modular-frost" -version = "0.7.0" +version = "0.8.0" dependencies = [ "ciphersuite", "dalek-ff-group", @@ -4697,7 +4697,7 @@ dependencies = [ [[package]] name = "monero-generators" -version = "0.3.0" +version = "0.4.0" dependencies = [ "curve25519-dalek 3.2.0", "dalek-ff-group", @@ -4774,7 +4774,7 @@ dependencies = [ [[package]] name = "multiexp" -version = "0.3.1" +version = "0.4.0" dependencies = [ "dalek-ff-group", "ff", @@ -7804,7 +7804,7 @@ dependencies = [ [[package]] name = "schnorr-signatures" -version = "0.4.0" +version = "0.5.0" dependencies = [ "ciphersuite", "dalek-ff-group", @@ -9392,7 +9392,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 f5b483de..dcbb3f5c 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 = "^3.2", default-features = false } # 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 5e221370..ac7b17b3 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 = "3", default-features = false } 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..036d518a 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.0" 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 } @@ -29,13 +29,13 @@ 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 4c6317f4..7700e341 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..9ad1d423 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.0" description = "Distributed key generation over ff/group" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dkg" @@ -27,15 +27,15 @@ serde = { version = "1", features = ["derive"], optional = true } transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", 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", 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", default-features = false } +dleq = { path = "../dleq", version = "0.4", 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", version = "0.4", default-features = false, features = ["ristretto"] } [features] std = [ diff --git a/crypto/dleq/Cargo.toml b/crypto/dleq/Cargo.toml index 77ea5e44..5456eeea 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.0" description = "Implementation of single and cross-curve Discrete Log Equality proofs" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dleq" @@ -26,7 +26,7 @@ transcript = { package = "flexible-transcript", path = "../transcript", version 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..0365dcaf 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.0" description = "Modular implementation of FROST over ff/group" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/frost" @@ -27,23 +27,23 @@ hex = { version = "0.4", optional = true } digest = "0.10" transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", 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", 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" } +dleq = { path = "../dleq", version = "0.4", features = ["serialize"] } -dkg = { path = "../dkg", version = "0.4" } +dkg = { path = "../dkg", version = "0.5" } [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..afda1726 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.0" description = "Minimal Schnorr signatures crate hosting common code" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/schnorr" @@ -14,7 +14,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 } rand_core = { version = "0.6", default-features = false } @@ -22,8 +22,8 @@ zeroize = { version = "^1.5", default-features = false, features = ["zeroize_der transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", 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", 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 5cff6e11..5bf8451f 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.1" description = "modular-frost Algorithm compatible with Schnorrkel" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/schnorrkel" @@ -21,9 +21,9 @@ transcript = { package = "flexible-transcript", path = "../transcript", version 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", features = ["std", "ristretto"] } +schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.5" } +frost = { path = "../frost", package = "modular-frost", version = "0.8", features = ["ristretto"] } schnorrkel = "0.10" 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"] }