{"action":"created","issue":{"url":"https://api.github.com/repos/inkdropapp/forum/issues/4","repository_url":"https://api.github.com/repos/inkdropapp/forum","labels_url":"https://api.github.com/repos/inkdropapp/forum/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/inkdropapp/forum/issues/4/comments","events_url":"https://api.github.com/repos/inkdropapp/forum/issues/4/events","html_url":"https://github.com/inkdropapp/forum/issues/4","id":159027881,"number":4,"title":"Encrypt whole notebooks","user":{"login":"josefdlange","id":1062835,"avatar_url":"https://avatars.githubusercontent.com/u/1062835?v=3","gravatar_id":"","url":"https://api.github.com/users/josefdlange","html_url":"https://github.com/josefdlange","followers_url":"https://api.github.com/users/josefdlange/followers","following_url":"https://api.github.com/users/josefdlange/following{/other_user}","gists_url":"https://api.github.com/users/josefdlange/gists{/gist_id}","starred_url":"https://api.github.com/users/josefdlange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josefdlange/subscriptions","organizations_url":"https://api.github.com/users/josefdlange/orgs","repos_url":"https://api.github.com/users/josefdlange/repos","events_url":"https://api.github.com/users/josefdlange/events{/privacy}","received_events_url":"https://api.github.com/users/josefdlange/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/inkdropapp/forum/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-07T21:22:53Z","updated_at":"2016-06-09T14:23:44Z","closed_at":null,"body":"I'd think this might be possible. Maybe even just cheating; an \"encrypted\" notebook just means that all of its notes get encrypted and share the same password. \r\n\r\nSetting a password on a notebook would put its salt/hash in the notebook data structure (however you've organized it), and then the client app would be able to verify the password is the right password, then keep it in memory to decrypt any notes belonging to that notebook, having made the assumption that all notes belonging to that notebook are encrypted with that validated password.\r\n\r\nChanging a notebook encryption password would be a pain in the ass (essentially needing old password to decrypt all notes and new password to re-encrypt all the notes) but it'd be possible I'd think."},"comment":{"url":"https://api.github.com/repos/inkdropapp/forum/issues/comments/224910277","html_url":"https://github.com/inkdropapp/forum/issues/4#issuecomment-224910277","issue_url":"https://api.github.com/repos/inkdropapp/forum/issues/4","id":224910277,"user":{"login":"noradaiko","id":1332805,"avatar_url":"https://avatars.githubusercontent.com/u/1332805?v=3","gravatar_id":"","url":"https://api.github.com/users/noradaiko","html_url":"https://github.com/noradaiko","followers_url":"https://api.github.com/users/noradaiko/followers","following_url":"https://api.github.com/users/noradaiko/following{/other_user}","gists_url":"https://api.github.com/users/noradaiko/gists{/gist_id}","starred_url":"https://api.github.com/users/noradaiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noradaiko/subscriptions","organizations_url":"https://api.github.com/users/noradaiko/orgs","repos_url":"https://api.github.com/users/noradaiko/repos","events_url":"https://api.github.com/users/noradaiko/events{/privacy}","received_events_url":"https://api.github.com/users/noradaiko/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T14:23:44Z","updated_at":"2016-06-09T14:23:44Z","body":"Note that the data will be lost if users forgot their password in this approach."}}
{"actor":{"display_login":"noradaiko"}}