aboutsummaryrefslogtreecommitdiffstats
path: root/gpgcontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gpgcontext.cpp')
-rw-r--r--gpgcontext.cpp3
1 files changed, 1 insertions, 2 deletions
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);
}