hnadle MISSING_PASSPHRASE message from gnupg when signing
This commit is contained in:
parent
6cb91601c8
commit
3c8e8c9371
|
@ -447,7 +447,7 @@ class Sign(object):
|
|||
|
||||
def handle_status(self, key, value):
|
||||
if key in ("USERID_HINT", "NEED_PASSPHRASE", "BAD_PASSPHRASE",
|
||||
"GOOD_PASSPHRASE", "BEGIN_SIGNING", "CARDCTRL"):
|
||||
"GOOD_PASSPHRASE", "BEGIN_SIGNING", "CARDCTRL", "MISSING_PASSPHRASE"):
|
||||
pass
|
||||
elif key in ("KEYEXPIRED", "SIGEXPIRED"):
|
||||
self.status = 'key expired'
|
||||
|
|
Loading…
Reference in New Issue