[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PGP vs. GnuPG again... sorry



--On Sat, Nov 7, 1998 12:02 pm +0100 "Martin Bialasinski"
<martin@internet-treff.uni-koeln.de> wrote: 

>>> "ZP" == Zed Pobre <zed@moebius.interdestination.com> writes:
> 
> ZP> Had you considered abandoning the exit code check and instead
> ZP> grepping through the output for "BAD signature"?  Sorry for the lack
> 
> In what way should this be better?
> 
>>From the PGP Userguide, Volume II :
> 
>    An exit status code of zero means normal exit, while a nonzero exit
>    status indicates some kind of error occurred.  Different error exit
>    conditions return different exit status codes to the shell.
> 
> This looks like a pretty good check actually.

The point is that GPG is 'broken' w.r.t to exit codes.  However, Debian
would like to transition to GPG a.s.a.p. since PGP is painfully non-free.

Therefore, the suggestion was to use the words in the output rather than the
exit code as a work-around until the GPG team fix the exit codes.

Jules

/----------------+-------------------------------+---------------------\
|  Jelibean aka  | jules@jellybean.co.uk         |  6 Evelyn Rd        |
|  Jules aka     | jules@debian.org              |  Richmond, Surrey   |
|  Julian Bean   | jmlb2@hermes.cam.ac.uk        |  TW9 2TF *UK*       |
+----------------+-------------------------------+---------------------+
|  War doesn't demonstrate who's right... just who's left.             |
|  When privacy is outlawed... only the outlaws have privacy.          |
\----------------------------------------------------------------------/



Reply to: