for signing; selecting a specific private key

Werner Koch wk at gnupg.org
Tue Jun 2 19:16:04 CEST 2015


On Sun, 31 May 2015 20:14, folkert at vanheusden.com said:

> In the key ring I have more then 1 private key so I want to select the
> correct one.
> This fails with: "Unusable secret key (117440566)".

Tou run into this error:

      /* In this case at least one signatures was not created perhaps
         due to a bad passphrase etc.  Thus the entire message is
         broken and should not be used.  We add the already created
         signatures to the invalid signers list and thus this case can
         be detected.  */
      TRACE_LOG3 ("result: invalid signers: %u, signatures: %u, count: %u",
                  inv_signers, signatures, gpgme_signers_count (ctx));

Please enable gpgme debugging at level 3 or higher to get detailed
information.

  GPGME_DEBUG=4:/foo/bar/gpgme.log ./program


Shalom-Salam,

   Werner


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




More information about the Gnupg-devel mailing list