Skip to content

Instantly share code, notes, and snippets.

@velp
Created February 13, 2020 11:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velp/852ec35e53f82ec1b883f8ba6e11bc2e to your computer and use it in GitHub Desktop.
Save velp/852ec35e53f82ec1b883f8ba6e11bc2e to your computer and use it in GitHub Desktop.
How to encrypt file for me

Import public key from GitHub:

curl -s https://api.github.com/users/velp/gpg_keys | jq -r ".[0].raw_key" | gpg --import

Encrypt file:

gpg --output=<path_to_result_file> --encrypt --recipient=velizarx@gmail.com <path_to_source_file>

Send file to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment