diff options
author | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-03-25 11:53:10 +0100 |
---|---|---|
committer | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-03-25 11:53:10 +0100 |
commit | a4b0fad555989e17b5f8d5f82088dba0d768063b (patch) | |
tree | 7575f2608137487848f5bab3ddd51fa63e56a4c5 | |
parent | 316487ffb821edf6cd3c47990a812972c0de84a5 (diff) |
Update GPG
-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 |