So I'm working with Perl 2.20.2, against Gnupg2 (2.0.22) on CentOS 7. I'm trying to us cpan / cpanm, to install the module GnuPG, and it fails MANY tests after compile:
1 - gen_key_test - "protocol error: expected GET_XXX got ERROR\x{a}"
10 -pipe_decrypt - "protocol error: expected ENC_TO got NODATA: \x{a}"
11 - encrypt_sign_test - "Protocol error: expected NEED_PASSPHRASE.* got INV_SGNR\x{a}"
and lots more.
Thing is that gpg2 is working fine. I can encode / keygen / decode all day long on the command line. Only GnuPG spits up via perl.
Any ideas? It's not just filling the tests - the module doesn't work if forced either.