From b1aa2b18da819cb6b236ca77639001c65b19ec6d Mon Sep 17 00:00:00 2001 From: ubbo Date: Wed, 16 Oct 2013 00:12:15 +0000 Subject: try to handle revocation, TODO: test git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@1066 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- gpgcontext.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gpgcontext.cpp') diff --git a/gpgcontext.cpp b/gpgcontext.cpp index 87860d5..31ed77f 100644 --- a/gpgcontext.cpp +++ b/gpgcontext.cpp @@ -77,8 +77,7 @@ GpgKeyList GpgContext::listKeys() key.id = kkey.id(); key.fullid = kkey.fullId(); key.name = kkey.name(); - // TODO - key.revoked = false; + key.revoked = !kkey.valid(); keys.append(key); } -- cgit