Hello,
Am doing a fresh install of our passbolt environment and I believe i might have found a bug in the newest version.
Using passbolt 2.3
on Ubuntu 16.04
./bin/cake passbolt healthcheck
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
---------------------------------------------------------------
Healthcheck shell......Notice Error: Undefined variable: decryptedMessage2 in [/data/www/passbolt/src/Utility/Healthchecks/GpgHealthchecks.php, line 278]
2018-09-06 10:03:07 Notice: Notice (8): Undefined variable: decryptedMessage2 in [/data/www/passbolt/src/Utility/Healthchecks/GpgHealthchecks.php, line 278]
Notice Error: Undefined variable: decryptedMessage2 in [/data/www/passbolt/src/Utility/Healthchecks/GpgHealthchecks.php, line 279]
2018-09-06 10:03:07 Notice: Notice (8): Undefined variable: decryptedMessage2 in [/data/www/passbolt/src/Utility/Healthchecks/GpgHealthchecks.php, line 279]
---------------------------------------------------------------
Environment
[PASS] PHP version 7.0.30-0ubuntu0.16.04.1.
[PASS] PCRE compiled with unicode support.
[PASS] The temporary directory and its content are writable.
[PASS] The public image directory and its content are writable.
[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://passbolt.widgets.nl
[PASS] App.fullBaseUrl validation OK.
[PASS] /healthcheck/status is reachable.
SSL Certificate
[PASS] SSL peer certificate validates
[PASS] Hostname is matching in SSL certificate.
[PASS] Not using a self-signed certificate
Database
[PASS] The application is able to connect to the database
[PASS] 18 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 server gpg key is not the default one
[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 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 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.
Application configuration
[PASS] Using latest passbolt version (2.3.0).
[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.
2 error(s) found. Hang in there!
Running gpg from commandline works and shows key
www-data@web01:/data/www/passbolt$ gpg2 --list-keys --fingerprint
/var/www/.gnupg/pubring.gpg
---------------------------
pub rsa4096/72522DF4 2018-09-06 [SC]
Key fingerprint = 6166 XX
uid [ unknown] XXX
sub rsa4096/XXXX2018-09-06 [E]
www-data@web01:/data/www/passbolt$ gpg --list-keys --fingerprint
/var/www/.gnupg/pubring.gpg
---------------------------
pub 4096R/72522DF4 2018-09-06
Key fingerprint = 6166 XXX
uid XXX
sub 4096R/XXXX2018-09-06
Checklist
[ X ] I have read intro post: About the Installation Issues category
[ X ] I have read the tutorials, help and searched for similar issues
A few topics exist but none with this specific issue.
[ X ] I provide relevant information about my server (component names and versions, etc.)
[ X ] I provide a copy of my logs and healthcheck
[ X ] I describe the steps I have taken to trouble shoot the problem
[ X ] I describe the steps on how to reproduce the issue