m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-10-06 11:08:38 +0200
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-10-06 11:08:38 +0200
commit0e19fdc1d2815126b85409de7439cdc241e05f85 (patch)
tree67bdb40867bc9a650f1495a41c4ce40c35dac443
parent98662b9c7adde62fb4f0a69d37f2a5401633f798 (diff)
Update GPG tips
-rw-r--r--gpg.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/gpg.md b/gpg.md
index 00a6850..569a91e 100644
--- a/gpg.md
+++ b/gpg.md
@@ -21,8 +21,10 @@ Add `--armor` to make it readable-ASCII encoded.
gpg --armor --export-secret-keys <ID>
-`--armor` makes it readable-ASCII encoded.
+## Export public key
+
+ gpg --armor --export <ID> [--output <file>]
## Asymmetric crypto
- gpg --encrypt [--sign] [-u USER] file
+ gpg --encrypt [--sign] [-u <signer>] [--recipient <receipient>] file