I have 2 servers that will be passing data between them, one is Ubuntu and the other is Red Hat. Using the already installed versions on each, Ubuntu is 12.04 with gnuPG 1.4.x and Red Hat is Enterprise 6.1 with gnuPG 2.0.x, I can't decrypt going from Ubuntu to Red Hat.
I'll be using PHP to encrypt/decrypt using the gnuPG extension on the Ubuntu server. The Red Hat server will be accessing gnuPG through shell out of CGI scripts.
I created public/private keys on Red Hat, exported the public key. Imported it into Ubuntu and signed it. I then encrypted a file on Ubuntu, copied it to the Red Hat server and attempted to decrypt it.
I'm getting this response
gpg -d tocyn.gpg gpg: no valid OpenPGP data found. gpg: decrypt_message failed: Unknown system error
Not sure where to go with this as I haven't been able to find much info on what this response means. Is it not possible to do this between the 2 different versions? I may have misunderstood, but I thought they were virtually the same.