[gpgme] How to list all keys with secret keys
Marcus Brinkmann
Marcus.Brinkmann at ruhr-uni-bochum.de
Fri Apr 18 21:25:02 CEST 2003
On Thu, Apr 17, 2003 at 10:40:56PM +0200, Florian Lindner wrote:
> When I start the listing like that:
> gpgme_op_keylist_start(CTX, NULL, 0);
You mean CTX, NULL, 1 here.
> It delivers one key, with the same UserID but IS_SECRET says 1.
> Why? I thought it is the same key?
A secret key is a different key from the public key. Together they are a
key pair. Both belong to the same user. Both are individually stored and
manipulated (listed, etc) as far as GPGME is concerned.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org marcus at gnu.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann at ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/
More information about the Gnupg-devel
mailing list