{"action":"created","issue":{"url":"https://api.github.com/repos/elrido/ZeroBin/issues/8","labels_url":"https://api.github.com/repos/elrido/ZeroBin/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/elrido/ZeroBin/issues/8/comments","events_url":"https://api.github.com/repos/elrido/ZeroBin/issues/8/events","html_url":"https://github.com/elrido/ZeroBin/issues/8","id":101219100,"number":8,"title":"Security considerations","user":{"login":"elrido","id":1017622,"avatar_url":"https://avatars.githubusercontent.com/u/1017622?v=3","gravatar_id":"","url":"https://api.github.com/users/elrido","html_url":"https://github.com/elrido","followers_url":"https://api.github.com/users/elrido/followers","following_url":"https://api.github.com/users/elrido/following{/other_user}","gists_url":"https://api.github.com/users/elrido/gists{/gist_id}","starred_url":"https://api.github.com/users/elrido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrido/subscriptions","organizations_url":"https://api.github.com/users/elrido/orgs","repos_url":"https://api.github.com/users/elrido/repos","events_url":"https://api.github.com/users/elrido/events{/privacy}","received_events_url":"https://api.github.com/users/elrido/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elrido/ZeroBin/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-15T23:28:05Z","updated_at":"2015-08-29T10:48:28Z","closed_at":null,"body":"As @northox explains in [#45](https://github.com/sebsauvage/ZeroBin/issues/45):\r\n\r\nCurrently the security of pastes in ZeroBin is based on the trust in the server provider. As long as we have to use a software library provided at runtime from a remote system (currently the sjcl javascript library) this is an issue. And when using a HTTP connection without certification, one can't even be sure that the library is not manipulated during transfer.\r\n\r\nIf all major browsers would have a built in crypto API, as is planned with the [Web Crypto API](http://www.w3.org/TR/WebCryptoAPI/) we should at least implement it as the main encryption facility and keep sjcl only as an (optional, because it is dangerous) fallback.\r\n\r\nAdditional issues can be found in the [audit of ZeroBin provided by Taylor Hornby](https://defuse.ca/audits/zerobin.htm). Most points referring to server side issues have been addressed (that's 2.1, 2.3, 2.7, 2.8). The rest is still open for debate or resolution."},"comment":{"url":"https://api.github.com/repos/elrido/ZeroBin/issues/comments/135970189","html_url":"https://github.com/elrido/ZeroBin/issues/8#issuecomment-135970189","issue_url":"https://api.github.com/repos/elrido/ZeroBin/issues/8","id":135970189,"user":{"login":"elrido","id":1017622,"avatar_url":"https://avatars.githubusercontent.com/u/1017622?v=3","gravatar_id":"","url":"https://api.github.com/users/elrido","html_url":"https://github.com/elrido","followers_url":"https://api.github.com/users/elrido/followers","following_url":"https://api.github.com/users/elrido/following{/other_user}","gists_url":"https://api.github.com/users/elrido/gists{/gist_id}","starred_url":"https://api.github.com/users/elrido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrido/subscriptions","organizations_url":"https://api.github.com/users/elrido/orgs","repos_url":"https://api.github.com/users/elrido/repos","events_url":"https://api.github.com/users/elrido/events{/privacy}","received_events_url":"https://api.github.com/users/elrido/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T10:48:28Z","updated_at":"2015-08-29T10:48:28Z","body":"Oh, cool: Apparently there are already [browsers supporting](http://caniuse.com/cryptography) it! We should definitely look into it."}}