Gnupg Implementation Issue

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
James107
Forum Newbie
Posts: 2
Joined: Wed Mar 19, 2008 6:28 pm

Gnupg Implementation Issue

Post by James107 »

I am attempting to implement the GNUPG PHP extension on my server. Everything is installed correctly but when I attempt to call any of the class commands to encrypt or decrypt I get a "get_key failed" error. I gave apache permissions to the key directory and verified that I am implementing the correct fingerprint. I am using the "gnupg_addencryptkey()" command before I attempt encryption.

Thanks for any help!
www.WeAnswer.IT
Forum Newbie
Posts: 24
Joined: Wed Mar 19, 2008 6:33 pm

Re: Gnupg Implementation Issue

Post by www.WeAnswer.IT »

Are you using GPGME? If not, you should try that first.
James107
Forum Newbie
Posts: 2
Joined: Wed Mar 19, 2008 6:28 pm

Re: Gnupg Implementation Issue

Post by James107 »

www.WeAnswer.IT wrote:Are you using GPGME? If not, you should try that first.
GPGME has already been installed. The GPG command works fine it is just the GNUPG PHP module.
Post Reply