anturkarajay1 Posted April 18, 2007 Share Posted April 18, 2007 Hi, I am trying to generate gpg signed file using php with following code line system("/usr/bin/gpg -u <UID> --passphrase-file pf.txt --clearsign --force-v3-sigs /home/planet/public_html/msg2.txt"); it is not creating the gpg signed file msg2.txt.asc but when I try directly from command prompt it generate the msg2.txt.asc file the error recorded by the apache error log is gpg: /home/planet/public_html/msg2.asc: clearsign failed: secret key not available Please help me in this matter. Link to comment https://forums.phpfreaks.com/topic/47583-prblem-in-generating-gpg-signed-file-from-php/ Share on other sites More sharing options...
Guest prozente Posted April 19, 2007 Share Posted April 19, 2007 try using the full path for pf.txt Link to comment https://forums.phpfreaks.com/topic/47583-prblem-in-generating-gpg-signed-file-from-php/#findComment-232797 Share on other sites More sharing options...
anturkarajay1 Posted April 19, 2007 Author Share Posted April 19, 2007 Yes I tried with the full path but still not working Link to comment https://forums.phpfreaks.com/topic/47583-prblem-in-generating-gpg-signed-file-from-php/#findComment-232890 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.