Skip to content

Commit

Permalink
Fix signature version requirement (#203)
Browse files Browse the repository at this point in the history
The crate is now using the `PrehashSigner`/`PrehashVerifier` traits,
which were added in `signature` v1.6.1.

However, that release was also yanked, so this commit pins to 1.6.2.
  • Loading branch information
tarcieri committed Oct 5, 2022
1 parent c880e5f commit cfc27dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ subtle = { version = "2.1.1", default-features = false }
digest = { version = "0.10.5", default-features = false, features = ["alloc", "oid"] }
pkcs1 = { version = "0.4", default-features = false, features = ["pkcs8", "alloc"] }
pkcs8 = { version = "0.9", default-features = false, features = ["alloc"] }
# To keep the `digest` and `rand_core` versions properly pinned, specify exact version
signature = { version = ">=1.5, <1.7", default-features = false , features = ["digest-preview", "rand-preview"] }
signature = { version = "1.6.2", default-features = false , features = ["digest-preview", "rand-preview"] }
zeroize = { version = "1", features = ["alloc"] }

# Temporary workaround until https://github.com/dignifiedquire/num-bigint/pull/42 lands
Expand Down

0 comments on commit cfc27dc

Please sign in to comment.