gpg 1.0.7: --edit-key/pref bug?

Stéphane Corthésy stephane@sente.ch
Sun Jul 28 16:27:01 2002


Hi,

I think I found a bug in command --edit-key: when listing preferences 
for a key, using command 'showpref' or 'pref' doesn't give the same 
results.

Command> pref
pub  1024D/87978569  created: 1999-05-13 expires: never      trust: -/-
(1)  Marcus Brinkmann
      S10 S3 H3 H2 Z2 Z1
(2). Marcus Brinkmann <brinkmd@debian.org>
      S10 S3 H3 H2 Z2 Z1
(3)  Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
      S10 S3 H3 H2 Z2 Z1

Command> showpref
pub  1024D/87978569  created: 1999-05-13 expires: never      trust: -/-
(1)  Marcus Brinkmann
      Cipher: TWOFISH, CAST5, 3DES
      Hash: RIPEMD160, SHA1
      Compression: ZLIB, ZIP
(2). Marcus Brinkmann <brinkmd@debian.org>
      Cipher: TWOFISH, CAST5, 3DES
      Hash: RIPEMD160, SHA1
      Compression: ZLIB, ZIP
(3)  Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
      Cipher: TWOFISH, CAST5, 3DES
      Hash: RIPEMD160, SHA1
      Compression: ZLIB, ZIP

Note that when using 'pref', there are only two cipher algorithms listed 
(S10 S3), but when using 'showpref', three of them are listed (TWOFISH, 
CAST5, 3DES). 3DES is not listed with 'pref'.

Stéphane