Project:Gentoo-keys/Edit an existing OpenPGP key

Note that these instructions are only valid if you have a DSA or RSA key with a primary key with bit length of 2048 bits or higher, if the primary key doesn't satisfy this criteria you need to generate a new OpenPGP key. The same is also the case if the primary key reports wrong usage flags (other than Certify and possibly Sign or Auth capabilities. A key that reports primary key with encryption capabilities needs to be discarded)

How can I change the expiry of my key?
In order to change the expiry of your key you can use

followed by the "expire" command in the interactive view. The expiry should be 3 years or less for the primary key.

How can I add a signing subkey?
In order to add a signing subkey you can use

followed by the "addkey" command. Follow the interactive instructions on how to generate a signing subkey.