I’m stuck with this problem for hours now.I’m trying to run this command
[php] echo $result=passthru(’/host/Crypto/newlm/./LMSignature -verify 224 -message= text -signature= ‘.$signature.’ -verifkey= ‘.$verifkeys.’ -hashfunc= '.$hashfunc);
[/php]
on my php script but I’m not getting any output.A previous command
[php] echo $signature=passthru(’/host/Crypto/newlm/./LMSignature -sign 224 -message= text -signkey= '.$signkeys);
[/php]
works fine.So I’m guessing it not an issue with permissions,access etc. All the variables like $verifkeys $hashfunc and $signature have been generated and stored in the php script.I can run the first command on the terminal by entering data manually but it isnt working in php.
The syntax i enter in the terminal is
./LMSignature -verify 224 -message= text -signature= [keys] -verifkey= [keys] -hashfunc= [keys]
ANy help?Thanks