Hi,
I am trying to sign a plain text file ready for e-mailing. This is the code I am using....
function pgpSign($signkey,$file) {
system( "/usr/local/bin/gpg --homedir /home/apache/.gnupg -u $signkey --clearsign $file" );
}
The function is signing the document, but not including the text of the document...so I am ending up with...
-----BEGIN PGP SIGNED MESSAGE-----
<< anyone notice this empty space?? >>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
<<<code code>>>
-----END PGP SIGNATURE-----
Any idea's please?