Checklist
I have read intro post: About the Installation Issues category
I have read the tutorials, help and searched for similar issues
I provide relevant information about my server (component names and versions, etc.)
I provide a copy of my logs and healthcheck
I describe the steps I have taken to trouble shoot the problem
I describe the steps on how to reproduce the issue
This error occurs when a new user tries to create an account from his link (this happens AFTER he choses a passphrase, and security token).
Please note that âLa clĂ© OpenPGP ne peut pas ĂȘtre utilisĂ©e pour crypter.â is French for âOpenPGP key cannot be used for encryption.â
{
"code": 400,
"body": {
"gpgkey": {
"armored_key": "La clĂ© OpenPGP ne peut pas ĂȘtre utilisĂ©e pour crypter."
}
}
}
It worked a month ago. There were no changes on the server to my knowledge.
Everything else works (authentication, emails, creating new password, updating passwords, âŠ)
The server is using NTP, and the date and time are correct.
I tried to follow the instructions on this very similar issue but it did not help : Issue with new account creation - Oracle Linux 8.5 - v3.11 - OpenPGP key can not be used to encrypt [SELINUX]
I tried to update every package (including Passbolt to 3.12.0), but still had the same issue
I also tried to create a new server PGP key, but failed to make it work, I ultimately had to restore the server to before the update.
Server : RedHat 8.7
Passbolt : 3.8.3 (localization : French)
PHP : 7.4.33-2.el8.remi
Nginx : 1:1.14.1-9.module+el8.0.0+4108+af250afe
HealthCheck (please do not mind the SSL FAIL) :
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
-------------------------------------------------------------------------------
Healthcheck shell
-------------------------------------------------------------------------------
Environment
[PASS] PHP version 7.4.33.
[PASS] PCRE compiled with unicode support.
[PASS] The temporary directory and its content are writable and not executable.
[PASS] The logs directory and its content are writable.
[PASS] GD or Imagick extension is installed.
[PASS] Intl extension is installed.
[PASS] Mbstring extension is installed.
Config files
[PASS] The application config file is present
[PASS] The passbolt config file is present
Core config
[PASS] Debug mode is off.
[PASS] Cache is working.
[PASS] Unique value set for security.salt
[PASS] Full base url is set to https://[REDACTED FQDN]
[PASS] App.fullBaseUrl validation OK.
[PASS] /healthcheck/status is reachable.
SSL Certificate
[FAIL] SSL peer certificate does not validate
[FAIL] Hostname does not match when validating certificates.
[WARN] Using a self-signed certificate
[HELP] Check https://help.passbolt.com/faq/hosting/troubleshoot-ssl
[HELP] cURL Error (60) SSL certificate problem: unable to get local issuer certificate
Database
[PASS] The application is able to connect to the database
[PASS] 26 tables found
[PASS] Some default content is present
[PASS] The database schema up to date.
GPG Configuration
[PASS] PHP GPG Module is installed and loaded.
[PASS] The environment variable GNUPGHOME is set to /var/lib/passbolt/.gnupg.
[PASS] The directory /var/lib/passbolt/.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 config/passbolt.php and readable.
[PASS] The private key file is defined in config/passbolt.php and readable.
[PASS] The server key fingerprint matches the one defined in config/passbolt.php.
[PASS] The server public key defined in the 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.
[PASS] The private key can be used to decrypt and verify a message.
[PASS] The public key can be used to verify a signature.
[PASS] The server public key format is Gopengpg compatible.
[PASS] The server private key format is Gopengpg compatible.
Application configuration
[FAIL] This installation is not up to date. Currently using 3.8.3 and it should be v3.12.0.
[HELP] See. https://www.passbolt.com/help/tech/update
[PASS] Passbolt is configured to force SSL use.
[PASS] App.fullBaseUrl is set to HTTPS.
[PASS] Selenium API endpoints are disabled.
[PASS] Search engine robots are told not to index content.
[PASS] Registration is closed, only administrators can add users.
[PASS] Serving the compiled version of the javascript app
[PASS] All email notifications will be sent.
JWT Authentication
[PASS] The JWT Authentication plugin is enabled
[PASS] The /etc/passbolt/jwt/ directory is not writable.
[PASS] A valid JWT key pair was found
SMTP Settings
[PASS] The SMTP Settings plugin is enabled.
[PASS] SMTP Settings coherent. You may send a test email to validate them.
[PASS] The SMTP Settings source is: database.
[FAIL] 3 error(s) found. Hang in there!
Logs :
/var/log/passbolt/error.log
[DATE] error: [App\Error\Exception\CustomValidationException] La clĂ© OpenPGP ne peut pas ĂȘtre utilisĂ©e pour crypter. in /usr/share/php/passbolt/src/Service/Setup/SetupCompleteService.php on line 93
Request URL: /setup/complete/2308301b-edef-464e-91da-5e89ab5d5643
Client IP: [SOME IP]
/var/log/passbolt/debug.log
[SAME DATE] debug: La clĂ© OpenPGP ne peut pas ĂȘtre utilisĂ©e pour crypter.