From c38305b5368890b8b3c2340691f72baada560f3c Mon Sep 17 00:00:00 2001 From: Conrado Gouvea Date: Wed, 13 Sep 2023 13:52:41 -0300 Subject: [PATCH] bump versions and update changelog for 0.7.0 release (#538) --- book/src/tutorial/importing.md | 4 ++-- frost-core/CHANGELOG.md | 10 +++++++++- frost-core/Cargo.toml | 2 +- frost-ed25519/Cargo.toml | 8 ++++---- frost-ed448/Cargo.toml | 8 ++++---- frost-p256/Cargo.toml | 8 ++++---- frost-rerandomized/Cargo.toml | 4 ++-- frost-ristretto255/Cargo.toml | 8 ++++---- frost-secp256k1/Cargo.toml | 8 ++++---- 9 files changed, 34 insertions(+), 26 deletions(-) diff --git a/book/src/tutorial/importing.md b/book/src/tutorial/importing.md index 7420839..a1c8265 100644 --- a/book/src/tutorial/importing.md +++ b/book/src/tutorial/importing.md @@ -6,7 +6,7 @@ Add to your `Cargo.toml` file: ``` [dependencies] -frost-ristretto255 = "0.6.0" +frost-ristretto255 = "0.7.0" ``` ## Handling errors @@ -38,7 +38,7 @@ needs to be transmitted. The importing would look like: ``` [dependencies] -frost-ristretto255 = { version = "0.6.0", features = ["serde"] } +frost-ristretto255 = { version = "0.7.0", features = ["serde"] } ``` Note that serde usage is optional. Applications can use different encodings, and diff --git a/frost-core/CHANGELOG.md b/frost-core/CHANGELOG.md index 140229a..13308e2 100644 --- a/frost-core/CHANGELOG.md +++ b/frost-core/CHANGELOG.md @@ -4,6 +4,10 @@ Entries are listed in reverse chronological order. ## Unreleased +## 0.8.0 + +## Released + ## 0.7.0 * Challenge hashing during DKG computation was changed to match the paper. @@ -13,8 +17,12 @@ Entries are listed in reverse chronological order. `new()` method and its serde serialization. * `reconstruct()` was changed to take a slice of `KeyPackage`s instead of `SecretShare`s since users are expect to store the former and not the latter. +* New `serialize()`/`deserialize()` methods were added so that a default + byte-oriented serialization is available for all structs that need to be + communicated. It is still possible to use serde with you own encoder. Note + that the format will likely change in the next release. +* Audit findings were addressed. -## Released ## 0.6.0 diff --git a/frost-core/Cargo.toml b/frost-core/Cargo.toml index 3efce8b..472c9f6 100644 --- a/frost-core/Cargo.toml +++ b/frost-core/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" # When releasing to crates.io: # - Update CHANGELOG.md # - Create git tag. -version = "0.6.0" +version = "0.7.0" authors = [ "Deirdre Connolly ", "Chelsea Komlo ", diff --git a/frost-ed25519/Cargo.toml b/frost-ed25519/Cargo.toml index f0e9e12..d670561 100644 --- a/frost-ed25519/Cargo.toml +++ b/frost-ed25519/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" # - Update html_root_url # - Update CHANGELOG.md # - Create git tag. -version = "0.6.0" +version = "0.7.0" authors = [ "Deirdre Connolly ", "Chelsea Komlo ", @@ -25,14 +25,14 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] curve25519-dalek = { version = "=4.1.0", features = ["rand_core"] } document-features = "0.2.7" -frost-core = { path = "../frost-core", version = "0.6.0" } +frost-core = { path = "../frost-core", version = "0.7.0" } rand_core = "0.6" sha2 = "0.10.2" [dev-dependencies] criterion = "0.5" -frost-core = { path = "../frost-core", version = "0.6.0", features = ["test-impl"] } -frost-rerandomized = { path = "../frost-rerandomized", version = "0.6.0", features = ["test-impl"] } +frost-core = { path = "../frost-core", version = "0.7.0", features = ["test-impl"] } +frost-rerandomized = { path = "../frost-rerandomized", version = "0.7.0", features = ["test-impl"] } ed25519-dalek = "2.0.0" insta = { version = "1.31.0", features = ["yaml"] } hex = "0.4.3" diff --git a/frost-ed448/Cargo.toml b/frost-ed448/Cargo.toml index e915a68..24f74b9 100644 --- a/frost-ed448/Cargo.toml +++ b/frost-ed448/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" # When releasing to crates.io: # - Update CHANGELOG.md # - Create git tag. -version = "0.6.0" +version = "0.7.0" authors = [ "Deirdre Connolly ", "Chelsea Komlo ", @@ -24,14 +24,14 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] document-features = "0.2.7" ed448-goldilocks = { version = "0.9.0" } -frost-core = { path = "../frost-core", version = "0.6.0" } +frost-core = { path = "../frost-core", version = "0.7.0" } rand_core = "0.6" sha3 = "0.10.6" [dev-dependencies] criterion = "0.5" -frost-core = { path = "../frost-core", version = "0.6.0", features = ["test-impl"] } -frost-rerandomized = { path = "../frost-rerandomized", version = "0.6.0", features = ["test-impl"] } +frost-core = { path = "../frost-core", version = "0.7.0", features = ["test-impl"] } +frost-rerandomized = { path = "../frost-rerandomized", version = "0.7.0", features = ["test-impl"] } lazy_static = "1.4" insta = { version = "1.31.0", features = ["yaml"] } hex = "0.4.3" diff --git a/frost-p256/Cargo.toml b/frost-p256/Cargo.toml index 1ba43e4..cbac72e 100644 --- a/frost-p256/Cargo.toml +++ b/frost-p256/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" # - Update html_root_url # - Update CHANGELOG.md # - Create git tag. -version = "0.6.0" +version = "0.7.0" authors = [ "Deirdre Connolly ", "Chelsea Komlo ", @@ -25,14 +25,14 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] document-features = "0.2.7" p256 = { version = "0.13.0", features = ["hash2curve"] } -frost-core = { path = "../frost-core", version = "0.6.0" } +frost-core = { path = "../frost-core", version = "0.7.0" } rand_core = "0.6" sha2 = "0.10.2" [dev-dependencies] criterion = "0.5" -frost-core = { path = "../frost-core", version = "0.6.0", features = ["test-impl"] } -frost-rerandomized = { path = "../frost-rerandomized", version = "0.6.0", features = ["test-impl"] } +frost-core = { path = "../frost-core", version = "0.7.0", features = ["test-impl"] } +frost-rerandomized = { path = "../frost-rerandomized", version = "0.7.0", features = ["test-impl"] } insta = { version = "1.31.0", features = ["yaml"] } hex = "0.4.3" lazy_static = "1.4" diff --git a/frost-rerandomized/Cargo.toml b/frost-rerandomized/Cargo.toml index bf32d7d..d9a8918 100644 --- a/frost-rerandomized/Cargo.toml +++ b/frost-rerandomized/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" # - Update html_root_url # - Update CHANGELOG.md # - Create git tag. -version = "0.6.0" +version = "0.7.0" authors = ["Deirdre Connolly ", "Chelsea Komlo ", "Conrado Gouvea "] readme = "README.md" @@ -22,7 +22,7 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] derive-getters = "0.3.0" document-features = "0.2.7" -frost-core = { path = "../frost-core", version = "0.6.0", features = ["internals"] } +frost-core = { path = "../frost-core", version = "0.7.0", features = ["internals"] } rand_core = "0.6" [dev-dependencies] diff --git a/frost-ristretto255/Cargo.toml b/frost-ristretto255/Cargo.toml index a4a0987..2d885af 100644 --- a/frost-ristretto255/Cargo.toml +++ b/frost-ristretto255/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" # - Update html_root_url # - Update CHANGELOG.md # - Create git tag. -version = "0.6.0" +version = "0.7.0" authors = ["Deirdre Connolly ", "Chelsea Komlo ", "Conrado Gouvea "] readme = "README.md" license = "MIT OR Apache-2.0" @@ -21,14 +21,14 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] curve25519-dalek = { version = "=4.1.0", features = ["serde", "rand_core"] } document-features = "0.2.7" -frost-core = { path = "../frost-core", version = "0.6.0" } +frost-core = { path = "../frost-core", version = "0.7.0" } rand_core = "0.6" sha2 = "0.10.2" [dev-dependencies] criterion = { version = "0.5", features = ["html_reports"] } -frost-core = { path = "../frost-core", version = "0.6.0", features = ["test-impl"] } -frost-rerandomized = { path = "../frost-rerandomized", version = "0.6.0", features = ["test-impl"] } +frost-core = { path = "../frost-core", version = "0.7.0", features = ["test-impl"] } +frost-rerandomized = { path = "../frost-rerandomized", version = "0.7.0", features = ["test-impl"] } insta = { version = "1.31.0", features = ["yaml"] } hex = "0.4.3" lazy_static = "1.4" diff --git a/frost-secp256k1/Cargo.toml b/frost-secp256k1/Cargo.toml index 51bce97..8970205 100644 --- a/frost-secp256k1/Cargo.toml +++ b/frost-secp256k1/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" # When releasing to crates.io: # - Update CHANGELOG.md # - Create git tag. -version = "0.6.0" +version = "0.7.0" authors = [ "Deirdre Connolly ", "Chelsea Komlo ", @@ -23,15 +23,15 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] document-features = "0.2.7" -frost-core = { path = "../frost-core", version = "0.6.0" } +frost-core = { path = "../frost-core", version = "0.7.0" } k256 = { version = "0.13.0", features = ["arithmetic", "expose-field", "hash2curve"] } rand_core = "0.6" sha2 = "0.10.2" [dev-dependencies] criterion = "0.5" -frost-core = { path = "../frost-core", version = "0.6.0", features = ["test-impl"] } -frost-rerandomized = { path = "../frost-rerandomized", version = "0.6.0", features = ["test-impl"] } +frost-core = { path = "../frost-core", version = "0.7.0", features = ["test-impl"] } +frost-rerandomized = { path = "../frost-rerandomized", version = "0.7.0", features = ["test-impl"] } insta = { version = "1.31.0", features = ["yaml"] } hex = "0.4.3" lazy_static = "1.4"