From 0d4b66dc2aa5bdbf6bcfe9c10d2e7f773a4e5518 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Thu, 16 Mar 2023 19:29:22 -0400 Subject: [PATCH] Bump package versions --- Cargo.lock | 26 +++++++++++++------------- coins/bitcoin/Cargo.toml | 8 ++++---- coins/monero/Cargo.toml | 20 ++++++++++---------- coins/monero/generators/Cargo.toml | 4 ++-- crypto/ciphersuite/Cargo.toml | 8 ++++---- crypto/dalek-ff-group/Cargo.toml | 2 +- crypto/dkg/Cargo.toml | 14 +++++++------- crypto/dleq/Cargo.toml | 6 +++--- crypto/ed448/Cargo.toml | 4 ++-- crypto/ff-group-tests/Cargo.toml | 2 +- crypto/frost/Cargo.toml | 20 ++++++++++---------- crypto/frost/README.md | 5 ++++- crypto/multiexp/Cargo.toml | 2 +- crypto/schnorr/Cargo.toml | 12 ++++++------ crypto/transcript/Cargo.toml | 2 +- 15 files changed, 69 insertions(+), 66 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b06f1971..2be9c389 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -597,7 +597,7 @@ dependencies = [ [[package]] name = "bitcoin-serai" -version = "0.1.0" +version = "0.1.1" dependencies = [ "bitcoin", "flexible-transcript", @@ -1025,7 +1025,7 @@ dependencies = [ [[package]] name = "ciphersuite" -version = "0.1.1" +version = "0.2.0" dependencies = [ "dalek-ff-group", "digest 0.10.6", @@ -1636,7 +1636,7 @@ dependencies = [ [[package]] name = "dalek-ff-group" -version = "0.1.5" +version = "0.2.0" dependencies = [ "crypto-bigint", "curve25519-dalek 3.2.0", @@ -1944,7 +1944,7 @@ dependencies = [ [[package]] name = "dkg" -version = "0.2.0" +version = "0.3.0" dependencies = [ "chacha20 0.9.0", "ciphersuite", @@ -1960,7 +1960,7 @@ dependencies = [ [[package]] name = "dleq" -version = "0.2.0" +version = "0.3.0" dependencies = [ "blake2", "dalek-ff-group", @@ -2595,7 +2595,7 @@ dependencies = [ [[package]] name = "ff-group-tests" -version = "0.12.0" +version = "0.12.1" dependencies = [ "group", "k256 0.12.0", @@ -2690,7 +2690,7 @@ dependencies = [ [[package]] name = "flexible-transcript" -version = "0.2.0" +version = "0.3.0" dependencies = [ "blake2", "digest 0.10.6", @@ -4890,7 +4890,7 @@ checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" [[package]] name = "minimal-ed448" -version = "0.1.2" +version = "0.2.0" dependencies = [ "crypto-bigint", "dalek-ff-group", @@ -4961,7 +4961,7 @@ dependencies = [ [[package]] name = "modular-frost" -version = "0.5.0" +version = "0.6.0" dependencies = [ "ciphersuite", "dalek-ff-group", @@ -5011,7 +5011,7 @@ dependencies = [ [[package]] name = "monero-generators" -version = "0.1.1" +version = "0.2.0" dependencies = [ "curve25519-dalek 3.2.0", "dalek-ff-group", @@ -5043,7 +5043,7 @@ dependencies = [ [[package]] name = "monero-serai" -version = "0.1.2-alpha" +version = "0.1.3-alpha" dependencies = [ "base58-monero", "crc", @@ -5125,7 +5125,7 @@ dependencies = [ [[package]] name = "multiexp" -version = "0.2.2" +version = "0.3.0" dependencies = [ "dalek-ff-group", "ff", @@ -7981,7 +7981,7 @@ dependencies = [ [[package]] name = "schnorr-signatures" -version = "0.2.0" +version = "0.3.0" dependencies = [ "ciphersuite", "dalek-ff-group", diff --git a/coins/bitcoin/Cargo.toml b/coins/bitcoin/Cargo.toml index bd68d65a..bc3f4f22 100644 --- a/coins/bitcoin/Cargo.toml +++ b/coins/bitcoin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bitcoin-serai" -version = "0.1.0" +version = "0.1.1" description = "A Bitcoin library for FROST-signing transactions" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/coins/bitcoin" @@ -19,8 +19,8 @@ secp256k1 = { version = "0.24", features = ["global-context"] } bitcoin = { version = "0.29", features = ["serde"] } k256 = { version = "0.12", features = ["arithmetic"] } -transcript = { package = "flexible-transcript", path = "../../crypto/transcript", version = "0.2", features = ["recommended"] } -frost = { version = "0.5", package = "modular-frost", path = "../../crypto/frost", features = ["secp256k1"] } +transcript = { package = "flexible-transcript", path = "../../crypto/transcript", version = "0.3", features = ["recommended"] } +frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.6", features = ["secp256k1"] } hex = "0.4" serde = { version = "1", features = ["derive"] } @@ -28,4 +28,4 @@ serde_json = "1" reqwest = { version = "0.11", features = ["json"] } [dev-dependencies] -frost = { version = "0.5", package = "modular-frost", path = "../../crypto/frost", features = ["tests"] } +frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.6", features = ["tests"] } diff --git a/coins/monero/Cargo.toml b/coins/monero/Cargo.toml index 294714be..509a4e19 100644 --- a/coins/monero/Cargo.toml +++ b/coins/monero/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "monero-serai" -version = "0.1.2-alpha" +version = "0.1.3-alpha" description = "A modern Monero transaction library" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/coins/monero" @@ -31,14 +31,14 @@ sha3 = "0.10" curve25519-dalek = { version = "^3.2", features = ["std"] } group = "0.12" -dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.1" } -multiexp = { path = "../../crypto/multiexp", version = "0.2", features = ["batch"] } +dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.2" } +multiexp = { path = "../../crypto/multiexp", version = "0.3", features = ["batch"] } -transcript = { package = "flexible-transcript", path = "../../crypto/transcript", version = "0.2", features = ["recommended"], optional = true } -frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.5", features = ["ed25519"], optional = true } -dleq = { path = "../../crypto/dleq", version = "0.2", features = ["serialize"], optional = true } +transcript = { package = "flexible-transcript", path = "../../crypto/transcript", version = "0.3", features = ["recommended"], optional = true } +frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.6", features = ["ed25519"], optional = true } +dleq = { path = "../../crypto/dleq", version = "0.3", features = ["serialize"], optional = true } -monero-generators = { path = "generators", version = "0.1" } +monero-generators = { path = "generators", version = "0.2" } hex = "0.4" serde = { version = "1.0", features = ["derive"] } @@ -51,8 +51,8 @@ digest_auth = "0.3" reqwest = { version = "0.11", features = ["json"] } [build-dependencies] -dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.1" } -monero-generators = { path = "generators", version = "0.1" } +dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.2" } +monero-generators = { path = "generators", version = "0.2" } [dev-dependencies] hex-literal = "0.3" @@ -60,7 +60,7 @@ hex-literal = "0.3" tokio = { version = "1", features = ["full"] } monero-rpc = "0.3" -frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.5", features = ["ed25519", "tests"] } +frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.6", features = ["tests"] } [features] multisig = ["rand_chacha", "transcript", "frost", "dleq"] diff --git a/coins/monero/generators/Cargo.toml b/coins/monero/generators/Cargo.toml index b450e2ea..9bbc5aa3 100644 --- a/coins/monero/generators/Cargo.toml +++ b/coins/monero/generators/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "monero-generators" -version = "0.1.1" +version = "0.2.0" description = "Monero's hash_to_point and generators" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/coins/monero/generators" @@ -21,4 +21,4 @@ sha3 = "0.10" curve25519-dalek = { version = "3", features = ["std"] } group = "0.12" -dalek-ff-group = { path = "../../../crypto/dalek-ff-group", version = "0.1.4" } +dalek-ff-group = { path = "../../../crypto/dalek-ff-group", version = "0.2" } diff --git a/crypto/ciphersuite/Cargo.toml b/crypto/ciphersuite/Cargo.toml index ec7c3d71..15242428 100644 --- a/crypto/ciphersuite/Cargo.toml +++ b/crypto/ciphersuite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ciphersuite" -version = "0.1.1" +version = "0.2.0" description = "Ciphersuites built around ff/group" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ciphersuite" @@ -19,20 +19,20 @@ zeroize = { version = "^1.5", features = ["zeroize_derive"] } subtle = "^2.4" digest = "0.10" -transcript = { package = "flexible-transcript", path = "../transcript", version = "0.2" } +transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3" } sha2 = { version = "0.10", optional = true } sha3 = { version = "0.10", optional = true } ff = { version = "0.12", features = ["bits"] } group = "0.12" -dalek-ff-group = { path = "../dalek-ff-group", version = "^0.1.2", optional = true } +dalek-ff-group = { path = "../dalek-ff-group", version = "0.2", optional = true } elliptic-curve = { version = "0.12", features = ["hash2curve"], optional = true } p256 = { version = "0.12", features = ["arithmetic", "bits", "hash2curve"], optional = true } k256 = { version = "0.12", features = ["arithmetic", "bits", "hash2curve"], optional = true } -minimal-ed448 = { path = "../ed448", version = "^0.1.2", optional = true } +minimal-ed448 = { path = "../ed448", version = "0.2", optional = true } [dev-dependencies] hex = "0.4" diff --git a/crypto/dalek-ff-group/Cargo.toml b/crypto/dalek-ff-group/Cargo.toml index 3403282b..f500df34 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.1.5" +version = "0.2.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 1822cb4c..4808001a 100644 --- a/crypto/dkg/Cargo.toml +++ b/crypto/dkg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dkg" -version = "0.2.0" +version = "0.3.0" description = "Distributed key generation over ff/group" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dkg" @@ -21,17 +21,17 @@ zeroize = { version = "^1.5", features = ["zeroize_derive"] } serde = { version = "1", features = ["derive"], optional = true } -transcript = { package = "flexible-transcript", path = "../transcript", version = "0.2", features = ["recommended"] } +transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", features = ["recommended"] } chacha20 = { version = "0.9", features = ["zeroize"] } -ciphersuite = { path = "../ciphersuite", version = "0.1", features = ["std"] } -multiexp = { path = "../multiexp", version = "0.2", features = ["batch"] } +ciphersuite = { path = "../ciphersuite", version = "0.2", features = ["std"] } +multiexp = { path = "../multiexp", version = "0.3", features = ["batch"] } -schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.2" } -dleq = { path = "../dleq", version = "0.2", features = ["serialize"] } +schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.3" } +dleq = { path = "../dleq", version = "0.3", features = ["serialize"] } [dev-dependencies] -ciphersuite = { path = "../ciphersuite", version = "0.1", features = ["std", "ristretto"] } +ciphersuite = { path = "../ciphersuite", version = "0.2", features = ["ristretto"] } [features] serde = ["dep:serde"] diff --git a/crypto/dleq/Cargo.toml b/crypto/dleq/Cargo.toml index 0032c447..00c5a29c 100644 --- a/crypto/dleq/Cargo.toml +++ b/crypto/dleq/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dleq" -version = "0.2.0" +version = "0.3.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" @@ -19,12 +19,12 @@ zeroize = { version = "^1.5", features = ["zeroize_derive"] } digest = "0.10" -transcript = { package = "flexible-transcript", path = "../transcript", version = "0.2" } +transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3" } ff = "0.12" group = "0.12" -multiexp = { path = "../multiexp", version = "0.2", features = ["batch"], optional = true } +multiexp = { path = "../multiexp", version = "0.3", features = ["batch"], optional = true } [dev-dependencies] hex-literal = "0.3" diff --git a/crypto/ed448/Cargo.toml b/crypto/ed448/Cargo.toml index fb2da204..addc783c 100644 --- a/crypto/ed448/Cargo.toml +++ b/crypto/ed448/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "minimal-ed448" -version = "0.1.2" +version = "0.2.0" description = "Unaudited, inefficient implementation of Ed448 in Rust" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ed448" @@ -26,7 +26,7 @@ group = "0.12" generic-array = "0.14" crypto-bigint = { version = "0.4", features = ["zeroize"] } -dalek-ff-group = { path = "../dalek-ff-group", version = "^0.1.2" } +dalek-ff-group = { path = "../dalek-ff-group", version = "0.2" } [dev-dependencies] hex = "0.4" diff --git a/crypto/ff-group-tests/Cargo.toml b/crypto/ff-group-tests/Cargo.toml index 67e9eaaf..c75bfc32 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.12.0" +version = "0.12.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 1ce90194..521b7ffa 100644 --- a/crypto/frost/Cargo.toml +++ b/crypto/frost/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "modular-frost" -version = "0.5.0" +version = "0.6.0" description = "Modular implementation of FROST over ff/group" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/frost" @@ -24,25 +24,25 @@ subtle = "^2.4" hex = { version = "0.4", optional = true } digest = "0.10" -transcript = { package = "flexible-transcript", path = "../transcript", version = "0.2", features = ["recommended"] } +transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", features = ["recommended"] } -dalek-ff-group = { path = "../dalek-ff-group", version = "^0.1.2", optional = true } -minimal-ed448 = { path = "../ed448", version = "^0.1.2", optional = true } +dalek-ff-group = { path = "../dalek-ff-group", version = "0.2", optional = true } +minimal-ed448 = { path = "../ed448", version = "0.2", optional = true } -ciphersuite = { path = "../ciphersuite", version = "0.1", features = ["std"] } +ciphersuite = { path = "../ciphersuite", version = "0.2", features = ["std"] } -multiexp = { path = "../multiexp", version = "0.2", features = ["batch"] } +multiexp = { path = "../multiexp", version = "0.3", features = ["batch"] } -schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.2" } -dleq = { path = "../dleq", version = "0.2", features = ["serialize"] } +schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.3" } +dleq = { path = "../dleq", version = "0.3", features = ["serialize"] } -dkg = { path = "../dkg", version = "0.2" } +dkg = { path = "../dkg", version = "0.3" } [dev-dependencies] hex = "0.4" serde_json = "1" -dkg = { path = "../dkg", version = "0.2", features = ["tests"] } +dkg = { path = "../dkg", version = "0.3", features = ["tests"] } [features] ed25519 = ["dalek-ff-group", "ciphersuite/ed25519"] diff --git a/crypto/frost/README.md b/crypto/frost/README.md index c922bccd..03e6195f 100644 --- a/crypto/frost/README.md +++ b/crypto/frost/README.md @@ -14,4 +14,7 @@ This library offers ciphersuites compatible with the This library was [audited by Cypher Stack in March 2023](../../audits/Cypher Stack crypto March 2023/Audit.pdf), -culminating in commit 669d2dbffc1dafb82a09d9419ea182667115df06. +culminating in commit 669d2dbffc1dafb82a09d9419ea182667115df06. While this +included FROST's definition of Ed448, the underlying Ed448 ciphersuite (offered +by the ciphersuite crate) was not audited, nor was the minimal-ed448 crate +implementing the curve itself. diff --git a/crypto/multiexp/Cargo.toml b/crypto/multiexp/Cargo.toml index 24ebd399..bd1c0422 100644 --- a/crypto/multiexp/Cargo.toml +++ b/crypto/multiexp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "multiexp" -version = "0.2.2" +version = "0.3.0" description = "Multiexponentation algorithms for ff/group" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/multiexp" diff --git a/crypto/schnorr/Cargo.toml b/crypto/schnorr/Cargo.toml index e6d9e1c6..39fbb84f 100644 --- a/crypto/schnorr/Cargo.toml +++ b/crypto/schnorr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "schnorr-signatures" -version = "0.2.0" +version = "0.3.0" description = "Minimal Schnorr signatures crate hosting common code" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/schnorr" @@ -17,13 +17,13 @@ rand_core = "0.6" zeroize = { version = "^1.5", features = ["zeroize_derive"] } -transcript = { package = "flexible-transcript", path = "../transcript", version = "0.2" } +transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3" } -ciphersuite = { path = "../ciphersuite", version = "0.1" } -multiexp = { path = "../multiexp", version = "0.2", features = ["batch"] } +ciphersuite = { path = "../ciphersuite", version = "0.2" } +multiexp = { path = "../multiexp", version = "0.3", features = ["batch"] } [dev-dependencies] hex = "0.4" sha2 = "0.10" -dalek-ff-group = { path = "../dalek-ff-group", version = "^0.1.2" } -ciphersuite = { path = "../ciphersuite", version = "0.1", features = ["ed25519"] } +dalek-ff-group = { path = "../dalek-ff-group", version = "0.2" } +ciphersuite = { path = "../ciphersuite", version = "0.2", features = ["ed25519"] } diff --git a/crypto/transcript/Cargo.toml b/crypto/transcript/Cargo.toml index d884ee96..fd4be501 100644 --- a/crypto/transcript/Cargo.toml +++ b/crypto/transcript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flexible-transcript" -version = "0.2.0" +version = "0.3.0" description = "A simple transcript trait definition, along with viable options" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/transcript"