m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/gpg.md
diff options
context:
space:
mode:
authorMartin Chrzanowski <martin@celo.org>2019-01-12 16:55:37 -0500
committerMartin Chrzanowski <martin@celo.org>2019-01-12 16:55:37 -0500
commit8feeb19278b475c1743d05a890b769d2e16b0336 (patch)
tree7e905b8421020566264c66b10de1d94324c63b5c /gpg.md
parent014e4bc2b61208a677ef0b50a220f1403b164bdc (diff)
parentf99bd96f3fb0b92f2e73498dd82571143587f393 (diff)
Merge branch 'master' of https://gitlab.com/m-chrzan/cheatsheets
Diffstat (limited to 'gpg.md')
-rw-r--r--gpg.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/gpg.md b/gpg.md
new file mode 100644
index 0000000..2956dab
--- /dev/null
+++ b/gpg.md
@@ -0,0 +1,9 @@
+# GPG Crypto
+
+## Encrypt file with passphrase
+
+ gpg --symmetric <file>
+
+### Decrypt
+
+ gpg --output <out-file> --decrypt <in-file>