Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Information Security Stack Exchange is a question and answer site for information security professionals. It only takes a minute to sign up.
My encryption subkey (but not my signing or other subkeys) expired. How do I generate and add a new encryption subkey using gpg?
gpg --edit-key <KEY_ID> addkey
(5) Elgamal (encrypt only)
(6) RSA (encrypt only)
source: gpg manpage
Required, but never shown