Gnupg Pecl Php Script
We have an old script that used an OpenPGP key generated on Windows to PGP encrypt on a windows server using command-line.
We are now trying to convert this encryption function to use only PECL GnuPG functions on a Linux server, but still be able to be decrypted using a private key generated on a Windows server.
We have made a script that seems to encrypt but we cannot decrypt the message. The message is armored (and should be). We need you to find out what is wrong be it in the script or server-side. We cannot give you SSH access but you can suggest anything and we can look into it.
It only needs to encrypt a string to an armored pgp message which can then be decrypted on the administrator’s computer.



