HOWTO on interfacing with gnupg/pgp2?
Mon Jun 25 13:17:01 2001

Hash: SHA1

"Huels, Ralf SCORE" wrote:

> > 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 ?
> The included message block decrypts nicely here, using
> "gpg --cipher-algo cast5 nokia.htm.asc" with the official 1.0.6 Windows
> build.
well, now when I saved it to file it decrypted fine, but it did not decrypt when I piped to gpg :-/ 1.0.4 was able to decrypt also from pipe...
> If I don't include the algo option, it fails in this manner:
> | bash-2.04$ gpg -v nokia.htm.asc
> | gpg: armor header: Version: 2.6.3ia-multi04
> | gpg: BLOWFISH encrypted data
oh yes - I had cipher-algo cast5 in options file... you need both --digest-algo md5 --cipher-algo cast5
> Why does Johan seem to have troble getting gpg to detect the digest
> algo whereas the cipher algo seems to be the problem here?
it is not possible to detect digest and cipher algos from PGP 2.x conventionally encrypted files, only way is to try all cipher algos in row (this is what PGP 2.6.3ia-multi04 does) == <EOF> == Disastry <----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/AwUBOzb/fzBaTVEuJQxkEQJR9QCfVFKrNSWf5fklkT4sFE9+1wxTlMsAnjTX zpy+ciK6/srylOF20Gk7n+9i =418k -----END PGP SIGNATURE-----