Re: GnuPG, PHP and password file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 29 Oct 2022 16:24:57 +0000
Richard <inbound-lists-php@xxxxxxxxxxxxxxxxxxxxx> wrote:

> 
> 
> > Date: Saturday, October 29, 2022 11:26:57 -0400
> > From: paulf@xxxxxxxxxxxxxxxxx
> >
> > Folks:
> > 
> > I'm running PHP 8.x on Debian 11, with Apache2 as the server. I
> > have a password (text) file which is GnuPG encrypted:
> > /home/paulf/wallet.gpg. I'd like to have web access to the data in
> > this file. I'm using the following code:
> > 
> >  . . .   
> > 
> > At some point in the past, this code popped up a dialog box which
> > asked for my passphrase, and then opened and displayed the file.
> > Now it doesn't work, and I just get a blank screen. No error
> > message shows in Apache's log.
> > 
> > Anyone know why this isn't working, and what I can do about it? Or
> > is there a better solution?
> 
> 
> Turn on PHP error reporting:
> 
>   <https://www.php.net/manual/en/language.errors.basics.php>

Added error_reporting(E_ALL); at the top of the file.

No errors reported in /var/log/apache2/error.log.

-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux