Checklist
[y] I have read intro post: About the Installation Issues category
[y] I have read the tutorials, help and searched for similar issues
[y] I provide relevant information about my server (component names and versions, etc.)
I provide a copy of my logs and healthcheck
(unfortunately no logs)
[y] I describe the steps I have taken to trouble shoot the problem
I describe the steps on how to reproduce the issue
(let a key expire?)
Our Passbolt worked today just a few hours ago. Then suddenly this error on login screen:
Could not verify server key. Unable to encrypt the verify token. Error encrypting message: Could not find valid key packet for encryption in key …222f
and on password login:
Oops, something went wrong
Couldn’t find it in search engine.
I did:
sudo su -s /bin/bash -c "gpg --list-secret-keys" www-data
and got saying
expired
in the key. Then I extended the key expiration date:
gpg --edit-key ..
key 0
expire
1y
key 1
expire
save
Now it doesn’t say expired
anymore:
# su -s /bin/bash -c "gpg --list-secret-keys" www-data
/var/www/.gnupg/secring.gpg
---------------------------
sec 4096R/4F93222F 2017-07-03 [expires: 2019-07-03]
uid passbolt XY <**@**.com>
ssb 4096R/96AC0126 2017-07-03
The key fingerprint didn’t change.
Then I did:
$ gpg --armor --export-secret-keys SERVER_KEY@EMAIL.TEST > /var/www/passbolt/config/gpg/serverkey_private.asc
$ gpg --armor --export SERVER_KEY@EMAIL.TEST > /var/www/passbolt/config/gpg/serverkey.asc
mentioned in Passbolt Help | Install Passbolt CE on Debian 9 (Stretch).
But unfortunately still same error.
$ sudo su -s /bin/bash www-data
/var/www/pb/bin/cake passbolt healthcheck
says:
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
---------------------------------------------------------------
Healthcheck shell......Segmentation fault (core dumped)