Skip to content

Instantly share code, notes, and snippets.

@dhbradshaw
Last active January 24, 2019 13:23
Show Gist options
  • Save dhbradshaw/c5546be097e806ae2b7c11da2f612559 to your computer and use it in GitHub Desktop.
Save dhbradshaw/c5546be097e806ae2b7c11da2f612559 to your computer and use it in GitHub Desktop.
gnu encryption
# Encrypt file
gpg -c --cipher-algo AES256 private-file.txt
# Decrypt it
gpg private-file.txt.gpg
# !!Don't forget the passphrase!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment