Hi,
When executing:
system("./gpg --clearsign etc..." );
It returns with:
Enter passphrase:
How do you then pass the passphrase to it in PHP? The passphrase can't be posted to gpg or included in the initial system(); command.
Any ideas?
The script works fine in command line as you can manually enter the passphrase, although cannot complete through a web browser as no passphrase is given.
Perl has a "expect" function which passes information to command applications when a certain phrase is used, although PHP does not offer this.
Thanks,
Rob