Public bug reported: I have a key on a USB-plugged "smart card" in the form of a Yubikey 4 Nano.
$ gpg2 --sign noise gpg: signing failed: Line passed to IPC too long gpg: signing failed: Line passed to IPC too long $ echo $? 2 In going to gpg-agent.conf and adding debug logging, Attaching. If I kill "scdaemon" and "gpg-agent", they exit, and it has no effect. Next run causes the same message. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: gnupg2 2.1.11-6ubuntu2 Uname: Linux 4.5.0-040500-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CurrentDesktop: GNOME Date: Thu Jun 2 17:15:42 2016 EcryptfsInUse: Yes SourcePackage: gnupg2 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: gnupg2 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial ** Attachment added: "gpgagentlog" https://bugs.launchpad.net/bugs/1588546/+attachment/4675530/+files/gpgagentlog -- 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