From 9741ada9ef73af501b3048efc804fb5e8ac3d15d Mon Sep 17 00:00:00 2001 From: Levente Polyak Date: Tue, 9 Nov 2021 00:22:08 +0100 Subject: [PATCH] fix(keyringctl): put subkey revocations into the correct subkey dirs --- libkeyringctl/keyring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libkeyringctl/keyring.py b/libkeyringctl/keyring.py index 5216210..0f22a79 100644 --- a/libkeyringctl/keyring.py +++ b/libkeyringctl/keyring.py @@ -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: