GnuPG return codes

Werner Koch wk at gnupg.org
Thu Apr 19 14:07:27 CEST 2007


On Wed, 18 Apr 2007 20:04, jimoe at sohnen-moe.com said:

>   Where can I find a list of the program return codes? The man page
> describes 0 (success), 1 (bad signature), and "other error codes for fatal
> errors."
>   What are the "other" return codes?

Don't rely on the return codes; they are not well defined.  Use the
status interface to get hands on the reuslt.  An exception is gpgv which
is guaranteed to return success if the signature is good and
trustworthy.


Shalom-Salam,

   Werner




More information about the Gnupg-users mailing list