diff options
-rw-r--r-- | gpg.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -25,6 +25,10 @@ Add `--armor` to make it readable-ASCII encoded. gpg --armor --export <ID> [--output <file>] +## Import key + + gpg --import <key file> + ## Asymmetric crypto gpg --encrypt [--sign] [-u <signer>] [--recipient <receipient>] file @@ -40,6 +44,16 @@ Add new email to key: > save # saves and quits +Sign a key (changes trust from `unknown` to `full`), apparently necessary for +use in mutt: + + gpg --edit-key <key> + > sign + > save + + # specify the signing key (by default it's your first one) + gpg --local-user <signing key> --edit-key <key to sign> + ## gpg-agent `gpg-agent` is a daemon that e.g. provides a passphrase cache for GPG. Running |