1
1
I'm trying to encrypt data from STDIN
using gpg
. I'm using the following:
echo 'plaintext' | gpg -c -o output.gpg
However, I see the following result:
gpg: problem with the agent: Inappropriate ioctl for device
gpg: error creating passphrase: Operation cancelled
gpg: symmetric encryption of '[stdin]' failed: Operation cancelled
How would I encrypt from STDIN
using gpg
and a symmetric cipher only? I am on MacOS and GPG v2.2.13
.
Can not reproduce on arch linux with GnuPG 2.2.12. Can you tell us which
--version
ofgpg
you are using? – confetti – 2019-02-26T05:51:55.673@confetti I'm using MacOS, if that makes a difference. GPG v2.2.13, updated the question – wcarhart – 2019-02-26T06:09:09.500