-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ssh-key: accept undersized mpints in ECDSA signatures (#291)
Leading zeros must be stripped from mpint values (per RFC 4251), meaning it's possible to see "short" `mpint` values when using them to construct signatures. These values must be padded with leading zeros before being used in `pXYZ::ecdsa::Signature`, which expect exact-size arrays. See #290 for details.
- Loading branch information
Showing
1 changed file
with
62 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters