Importing GNUPG Keys with PHP
Posted: Tue Feb 04, 2003 9:30 pm
NEED HELP! This is my code:
$pubfile="/home/httpd/vhosts/test.com/httpdocs/pubkeys/$subject" ;
$gnupg_path = '/home/httpd/vhosts/test.com/.gnupg';
$gpg = '/usr/bin/gpg';
$cmd = "$gpg --import $pubfile";
I echo the $cmd
usr/bin/gpg --import home/httpd/vhosts/epitmail.com/httpdocs/pubkeys/cl1@test.com.PUB
Just to check it is ok! IT IS the correct syntex and works if I type it in at the command prompt using "putty"
Then I call
exec($cmd);
Nothing Happens!
Any Help would be appreciated!
$pubfile="/home/httpd/vhosts/test.com/httpdocs/pubkeys/$subject" ;
$gnupg_path = '/home/httpd/vhosts/test.com/.gnupg';
$gpg = '/usr/bin/gpg';
$cmd = "$gpg --import $pubfile";
I echo the $cmd
usr/bin/gpg --import home/httpd/vhosts/epitmail.com/httpdocs/pubkeys/cl1@test.com.PUB
Just to check it is ok! IT IS the correct syntex and works if I type it in at the command prompt using "putty"
Then I call
exec($cmd);
Nothing Happens!
Any Help would be appreciated!