Skip to content

Instantly share code, notes, and snippets.

@DoZator
Created July 28, 2023 08:29
Show Gist options
  • Save DoZator/3980dcbe99b41e64bff47b49d30c01ed to your computer and use it in GitHub Desktop.
Save DoZator/3980dcbe99b41e64bff47b49d30c01ed to your computer and use it in GitHub Desktop.
Using GPG

Make encrypted file with a gpg extension

When executing command, it prompts you to enter passphrase.

  gpg --symmetric --cipher-algo aes256 filename.ext

Decrypt file

  gpg --output filename.ext --decrypt filename.ext.gpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment