61f6b9e
b791d0f
@@ -60,7 +60,8 @@
gpgme.STATUS_KEYEXPIRED,
gpgme.STATUS_PROGRESS,
gpgme.STATUS_KEY_CREATED,
- gpgme.STATUS_ALREADY_SIGNED):
+ gpgme.STATUS_ALREADY_SIGNED,
+ gpgme.STATUS_KEY_CONSIDERED):
return
try:
data = gen.send((status, args))
@@ -141,6 +141,7 @@
CONST(STATUS_POLICY_URL),
CONST(STATUS_BEGIN_STREAM),
CONST(STATUS_END_STREAM),
+ CONST(STATUS_KEY_CONSIDERED),
CONST(STATUS_KEY_CREATED),
CONST(STATUS_USERID_HINT),
CONST(STATUS_UNEXPECTED),
@@ -32,7 +32,9 @@
'signonly.pub', 'signonly.sec']
def edit_quit_cb(self, status, args, fd):
- if status in [gpgme.STATUS_EOF, gpgme.STATUS_GOT_IT]:
+ if status in [gpgme.STATUS_EOF,
+ gpgme.STATUS_GOT_IT,
+ gpgme.STATUS_KEY_CONSIDERED]:
self.status = status
self.args = args
KEY_CONSIDERED has 2 meanings: The key has not been selected All subkeys of the key are expired or have been revoked
Both of them are definitely good candidates for ignoring for edit utils.
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=ff71521d9698c7c5df94831a1398e948213af433 https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=315fb73d4a774e2c699ac1804f5377559b4d0027
References: https://bugzilla.redhat.com/show_bug.cgi?id=1359521 Signed-off-by: Igor Gnatenko ignatenko@redhat.com
1 new commit added
Merged.
Pull-Request has been closed by ignatenkobrain
KEY_CONSIDERED has 2 meanings:
The key has not been selected
All subkeys of the key are expired or have been revoked
Both of them are definitely good candidates for ignoring for edit utils.
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=ff71521d9698c7c5df94831a1398e948213af433
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=315fb73d4a774e2c699ac1804f5377559b4d0027
References: https://bugzilla.redhat.com/show_bug.cgi?id=1359521
Signed-off-by: Igor Gnatenko ignatenko@redhat.com