Job-create-gpg not setting PASSBOLT_GPG_SERVER_KEY_FINGERPRINT

Hi, while using the helm package of passbolt, not setting the GPG public and private key will start the job-create-gpg job at startup to create the key.

When doing so the GPG Fingerprint is not set inside the passbolt container and the application fails.

Setting manually the PASSBOLT_GPG_SERVER_KEY_FINGERPRINT env variable inside the container works, but this should be done automatically when the job runs, what am I doing wrong ?

 ____                  __          ____  
/ __ \____  _____ ____/ /_  ____  / / /_ 

/ // / __ `/ / / __ / __ / / _/
/ / // ( |
) /
/ / /
/ / / /
/
/ _
,
/
//./_//__/

Open source password manager for teams

Healthcheck shell…2025-02-11 09:21:31 error: [Cake\Core\Exception\CakeException] Could not use key for signing. get_key failed in
/usr/share/php/passbolt/src/Utility/OpenPGP/Backends/Gnupg.php on line 240
Stack Trace:

  • /usr/share/php/passbolt/src/Service/Healthcheck/Gpg/CanSignGpgHealthcheck.php:51
  • /usr/share/php/passbolt/src/Command/HealthcheckCommand.php:183
  • /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/BaseCommand.php:190
  • /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/CommandRunner.php:334
  • /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/CommandRunner.php:172
  • /usr/share/php/passbolt/bin/cake.php:13
  • [main]:

Caused by: [Exception] get_key failed in /usr/share/php/passbolt/src/Utility/OpenPGP/Backends/Gnupg.php on line 236
Stack Trace:

  • /usr/share/php/passbolt/src/Utility/OpenPGP/Backends/Gnupg.php:236
  • /usr/share/php/passbolt/src/Service/Healthcheck/Gpg/CanSignGpgHealthcheck.php:51
  • /usr/share/php/passbolt/src/Command/HealthcheckCommand.php:183
  • /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/BaseCommand.php:190
  • /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/CommandRunner.php:334
  • /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/CommandRunner.php:172
  • /usr/share/php/passbolt/bin/cake.php:13
  • [main]:

2025-02-11 09:21:31 error: [Cake\Core\Exception\CakeException] Could not use key for signing. get_key failed in /usr/share/php/passbolt/src/Utility/OpenPGP/Backends/G
nupg.php on line 240
Stack Trace:

  • /usr/share/php/passbolt/src/Service/Healthcheck/Gpg/CanSignGpgHealthcheck.php:51
  • /usr/share/php/passbolt/src/Command/HealthcheckCommand.php:183
  • /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/BaseCommand.php:190
  • /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/CommandRunner.php:334
  • /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/CommandRunner.php:172
  • /usr/share/php/passbolt/bin/cake.php:13
  • [main]:

Caused by: [Exception] get_key failed in /usr/share/php/passbolt/src/Utility/OpenPGP/Backends/Gnupg.php on line 236
Stack Trace:

  • /usr/share/php/passbolt/src/Utility/OpenPGP/Backends/Gnupg.php:236
  • /usr/share/php/passbolt/src/Service/Healthcheck/Gpg/CanSignGpgHealthcheck.php:51
  • /usr/share/php/passbolt/src/Command/HealthcheckCommand.php:183
  • /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/BaseCommand.php:190
  • /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/CommandRunner.php:334
  • /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/CommandRunner.php:172
  • /usr/share/php/passbolt/bin/cake.php:13
  • [main]: