Upstream seems to think that this is fixed as of 0.9, and Ubuntu 15.10 has 0.9.5. Unfortunately, it doesn't seem to work for me with pinentry-gtk-2 or pinentry-gnome3 (but pinentry-qt4 does work).
https://bugs.gnupg.org/gnupg/issue2188
Upstream seems to think that this is fixed as of 0.9, and Ubuntu 15.10 has 0.9.5. Unfortunately, it doesn't seem to work for me with pinentry-gtk-2 or pinentry-gnome3 (but pinentry-qt4 does work).
https:/ /bugs.gnupg. org/gnupg/ issue2188