Skip to content

Commit a9e6836

Browse files
Smári McCarthyBjarniRunar
Smári McCarthy
authored andcommitted
Good instructions for bad key handling.
1 parent 3491d45 commit a9e6836

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

mailpile/plugins/crypto_utils.py

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,20 @@ def command(self):
347347
if k_info['description'] is not None:
348348
details.append(k_info)
349349
if is_serious:
350-
fixes += [[_('Disable bad keys:'),
351-
_('Run: %s') % '`gpg --edit-key %s`' % fprint,
352-
_('Type: %s') % '`disable`, `save`']]
350+
fixes += [[_('Revoke bad keys:'),
351+
_('Run: %s') % ('`gpg --gen-revoke %s`' % fprint),
352+
_('Follow the instructions given'),
353+
_('A block of text will be shown on your screen.'),
354+
_('Send that block to contacts that have your key.'),
355+
_('You can search for %s to find people who have it.') %
356+
'`is:encrypted to:me`'
357+
],[
358+
_('Disable bad keys:'),
359+
_('Run: %s') % ('`gpg --edit-key %s`' % fprint),
360+
_('Type %s') % '`disable`',
361+
_('Type %s') % '`save`',
362+
_('You\'re done!'),
363+
]]
353364
serious += 1
354365
if fprint not in good_keys:
355366
bad_keys[fprint] = info

0 commit comments

Comments
 (0)