Skip to content

ed25519: remove deprecated infallible conversions#564

Merged
tarcieri merged 1 commit intomasterfrom
ed25519/remove-deprecated-methods
Nov 1, 2022
Merged

ed25519: remove deprecated infallible conversions#564
tarcieri merged 1 commit intomasterfrom
ed25519/remove-deprecated-methods

Conversation

@tarcieri
Copy link
Copy Markdown
Member

@tarcieri tarcieri commented Nov 1, 2022

The v1.0 release of ed25519 included infallible conversions from [u8; 64], however that was retroactively changed to reject signatures which overflowed the field modulus, so those methods were deprecated and changed to panicking conversions.

Now that the crate is on v2.0.0-pre, we can remove those deprecated methods.

Closes #563.

The v1.0 release of `ed25519` included infallible conversions from
`[u8; 64]`, however that was retroactively changed to reject signatures
which overflowed the field modulus, so those methods were deprecated and
changed to panicking conversions.

Now that the crate is on v2.0.0-pre, we can remove those deprecated
methods.
@tarcieri tarcieri merged commit f90f819 into master Nov 1, 2022
@tarcieri tarcieri deleted the ed25519/remove-deprecated-methods branch November 1, 2022 15:20
@tarcieri tarcieri mentioned this pull request Jan 16, 2023
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.

Potential panic in Signature::try_from

1 participant