[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] Kleo job for fetching public gpg keys?
From:       Stefan Gehn <mETz81 () web ! de>
Date:       2006-05-22 14:19:08
Message-ID: 200605221619.08300.mETz81 () web ! de
[Download RAW message or body]

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/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic