mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Use Key ID instead of fingerprint in OpenPGP URL interpolation.
This commit is contained in:
parent
9cf4a7cb5c
commit
fbe20dbf60
2 changed files with 19 additions and 17 deletions
|
|
@ -101,8 +101,8 @@ func createProviderMetadata(c *config, wellknownCSAF string) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
fingerprint := key.GetFingerprint()
|
||||
pm.SetPGP(fingerprint, c.GetOpenPGPURL(fingerprint))
|
||||
keyID, fingerprint := key.GetHexKeyID(), key.GetFingerprint()
|
||||
pm.SetPGP(fingerprint, c.GetOpenPGPURL(keyID))
|
||||
|
||||
return saveToFile(path, pm)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue