{"action":"created","issue":{"url":"https://api.github.com/repos/EricssonResearch/Blind-Cache-Drafts/issues/2","repository_url":"https://api.github.com/repos/EricssonResearch/Blind-Cache-Drafts","labels_url":"https://api.github.com/repos/EricssonResearch/Blind-Cache-Drafts/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/EricssonResearch/Blind-Cache-Drafts/issues/2/comments","events_url":"https://api.github.com/repos/EricssonResearch/Blind-Cache-Drafts/issues/2/events","html_url":"https://github.com/EricssonResearch/Blind-Cache-Drafts/issues/2","id":144725219,"number":2,"title":"TLS requirements are over-broad","user":{"login":"MikeBishop","id":4273797,"avatar_url":"https://avatars.githubusercontent.com/u/4273797?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeBishop","html_url":"https://github.com/MikeBishop","followers_url":"https://api.github.com/users/MikeBishop/followers","following_url":"https://api.github.com/users/MikeBishop/following{/other_user}","gists_url":"https://api.github.com/users/MikeBishop/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeBishop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeBishop/subscriptions","organizations_url":"https://api.github.com/users/MikeBishop/orgs","repos_url":"https://api.github.com/users/MikeBishop/repos","events_url":"https://api.github.com/users/MikeBishop/events{/privacy}","received_events_url":"https://api.github.com/users/MikeBishop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-30T21:31:33Z","updated_at":"2016-04-01T06:16:00Z","closed_at":null,"body":"SCD says (section 7):\r\n\r\n>    This design relies on integrity and confidentiality for the request\r\n>    and response made to the origin server.  These requests MUST be made\r\n>    using HTTP over TLS (HTTPS) [RFC2818] only.  Though there is a lesser\r\n>    requirement for confidentiality, requests made to the CDN cache MUST\r\n>    also be secured using HTTPS.\r\n\r\nThis feels like TLS because TLS, not an actual threat model output.  It seems like the actual threats we need to consider and discuss in the draft are:\r\n\r\n1. Intermediary can observe what requests are being made (tracking by third party)\r\n2. Intermediary can read content (confidentiality from third party)\r\n3. Intermediary can modify content (integrity from third party)\r\n4. Cache can observe what requests are being made (tracking by cache)\r\n5. Cache can read content (confidentiality from cache)\r\n6. Cache can modify content (integrity from cache)\r\n\r\n4 and 5 are already covered in sections 4 and 7.1, and are admitted as being intractable for public content.  But that's fine, since if the content is public the origin obviously doesn't care about the confidentiality of it.  Even for non-public content, 4 is partially intractable, since the cache can still correlate which clients are requesting the content, even if it can't (immediately) identify it.  You already cover this in 7.3.\r\n\r\nTLS is a defense against attacks 1-3.  But the key point is in the previous paragraph:  \"without losing integrity **with respect to the content that is distributed**.\"  This method is perfectly functional when used with http:// origins -- it's simply *as* vulnerable to attackers as any other http:// content.  If the content being served is unencrypted, there's no reason this method couldn't still be used -- but the origin server obviously isn't concerned about attacks 1-3, just as we've already conceded it's not concerned about 4-5 in all cases.\r\n\r\nFailure to use TLS when connecting to the cache exposes you to some correlation by observers, so I can see why you'd want to use TLS to the cache for https:// resources even when the content being transferred is already encrypted.\r\n\r\nA more reasonable requirement would be that the connection to the cache MUST use TLS if the connection to the origin server did.  This maintains the stated goal, that security has not been degraded with respect to the content being distributed."},"comment":{"url":"https://api.github.com/repos/EricssonResearch/Blind-Cache-Drafts/issues/comments/204266094","html_url":"https://github.com/EricssonResearch/Blind-Cache-Drafts/issues/2#issuecomment-204266094","issue_url":"https://api.github.com/repos/EricssonResearch/Blind-Cache-Drafts/issues/2","id":204266094,"user":{"login":"martinthomson","id":67641,"avatar_url":"https://avatars.githubusercontent.com/u/67641?v=3","gravatar_id":"","url":"https://api.github.com/users/martinthomson","html_url":"https://github.com/martinthomson","followers_url":"https://api.github.com/users/martinthomson/followers","following_url":"https://api.github.com/users/martinthomson/following{/other_user}","gists_url":"https://api.github.com/users/martinthomson/gists{/gist_id}","starred_url":"https://api.github.com/users/martinthomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinthomson/subscriptions","organizations_url":"https://api.github.com/users/martinthomson/orgs","repos_url":"https://api.github.com/users/martinthomson/repos","events_url":"https://api.github.com/users/martinthomson/events{/privacy}","received_events_url":"https://api.github.com/users/martinthomson/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T06:16:00Z","updated_at":"2016-04-01T06:16:00Z","body":"I guess that it wasn't clear here what the goals were, but I'm not at all interested in developing new features without security.  So much so that I didn't even consider the possibility that someone might ask what is - in retrospect - a pretty obvious question."}}