# Job-create-gpg not setting PASSBOLT\_GPG\_SERVER\_KEY\_FINGERPRINT

**URL:** <https://community.passbolt.com/t/job-create-gpg-not-setting-passbolt-gpg-server-key-fingerprint/12247>\
**Category:** Installation Issues\
**Created:** [February 11, 2025, 9:25am UTC](https://community.passbolt.com/t/job-create-gpg-not-setting-passbolt-gpg-server-key-fingerprint/12247 "2025-02-11T09:25:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bperraud](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/bperraud/32/4808_2.png) [@bperraud](https://community.passbolt.com/u/bperraud)\
**Post date:** [February 11, 2025, 9:25am UTC](https://community.passbolt.com/t/job-create-gpg-not-setting-passbolt-gpg-server-key-fingerprint/12247/1 "2025-02-11T09:25:32Z")

</div>

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.

 ![Capture d’écran 2025-02-11 à 10.08.18](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/e/ea81962dabec75a9a6e46f321c589f1e0a67ff07.png)

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]:
