I want the following simple script gpgpass in order that
Well, the script does not work, I get:
But if I run manually
I suspect, this does not occur in Linux (I cannot test it), because I get the same error with
And this is recommended here for saving the pass in the cache:
https://www.gnu.org/software/emacs/manual/html_node/message/Passphrase-caching.html
gpg2
save my password key in the cache:
Code:
#!/bin/sh
gpg2 --sign --armor <<!
Nonsense
!
Well, the script does not work, I get:
Code:
gpg: signing failed: Invalid IPC response
-----BEGIN PGP MESSAGE-----
gpg: signing failed: Invalid IPC response
But if I run manually
gpg2 --sign --armor
, all is OK.I suspect, this does not occur in Linux (I cannot test it), because I get the same error with
gpg --use-agent --sign < /dev/null > /dev/null
And this is recommended here for saving the pass in the cache:
https://www.gnu.org/software/emacs/manual/html_node/message/Passphrase-caching.html