Thomas Roessler | 26 Feb 11:16

Re: GnuPG, mutt, and exit codes

On 2003-02-25 18:48:25 -0500, David Shaw wrote:

> GnuPG does set a non-zero exit code when it fails.  Is there some
> reason that mutt doesn't check it?  Here's a patch.

I'm not entirely sure any more, but this rings some bell in the back
of my mind that old PGP versions may return "failure" exit codes
when encryption succeeds, but the recipients' keys weren't
completely valid.  So, yes, I think there was some reason for doing
it this way.

(On the other hand -- who uses PGP 2.6 any more?)

--

-- 
Thomas Roessler				<roessler <at> does-not-exist.org>


Gmane