Hi.
Its been a while but I'm finally round to working again.
I am using gpg, seems easy enough. I am only dealing with public keys for the time being.
I have a problem!!
echo exec("gpg --help"); // Works absolutely fine
echo exec("gpg --list-keys"); //Returns NOTHING in the browser.
gpg --list-keys works fine in the shell.
Also, PHP is running as 'nobody' [ found using exec("whoami") ] I have worked around this by adding nobody to another group and the public keys are in that group. When I log in as nobody (was tricky but I managed it :-) ) everything worked seemingly fine.
Does anyone have any ideas??
Thanks!