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
failure.
I was not sure if solaris used positive or negative logic relating to
return codes.
If negative then a nonzero return indicates success.
if positive then a nonzero rethrn indicates failure.
o _______________________________
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:
>
>Carl,
>
>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
>to
>return code produced from gpg. If this code is not zero, the script
>will
>die and cause the team to get paged.
>
>In the case originally describe, we were page and had to look into why
>the
>particular file did not decrypt. Running the same gpg command from
>the
>command prompt appeared to run without issue (ie the file was
>decrypted).
>What I was trying to determine by posting here is why the return code
>of 2
>was issued, even though I could manually decrypt the file.
>
>Werner,
>Can you please explain in more detail what would cause the gpg:
>block_filter: 1st length byte missing message? Did something not
>encrypt
>fine on the sender side? Was there an issue during the transmission
>of the
>file? What else can be done to determine the cause?
>
>Thanks Everyone.
>
>Scott Seidl
>Electronic Communication Services
>seidls at schneider.com
>Tel) 920-592-2163
>
>
>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
>strictly
>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
mailing list