[gpgme]Bug when getting signatures !?

Werner Koch wk at gnupg.org
Thu Oct 4 12:10:41 CEST 2012


On Wed,  3 Oct 2012 17:42, jeanjacquesbrucker at gmail.com said:

> I finnaly try to get from public key instead of private (gpgme_get_key(...,0) instead of gpgme_get_key(...,1)) ... and... It works !

That problem will go away with GnuPG 2.1.  Gpg < 2.1 uses separate code
for private and public keys - despite that the private key is just the
public key plus the private parts.  Keeping them in sync is too hard and
thus we opted not to do this.  GPG >= 2.1 uses the same code for both
listing types with --list-secret-keys being just a filter showing only
those public keys where a corresponding private key is available.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list