I am trying to use shell script in order to encrypt/decrypt the selected text with GPG. This command works fine in Terminal:
echo "Test text" | gpg -c --no-symkey-cache | openssl enc -base64 -A | pbcopy
GPG prompts for password and sends encrypted text to clipboard.
In Keyboard Maestro I don't see GPG prompt for password and nothing is returned to clipboard. I used the copy action and then the command
gpg -c --no-symkey-cache | openssl enc -base64 -A | pbcopy