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

Remove check for empty fingerprint

The schema validation already catches this error and this check will
never run.
This commit is contained in:
koplas 2024-09-06 18:18:37 +02:00
parent 9037574d96
commit c2e24f7bbb
2 changed files with 0 additions and 10 deletions

View file

@ -366,11 +366,6 @@ func (d *downloader) loadOpenPGPKeys(
continue
}
if key.Fingerprint == "" {
slog.Warn("No fingerprint for public OpenPGP key found.")
continue
}
if !strings.EqualFold(ckey.GetFingerprint(), string(key.Fingerprint)) {
slog.Warn(
"Fingerprint of public OpenPGP key does not match remotely loaded",