diff --git a/CHANGELOG.md b/CHANGELOG.md index b61f3ec2..42770e6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG +## v0.9.0 + +- Improved API of FROST in `schnorr_fun` +- Fixed `Point<_,_,NonZero>` being able to be Zero through `Default` implementation +- Added `bincode` v2 encoding/decoding +- Updated to `rust-secp256k1` v0.27.0 +- `XOnlyKeyPair` replaced with `KeyPair` + ## v0.8.2 - Fixed docsrs diff --git a/ecdsa_fun/Cargo.toml b/ecdsa_fun/Cargo.toml index 1e04d192..ce49266a 100644 --- a/ecdsa_fun/Cargo.toml +++ b/ecdsa_fun/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ecdsa_fun" -version = "0.8.1" +version = "0.9.0" authors = ["LLFourn "] edition = "2021" rust-version = "1.60" @@ -14,8 +14,8 @@ categories = ["cryptography", "cryptography::cryptocurrencies"] keywords = ["bitcoin", "ecdsa", "secp256k1"] [dependencies] -secp256kfun = { path = "../secp256kfun", version = "0.8", default-features = false } -sigma_fun = { path = "../sigma_fun", version = "0.5.0", features = ["secp256k1"], default-features = false, optional = true } +secp256kfun = { path = "../secp256kfun", version = "0.9", default-features = false } +sigma_fun = { path = "../sigma_fun", version = "0.6", features = ["secp256k1"], default-features = false, optional = true } rand_chacha = { version = "0.3", optional = true } # needed for adaptor signatures atm but would be nice to get rid of bincode = { version = "1.0", optional = true } diff --git a/ecdsa_fun/README.md b/ecdsa_fun/README.md index 61066b1d..f1c6af2f 100644 --- a/ecdsa_fun/README.md +++ b/ecdsa_fun/README.md @@ -12,7 +12,7 @@ Built on [secp256kfun]. ``` toml [dependencies] -ecdsa_fun = "0.8" +ecdsa_fun = "0.9" sha2 = "0.10" # You need a hash function for nonce derivation ``` diff --git a/schnorr_fun/Cargo.toml b/schnorr_fun/Cargo.toml index 3e6f17f6..659c6d36 100644 --- a/schnorr_fun/Cargo.toml +++ b/schnorr_fun/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "schnorr_fun" -version = "0.8.2" +version = "0.9.0" authors = ["LLFourn "] edition = "2021" rust-version = "1.60" @@ -14,10 +14,10 @@ categories = ["cryptography", "cryptography::cryptocurrencies"] keywords = ["bitcoin", "schnorr"] [dependencies] -secp256kfun = { path = "../secp256kfun", version = "0.8", default-features = false } +secp256kfun = { path = "../secp256kfun", version = "0.9", default-features = false } [dev-dependencies] -secp256kfun = { path = "../secp256kfun", version = "0.8", features = ["proptest"] } +secp256kfun = { path = "../secp256kfun", version = "0.9", features = ["proptest"] } rand = { version = "0.8" } lazy_static = "1.4" bincode = "1.0" diff --git a/schnorr_fun/README.md b/schnorr_fun/README.md index eeef2ad5..26ef319f 100644 --- a/schnorr_fun/README.md +++ b/schnorr_fun/README.md @@ -15,7 +15,7 @@ This implementation is based on the [BIP-340] specification, but is flexible eno ``` toml [dependencies] -schnorr_fun = "0.8" +schnorr_fun = "0.9" sha2 = "0.10" ``` diff --git a/secp256kfun/Cargo.toml b/secp256kfun/Cargo.toml index 14814c61..d77a3a0e 100644 --- a/secp256kfun/Cargo.toml +++ b/secp256kfun/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secp256kfun" -version = "0.8.2" +version = "0.9.0" authors = ["LLFourn "] license = "0BSD" homepage = "https://github.com/LLFourn/secp256kfun" @@ -21,7 +21,7 @@ rand_core = { version = "0.6", default-features = false } # optional serde = { version = "1.0", optional = true, default-features = false, features = ["derive"] } -secp256k1 = { version = "0.25", optional = true, default-features = false } +secp256k1 = { version = "0.27", optional = true, default-features = false } proptest = { version = "1", optional = true } bincode = { version = "2.0.0-rc.3", optional = true } diff --git a/secp256kfun/README.md b/secp256kfun/README.md index 97a55ea4..d4ae99d3 100644 --- a/secp256kfun/README.md +++ b/secp256kfun/README.md @@ -28,7 +28,7 @@ _Low-level_ libraries like [parity/libsecp256k1][4] make it possible but the res ```toml [dependencies] -secp256kfun = "0.8" +secp256kfun = "0.9" ``` ### Should use? diff --git a/sigma_fun/Cargo.toml b/sigma_fun/Cargo.toml index cb0cbebc..36e3a091 100644 --- a/sigma_fun/Cargo.toml +++ b/sigma_fun/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sigma_fun" -version = "0.5.1" +version = "0.6.0" authors = ["LLFourn "] edition = "2021" rust-version = "1.60" @@ -16,13 +16,13 @@ readme = "README.md" [dependencies] generic-array = "0.14" digest = "0.10" -secp256kfun = { path = "../secp256kfun", version = "0.8.1", default-features = false, optional = true } +secp256kfun = { path = "../secp256kfun", version = "0.9", default-features = false, optional = true } curve25519-dalek = { package = "curve25519-dalek-ng", version = "4", default-features = false, optional = true, features = ["u64_backend"] } serde = { package = "serde", version = "1.0", optional = true, default-features = false, features = ["derive"] } rand_core = "0.6" [dev-dependencies] -secp256kfun = { path = "../secp256kfun", version = "0.8.1", default-features = false, features = ["proptest"] } +secp256kfun = { path = "../secp256kfun", version = "0.9", default-features = false, features = ["proptest"] } rand = "0.8" sha2 = "0.10" bincode = "1" diff --git a/sigma_fun/README.md b/sigma_fun/README.md index 4b849df1..42109d6d 100644 --- a/sigma_fun/README.md +++ b/sigma_fun/README.md @@ -12,9 +12,9 @@ A rust library for making Sigma protocols fun! ``` toml [dependencies] # For just the traits and combinators -sigma_fun = {version = "0.5", no-default-features = true, features = ["alloc"]} +sigma_fun = {version = "0.6", no-default-features = true, features = ["alloc"]} # To create secp256k1 non-interactive proofs and serialize them -sigma_fun = { version = "0.5", features = ["secp256k1", "serde"] } +sigma_fun = { version = "0.6", features = ["secp256k1", "serde", "alloc"] } # you need a hash function and an rng for non-interactive proofs rand_chacha = "0.3" sha2 = "0.10"