This command presents a menu which enables you to perform key-related taskes. The key specifier key specifies the key pair to be edited. If the specifier matches more than one key pair, gpg issues an error and exits.
Key listings displayed during key editing show the key with its secondary keys and all user ids. Selected keys or user ids are indicated by an asterisk. The trust and validity values are displayed with the primary key: the first is the assigned trust and the second is the calculated validity. Letters are used for the values:
|-||No ownertrust assigned / not yet calculated.|
|e||Trust calculation has failed.|
|q||Not enough information for calculation.|
|n||Never trust this key.|
The following lists each key editing command and a description of its behavior.
Makes a signature on the current key. If th key is not yet signed by the default user or the user given with the option local-user, the program displays the information of the key again, together with its fingerprint and asks whether it should be signed. This question is repeated for all users specified with the option local-user.
Same as sign, but the signature is marked as non-exportable and will therefore never be used by others. This may be used to make keys valid only in the local environment.
Revoke a signature. Asks for each signature makde by a one of the private keys whether a revocation certificate should be generated.
Change the owner trust value. This updates the trust database immediately and no save is required.
Enable a key that has been previously disabled.
Change a key expiration time. If a subkey is selected, the time of that key will be changed. With no selection the expiration time of the current primary key is changed.