Skip to content
Snippets Groups Projects
Commit 7ba05ec2 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

hnadle MISSING_PASSPHRASE message from gnupg when signing

parent f8a0333a
No related branches found
No related tags found
No related merge requests found
...@@ -447,7 +447,7 @@ class Sign(object): ...@@ -447,7 +447,7 @@ class Sign(object):
def handle_status(self, key, value): def handle_status(self, key, value):
if key in ("USERID_HINT", "NEED_PASSPHRASE", "BAD_PASSPHRASE", if key in ("USERID_HINT", "NEED_PASSPHRASE", "BAD_PASSPHRASE",
"GOOD_PASSPHRASE", "BEGIN_SIGNING", "CARDCTRL"): "GOOD_PASSPHRASE", "BEGIN_SIGNING", "CARDCTRL", "MISSING_PASSPHRASE"):
pass pass
elif key in ("KEYEXPIRED", "SIGEXPIRED"): elif key in ("KEYEXPIRED", "SIGEXPIRED"):
self.status = 'key expired' self.status = 'key expired'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment