{"action":"created","issue":{"url":"https://api.github.com/repos/dlemmermann/PreferencesFX/issues/44","repository_url":"https://api.github.com/repos/dlemmermann/PreferencesFX","labels_url":"https://api.github.com/repos/dlemmermann/PreferencesFX/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/dlemmermann/PreferencesFX/issues/44/comments","events_url":"https://api.github.com/repos/dlemmermann/PreferencesFX/issues/44/events","html_url":"https://github.com/dlemmermann/PreferencesFX/issues/44","id":381852496,"node_id":"MDU6SXNzdWUzODE4NTI0OTY=","number":44,"title":"load","user":{"login":"jmendezv","id":5039685,"node_id":"MDQ6VXNlcjUwMzk2ODU=","avatar_url":"https://avatars0.githubusercontent.com/u/5039685?v=4","gravatar_id":"","url":"https://api.github.com/users/jmendezv","html_url":"https://github.com/jmendezv","followers_url":"https://api.github.com/users/jmendezv/followers","following_url":"https://api.github.com/users/jmendezv/following{/other_user}","gists_url":"https://api.github.com/users/jmendezv/gists{/gist_id}","starred_url":"https://api.github.com/users/jmendezv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmendezv/subscriptions","organizations_url":"https://api.github.com/users/jmendezv/orgs","repos_url":"https://api.github.com/users/jmendezv/repos","events_url":"https://api.github.com/users/jmendezv/events{/privacy}","received_events_url":"https://api.github.com/users/jmendezv/received_events","type":"User","site_admin":false},"labels":[{"id":889664010,"node_id":"MDU6TGFiZWw4ODk2NjQwMTA=","url":"https://api.github.com/repos/dlemmermann/PreferencesFX/labels/question","name":"question","color":"d876e3","default":true}],"state":"closed","locked":false,"assignee":{"login":"martinfrancois","id":14319020,"node_id":"MDQ6VXNlcjE0MzE5MDIw","avatar_url":"https://avatars1.githubusercontent.com/u/14319020?v=4","gravatar_id":"","url":"https://api.github.com/users/martinfrancois","html_url":"https://github.com/martinfrancois","followers_url":"https://api.github.com/users/martinfrancois/followers","following_url":"https://api.github.com/users/martinfrancois/following{/other_user}","gists_url":"https://api.github.com/users/martinfrancois/gists{/gist_id}","starred_url":"https://api.github.com/users/martinfrancois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinfrancois/subscriptions","organizations_url":"https://api.github.com/users/martinfrancois/orgs","repos_url":"https://api.github.com/users/martinfrancois/repos","events_url":"https://api.github.com/users/martinfrancois/events{/privacy}","received_events_url":"https://api.github.com/users/martinfrancois/received_events","type":"User","site_admin":false},"assignees":[{"login":"martinfrancois","id":14319020,"node_id":"MDQ6VXNlcjE0MzE5MDIw","avatar_url":"https://avatars1.githubusercontent.com/u/14319020?v=4","gravatar_id":"","url":"https://api.github.com/users/martinfrancois","html_url":"https://github.com/martinfrancois","followers_url":"https://api.github.com/users/martinfrancois/followers","following_url":"https://api.github.com/users/martinfrancois/following{/other_user}","gists_url":"https://api.github.com/users/martinfrancois/gists{/gist_id}","starred_url":"https://api.github.com/users/martinfrancois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinfrancois/subscriptions","organizations_url":"https://api.github.com/users/martinfrancois/orgs","repos_url":"https://api.github.com/users/martinfrancois/repos","events_url":"https://api.github.com/users/martinfrancois/events{/privacy}","received_events_url":"https://api.github.com/users/martinfrancois/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-17T11:00:13Z","updated_at":"2018-11-25T17:55:07Z","closed_at":"2018-11-24T13:51:42Z","author_association":"NONE","body":"Why are preferences encrypted?"},"comment":{"url":"https://api.github.com/repos/dlemmermann/PreferencesFX/issues/comments/441458998","html_url":"https://github.com/dlemmermann/PreferencesFX/issues/44#issuecomment-441458998","issue_url":"https://api.github.com/repos/dlemmermann/PreferencesFX/issues/44","id":441458998,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTQ1ODk5OA==","user":{"login":"jmendezv","id":5039685,"node_id":"MDQ6VXNlcjUwMzk2ODU=","avatar_url":"https://avatars0.githubusercontent.com/u/5039685?v=4","gravatar_id":"","url":"https://api.github.com/users/jmendezv","html_url":"https://github.com/jmendezv","followers_url":"https://api.github.com/users/jmendezv/followers","following_url":"https://api.github.com/users/jmendezv/following{/other_user}","gists_url":"https://api.github.com/users/jmendezv/gists{/gist_id}","starred_url":"https://api.github.com/users/jmendezv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmendezv/subscriptions","organizations_url":"https://api.github.com/users/jmendezv/orgs","repos_url":"https://api.github.com/users/jmendezv/repos","events_url":"https://api.github.com/users/jmendezv/events{/privacy}","received_events_url":"https://api.github.com/users/jmendezv/received_events","type":"User","site_admin":false},"created_at":"2018-11-25T17:55:07Z","updated_at":"2018-11-25T17:55:07Z","author_association":"NONE","body":"Ok, I get it, you just want to guaranteed a decent keysize.\n\n> On 24 Nov 2018, at 14:51, François Martin <notifications@github.com> wrote:\n> \n> Hi @jmendezv <https://github.com/jmendezv>\n> The preferences are not encrypted. The keys under which they are stored however are indeed hashed. You can find the reason for that in StorageHandlerImpl.java, in the javadoc of the hash() method:\n> \n>   /**\n>    * Generates a SHA-256 hash of a String.\n>    * Since {@link Preferences#MAX_KEY_LENGTH} is 80, if the breadcrumb is over 80 characters, it\n>    * will lead to an exception while saving. This method generates a SHA-256 hash of the breadcrumb\n>    * to save / load as the key in {@link Preferences}, since those are guaranteed to be\n>    * maximum 64 chars long.\n>    *\n>    * @return SHA-256 representation of breadcrumb\n>    */\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub <https://github.com/dlemmermann/PreferencesFX/issues/44#issuecomment-441369324>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AEzmRVTf7wRvJVa5M7b43f80MmRXeE0iks5uyU7vgaJpZM4YnZWs>.\n> \n\n"}}
{"actor":{"display_login":"jmendezv"}}