{"action":"closed","issue":{"url":"https://api.github.com/repos/passbolt/passbolt_api/issues/36","repository_url":"https://api.github.com/repos/passbolt/passbolt_api","labels_url":"https://api.github.com/repos/passbolt/passbolt_api/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/passbolt/passbolt_api/issues/36/comments","events_url":"https://api.github.com/repos/passbolt/passbolt_api/issues/36/events","html_url":"https://github.com/passbolt/passbolt_api/issues/36","id":201589791,"number":36,"title":"The GPG Server key defined in the config is not found in the gpg keyring","user":{"login":"abeumer","id":22363701,"avatar_url":"https://avatars.githubusercontent.com/u/22363701?v=3","gravatar_id":"","url":"https://api.github.com/users/abeumer","html_url":"https://github.com/abeumer","followers_url":"https://api.github.com/users/abeumer/followers","following_url":"https://api.github.com/users/abeumer/following{/other_user}","gists_url":"https://api.github.com/users/abeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/abeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeumer/subscriptions","organizations_url":"https://api.github.com/users/abeumer/orgs","repos_url":"https://api.github.com/users/abeumer/repos","events_url":"https://api.github.com/users/abeumer/events{/privacy}","received_events_url":"https://api.github.com/users/abeumer/received_events","type":"User","site_admin":false},"labels":[{"id":330372223,"url":"https://api.github.com/repos/passbolt/passbolt_api/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"cedricalfonsi","id":1582917,"avatar_url":"https://avatars.githubusercontent.com/u/1582917?v=3","gravatar_id":"","url":"https://api.github.com/users/cedricalfonsi","html_url":"https://github.com/cedricalfonsi","followers_url":"https://api.github.com/users/cedricalfonsi/followers","following_url":"https://api.github.com/users/cedricalfonsi/following{/other_user}","gists_url":"https://api.github.com/users/cedricalfonsi/gists{/gist_id}","starred_url":"https://api.github.com/users/cedricalfonsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedricalfonsi/subscriptions","organizations_url":"https://api.github.com/users/cedricalfonsi/orgs","repos_url":"https://api.github.com/users/cedricalfonsi/repos","events_url":"https://api.github.com/users/cedricalfonsi/events{/privacy}","received_events_url":"https://api.github.com/users/cedricalfonsi/received_events","type":"User","site_admin":false},"assignees":[{"login":"cedricalfonsi","id":1582917,"avatar_url":"https://avatars.githubusercontent.com/u/1582917?v=3","gravatar_id":"","url":"https://api.github.com/users/cedricalfonsi","html_url":"https://github.com/cedricalfonsi","followers_url":"https://api.github.com/users/cedricalfonsi/followers","following_url":"https://api.github.com/users/cedricalfonsi/following{/other_user}","gists_url":"https://api.github.com/users/cedricalfonsi/gists{/gist_id}","starred_url":"https://api.github.com/users/cedricalfonsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedricalfonsi/subscriptions","organizations_url":"https://api.github.com/users/cedricalfonsi/orgs","repos_url":"https://api.github.com/users/cedricalfonsi/repos","events_url":"https://api.github.com/users/cedricalfonsi/events{/privacy}","received_events_url":"https://api.github.com/users/cedricalfonsi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2017-01-18T14:33:25Z","updated_at":"2017-02-04T18:56:21Z","closed_at":"2017-02-04T18:56:21Z","body":"**The GPG Server key defined in the config is not found in the gpg keyring**\r\n\r\n**Error:** An Internal Error Has Occurred.\r\n**Stack Trace**\r\n\r\n    APP/Controller/Component/Auth/GpgAuthenticate.php line 49 → GpgAuthenticate->_initKeyring()\r\n    CORE/Cake/Controller/Component/AuthComponent.php line 770 → GpgAuthenticate->authenticate(CakeRequest, CakeResponse)\r\n    CORE/Cake/Controller/Component/AuthComponent.php line 611 → AuthComponent->identify(CakeRequest, CakeResponse)\r\n    APP/Controller/AuthController.php line 35 → AuthComponent->login()\r\n    [internal function] → AuthController->login()\r\n    CORE/Cake/Controller/Controller.php line 491 → ReflectionMethod->invokeArgs(AuthController, array)\r\n    CORE/Cake/Routing/Dispatcher.php line 193 → Controller->invokeAction(CakeRequest)\r\n    CORE/Cake/Routing/Dispatcher.php line 167 → Dispatcher->_invoke(AuthController, CakeRequest)\r\n    APP/webroot/index.php line 110 → Dispatcher->dispatch(CakeRequest, CakeResponse)\r\n\r\n\r\ngpg --homedir /home/www-data/.gnupg --gen-key\r\ngpg --homedir /home/www-data/.gnupg --armor --export-secret-keys user@testing.local > /var/www/passbolt/app/Config/gpg/serverkey.private.asc\r\ngpg --homedir /home/www-data/.gnupg --armor --export user@testing.local > /var/www/passbolt/app/Config/gpg/serverkey.asc\r\n\r\n/var/www/passbolt/app/Config/app.php\r\n```\r\n$config = [\r\n  // GPG Configuration\r\n  'GPG' => [\r\n\t// Tell GPG where to find the keyring\r\n\t// Needs to be available by the user the webserver is running as\r\n\t'env' => [\r\n\t  // you can set this to false if you want to use *nix $GNUPGHOME environment variable\r\n\t  'setenv' => true,\r\n\t  // otherwise you can set the location here\r\n\t  // typically on Centos it would be in '/usr/share/httpd/.gnupg'\r\n\t  'home' => '/home/www-data/.gnupg',\r\n\t],\r\n\t// Main server key\r\n\t'serverKey' => [\r\n\t  // Server private key location and fingerprint\r\n\t  'fingerprint' => '683BDFDC69BDC5A4B0AAC64EEBA1095058A19',\r\n\t  'public' => APP . 'Config' . DS . 'gpg' . DS . 'serverkey.asc',\r\n\t  'private' => APP . 'Config' . DS . 'gpg' . DS . 'serverkey.private.asc',\r\n\r\n\t  // PHP Gnupg module currently does not support passphrase, please leave blank\r\n\t  'passphrase' => ''\r\n\t]\r\n  ]\r\n];\r\n```"}}
{"actor":{"display_login":"stripthis"}}