[Resend] Assistance with decryption failure, gpg unable to find secret key that actually exists

Werner Koch wk at gnupg.org
Thu Aug 18 09:14:27 CEST 2016


On Thu, 18 Aug 2016 07:22, gniibe at fsij.org said:

> In libgpg-error/doc/errorref.txt, it says:
>
> 	18	GPG_ERR_WRONG_SECKEY		Wrong secret key used

BTW, the tool gpg-error is a quick way to get this data:

  $ gpg-error 18
  18 = (0, 18) = (GPG_ERR_SOURCE_UNKNOWN, GPG_ERR_WRONG_SECKEY) \
               = (Unspecified source, Wrong secret key used)

You can also do "gpg-error --list" to grep for things.  errorref.txt has
more detailed descriptions for some error codes.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
 /* Join us at OpenPGP.conf  <https://openpgp-conf.org> */




More information about the Gnupg-users mailing list