Non-Zero return code on successful decryption?
Werner Koch
wk at gnupg.org
Wed Nov 5 10:48:46 CET 2003
On Tue, 4 Nov 2003 17:39:43 -0600, seidls said:
> 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?
OpenPGP messages consists of a header byte, followed by the length of
the actuall message. The header byte defines how the length bytes are
encoded; one form of encoding is a partial encoding where the length
is just the length of the next chunk, followed by the length of the
follwoing chunk and so on. The problem at hand is that the header
byte says that such a partial length follows but that length could
not be read due to a read error or EOF.
Adding the option "--debug 16" should give more insight - the last
couple of debug lines should be sufficient. "--debug 17" will be even
more verbose.
Werner
--
Werner Koch <wk at gnupg.org>
The GnuPG Experts http://g10code.com
Free Software Foundation Europe http://fsfeurope.org
More information about the Gnupg-users
mailing list