From fcef88ccaad2bf3f270600ec951015a440d2f9d0 Mon Sep 17 00:00:00 2001 From: nils Date: Sun, 31 Jan 2010 15:01:11 +0000 Subject: key properties beautified git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@254 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- context.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'context.cpp') diff --git a/context.cpp b/context.cpp index 6ca8b02..b6a781e 100644 --- a/context.cpp +++ b/context.cpp @@ -151,19 +151,9 @@ bool Context::exportKeys(QList *uidList, QByteArray *outBuffer) gpgme_key_t Context::getKeyDetails(QString uid) { -// gpgme_error_t err; gpgme_key_t key; - - /*gpgme_op_keylist_start (mCctx, uid.toAscii().constData(), 0); - gpgme_op_keylist_next (mCtx, &key); - qDebug() << key->subkeys->keyid); - if (key->uids && key->uids->name) - qDebug() << key->uids->name; - if (key->uids && key->uids->email) - qDebug() << key->uids->email; - gpgme_key_release (key);*/ - gpgme_get_key (mCtx, uid.toAscii().constData(), &key, 1); + gpgme_get_key (mCtx, uid.toAscii().constData(), &key, 0); return key; } -- cgit