From kde-pim Mon May 22 14:19:08 2006 From: Stefan Gehn Date: Mon, 22 May 2006 14:19:08 +0000 To: kde-pim Subject: Re: [Kde-pim] Kleo job for fetching public gpg keys? Message-Id: <200605221619.08300.mETz81 () web ! de> X-MARC-Message: https://marc.info/?l=kde-pim&m=114830757315257 Am Sonntag, 21. Mai 2006 14:21 schrieb Stefan Gehn: > I'm currently a bit lost in libkleopatra. Is there a job that downloads > and/or imports keys into the local keyring? > According to the gpgme docs it's similar to key-listing except that you > have to call gpgme_set_keylist_mode() with GPGME_KEYLIST_MODE_EXTERN as > mode (in contrary to GPGME_KEYLIST_MODE_LOCAL which is the default one and > lists keys from the local keyring). QGpgMEKeyListJob only seems to support > local listing. Found the solution myself, it's: Kleo::KeyListJob *CryptPlugWrapper::keyListJob(bool remote, bool includeSigs, bool validate) which can probably fetch keys if "remote" is true (the code at least looks like it should work, it does set the keylist_mode in the gpgme backend). Bye, Stefan aka mETz _______________________________________________ kde-pim mailing list kde-pim@kde.org https://mail.kde.org/mailman/listinfo/kde-pim kde-pim home page at http://pim.kde.org/