Skip to content

Commit

Permalink
Release 2.1.0 (#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
conradoplg authored Jan 15, 2025
1 parent 1a3578b commit f7dcad9
Show file tree
Hide file tree
Showing 13 changed files with 185 additions and 207 deletions.
26 changes: 26 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,31 @@ members = [
"gencode"
]


[workspace.package]
edition = "2021"
version = "2.1.0"
authors = [
"Deirdre Connolly <[email protected]>",
"Chelsea Komlo <[email protected]>",
"Conrado Gouvea <[email protected]>",
"Natalie Eskinazi <[email protected]>"
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZcashFoundation/frost"
categories = ["cryptography"]

[workspace.dependencies]
criterion = "0.5"
document-features = "0.2.7"
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
insta = { version = "1.31.0", features = ["yaml"] }
lazy_static = "1.4"
proptest = "1.0"
rand = "0.8"
rand_chacha = "0.3"
rand_core = "0.6"
serde_json = "1.0"

[profile.test.package."*"]
opt-level = 3
3 changes: 2 additions & 1 deletion book/src/dev/release-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@

## Make changes

7. Bump the version of each crate in their Cargo.toml files
7. Bump the version of the crates in the root Cargo.toml file. (If they ever
get out of sync, you wil need to bump in each crate Cargo.toml file.)

8. Bump the version used in the tutorial (importing.md)

Expand Down
4 changes: 2 additions & 2 deletions book/src/tutorial/importing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Add to your `Cargo.toml` file:

```
[dependencies]
frost-ristretto255 = "2.0.0"
frost-ristretto255 = "2.1.0"
```

## Handling errors
Expand Down Expand Up @@ -38,7 +38,7 @@ needs to be transmitted. The importing would look like:

```
[dependencies]
frost-ristretto255 = { version = "2.0.0", features = ["serde"] }
frost-ristretto255 = { version = "2.1.0", features = ["serde"] }
```

Note that serde usage is optional. Applications can use different encodings, and
Expand Down
12 changes: 9 additions & 3 deletions frost-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ Entries are listed in reverse chronological order.

## Unreleased

## 2.1.0

* It is now possible to identify the culprit in `frost_core::keys::dkg::part3()`
if an invalid secret share was sent by one of the participants (by calling
frost_core::Error<C>::culprit()`).
* Added frost-secp256k1-tr crate, allowing to generate Bitcoin Taproot (BIP340/BIP341)
compatible signatures.
frost_core::Error<C>::culprit()`) (#728)
* Added frost-secp256k1-tr crate, allowing to generate Bitcoin Taproot
(BIP340/BIP341) compatible signatures(#730).
* Support refreshing shares using the DKG approach using the
`frost_core::keys::refresh::refresh_dkg_{part1,part2,shares}()` functions
(#766).
* `frost_core::keys::dkg::part{1,2}::SecretPackage` are now serializable (#833).

## 2.0.0

Expand Down
33 changes: 13 additions & 20 deletions frost-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
[package]
name = "frost-core"
edition = "2021"
# When releasing to crates.io:
# - Update CHANGELOG.md
# - Create git tag.
version = "2.0.0"
authors = [
"Deirdre Connolly <[email protected]>",
"Chelsea Komlo <[email protected]>",
"Conrado Gouvea <[email protected]>",
]
edition.workspace = true
version.workspace = true
authors.workspace = true
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZcashFoundation/frost"
categories = ["cryptography"]
license.workspace = true
repository.workspace = true
categories.workspace = true
keywords = ["cryptography", "crypto", "threshold", "signature", "schnorr"]
description = "Types and traits to support implementing Flexible Round-Optimized Schnorr Threshold signature schemes (FROST)."

Expand All @@ -24,10 +17,10 @@ rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
byteorder = { version = "1.4", default-features = false }
const-crc32 = { version = "1.2.0", package = "const-crc32-nostd" }
document-features = "0.2.7"
document-features.workspace = true
debugless-unwrap = "0.0.4"
derive-getters = "0.5.0"
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
hex.workspace = true
postcard = { version = "1.0.0", features = ["alloc"], optional = true }
rand_core = { version = "0.6", default-features = false }
serde = { version = "1.0.160", default-features = false, features = ["derive"], optional = true }
Expand All @@ -45,11 +38,11 @@ criterion = { version = "0.5", optional = true }

[dev-dependencies]
criterion = { version = "0.5" }
lazy_static = "1.4"
proptest = "1.0"
rand = "0.8"
rand_chacha = "0.3"
serde_json = "1.0"
lazy_static.workspace = true
proptest.workspace = true
rand.workspace = true
rand_chacha.workspace = true
serde_json.workspace = true

[features]
default = ["serialization", "cheater-detection", "std"]
Expand Down
51 changes: 22 additions & 29 deletions frost-ed25519/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
[package]
name = "frost-ed25519"
edition = "2021"
# When releasing to crates.io:
# - Update html_root_url
# - Update CHANGELOG.md
# - Create git tag.
version = "2.0.0"
authors = [
"Deirdre Connolly <[email protected]>",
"Chelsea Komlo <[email protected]>",
"Conrado Gouvea <[email protected]>"
]
edition.workspace = true

version.workspace = true
authors.workspace = true
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZcashFoundation/frost"
categories = ["cryptography"]
license.workspace = true
repository.workspace = true
categories.workspace = true
keywords = ["cryptography", "crypto", "ed25519", "threshold", "signature"]
description = "A Schnorr signature scheme over Ed25519 that supports FROST."

Expand All @@ -24,24 +17,24 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
curve25519-dalek = { version = "=4.1.3", features = ["rand_core"] }
document-features = "0.2.7"
frost-core = { path = "../frost-core", version = "2.0.0", default-features = false }
frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", default-features = false }
rand_core = "0.6"
document-features.workspace = true
frost-core = { path = "../frost-core", version = "2.1.0", default-features = false }
frost-rerandomized = { path = "../frost-rerandomized", version = "2.1.0", default-features = false }
rand_core.workspace = true
sha2 = { version = "0.10.2", default-features = false }

[dev-dependencies]
criterion = "0.5"
frost-core = { path = "../frost-core", version = "2.0.0", features = ["test-impl"] }
frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", features = ["test-impl"] }
ed25519-dalek = "2.0.0"
insta = { version = "1.31.0", features = ["yaml"] }
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
lazy_static = "1.4"
proptest = "1.0"
rand = "0.8"
rand_chacha = "0.3"
serde_json = "1.0"
criterion.workspace = true
frost-core = { path = "../frost-core", version = "2.1.0", features = ["test-impl"] }
frost-rerandomized = { path = "../frost-rerandomized", version = "2.1.0", features = ["test-impl"] }
ed25519-dalek = "2.1.0"
insta.workspace = true
hex.workspace = true
lazy_static.workspace = true
proptest.workspace = true
rand.workspace = true
rand_chacha.workspace = true
serde_json.workspace = true

[features]
nightly = []
Expand Down
47 changes: 20 additions & 27 deletions frost-ed448/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
[package]
name = "frost-ed448"
edition = "2021"
# When releasing to crates.io:
# - Update CHANGELOG.md
# - Create git tag.
version = "2.0.0"
authors = [
"Deirdre Connolly <[email protected]>",
"Chelsea Komlo <[email protected]>",
"Conrado Gouvea <[email protected]>"
]
edition.workspace = true
version.workspace = true
authors.workspace = true
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZcashFoundation/frost"
categories = ["cryptography"]
license.workspace = true
repository.workspace = true
categories.workspace = true
keywords = ["cryptography", "crypto", "ed448", "threshold", "signature"]
description = "A Schnorr signature scheme over Ed448 that supports FROST."

Expand All @@ -22,24 +15,24 @@ features = ["serde"]
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
document-features = "0.2.7"
document-features.workspace = true
ed448-goldilocks = { version = "0.9.0" }
frost-core = { path = "../frost-core", version = "2.0.0", default-features = false }
frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", default-features = false }
rand_core = "0.6"
frost-core = { path = "../frost-core", version = "2.1.0", default-features = false }
frost-rerandomized = { path = "../frost-rerandomized", version = "2.1.0", default-features = false }
rand_core.workspace = true
sha3 = { version = "0.10.6", default-features = false }

[dev-dependencies]
criterion = "0.5"
frost-core = { path = "../frost-core", version = "2.0.0", features = ["test-impl"] }
frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", features = ["test-impl"] }
lazy_static = "1.4"
insta = { version = "1.31.0", features = ["yaml"] }
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
proptest = "1.0"
rand = "0.8"
rand_chacha = "0.3"
serde_json = "1.0"
criterion.workspace = true
frost-core = { path = "../frost-core", version = "2.1.0", features = ["test-impl"] }
frost-rerandomized = { path = "../frost-rerandomized", version = "2.1.0", features = ["test-impl"] }
lazy_static.workspace = true
insta.workspace = true
hex.workspace = true
proptest.workspace = true
rand.workspace = true
rand_chacha.workspace = true
serde_json.workspace = true

[features]
nightly = []
Expand Down
48 changes: 20 additions & 28 deletions frost-p256/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
[package]
name = "frost-p256"
edition = "2021"
# When releasing to crates.io:
# - Update html_root_url
# - Update CHANGELOG.md
# - Create git tag.
version = "2.0.0"
authors = [
"Deirdre Connolly <[email protected]>",
"Chelsea Komlo <[email protected]>",
"Conrado Gouvea <[email protected]>"
]
edition.workspace = true
version.workspace = true
authors.workspace = true
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZcashFoundation/frost"
categories = ["cryptography"]
license.workspace = true
repository.workspace = true
categories.workspace = true
keywords = ["cryptography", "crypto", "threshold", "signature"]
description = "A Schnorr signature scheme over the NIST P-256 curve that supports FROST."

Expand All @@ -23,24 +15,24 @@ features = ["serde"]
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
document-features = "0.2.7"
document-features.workspace = true
p256 = { version = "0.13.0", features = ["hash2curve"], default-features = false }
frost-core = { path = "../frost-core", version = "2.0.0", default-features = false }
frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", default-features = false }
rand_core = "0.6"
frost-core = { path = "../frost-core", version = "2.1.0", default-features = false }
frost-rerandomized = { path = "../frost-rerandomized", version = "2.1.0", default-features = false }
rand_core.workspace = true
sha2 = { version = "0.10.2", default-features = false }

[dev-dependencies]
criterion = "0.5"
frost-core = { path = "../frost-core", version = "2.0.0", features = ["test-impl"] }
frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", features = ["test-impl"] }
insta = { version = "1.31.0", features = ["yaml"] }
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
lazy_static = "1.4"
proptest = "1.0"
rand = "0.8"
rand_chacha = "0.3"
serde_json = "1.0"
criterion.workspace = true
frost-core = { path = "../frost-core", version = "2.1.0", features = ["test-impl"] }
frost-rerandomized = { path = "../frost-rerandomized", version = "2.1.0", features = ["test-impl"] }
insta.workspace = true
hex.workspace = true
lazy_static.workspace = true
proptest.workspace = true
rand.workspace = true
rand_chacha.workspace = true
serde_json.workspace = true

[features]
nightly = []
Expand Down
28 changes: 10 additions & 18 deletions frost-rerandomized/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
[package]
name = "frost-rerandomized"
edition = "2021"
# When releasing to crates.io:
# - Update html_root_url
# - Update CHANGELOG.md
# - Create git tag.
version = "2.0.0"
authors = [
"Deirdre Connolly <[email protected]>",
"Chelsea Komlo <[email protected]>",
"Conrado Gouvea <[email protected]>",
]
edition.workspace = true
version.workspace = true
authors.workspace = true
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZcashFoundation/frost"
categories = ["cryptography"]
license.workspace = true
repository.workspace = true
categories.workspace = true
keywords = ["cryptography", "threshold", "signature", "schnorr", "randomized"]
description = "Types and traits to support implementing a re-randomized variant of Flexible Round-Optimized Schnorr Threshold signature schemes (FROST)."

Expand All @@ -24,12 +16,12 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
derive-getters = "0.5.0"
document-features = "0.2.7"
frost-core = { path = "../frost-core", version = "2.0.0", features = [
document-features.workspace = true
frost-core = { path = "../frost-core", version = "2.1.0", features = [
"internals"
], default-features = false }
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
rand_core = "0.6"
hex.workspace = true
rand_core.workspace = true

[dev-dependencies]

Expand Down
Loading

0 comments on commit f7dcad9

Please sign in to comment.