Update crypto/ package versions

On a branch while bitcoin-serai wraps up its audit.
This commit is contained in:
Luke Parker 2023-08-08 18:18:59 -04:00
parent ad51c123e3
commit fa406c507f
No known key found for this signature in database
18 changed files with 68 additions and 68 deletions

26
Cargo.lock generated
View file

@ -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",

View file

@ -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"] }

View file

@ -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 = [

View file

@ -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"]

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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 = [

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"]

View file

@ -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"] }

View file

@ -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"]

View file

@ -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"

View file

@ -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"

View file

@ -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]

View file

@ -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"] }