Closed tschmidtb51 closed 2 years ago
Turns out, the test signature was using a SHA1 hash and https://github.com/ProtonMail/gopenpgp/blob/main/crypto/signature.go#L20 does not allow this hash anymore.
This is fine because BSI's BSI TR-02102-1 2022-01 also does not recommend SHA1.
Currently, an OpenPGP verification fails if two OpenPGP keys are listed in the provider-metadata.json and the file was signed with the first one listed.
Tested with
v0.9.6
csaf_checker
andcsaf_downloader
;csaf_aggregator
might be affected as well.