HOWTO on interfacing with gnupg/pgp2?

disastry@saiknes.lv disastry@saiknes.lv
Mon Jun 25 11:22:01 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Johan Wevers wrote:

>
> You, Werner Koch, wrote:
> >> archives. Pitty that GnuPG can't decrypt conventionally encrypted pgp 2
> >> files.
>
> > That's due to the use of IDEA.
>
> No, also with the IDEA plugin it won't decrypt conventionally encrypted pgp
> 2 files. And since I don't use those files for commercial purposes it would
> not be a violation of the license - if I cared about that.
>
> And if we leave the IDEA matter: when I use a hacked version of pgp 2,
> 2.6.3ia-multi04, with the CAST5 algorithm, I get exactly the same error.
> When I decrypt a conventionally encrypted file with gpg I get a "bed key"
> error, although the used algorithm is recognized:
>
> vulcan:~/tmp> gpg -v nokia.htm.asc
> gpg: armor header: Version: 2.6.3ia-multi04
> gpg: CAST5 encrypted data
> gpg: decryption failed: bad key
>
> The following file is encrypted conventionally with pgp 2.6.3ia-multi04,
> with -cat, using the CAST5 algo, with password "test" (without the ""). I
> can't decrypt it with gpg. I have no problems trying to debug this myself,
> but in which piece of the gnupg code does this go wrong?
damn! but it did worked ! it works with GPG 1.0.4 (with option --digest-algo md5), but not with 1.0.5 and 1.0.6 :-(((((((( 1.0.5 and 1.0.6 doesn't even ask for passphrase :-( Werner, whats wrong ? - -----BEGIN PGP MESSAGE----- Version: 2.6.3ia-multi04 pgAAA41De34Xd0o424XY6vsaFZ0yD1lJpwdIt03DtRPkYZJV/oWzN1NmQIuo7k58 XIHxtwPpZ7WRiJ8i40eqq/7cA8stRIyOC7STAdxNmLwI7N55j01kmn1aehPjy5dp 6+eVbhRLxjidGq036CT4U1vSYRF9C3HzHdnCVGgxr0Uhck/izggqjRCgxEBJqtZM gyqS+iKGvKO8CLNHKU3pxtHWFzwKoFz+9wF2ehF4cxHqm0VqR9MVbCRXawtmoh1e slkyRL6T5eUcPW8SWBqV2EsynDI5qAWODG834F5EVgwa7xqMIBXB4eFGWjPDleWr /XOx234+DOfIktsu6ow/LkWQ9UlnShEoXVPs8M0GonNZb3vb9Dcf9ppA/SOwxA2e ZuHnPG19IlHaU0K3OD2xdYrwDPldtNXQducgjst/ZGQVE+qoEFdVHo544dlxu3y3 vFrYYhl+EO2lJxaCm9QYKwCeOA7SvnBEHXcm77FWdz1kzTiecRFDp78QWhW3W/bT 6b0CnPp7PJ5rYDeX0APH/DjLmTjeUzJd2y3GOc7eNcj9V4P9VbhPyBwoEbLT4EAI /trZpRzRtoTuVQuFGk36wPfWb+ahc7xL5KVuovS5P0HJb2T8y/hVRp2yqmay1YzK QjbG13h0s/iqJY9XHXscmWNmMEToSFV9XfNKpO9MoJGul/7Uz+vXQi4ieyAmEkp8 DRArC20ZVYS0/Xnz86HO8MxgRR1uXo2CfaT0IjUQ168Tz7ogV7wbUYcs27Fm7LyP iR5X7XsWLQ8xAT1j4ILt6PDkReqbukV9xmAPemwr4L3fMyp6fkR6uhdT7l23YeI6 N5eWzOy7uzPHCCMvE1CExX3h5R3oSwUNd21KaCfmnJRzSK7s6l9SxgCNCbK00dWJ XUEsP13/IGX8YuuWbg3GXsVuOlr++LDs640PF8u9AQhfKoYCjLlX/C8WVvb8GHhk TF1qxWRg6sXmwoiXVJKdNGyuzeJwyzsND10IgbR6Geo0xmtsaR08ewueXsptdSAb KhmEc5BY4oHtSk7JfrpeplY75xSjjqkxDK8VKk/mHQMPzve1ztyytJu7DppdxN1R XT78kCH2XDKI8JQyrKZIwODm6gYPPB54cMdNh5FhVApaZnxHqdpqJB06QI3LGeqE hJl2wuIVRFoD4Lxlk1RjgThZ9oywlEjIyXlSCJpiorgT4jVFAlqAWkWcajcfoyrk ztU= =3tjp - -----END PGP MESSAGE----- == <EOF> == Disastry http://i.am/disastry/ http://disastry.dhs.org/pgp <----PGP plugins for Netscape and MDaemon ^--GPG for Win32 (supports loadable modules and IDEA) ^---PGP 2.6.3ia-multi04 (supports IDEA, CAST5, BLOWFISH, TWOFISH, AES, 3DES ciphers and MD5, SHA1, RIPEMD160 hashes) -----BEGIN PGP SIGNATURE----- Version: Netscape PGP half-Plugin 0.15 by Disastry / PGPsdk v1.7.1 iQA/AwUBOzbkhTBaTVEuJQxkEQKkXgCg9FIH8lYT9g32IFgv9+t/tgrpb6kAn0YX 2Qn213HXl3X6YJK29TtsgF8E =oQeL -----END PGP SIGNATURE-----