Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh-key: handle leading zeroes in Mpint::from_positive_bytes #171

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

tarcieri
Copy link
Member

Changes the method to allow leading zeroes, stripping them and readding a leading one if need be.

Closes #170

Changes the method to allow leading zeroes, stripping them and readding
a leading one if need be.

Closes #170
@tarcieri tarcieri merged commit 414a90b into master Oct 20, 2023
13 checks passed
@tarcieri tarcieri deleted the ssh-key/handle-mpint-leading-zeroes branch October 20, 2023 19:19
@tarcieri tarcieri mentioned this pull request Nov 21, 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.

EcdsaKeypair::try_sign sometimes fail with Error::FormatEncoding
1 participant