Server key fingerprint doesn't match

Hello David,

It looks like there is an error in the help comment, the config file is located there.

app/Config/app.php

Thanks for pointing that out.

Regarding your issue, can you confirm :

  • You well exported your keys (public and private) to the location defined by the GPG configuration in app/Config/app.php ?
From medium doc:
gpg --armor --export-secret-keys SERVER_KEY_EMAIL > /var/www/passbolt/app/Config/gpg/serverkey.private.asc
gpg --armor --export SERVER_KEY_EMAIL > /var/www/passbolt/app/Config/gpg/serverkey.asc
  • The output of the command mentioned in the healthcheck help gives you the fingerprint of your key you defined in the the GPG configuration in app/Config/app.php ?
sudo su -s /bin/bash -c “gpg --list-keys --fingerprint --home /var/www/passbolt/app/Config/gpg” www-data | grep -i -B 2 ‘SERVER_KEY_EMAIL’

Note:

  • Ensure you have entered the fingerprint without space in the config file.
  • If you get several fingerprints for the same email address, you probably don’t use the right one. You can delete your gpg keyring by removing the folder you mentioned in the GPG home configuration and restart the key creation process.