bug encrypting to RSA keys?
J. Michael Ashley
jashley at tc0-eth1.ind.bluemarble.net
Sat Sep 18 06:36:17 CEST 1999
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am experimenting encrypting a document to a public key generated using
PGP 2.6.2. This command seems to work:
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
where test is 'this is a test message.' with a single newline.
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
I will get an error from pgp 2.6.2 when trying to decrypt the result.
The error is 'Error: Decrypted plaintext is corrupted.' which suggests
a decompression error.
Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjfjaysACgkQBwMqlokEyOKxwQCgiujmMjSGEmxDhHtiOoCLiI4t
5UwAoLf99stPsTEFUfYTM60iZlNvR2GP
=VR9d
-----END PGP SIGNATURE-----
More information about the Gnupg-devel
mailing list