Last active
August 29, 2015 14:22
-
-
Save skarra/6508567be359ca034fb5 to your computer and use it in GitHub Desktop.
GPG Cheat Sheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Encrypt using someone's public key. You should have earlier added the | |
# recipient's public key to your ring. | |
$ gpg --output output-file.gpg --encrypt --recipient [email protected] input-file.txt | |
# Decrypting a file encrypted with your public key | |
$ gpg --output doc --decrypt doc.gpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment