GPG in PHP
HiI need to sign a textfile with GPG in PHP. I found out, that I have to use the following command in shell:
gpg -u nova --homedir /home/username/.gnupg --passphrase -fd < /home/username/public_html/test/passphrase.txt --clearsign /home/username/public_html/test/text.txt
But when I try to use exec in PHP, I don't get any answer and the command is not executed.
Can someone help me here?
Thanks
Michael