fix(keyringctl): put subkey revocations into the correct subkey dirs

This commit is contained in:
Levente Polyak
2021-11-09 00:22:08 +01:00
parent 17d27e2274
commit 9741ada9ef

View File

@ -222,7 +222,7 @@ def convert_certificate( # noqa: ignore=C901
if signature_type == "SubkeyBinding":
subkey_bindings[current_packet_fingerprint].append(packet)
elif signature_type == "SubkeyRevocation":
subkey_revocations[certificate_fingerprint].append(packet)
subkey_revocations[current_packet_fingerprint].append(packet)
else:
raise Exception(f"unknown signature type: {signature_type}")
else: