Linux: gpg

From RHS Wiki
Revision as of 17:20, 17 May 2015 by Rafahsolis (talk | contribs) (Created page with "== GnuPG == == Simetric Cipher == === Encryption === gpg -c file.txt we will be prompt for a password. === Decryption === gpg -d file.txt we will be prompt for a password....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GnuPG

Simetric Cipher

Encryption

gpg -c file.txt

we will be prompt for a password.

Decryption

gpg -d file.txt

we will be prompt for a password.

Asimetric Cipher

Generate keys

gpg --gen-key

Export public key

gpg --output <destination_file.gpg> --export <public_key_ID>

Upload public key to server

gpg --send-keys --keyserver pgp.mit.edu 18384645