Re: GnuPG, PHP and password file
| From: | Richard | Date: | Sat, 29 Oct 2022 16:24:57 +0000 |
| Subject: | Re: GnuPG, PHP and password file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-328081@lists.php.net to get a copy of this message | ||
> Date: Saturday, October 29, 2022 11:26:57 -0400
> From: paulf@quillandmouse.com
>
> 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>