[x] I have read intro post: h ttps://community.passbolt.com/t/about-the-installation-issues-category/12
[x] I have read the tutorials, help and searched for similar issues
[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
I’m getting ‘The OpenPGP server key defined in the config could not be found in the GnuPG keyring.’ on login page.
Healthcheck shows no errors:
I added some debug lines to GpgAuthenticate::_initKeyring():
$this->_gpg = new \gnupg(); $info = $this->_gpg->keyinfo($keyid); $this->_gpg->seterrormode(\gnupg::ERROR_EXCEPTION); var_dump($this->_gpg->geterror());
Error is: ‘could not init keylist’.
Configuration is Centos 7, php7.2, php-fpm, apache2.
In both ways (cli and fpm) script is executed from ‘apache’ user.
/usr/share/httpd/.gnupg is writable and with SELinux permissions
getenv(‘GNUPGHOME’) is /usr/share/httpd/.gnupg in both ways
‘sudo ausearch -m AVC,USER_AVC -ts recent’ returns
GPGme Version => 1.3.2 for both cli and fpm
gpg (GnuPG) 2.0.22 libgcrypt 1.5.3 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: ~/.gnupg Supported algorithms: Pubkey: RSA, ?, ?, ELG, DSA Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2
What else I forgot to check?