1
0
forked from extern/nix-config
donovanglover-nix-config/help/gpg.md

17 lines
425 B
Markdown
Raw Normal View History

2017-11-06 07:32:10 +01:00
GPG, also known as the GNU Privacy Guard, is a free and open source implementation of the OpenPGP standard.
# Creating Keys
- Key: RSA and RSA
- Keysize: 4096 bits
- Valid for: 1y (1 year)
## Encrypting Files
- Encrypt <IN> with a password and output the results to <OUT>: `gpg -c <IN> -o <OUT>`
## Decrypting Files
- Decrypt <IN> and output the results to <OUT>: `gpg -d <IN> -o <OUT>`
- Decrypt <IN> `gpg <filename>`