gpg 1.0.7: --edit-key/pref bug?
David Shaw
dshaw@jabberwocky.com
Sun Jul 28 16:48:02 2002
On Sun, Jul 28, 2002 at 04:28:23PM +0200, St=E9phane Corth=E9sy wrote:
> Hi,
>=20
> I think I found a bug in command --edit-key: when listing preferences=20
> for a key, using command 'showpref' or 'pref' doesn't give the same=20
> results.
[..]
> Note that when using 'pref', there are only two cipher algorithms liste=
d=20
> (S10 S3), but when using 'showpref', three of them are listed (TWOFISH,=
=20
> CAST5, 3DES). 3DES is not listed with 'pref'.
That's not a bug, that's a feature ;)
'pref' shows the preferences that actually exist on the key.
'showpref' shows the preferences that will actually be used. This
means that if you don't have 3DES actually listed on the key, it will
be automatically added on the end.
I'm wondering if I should put the "automatic" 3DES in (parentheses) or
something to help make this clear.
David
--=20
David Shaw | dshaw@jabberwocky.com | WWW http://www.jabberwocky.co=
m/
+------------------------------------------------------------------------=
---+
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence." - Jeremy S. Anderson