1.0.7 and '--digest-algo MD5'
Werner Koch
wk@gnupg.org
Sun May 5 17:27:01 2002
On Sat, 4 May 2002 22:27:40 +0200, Norbert Tretkowski said:
> /usr/bin/gpg --digest-algo MD5 -a -u "$PGPSigner" -o $pgptmpf.txt.asc \
> --no-tty --batch --passphrase-fd 2 2<$PathtoPGPPass --clearsign \
> $pgptmpf.txt
If $PGPSigner is a DSA key, gpg should return an error because this
hash algorithm can't be used with DSA - a algorithm which yields a 160
bit digest but be used (SHA-1 or RIPE-MD160). 1.0.6 erroneously
didn't complain about wrong hash algorithms.