error in --help

Holger Schurig
Fri, 9 Jul 1999 22:17:06 +0200

GnuPG 0.9.8 displays the supported algorithms wrongly. Look at this output:

holger:~$ grep load-extension .gnupg/options
load-extension tiger
load-extension skipjack
load-extension rsa
load-extension idea
holger:~$ gnupg --help | head -11
gpg (GnuPG) 0.9.8
Copyright (C) 1999 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

Supported algorithms:
Pubkey: ELG-E, DSA, ELG
Hash: MD5, SHA1, RIPEMD160

But in fact GnuPG loads those modules really into memory and uses them.
It's just that the helptext get's displayed before the options file
get executed. Therefore the output of suggested algorithms is static.

Holger Schurig  |  Die Botschaft vom Kreuz ist dem
Renzstr. 31     |  Unglaeubigen eine Torheit.
74821 Mosbach   |                1. Korinther 1:18