| |||||||||||||||||||||||||||||||
|
Does anybody use GnuPG in PHP program? The server is on Debian OP. I create my key pair in the ./gnupg directory. And the command "gpg --help" runs as normal. But the command "gpg --list-keys" failed. What's the problem? My code is below: <?php $val_return = -1; $cmd = "gpg --help"; system($cmd, $val_return); echo "<br>"; echo "cmd: $cmd, return code: $val_return<br>"; $cmd = "gpg --homedir ./gnupg --list-keys"; system($cmd, $val_return); echo "<br>"; echo "cmd: $cmd, return code: $val_return<br>"; ?> lhb _______________________________________________ Gnupg-users mailing list Gnupg-users http://lists.gnupg.org/mailman/listinfo/gnupg-users
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com