Wiki/gpg.md

456 B

GPG

Renew Expired Key

  • Figure out key to update: gpg --list-keys
  • Edit Key: gpg --edit-key <keyid>
  • Update Primary Key
    • Select primary key: key 0
    • Select expiration date: expire
    • Enter duration
  • Update Sub-Key
    • Select sub key: key 1
    • Update expiration: expire
    • Enter duration
  • May have to repeat these steps for key 2 ...
  • Exit: save and quit

Export key

  • gpg --armor --export <emailOfKey>