{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/4892","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/4892/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/4892/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/4892/events","html_url":"https://github.com/nextcloud/server/pull/4892","id":228930317,"number":4892,"title":"Fix encryption + remembered login due to missing login hook","user":{"login":"ChristophWurst","id":1374172,"avatar_url":"https://avatars0.githubusercontent.com/u/1374172?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristophWurst","html_url":"https://github.com/ChristophWurst","followers_url":"https://api.github.com/users/ChristophWurst/followers","following_url":"https://api.github.com/users/ChristophWurst/following{/other_user}","gists_url":"https://api.github.com/users/ChristophWurst/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristophWurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristophWurst/subscriptions","organizations_url":"https://api.github.com/users/ChristophWurst/orgs","repos_url":"https://api.github.com/users/ChristophWurst/repos","events_url":"https://api.github.com/users/ChristophWurst/events{/privacy}","received_events_url":"https://api.github.com/users/ChristophWurst/received_events","type":"User","site_admin":false},"labels":[{"id":389003733,"url":"https://api.github.com/repos/nextcloud/server/labels/3.%20to%20review","name":"3. to review","color":"0052cc","default":false},{"id":451347875,"url":"https://api.github.com/repos/nextcloud/server/labels/feature:%20authentication","name":"feature: authentication","color":"c2e0c6","default":false},{"id":389032313,"url":"https://api.github.com/repos/nextcloud/server/labels/feature:%20encryption","name":"feature: encryption","color":"c2e0c6","default":false},{"id":386379234,"url":"https://api.github.com/repos/nextcloud/server/labels/help%20wanted","name":"help wanted","color":"006b75","default":true},{"id":389004952,"url":"https://api.github.com/repos/nextcloud/server/labels/high","name":"high","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":{"login":"schiessle","id":1589737,"avatar_url":"https://avatars3.githubusercontent.com/u/1589737?v=3","gravatar_id":"","url":"https://api.github.com/users/schiessle","html_url":"https://github.com/schiessle","followers_url":"https://api.github.com/users/schiessle/followers","following_url":"https://api.github.com/users/schiessle/following{/other_user}","gists_url":"https://api.github.com/users/schiessle/gists{/gist_id}","starred_url":"https://api.github.com/users/schiessle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schiessle/subscriptions","organizations_url":"https://api.github.com/users/schiessle/orgs","repos_url":"https://api.github.com/users/schiessle/repos","events_url":"https://api.github.com/users/schiessle/events{/privacy}","received_events_url":"https://api.github.com/users/schiessle/received_events","type":"User","site_admin":false},"assignees":[{"login":"schiessle","id":1589737,"avatar_url":"https://avatars3.githubusercontent.com/u/1589737?v=3","gravatar_id":"","url":"https://api.github.com/users/schiessle","html_url":"https://github.com/schiessle","followers_url":"https://api.github.com/users/schiessle/followers","following_url":"https://api.github.com/users/schiessle/following{/other_user}","gists_url":"https://api.github.com/users/schiessle/gists{/gist_id}","starred_url":"https://api.github.com/users/schiessle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schiessle/subscriptions","organizations_url":"https://api.github.com/users/schiessle/orgs","repos_url":"https://api.github.com/users/schiessle/repos","events_url":"https://api.github.com/users/schiessle/events{/privacy}","received_events_url":"https://api.github.com/users/schiessle/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/nextcloud/server/milestones/10","html_url":"https://github.com/nextcloud/server/milestone/10","labels_url":"https://api.github.com/repos/nextcloud/server/milestones/10/labels","id":2136652,"number":10,"title":"Nextcloud 12.0","description":"","creator":{"login":"jancborchardt","id":925062,"avatar_url":"https://avatars1.githubusercontent.com/u/925062?v=3","gravatar_id":"","url":"https://api.github.com/users/jancborchardt","html_url":"https://github.com/jancborchardt","followers_url":"https://api.github.com/users/jancborchardt/followers","following_url":"https://api.github.com/users/jancborchardt/following{/other_user}","gists_url":"https://api.github.com/users/jancborchardt/gists{/gist_id}","starred_url":"https://api.github.com/users/jancborchardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jancborchardt/subscriptions","organizations_url":"https://api.github.com/users/jancborchardt/orgs","repos_url":"https://api.github.com/users/jancborchardt/repos","events_url":"https://api.github.com/users/jancborchardt/events{/privacy}","received_events_url":"https://api.github.com/users/jancborchardt/received_events","type":"User","site_admin":false},"open_issues":60,"closed_issues":1075,"state":"open","created_at":"2016-11-15T13:57:13Z","updated_at":"2017-05-16T06:44:29Z","due_on":"2017-05-26T07:00:00Z","closed_at":null},"comments":1,"created_at":"2017-05-16T06:44:28Z","updated_at":"2017-05-16T06:46:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nextcloud/server/pulls/4892","html_url":"https://github.com/nextcloud/server/pull/4892","diff_url":"https://github.com/nextcloud/server/pull/4892.diff","patch_url":"https://github.com/nextcloud/server/pull/4892.patch"},"body":"The encryption app relies on the post_login hook to initialize its keys.\r\nSince we do not emit it on a remembered login, the keys were always un-\r\ninitialized and the user was asked to log out and in again.\r\nThis patch *translates* the postRememberedLogin hook to a post_login\r\nhook.\r\n\r\nThis should fix https://github.com/nextcloud/server/issues/4797."},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/301690867","html_url":"https://github.com/nextcloud/server/pull/4892#issuecomment-301690867","issue_url":"https://api.github.com/repos/nextcloud/server/issues/4892","id":301690867,"user":{"login":"ChristophWurst","id":1374172,"avatar_url":"https://avatars0.githubusercontent.com/u/1374172?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristophWurst","html_url":"https://github.com/ChristophWurst","followers_url":"https://api.github.com/users/ChristophWurst/followers","following_url":"https://api.github.com/users/ChristophWurst/following{/other_user}","gists_url":"https://api.github.com/users/ChristophWurst/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristophWurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristophWurst/subscriptions","organizations_url":"https://api.github.com/users/ChristophWurst/orgs","repos_url":"https://api.github.com/users/ChristophWurst/repos","events_url":"https://api.github.com/users/ChristophWurst/events{/privacy}","received_events_url":"https://api.github.com/users/ChristophWurst/received_events","type":"User","site_admin":false},"created_at":"2017-05-16T06:46:05Z","updated_at":"2017-05-16T06:46:05Z","body":"My tests confirm that at least the reported warning seems to be gone. Due lacking knowledge about our encryption magic, however, I'm not totally confident with this fix.\r\n\r\n@nextcloud/encryption please have a look. Thanks :)"}}
{"actor":{"display_login":"ChristophWurst"}}