GnuPG and PGP 2.6: unusable public key
disastry@saiknes.lv
disastry@saiknes.lv
Mon Oct 22 11:43:02 2001
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
> Anonymous remailer@remailer.xganon.com wrote:
>
> I have put together a short cheat sheet for GnuPG <-> PGP 2.6 interoperation.
> It is assumed here that you have compiled and enabled the IDEA module
> for GnuPG and that you work on a unix-like OS. Here it is:
>
> ###################################################
> Add your PGP-2 public key to your public gpg keyring (don't use -a)
> pgp -kx my_user_id rsa-key
> gpg --import rsa-key.pgp
> Add your PGP-2 secret key to your secret gpg keyring (don't use -a)
> pgp -kx my_user_id rsa-key-secret ~/.pgp/secring.pgp
> gpg --import rsa-key-secret.pgp
it will not work - you need:
gpg --import --allow-secret-key-import rsa-key-secret.pgp
> rm rsa-key-secret*
>
> Now you can open PGP-2 signed/encrypted/signed+encrypted messages
>
> ###################################################
> Conventional (symmetric) PGP-2 compatible encryption:
> (must know filesize; won't work with pipes)
> file_to_encrypt=top-secret.txt
> gpg --rfc1991 \
> --verbose --digest-algo=md5 --compress-algo 1 --cipher-algo=idea \
> --set-filesize `find $file_to_encrypt -printf '%s'` $file_to_encrypt
>
> Conventional (symmetric) PGP-2 compatible decryption:
> gpg --verbose --digest-algo=md5 --compress-algo 1 --cipher-algo=idea
no need for "--compress-algo 1" when decrypting.
__
Disastry http://disastry.dhs.org/
http://disastry.dhs.org/pgp <----PGP plugins for Netscape and MDaemon
^--GPG for Win32 (supports loadable modules and IDEA)
^----PGP 2.6.3ia-multi05 (supports IDEA, CAST5, BLOWFISH, TWOFISH,
AES, 3DES ciphers and MD5, SHA1, RIPEMD160, SHA2 hashes)
-----BEGIN PGP SIGNATURE-----
Version: Netscape PGP half-Plugin 0.14 by Disastry / PGPsdk v1.7.1
iQA/AwUBO9PLHDBaTVEuJQxkEQN6rQCgzAFr4b4IdlClA3tBoDmxb71yqc4AoMSv
WgGZChg2NSUVjEzK2Hr3Zy08
=abh1
-----END PGP SIGNATURE-----