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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1588546 Title: gnupg2 fails, "Line passed to IPC too long" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1588546/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs