Skip to content

Conversation

@chipshort
Copy link
Contributor

closes #1789

The key recovery api changed a bit and seems to support RecoveryId 3 now, so I'm erroring manually in that case.

@chipshort chipshort requested a review from webmaster128 July 27, 2023 11:19
Copy link
Member

@webmaster128 webmaster128 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In RustCrypto/signatures#392 it is explained that the values 2 and 4 are not needed for ECDSA+secp256k1 but for ECDSA+other curves. The secp256k1 specific implementation was removed:

ecdsa::recoverable module; see documentation for replacements (RustCrypto/elliptic-curves#675)

#1803 just refactors away the .unwrap() but is otherwise doing the same thing.

@chipshort chipshort merged commit d5eaa62 into main Jul 31, 2023
@chipshort chipshort deleted the 1789-upgrade-k256 branch July 31, 2023 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade k256 to 0.13

3 participants