m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/gpg.md
diff options
context:
space:
mode:
Diffstat (limited to 'gpg.md')
-rw-r--r--gpg.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/gpg.md b/gpg.md
index b76bba3..d4d9fe5 100644
--- a/gpg.md
+++ b/gpg.md
@@ -29,6 +29,10 @@ Add `--armor` to make it readable-ASCII encoded.
gpg --import <key file>
+Receiving a key from key server:
+
+ gpg --recv-key "<key ID>"
+
## Asymmetric crypto
gpg --encrypt [--sign] [-u <signer>] [--recipient <receipient>] file
@@ -54,6 +58,14 @@ use in mutt:
# specify the signing key (by default it's your first one)
gpg --local-user <signing key> --edit-key <key to sign>
+## Key Fingerprint/ID
+
+The long hex fingerprint in `gpg --list-keys` is, as could be expected, a
+standardized hash of the key info.
+
+Sometimes a shorter ID is used -- this is actually a suffix of the full
+fingerprint.
+
## gpg-agent
`gpg-agent` is a daemon that e.g. provides a passphrase cache for GPG. Running