How to generate gpg signed message using PHP
Posted: Wed Apr 18, 2007 11:17 am
Hi,
I am not able to generate gpg signed message using php. I am issuing following command to generate message
$respons=exec("/usr/bin/gpg --homedir ~/.gnupg --yes --batch -u PLANETHIPPO --passphrase-file pf.txt --status-fd 1 --clearsign --force-v3-sigs /home/planet/public_html/msg2.txt", $res);
In my appache error log I am getting error message
gpg: /home/planet/public_html/msg2.asc: clearsign failed: secret key not available
Please help me.
Thanks & Regards,
Vishal
I am not able to generate gpg signed message using php. I am issuing following command to generate message
$respons=exec("/usr/bin/gpg --homedir ~/.gnupg --yes --batch -u PLANETHIPPO --passphrase-file pf.txt --status-fd 1 --clearsign --force-v3-sigs /home/planet/public_html/msg2.txt", $res);
In my appache error log I am getting error message
gpg: /home/planet/public_html/msg2.asc: clearsign failed: secret key not available
Please help me.
Thanks & Regards,
Vishal