BUG?: gpg 1.4.9 uses incorrect OpenPGP key type when creating subkeys via --edit-key
adam at adammil.net
Fri Jul 4 00:49:06 CEST 2008
When creating RSA Encrypt-Only (type 2) or RSA Sign-Only (type 3)
subkeys using the --edit-key "addkey" command, gpg 1.4.9 seems to create
the subkey as type 1 (RSA [Encrypt or Sign]).
Either that, or --list-keys --with-colons reports the type as 1 even
when it's actually 2 or 3.
Since GPG forces the user to choose RSA Encrypt-Only or RSA Sign-Only,
you'd expect it to actually use that in the created subkey.
Is there some reason for this? Backwards compatibility maybe? Or is it
just a bug?
More information about the Gnupg-devel