edit gpg key commands code example Example: edit gpg key gpg --edit-key 0123456789ABCDEF # Where 0123456789ABCDEF is your GPG Key ID