Support for GnuPG 2.x using a fake pinentry implementation