m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gpg.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/gpg.md b/gpg.md
index d54836d..8b7cc2f 100644
--- a/gpg.md
+++ b/gpg.md
@@ -29,6 +29,17 @@ Add `--armor` to make it readable-ASCII encoded.
gpg --encrypt [--sign] [-u <signer>] [--recipient <receipient>] file
+## Key management
+
+Add new email to key:
+
+ gpg --edit-key <key>
+ # This gives an interactive shell
+ > adduid
+ # interactive form to provide name, email, comment
+ > save
+ # saves and quits
+
## gpg-agent
`gpg-agent` is a daemon that e.g. provides a passphrase cache for GPG. Running