Non-Zero return code on successful decryption?
carl w spitzer
cwsiv_home1 at juno.com
Wed Nov 12 18:18:41 CET 2003
usually a zero return code means successful completion and nonzero a
I was not sure if solaris used positive or negative logic relating to
If negative then a nonzero return indicates success.
if positive then a nonzero rethrn indicates failure.
o _____ | CWSIV_HOME1 at JUNO.COM |
.][__n_n_|DD[ ====_____ | M A R K L I N T R A I N S |
_/oo OOOOO oo` ooo ooo 'o!o!o o!o!o`
On Tue, 4 Nov 2003 17:39:43 -0600 seidls at schneider.com writes:
>I'm not quite sure what you are looking for with your question.
>What I can tell you is that in the shell script I am running, I check
>return code produced from gpg. If this code is not zero, the script
>die and cause the team to get paged.
>In the case originally describe, we were page and had to look into why
>particular file did not decrypt. Running the same gpg command from
>command prompt appeared to run without issue (ie the file was
>What I was trying to determine by posting here is why the return code
>was issued, even though I could manually decrypt the file.
>Can you please explain in more detail what would cause the gpg:
>block_filter: 1st length byte missing message? Did something not
>fine on the sender side? Was there an issue during the transmission
>file? What else can be done to determine the cause?
>Electronic Communication Services
>seidls at schneider.com
>This document, and any attachments therein, contains proprietary and
>confidential information that may not be disclosed without the prior
>written permission of Schneider National, Inc. and its subsidiaries.
>Unauthorized use or misuse of this information and its contents is
>prohibited. Schneider National, Inc. vigorously protects its rights.
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
More information about the Gnupg-users