Skip to content

Commit

Permalink
Merge pull request #163 from LLFourn/v0.9-release
Browse files Browse the repository at this point in the history
v0.9 release
  • Loading branch information
LLFourn authored May 23, 2023
2 parents c4991d4 + 0940911 commit 2bbac08
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 16 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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<EvenY>`

## v0.8.2

- Fixed docsrs
Expand Down
6 changes: 3 additions & 3 deletions ecdsa_fun/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ecdsa_fun"
version = "0.8.1"
version = "0.9.0"
authors = ["LLFourn <lloyd.fourn@gmail.com>"]
edition = "2021"
rust-version = "1.60"
Expand All @@ -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 }

Expand Down
2 changes: 1 addition & 1 deletion ecdsa_fun/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
6 changes: 3 additions & 3 deletions schnorr_fun/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[package]
name = "schnorr_fun"
version = "0.8.2"
version = "0.9.0"
authors = ["LLFourn <lloyd.fourn@gmail.com>"]
edition = "2021"
rust-version = "1.60"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion schnorr_fun/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

Expand Down
4 changes: 2 additions & 2 deletions secp256kfun/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "secp256kfun"
version = "0.8.2"
version = "0.9.0"
authors = ["LLFourn <lloyd.fourn@gmail.com>"]
license = "0BSD"
homepage = "https://github.com/LLFourn/secp256kfun"
Expand All @@ -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 }

Expand Down
2 changes: 1 addition & 1 deletion secp256kfun/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down
6 changes: 3 additions & 3 deletions sigma_fun/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sigma_fun"
version = "0.5.1"
version = "0.6.0"
authors = ["LLFourn <lloyd.fourn@gmail.com>"]
edition = "2021"
rust-version = "1.60"
Expand All @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions sigma_fun/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2bbac08

Please sign in to comment.