-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding test vectors for malformed ECDSA signatures and psychic ECDSA
signatures. Both Nimbus-Jose and jose4j do not check the size of ECDSA signatures. The effect is signature malleability. Sometimes standards are a bit fuzzy about accepting alternative encodings. Here, RFC 7518, section 3.4 requires that ES256 signatures are exactly 64 bytes long. NOKEYCHECK=True PiperOrigin-RevId: 513222124
- Loading branch information
Showing
3 changed files
with
207 additions
and
4 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
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
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