Skip to content

Instantly share code, notes, and snippets.

@jweaver
Created October 10, 2013 05:56
Show Gist options
  • Save jweaver/6913690 to your computer and use it in GitHub Desktop.
Save jweaver/6913690 to your computer and use it in GitHub Desktop.
Encrypt a file on disk, creating an ascii armored version that is "emailable" to a person whose pgp key you have already. The pgp-email-address-here field should auto-complete (tab-complete) with potential recipients from your local keyring.
gpg -ea -r {pgp-email-address-here} -o {encrypted-file-name-output} {input-file-to-encrypt}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment