Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

PHP Fatal error: Uncaught Exception: get_key failed #2

@maaneeel

Description

@maaneeel

Hello,

The login process fails with the following notice and error on the log:

[Sun Dec 31 15:54:42.587198 2023] [php7:notice] [pid 28228] [client 83.43.18.196:62249] PHP Notice: Trying to access array offset on value of type bool in /var/www/html/vault/gpg_auth.php on line 122
[Sun Dec 31 15:54:42.587471 2023] [php7:error] [pid 28228] [client 83.43.18.196:62249] PHP Fatal error: Uncaught Exception: get_key failed in /var/www/html/vault/gpg_auth.php:122\nStack trace:\n#0 /var/www/html/vault/gpg_auth.php(122): gnupg->addencryptkey()\n#1 /var/www/html/vault/gpg_auth.php(228): GpgAuth->stage0()\n#2 /var/www/html/vault/index.php(9): GpgAuth->login()\n#3 {main}\n thrown in /var/www/html/vault/gpg_auth.php on line 122

I think that the notice can be fixed removing the ['info'] key of line 122, but the error is still there.

pd: Is the private key passphrase the same than my user password?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions