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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.