clearsign a variable?

gordi555 gordon at funky.co.uk
Sun May 7 14:08:33 CEST 2006


Hi,

Just wondering how do you clear sign a variable please on the command line?

I'm running this in a php script...

$emailbody = "reg-city:Ely\n";
$emailbody .= "reg-postcode:CB6 1RA\n";
$emailbody .= "reg-country:GB\n";

$cmd = "echo $passphrase | $gpg --passphrase-fd 0 --no-tty -u $key
--force-v3-sigs --no-secmem-warning --clearsign $emailbody" . "" . " &>
/tmp/error ";

$encrypted_message = shell_exec($cmd);



But it's simply not working.

Does anyone know how I can clearsign a variable without all this file
interaction please?


Many thanks,

Gordon
--
View this message in context: http://www.nabble.com/clearsign-a-variable--t1572056.html#a4268683
Sent from the GnuPG - Dev forum at Nabble.com.




More information about the Gnupg-devel mailing list