fix(keyring): use a single applied revocation to declare a key revoked
Otherwise the PGP trust and revocation status file will not match our expectations. A single applied revocation to this directory structure should be checked either way. We can later create TODO's to have at least two revocations for the keys that would otherwise be still trusted and then change this value.
This commit is contained in:
parent
878752dc13
commit
03d5899f87
@ -686,7 +686,7 @@ def export_ownertrust(certs: List[Path], output: Path) -> Tuple[List[Fingerprint
|
||||
return trusted_certs, revoked_certs
|
||||
|
||||
|
||||
def export_revoked(certs: List[Path], main_keys: List[Fingerprint], output: Path, min_revoker: int = 2) -> None:
|
||||
def export_revoked(certs: List[Path], main_keys: List[Fingerprint], output: Path, min_revoker: int = 1) -> None:
|
||||
"""Export the PGP revoked status from a set of keys
|
||||
|
||||
The output file contains the fingerprints of all self-revoked keys and all keys for which at least two revocations
|
||||
|
Loading…
Reference in New Issue
Block a user