Some ideas:
Interactive key import/export/delete Put every key on a separate line in a tmp file, and open an editor to it. The user can choose what to work with, kinda like git-rebase. Command names:
:pgp-import-keys
,:pgp-export-keys
,:pgp-manage-keys
(or similar) Alternatives / Aliases::pgp-import
,:pgp-export
,:pgp-manage
Option to pull keys from
gpg
directly Motivation: AFAIKgpg
is the most common program for dealing with PGP keys. Could get key list fromgpg
and integrate with idea 1 Command name::pgp-import --gpg
(or similar)Select default key to use (per account) and store in config file Command name:
:pgp-select-default
or:pgp-select-default-key
Could use a prompt with a numbered list of available keys to choose fromSelect key to use temporarily
:pgp-select
or:pgp-select-key
Applies for signing/encrypting outgoing messages (which is not yet implemented)