1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Adjust provider for new CSAF CSD02 schema

* Replace "pgp_keys" with "public_openpgp_key" in the provider-metadata.json.

resolve #112
This commit is contained in:
Fadi Abbud 2022-04-28 20:46:37 +02:00 committed by GitHub
parent 13cd14738b
commit 8bf48a2de2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -924,7 +924,7 @@ func (p *processor) checkPGPKeys(domain string) error {
p.badPGPs.use()
src, err := p.expr.Eval("$.pgp_keys", p.pmd)
src, err := p.expr.Eval("$.public_openpgp_keys", p.pmd)
if err != nil {
p.badPGPs.add("No public OpenPGP keys found: %v.", err)
return errContinue