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
No known key found for this signature in database
GPG Key ID: FC1B547C8D8172C8

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: