mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +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
|
|
@ -309,8 +309,7 @@ func (c *controller) upload(r *http.Request) (interface{}, error) {
|
|||
warn("Publishers in provider metadata and CSAF do not match.")
|
||||
}
|
||||
|
||||
keyID, fingerprint := key.GetHexKeyID(), key.GetFingerprint()
|
||||
pmd.SetPGP(fingerprint, c.cfg.GetOpenPGPURL(keyID))
|
||||
pmd.SetPGP(key.GetFingerprint(), c.cfg.GetOpenPGPURL(key))
|
||||
|
||||
return nil
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue