Exit status and failed decryption of session key
Frank Tobin
ftobin@uiuc.edu
Fri, 21 Apr 2000 11:23:47 -0500 (CDT)
Florian Weimer, at 15:36 +0200 on 21 Apr 2000, wrote:
> Bug or feature? It's quite annoying if you want to find out whether
> decryption succeed by looking at the exit status.
There are so many issues that can happen as the result of an OpenPGP
operation. One could verify a signature, but not have the public key or a
web-of-trust line, or one could have the issue you talked aobut,
etc. What you should really look into is parsing the output of the option
"status-fd", which has information described in GnuPG's DETAILS file.
--
Frank Tobin http://www.uiuc.edu/~ftobin/
"To learn what is good and what is to be valued,
those truths which cannot be shaken or changed." Myst: The Book of Atrus