Skip to content

Instantly share code, notes, and snippets.

@lukas2
Created February 2, 2013 23:01
Show Gist options
  • Save lukas2/4699636 to your computer and use it in GitHub Desktop.
Save lukas2/4699636 to your computer and use it in GitHub Desktop.
function decryptc(){
pbpaste > /tmp/encrypted_message.txt; gpg -d /tmp/encrypted_message.txt | pbcopy; rm /tmp/encrypted_message; pbpaste
}
function encryptc(){
pbaste | gpg -e -a -r $1 | pbcopy
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment