[issue214] gpgme: add gpgme_key_t->fpr

Werner Koch wk at gnupg.org
Fri Jul 2 10:24:31 CEST 2004


On Sat, 05 Jun 2004 12:41:52 +0000, Marc Mutz said:

key-> subkeys->next->fpr that I should use. What happens if the first subkey is  
> deleted from a key, or revoked? This looks even more curious in gpgme++: 

Subkeys are only used by OpenPGP and an OpenPGP application handles
them transparently - i.e. a user does not need to care about it.  All
he has to know is the fingerprint which is technically the one of the
primary key.

It is intentionally that only the primary key is used and furthermore,
even if you speicify a subkey, gpg will just use thar one to locate
the primary key and use it.  There is an algorithm to decide whether
the primary key or one of the subkeys will actully be used.  This all
works automagically and allows for automatic key roll over.


Salam-Shalom,

   Werner





More information about the Gpa-dev mailing list