Compatibility GPG/PGP - FAQ addenum
Mon, 22 Jan 2001 17:36:04 +0100 (CET)
>>>"IT" == Ivo Truxa <firstname.lastname@example.org> writes:
IT> GnuPG FAQ http://www.gnupg.org/faq.html#q5.1, chapter "How can I encrypt a
IT> message so that PGP 2.x is able to decrypt it?" states:
IT> "Please don't pipe the data to encrypt to gpg but give it as a filename;
IT> otherwise, PGP 2 will not be able to handle it."
(I didn't write the above - I merely included it in the current FAQ)
IT> I encountered the same problem when trying to send message to Windows PGP
IT> 6.5.3. I told me that the problem must be in the difference of line breaks
IT> handling, and indeed when I changed the source file to contain CR/LF pairs
IT> (a requested by DOS/Windows), it can be read by PGP quite fine (if I do not
IT> add the extra CR's, I am getting "No valid PGP message blocks found!" on the
IT> PGP end).
IIRC, the problem with PGP2 is that gpg has to know the length of the
input in order to encrypt it in a way that PGP can handle it. If you pipe
it to gpg, then you don't have that info. The resulting file format can
then not be read by PGP2 (I think it's called "partial length headers").
IIRC, PGP6x can read partial length headers. If you can fix your problem
by changing LF to CR/LF, then I'd assume that your problem is different
to the one described in the above FAQ question.
Werner, what's your take on this?
Nils Ellmenreich, Lst. f. Programmierung, Universitaet Passau, Germany
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to email@example.com