forked from sigstore/sigstore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify hashes when comparing target meta. (sigstore#1247)
Before the default (sha512) hash function was the only one used when comparing hashes. This commit makes the choice explicit instead of depending on go-tuf's default vaule. Now sha256 and sha512 are recognized as valid hash functions. Also this commit does not hide the error from go-tuf's underlying methods used to verify the target's meta. Signed-off-by: Fredrik Skogman <[email protected]>
- Loading branch information
1 parent
fa4a91d
commit b90ad76
Showing
1 changed file
with
11 additions
and
9 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