diff options
| author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-01-31 16:01:11 +0100 |
|---|---|---|
| committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-01-31 16:01:11 +0100 |
| commit | fcef88ccaad2bf3f270600ec951015a440d2f9d0 (patch) | |
| tree | a9e56a651f94beeb7d0736ee718896b981b57159 /context.cpp | |
| parent | set the minimum key size to 768 bit in key generation (gnupg requires el-gama... (diff) | |
| download | gpg4usb-fcef88ccaad2bf3f270600ec951015a440d2f9d0.tar.gz gpg4usb-fcef88ccaad2bf3f270600ec951015a440d2f9d0.zip | |
key properties beautified
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@254 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'context.cpp')
| -rw-r--r-- | context.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
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<QString> *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; } |
