m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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