{"action":"opened","issue":{"url":"https://api.github.com/repos/zbackup/zbackup/issues/128","repository_url":"https://api.github.com/repos/zbackup/zbackup","labels_url":"https://api.github.com/repos/zbackup/zbackup/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/zbackup/zbackup/issues/128/comments","events_url":"https://api.github.com/repos/zbackup/zbackup/issues/128/events","html_url":"https://github.com/zbackup/zbackup/issues/128","id":177150066,"number":128,"title":"Encrypted format seems to be architecture dependent","user":{"login":"jamespharaoh","id":230005,"avatar_url":"https://avatars.githubusercontent.com/u/230005?v=3","gravatar_id":"","url":"https://api.github.com/users/jamespharaoh","html_url":"https://github.com/jamespharaoh","followers_url":"https://api.github.com/users/jamespharaoh/followers","following_url":"https://api.github.com/users/jamespharaoh/following{/other_user}","gists_url":"https://api.github.com/users/jamespharaoh/gists{/gist_id}","starred_url":"https://api.github.com/users/jamespharaoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamespharaoh/subscriptions","organizations_url":"https://api.github.com/users/jamespharaoh/orgs","repos_url":"https://api.github.com/users/jamespharaoh/repos","events_url":"https://api.github.com/users/jamespharaoh/events{/privacy}","received_events_url":"https://api.github.com/users/jamespharaoh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-15T11:15:57Z","updated_at":"2016-09-15T11:15:57Z","closed_at":null,"body":"While reverse engineering the encryption from the source code, I think I've found an issue which could make zbackup repositories non-portable.\r\n\r\n- The encryption does not proceed in a linear fashion, but instead works backwards on (page size - 1) blocks at a time.\r\n- The page size is taken from the system architecture at compile time.\r\n\r\nThe order the decryption is performed in is surely going to affect the output, so does this mean that a system with a different page size, assuming it's more than twice the block size, is going to have a different on-disk format?\r\n\r\nIf this is the case, then presumably it could be \"fixed\" by setting this page size to a fixed value, assuming that there's a very common value for this currently."}}
{"actor":{"display_login":"jamespharaoh"}}