Okay, the shell I was using to run gpg here didn't have GPG_TTY or DISPLAY environment variables set, which seems to be the cause of the problem.
That is a bewildering error message.
Okay, the shell I was using to run gpg here didn't have GPG_TTY or DISPLAY environment variables set, which seems to be the cause of the problem.
That is a bewildering error message.