New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The GPG Server key defined in the config is not found in the gpg keyring #12
Comments
Hi Albert, The GPG keyring used by Apache might not be the same used by your root user. On a default debian installation, the keyring used by apache is in the directory /home/www-data/.gnupg/ Another reason why this is happening could be that you installed passbolt as root, and that the permissions of the www-data gpg keyring are now incorrect. Could you try the solution described in the section "Why am I getting a segmentation fault at install?" in our installation help page. It consists of resetting the permissions of the keyring. Let me know if this helps. Kevin |
Hello Kevin. I am using Centos7 but i check your suggestions and come back to you. Many Thanks for your help. |
No way. it does not work. I can install and configure the plugin but then it fails. Also the last step of the plugin configuration fails because there is no default value for the active column. But not sure this has anything to do with it. |
} |
Sorry to hear about that @anogues. This seems to be related to the schema issues you reported in the other thread and the modification you made to the schema following with the suggestion from the other user. We'll work on fixing the other issue this week (e.g. making it work with mysql in strict mode) so that you can retry with a fresh install next week. |
Perfect. That would be good. We like the app and will suit our needs so hope we can get it to work. In the meantime i am trying installing all the stack with the bitnami lamp package instead of doing it manually. Maybe it works this time... Many thanks and keep the good work |
Hello Some News. After removing the STRICT_MODE directive in the my.cnf file now no issues. The user gets created and no errors any more. Now I am facing a problem logging in with the user. When logging the progress bar appears and it never ends... loading, please wait... I can see the following in the log: [Fri Jul 15 13:20:11.431867 2016] [core:notice] [pid 2169] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 It is very weird as selinux has been disabled but i keep checking... |
@anogues we released a fix for Mysql57, please see the other ticket. Let me know if you have another issue by reopening this one or by creating a new one. Thanks for your help! |
Hello.
I am getting htis error now. Any help?
2016-07-14 12:28:37 Error: [CakeException] The GPG Server key defined in the config is not found in the gpg keyring
Request URL: /auth/login
Stack Trace:
#0 /var/www/passbolt/app/Controller/Component/Auth/GpgAuthenticate.php(52): GpgAuthenticate->_initKeyring()
#1 /var/www/passbolt/lib/Cake/Controller/Component/AuthComponent.php(766): GpgAuthenticate->authenticate(Object(CakeRequest), Object(CakeResponse))
#2 /var/www/passbolt/lib/Cake/Controller/Component/AuthComponent.php(611): AuthComponent->identify(Object(CakeRequest), Object(CakeResponse))
#3 /var/www/passbolt/app/Controller/AuthController.php(35): AuthComponent->login()
#4 [internal function]: AuthController->login()
#5 /var/www/passbolt/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(AuthController), Array)
#6 /var/www/passbolt/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#7 /var/www/passbolt/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(AuthController), Object(CakeRequest))
#8 /var/www/passbolt/app/webroot/index.php(111): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#9 {main}
And when i list the keys i see them
[root@localhost .gnupg]# gpg --list-secret-keys
/root/.gnupg/secring.gpg
sec 1024R/C8C161D6 2016-07-13
uid passbolt xxx@xxx
ssb 1024R/336082AA 2016-07-13
sec 4096R/573EE67E 2015-10-26 [expires: 2019-10-26]
uid Passbolt Server Test Key no-reply@passbolt.com
ssb 4096R/D0A5D96B 2015-10-26
I know the keyring should be in the /root but i am just testing it.
Albert.
The text was updated successfully, but these errors were encountered: