about summary refs log tree commit diff stats
path: root/notes
diff options
context:
space:
mode:
Diffstat (limited to 'notes')
-rw-r--r--notes/gpg_keys.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/notes/gpg_keys.md b/notes/gpg_keys.md
index f89e91fc..c77a6bde 100644
--- a/notes/gpg_keys.md
+++ b/notes/gpg_keys.md
@@ -1,5 +1,9 @@
 # How to add a comment to gpg keys
-Add it manually, the supported options include (RFC4880):
+Export it as follows:
+```bash
+gpg --export --armor --comment '<keyid>' <add comments for every line in ` gpg -k`> <key_name> > key_out.gpg
+```
+or add it manually, the supported options include (RFC4880):
 
  - "Version", which states the OpenPGP implementation and version
    used to encode the message.