-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Matthijs Mohlmann wrote:
Hi,
I'm trying to write a plugin for gaim to get GPG encryption support in
gaim. Now i came across the following. I want the user to choose their
secret key. How can i do this ? I have the following piece of code
On Sun, 24 Apr 2005 22:11:01 +0200, Matthijs Mohlmann said:
err = gpgme_op_keylist_start(ctx, NULL, 0);
Replace the 0 by a 1 to list only keys where a secret key is
available.
while (!err) {
uid = key-uids;
subkey = key-subkeys;
printf(%s: %s %s\n, subkey-keyid,