-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-encode ECDSA CRL signature during MSP setup
Perform an asn1.Unmarshal of ECDSA CRL signatures to extract R and S using the same mechanism as Go 1.14 and then re-marshal the signature. This pattern removes any extra bytes from the signature that would cause Go 1.15 to treat the signature as invalid. Without this change, existing CRL signatures that are considered valid in Go 1.14 would no longer be considered valid in Go 1.15 resulting in a validation behavior change. Signed-off-by: Matthew Sykes <[email protected]>
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 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