{"action":"created","issue":{"url":"https://api.github.com/repos/Pushjet/Pushjet-Server-Api/issues/13","repository_url":"https://api.github.com/repos/Pushjet/Pushjet-Server-Api","labels_url":"https://api.github.com/repos/Pushjet/Pushjet-Server-Api/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/Pushjet/Pushjet-Server-Api/issues/13/comments","events_url":"https://api.github.com/repos/Pushjet/Pushjet-Server-Api/issues/13/events","html_url":"https://github.com/Pushjet/Pushjet-Server-Api/pull/13","id":173591989,"number":13,"title":"Add proof-of-concept for encryption","user":{"login":"skorokithakis","id":23648,"avatar_url":"https://avatars.githubusercontent.com/u/23648?v=3","gravatar_id":"","url":"https://api.github.com/users/skorokithakis","html_url":"https://github.com/skorokithakis","followers_url":"https://api.github.com/users/skorokithakis/followers","following_url":"https://api.github.com/users/skorokithakis/following{/other_user}","gists_url":"https://api.github.com/users/skorokithakis/gists{/gist_id}","starred_url":"https://api.github.com/users/skorokithakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skorokithakis/subscriptions","organizations_url":"https://api.github.com/users/skorokithakis/orgs","repos_url":"https://api.github.com/users/skorokithakis/repos","events_url":"https://api.github.com/users/skorokithakis/events{/privacy}","received_events_url":"https://api.github.com/users/skorokithakis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Mechazawa","id":1144171,"avatar_url":"https://avatars.githubusercontent.com/u/1144171?v=3","gravatar_id":"","url":"https://api.github.com/users/Mechazawa","html_url":"https://github.com/Mechazawa","followers_url":"https://api.github.com/users/Mechazawa/followers","following_url":"https://api.github.com/users/Mechazawa/following{/other_user}","gists_url":"https://api.github.com/users/Mechazawa/gists{/gist_id}","starred_url":"https://api.github.com/users/Mechazawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mechazawa/subscriptions","organizations_url":"https://api.github.com/users/Mechazawa/orgs","repos_url":"https://api.github.com/users/Mechazawa/repos","events_url":"https://api.github.com/users/Mechazawa/events{/privacy}","received_events_url":"https://api.github.com/users/Mechazawa/received_events","type":"User","site_admin":false},"assignees":[{"login":"Mechazawa","id":1144171,"avatar_url":"https://avatars.githubusercontent.com/u/1144171?v=3","gravatar_id":"","url":"https://api.github.com/users/Mechazawa","html_url":"https://github.com/Mechazawa","followers_url":"https://api.github.com/users/Mechazawa/followers","following_url":"https://api.github.com/users/Mechazawa/following{/other_user}","gists_url":"https://api.github.com/users/Mechazawa/gists{/gist_id}","starred_url":"https://api.github.com/users/Mechazawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mechazawa/subscriptions","organizations_url":"https://api.github.com/users/Mechazawa/orgs","repos_url":"https://api.github.com/users/Mechazawa/repos","events_url":"https://api.github.com/users/Mechazawa/events{/privacy}","received_events_url":"https://api.github.com/users/Mechazawa/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-08-27T11:35:09Z","updated_at":"2016-08-27T13:29:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Pushjet/Pushjet-Server-Api/pulls/13","html_url":"https://github.com/Pushjet/Pushjet-Server-Api/pull/13","diff_url":"https://github.com/Pushjet/Pushjet-Server-Api/pull/13.diff","patch_url":"https://github.com/Pushjet/Pushjet-Server-Api/pull/13.patch"},"body":"This is a proof of concept for #6, it doesn't actually do any encryption, but it adds the necessary API calls and storage of symmetric keys so that all that would be required is to encrypt the message before sending. I'm primarily issuing this PR for feedback."},"comment":{"url":"https://api.github.com/repos/Pushjet/Pushjet-Server-Api/issues/comments/242917225","html_url":"https://github.com/Pushjet/Pushjet-Server-Api/pull/13#issuecomment-242917225","issue_url":"https://api.github.com/repos/Pushjet/Pushjet-Server-Api/issues/13","id":242917225,"user":{"login":"skorokithakis","id":23648,"avatar_url":"https://avatars.githubusercontent.com/u/23648?v=3","gravatar_id":"","url":"https://api.github.com/users/skorokithakis","html_url":"https://github.com/skorokithakis","followers_url":"https://api.github.com/users/skorokithakis/followers","following_url":"https://api.github.com/users/skorokithakis/following{/other_user}","gists_url":"https://api.github.com/users/skorokithakis/gists{/gist_id}","starred_url":"https://api.github.com/users/skorokithakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skorokithakis/subscriptions","organizations_url":"https://api.github.com/users/skorokithakis/orgs","repos_url":"https://api.github.com/users/skorokithakis/repos","events_url":"https://api.github.com/users/skorokithakis/events{/privacy}","received_events_url":"https://api.github.com/users/skorokithakis/received_events","type":"User","site_admin":false},"created_at":"2016-08-27T13:29:04Z","updated_at":"2016-08-27T13:29:04Z","body":"Hmm, that makes sense, but my use case was mainly for authentication. The way you describe, everyone can subscribe to your service and start getting notifications (even an adversary), without needing to know any extra parameters.\r\n\r\nMaybe both could be done? Each device sends its own key (1024 is too low for RSA, btw) when it registers, and authentication could be implemented some other way."}}
{"actor":{"display_login":"skorokithakis"}}