I've encountered a bug that might be the same as this. Apparently pinentry-qt can't connect to the display. Adding keep-display to ~/.gnupg/gpg-agent.conf is a workaround.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509699 Title: The presence of pinentry-qt4 breaks gnupg-agent To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1509699/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs