{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/18938","labels_url":"https://api.github.com/repos/owncloud/core/issues/18938/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/18938/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/18938/events","html_url":"https://github.com/owncloud/core/pull/18938","id":105635261,"number":18938,"title":"occ script to disable encryption and to decrypt all files again","user":{"login":"schiesbn","id":1589737,"avatar_url":"https://avatars.githubusercontent.com/u/1589737?v=3","gravatar_id":"","url":"https://api.github.com/users/schiesbn","html_url":"https://github.com/schiesbn","followers_url":"https://api.github.com/users/schiesbn/followers","following_url":"https://api.github.com/users/schiesbn/following{/other_user}","gists_url":"https://api.github.com/users/schiesbn/gists{/gist_id}","starred_url":"https://api.github.com/users/schiesbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schiesbn/subscriptions","organizations_url":"https://api.github.com/users/schiesbn/orgs","repos_url":"https://api.github.com/users/schiesbn/repos","events_url":"https://api.github.com/users/schiesbn/events{/privacy}","received_events_url":"https://api.github.com/users/schiesbn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/3%20-%20To%20Review","name":"3 - To Review","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/app:encryption","name":"app:encryption","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/enhancement","name":"enhancement","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-current","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":599,"closed_issues":719,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-09-15T22:10:00Z","due_on":"2015-10-20T04:00:00Z","closed_at":null},"comments":6,"created_at":"2015-09-09T16:38:53Z","updated_at":"2015-09-15T22:11:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/18938","html_url":"https://github.com/owncloud/core/pull/18938","diff_url":"https://github.com/owncloud/core/pull/18938.diff","patch_url":"https://github.com/owncloud/core/pull/18938.patch"},"body":"occ script to disable server side encryption and to decrypt all files again.\r\n\r\nUsage:\r\n\r\n````\r\n$ ./occ encryption:decrypt-all --help\r\nUsage:\r\n encryption:decrypt-all [user]\r\n\r\nArguments:\r\n user                  user for which you want to decrypt all files (optional)\r\n````\r\n\r\nyou can call this script with no user, then we will try to decrypt the files for all users with the recovery key, so this is a pre-condition that the recovery key is enabled and used by all users. If you call the script for a specific user you will have the option to decrypt the users files either with the recovery key or with the users login password.\r\n\r\n- [x] add unit tests (will come tomorrow)\r\n\r\nPlease review and test it already to get the PR merged in time for 8.2. Be creative if you try it out. Multiple users, all users with the recovery key, only some users with the recovery key, LDAP users,...\r\n\r\nfix https://github.com/owncloud/core/issues/16327\r\n\r\ncc @MorrisJobke @LukasReschke @nickvergessen @PVince81 "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/140560968","html_url":"https://github.com/owncloud/core/pull/18938#issuecomment-140560968","issue_url":"https://api.github.com/repos/owncloud/core/issues/18938","id":140560968,"user":{"login":"DeepDiver1975","id":1005065,"avatar_url":"https://avatars.githubusercontent.com/u/1005065?v=3","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T22:11:13Z","updated_at":"2015-09-15T22:11:13Z","body":"the ci system is running out of disk space - I'm fighting this for two days now"}}