-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/apk: switch to SHA2-256 based signatures by default
Remove commented out support for dual-signing, as it is not correctly supported by anything (non-deterministic validation, leading to trusting weakest signature, rather than strongest one). Switch default signing type to RSA256 (RSA signature over SHA2-256 message digest). Provide environment variable opt-out to switch back to RSA (RSA signature over SHA1 message digest). This allows to roll this out, with a runtime escape hatch. BTW I am not sure if anybody uses this API, as I am failing to find any references to SignIndex() call anywhere...
- Loading branch information
Showing
1 changed file
with
28 additions
and
30 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