GPG Wrong Configuration

Hello to all the Passbolt comunity,

First of all thanks to all the comunity to let me create this new topic and get all the help possible for solving the issues, i will try to help others in the same way.

Second of all, I`m stuck on the GPG key configuration, I have tried all the things on this community forum, followed any installation instruction, any chatgpt solution, but none of them have help me to solve this error.

My problem es in the GPG Configuration:

GPG Configuration

[PASS] PHP GPG Module is installed and loaded.
[PASS] The environment variable GNUPGHOME is set to /var/www/.gnupg.
[PASS] The directory /var/www/.gnupg containing the keyring is writable by the webserver user.
[PASS] The server OpenPGP key is not the default one.
[PASS] The public key file is defined in /var/www/passbolt/config/passbolt.php and readable.
[PASS] The private key file is defined in /var/www/passbolt/config/passbolt.php and readable.
[PASS] The server key fingerprint matches the one defined in /var/www/passbolt/config/passbolt.php.
[PASS] The server public key defined in the /var/www/passbolt/config/passbolt.php (or environment variables) is in the keyring.
[PASS] There is a valid email id defined for the server key.
[PASS] The public key can be used to encrypt a message.
[PASS] The private key can be used to sign a message.
[PASS] The public and private keys can be used to encrypt and sign a message.
[PASS] The private key can be used to decrypt a message.
[FAIL] The private key cannot be used to decrypt and verify a message
[FAIL] The public key cannot be used to verify a signature.
[PASS] The server public key format is Gopengpg compatible.
[PASS] The server private key format is Gopengpg compatible.

As you can see, i get two FAILs on the private key and the public key that they can not be used to verify a message,

I have tried any command, I have also tried to delete de entire /var/www/.gnupg and created another key with the correct permissions and making the right import and export.

I do not really now what else i can do, i have looked on every way and none of them help me.

Thanks for all the attention and possible help given,

Best regards.

Hello!

Thanks for the help, just after posting the forum, I made the last try with more permissions that the ones that the Passbolt Guide recommends and it worked fine.

Many thanks for the help!