mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Compare fingerprints case-insensitive
This commit is contained in:
parent
1e3f5ee1c4
commit
922e468d99
2 changed files with 2 additions and 2 deletions
|
|
@ -996,7 +996,7 @@ func (p *processor) checkPGPKeys(domain string) error {
|
|||
continue
|
||||
}
|
||||
|
||||
if ckey.GetFingerprint() != string(key.Fingerprint) {
|
||||
if !strings.EqualFold(ckey.GetFingerprint(), string(key.Fingerprint)) {
|
||||
p.badPGPs.error("Fingerprint of public OpenPGP key %s does not match remotely loaded.", u)
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue