m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-03-06 12:35:15 +0100
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-03-06 12:35:15 +0100
commitbce91cf81c954b4f3e520aef3a850417d7c58e42 (patch)
treed38e8abe8fb90f46e53a5cbafa5be087887fca98
parent23deb76dc2da8fdbe3f4e75e13ba2967f84919a4 (diff)
Add GPG key editing
-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