mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Adjust default OpenPGP URL and replace fingeprint ans key id.
This commit is contained in:
parent
df86b112c3
commit
98525ab758
3 changed files with 10 additions and 7 deletions
|
|
@ -110,8 +110,7 @@ func createProviderMetadata(c *config, wellknownCSAF string) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
keyID, fingerprint := key.GetHexKeyID(), key.GetFingerprint()
|
||||
pm.SetPGP(fingerprint, c.GetOpenPGPURL(keyID))
|
||||
pm.SetPGP(key.GetFingerprint(), c.GetOpenPGPURL(key))
|
||||
|
||||
return util.WriteToFile(path, pm)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue