bug encrypting to RSA keys?

Werner Koch wk at gnupg.org
Sat Sep 18 15:02:04 CEST 1999

"J. Michael Ashley" <jashley at tc0-eth1.ind.bluemarble.net> writes:

> While the above works, if I do the following:
>      gpg --no-options --load-extension ~/.gnupg/idea.o --load-extension
>      ~/.gnupg/rsa.o --rfc1991 --cipher-algo idea --compress-algo 1 --encrypt
>      --armor --recipient elmer < test

PGP does not implement "partial length headers" which are needed for 
encrypting a stream (of unknown size).  The workaround in PGP is to
use a temporary file.

GnuPG uses partial length headers to do the encryption and due to
--rfc1991 it should use a pre-OpenPGP way to encode partial lengths.

There is no way to do it.  Maybe pgpgpg has the workaround too.

Werner Koch at guug.de           www.gnupg.org           keyid 621CC013

More information about the Gnupg-devel mailing list