RE: gpg and PHP (return value 2)[Scanned]

2005-11-09 Thread Pete Croft
> I have frequently heard of file permissions on the key-ring > as a source of trouble in the setting you describe. PHP is > probably running a nobody or Apache or something equally > restrictive, with good reason. For other good reasons the > key-rings usually have read and write permissions

Re: gpg and PHP (return value 2)

2005-11-09 Thread Samuel ]slund
On Wed, Nov 09, 2005 at 03:29:38PM +0100, [EMAIL PROTECTED] wrote: > On Wed, Nov 09, 2005 at 12:08:16PM -, Pete Croft wrote: > > > > I suspect it's a permissions problem: the source file for encryption > > exists, the key is correct, and the exact same command issued via CLI > > produces the

Re: gpg and PHP (return value 2)

2005-11-09 Thread zvrba
On Wed, Nov 09, 2005 at 12:08:16PM -, Pete Croft wrote: > > I suspect it's a permissions problem: the source file for encryption > exists, the key is correct, and the exact same command issued via CLI > produces the output file as desired, so in the absence of other evidence > I'm guessing th

gpg and PHP (return value 2)

2005-11-09 Thread Pete Croft
Hi, I expect I'm being an idiot, and will be mortified by the answer, but having searched the web and assorted archives, I can't turn up an answer so I thought I'd brave the list ... I've installed gpg on a couple of boxes (Windows Server 2003/IIS and a Suse/Apache machine). Used from the CLI it