From 50620fc2f410803c1e49e1d38440506a668866cd Mon Sep 17 00:00:00 2001 From: Conrado Gouvea Date: Thu, 9 Mar 2023 17:05:07 -0300 Subject: [PATCH] bump to 0.5.0; don't enable frost-rerandomized with std (#48) * bump to 0.4.1; don't enable frost-rerandomized with std * Apply suggestions from code review Co-authored-by: str4d * add rust-version to Cargo.toml * use published version of frost-rerandomized --------- Co-authored-by: str4d --- CHANGELOG.md | 6 ++++-- Cargo.toml | 12 +++++++----- README.md | 5 +++++ 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36eb836..2c02a3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,14 @@ Entries are listed in reverse chronological order. -## Unreleased +## 0.5.0 -* Migrate to `group` 0.13, `jubjub` 0.10, `pasta_curves` 0.5 +* Add Pallas and Jubjub ciphersuites and FROST support (#33) +* Migrate to `group` 0.13, `jubjub` 0.10, `pasta_curves` 0.5 (#44) ## 0.4.0 +* MSRV is now 1.60.0 (note: this was noticed after the crate was released) * port improvements from Zebra (#40) * clippy fixes; remove old FROST code (#32) * Update `criterion` requirement from 0.3 to 0.4 (#29) diff --git a/Cargo.toml b/Cargo.toml index 4d8cf6a..78f0794 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,15 +1,17 @@ [package] name = "reddsa" edition = "2021" +rust-version = "1.60" # When releasing to crates.io: # - Update CHANGELOG.md # - Create git tag. -version = "0.4.0" +version = "0.5.0" authors = [ "Henry de Valence ", "Deirdre Connolly ", "Chelsea Komlo ", "Jack Grigg ", + "Conrado Gouvea ", ] readme = "README.md" license = "MIT OR Apache-2.0" @@ -31,7 +33,7 @@ pasta_curves = { version = "0.5", default-features = false } rand_core = { version = "0.6", default-features = false } serde = { version = "1", optional = true, features = ["derive"] } thiserror = { version = "1.0", optional = true } -frost-rerandomized = { git = "https://github.com/ZcashFoundation/frost.git", rev = "ffe5c57a1729c933b3ec8766ec96d2e6976a7ece", optional = true } +frost-rerandomized = { version = "0.1", optional = true } [dependencies.zeroize] version = "1" @@ -48,7 +50,7 @@ proptest = "1.0" rand = "0.8" rand_chacha = "0.3" serde_json = "1.0" -frost-rerandomized = { git = "https://github.com/ZcashFoundation/frost.git", rev = "ffe5c57a1729c933b3ec8766ec96d2e6976a7ece", features=["test-impl"] } +frost-rerandomized = { version = "0.1", features=["test-impl"] } # `alloc` is only used in test code [dev-dependencies.pasta_curves] @@ -58,10 +60,10 @@ features = ["alloc"] [features] std = ["blake2b_simd/std", "thiserror", "zeroize", "alloc", - "serde", "frost-rerandomized"] # conditional compilation for serde not complete (issue #9) + "serde"] # conditional compilation for serde not complete (issue #9) alloc = ["hex"] nightly = [] -frost = ["frost-rerandomized"] +frost = ["std", "frost-rerandomized"] default = ["std"] [[bench]] diff --git a/README.md b/README.md index 472df0d..0e49bc7 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,11 @@ assert!( ); ``` +## FROST + +You can enable ZIP-312 re-randomized FROST support with the `frost` feature. +This is still experimental since ZIP-312 is still a draft. + ## docs ```shell,no_run