As per my other comment: https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1257706/comments/7
Please consider also merging this script: https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1257706/+attachment/4305003/+files/91-custom-gpg-agent
As per my other comment: https:/ /bugs.launchpad .net/ubuntu/ +source/ gnupg2/ +bug/1257706/ comments/ 7
Please consider also merging this script: https:/ /bugs.launchpad .net/ubuntu/ +source/ gnupg2/ +bug/1257706/ +attachment/ 4305003/ +files/ 91-custom- gpg-agent