my $gpg = new Crypt::GPG; $gpg->gpgbin('/usr/bin/gpg'); $gpg->secretkey('0x2F7B366A'); $gpg->passphrase('test'); $gpg->debug(1); # Works my @encrypted = $gpg->encrypt('This is a test', 'devnull@codefix.net'); # Breaks my ($cleartxt, $signature) = $gpg->verify(\@encrypted); print "$signature\n\n$cleartxt\n";