5
1
I am trying to remove the subkey from my OpenPGP key.
Here is the current state:
gpg> uid 1
pub 3072R/C08D1F4B created: 2014-01-05 expires: never usage: SCEA
trust: unknown validity: unknown
sub 3072R/97AFAF8E created: 2014-01-05 expires: never usage: SEA
[ unknown] (1)* Vivarto (Banana) <vivarto@gmail.com>
So, there is a primary key, and a subkey:
pub 3072R/C08D1F4B created: 2014-01-05 expires: never usage: SCEA
sub 3072R/97AFAF8E created: 2014-01-05 expires: never usage: SEA
I'd like to have only the first part
pub 3072R/C08D1F4B created: 2014-01-05 expires: never usage: SCEA
I tried deluid
, but got "You can't delete the last user ID!"
I think my post is not sufficiently clear. What I need is to convert the current gpg key into the "old fashion" pgp key where encryption and signing were done by the same key. Maybe this explanation makes it clearer. – Vivarto – 2014-11-15T19:54:12.107
This is exactly by deleting the subkey. OpenPGP implementations will (by default) choose the newest key capable of the operation desired; if there is no subkey, the primary key will be used. The usage flag show what the key can be used for: S for signing, C for certifications, E for encryption and A for authentication. Your primary key is capable of doing everything, but the subkey will be used if available. – Jens Erat – 2014-11-15T20:27:30.343