mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Merge pull request #234 from meskio/remove_signatures
Continue if the keyid is not in keydb while checking signatures
This commit is contained in:
commit
bd422ee135
1 changed files with 1 additions and 0 deletions
|
|
@ -374,6 +374,7 @@ def _remove_invalid_and_duplicate_signatures(signable):
|
|||
|
||||
except tuf.UnknownKeyError as e:
|
||||
signable['signatures'].remove(signature)
|
||||
continue
|
||||
|
||||
# Remove 'signature' from 'signable' if it is an invalid signature.
|
||||
if not tuf.keys.verify_signature(key, signature, signed):
|
||||
|
|
|
|||
Loading…
Reference in a new issue