Re: Help! Gnupg can't run in php program

2006-08-30 Thread Haibo Liu
L PROTECTED]> Sent: Monday, August 28, 2006 11:26 AM Subject: Re: Help! Gnupg can't run in php program Make sure you have the right permissions on your ./gnupg folder and relivent files to allow the user www-data to access them, just an idea :) Haibo Liu wrote: Hello, Does anybody

Re: Help! Gnupg can't run in php program

2006-08-29 Thread Simon Ruderich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 28.08.2006, at 13:32, Alphax wrote: Simon Ruderich wrote: Enigmail gave me gpg: unexpected armor: -BEGIN PGP SIGNED MESSAGE-\n gpg: invalid radix64 character 3A skipped gpg: CRC error; 31D9CE - A8932B gpg: [don't know]: invali

Re: Help! Gnupg can't run in php program

2006-08-28 Thread Alphax
Simon Ruderich wrote: > Enigmail gave me gpg: unexpected armor: -BEGIN PGP SIGNED MESSAGE-\n gpg: invalid radix64 character 3A skipped gpg: CRC error; 31D9CE - A8932B gpg: [don't know]: invalid packet (ctb=1d) GPGShell validated your sig ok, as did copy/pasting onto the command line.

Re: Help! Gnupg can't run in php program

2006-08-28 Thread Simon Ruderich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 28.08.2006, at 05:39, Robert J. Hansen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Haibo Liu wrote: I create my key pair in the ./gnupg directory. In which .gnupg directory, though? Your web server probably runs as a differen

Re: Help! Gnupg can't run in php program

2006-08-27 Thread Robert J. Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Haibo Liu wrote: > I create my key pair in the ./gnupg directory. In which .gnupg directory, though? Your web server probably runs as a different user. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla

Help! Gnupg can't run in php program

2006-08-27 Thread Haibo Liu
Hello, 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: "; echo "cmd: $cmd, return code: $val_return";