This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encrypt message stored in a file and print to stdout | |
gpg -a -o - -r RECIPIENT -e INPUT_FILE | |
# decrypt message from clipboard | |
xclip -o | gpg -d | |
# import public/private keys from clipboard | |
xclip -o | gpg --import | |
# delete public key |
NewerOlder