gpg 2.1: no error message if gpg-agent or pinentry fail

Werner Koch wk at gnupg.org
Tue Apr 7 19:38:46 CEST 2015


On Sun,  5 Apr 2015 17:33, patrick at enigmail.net said:

> As it looks like, gpg-error is not always installed. I think I can
> live with it, if I know the source of the error.

It is a development tool.

> Is the following interpretation of the error number correct: ?
> - bits 1-24: used for the error code
> - bits 25-31: used for the source of the error as defined in
> gpg_err_source_t. The error sources are guaranteed to be the same
> across all versions of GnuPG.

Yes.  The error source constants are all defined by libgpg-error and
they are thus system wide identical.


Salam-Shalom,

   Werner

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




More information about the Gnupg-devel mailing list