Skip to content

Commit eca04eb

Browse files
authored
Set username when Verify uses a signing key that has expired or been (#262)
1 parent acfa898 commit eca04eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gnupg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def update_sig_info(**kwargs):
392392
elif key in ('EXPKEYSIG', 'REVKEYSIG'): # pragma: no cover
393393
# signed with expired or revoked key
394394
self.valid = False
395-
self.key_id = value.split()[0]
395+
self.key_id, self.username = value.split(None, 1)
396396
if key == 'EXPKEYSIG':
397397
self.key_status = 'signing key has expired'
398398
else:

0 commit comments

Comments
 (0)