fix for GnuPG 2.1.1