{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/17035","labels_url":"https://api.github.com/repos/owncloud/core/issues/17035/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17035/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/17035/events","html_url":"https://github.com/owncloud/core/issues/17035","id":89396929,"number":17035,"title":"[8.1 RC1] Non-migrated encryption confuses sync client","user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"labels":[{"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/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev2-high","name":"sev2-high","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","html_url":"https://github.com/owncloud/core/milestones/8.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-current","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":1461,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-06-19T09:36:40Z","due_on":"2015-07-07T04:00:00Z","closed_at":null},"comments":15,"created_at":"2015-06-18T21:00:54Z","updated_at":"2015-06-19T09:53:25Z","closed_at":null,"body":"See https://github.com/owncloud/client/issues/3360 which describe weird client behavior when the encryption migration has not been done.\r\n\r\nAfter the upgrade to 8.1 I totally forgot that I needed to do the migration step.\r\n@schiesbn I hope you still intend to find a way to show a message.\r\n\r\nWe need to:\r\n- [ ] block the sync client in some way to prevent touching files\r\n- [ ] block the sync client during key migration\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/113451528","html_url":"https://github.com/owncloud/core/issues/17035#issuecomment-113451528","issue_url":"https://api.github.com/repos/owncloud/core/issues/17035","id":113451528,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T09:53:25Z","updated_at":"2015-06-19T09:53:25Z","body":"We might also need to make it return the correct size on PROPFIND. Else the sync client might try and reupload the same file over and over again, believing that it has changed because of the size mismatch.\r\n\r\nSo using a similar logic, if file has \"encrypted\" set to 1, but no encryption module is enabled, then return the unencrypted_size if not 0, else size."}}