Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -1,23 +1,23 @@
# gpg
> Gnu Privacy Guard
> Gnu Privacy Guard.
- sign doc.txt without encryption (writes output to doc.txt.asc)
- Sign doc.txt without encryption (writes output to doc.txt.asc):
`gpg --clearsign {{doc.txt}}`
- encrypt doc.txt for alice@example.com (output to doc.txt.gpg)
- Encrypt doc.txt for alice@example.com (output to doc.txt.gpg):
`gpg --encrypt --recipient {{alice@example.com}} {{doc.txt}}`
- encrypt doc.txt with only a passphrase (output to doc.txt.gpg)
- Encrypt doc.txt with only a passphrase (output to doc.txt.gpg):
`gpg --symmetric {{doc.txt}}`
- decrypt doc.txt.gpg (output to STDOUT)
- Decrypt doc.txt.gpg (output to STDOUT):
`gpg --decrypt {{doc.txt.gpg}}`
- Import a public key
- Import a public key:
`gpg --import {{public.gpg}}`