idnits 2.17.1 draft-yasskin-http-origin-signed-responses-00.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- No issues found here. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year -- The document date (August 31, 2017) is 2430 days in the past. Is this intentional? Checking references for intended status: Proposed Standard ---------------------------------------------------------------------------- (See RFCs 3967 and 4897 for information about using normative references to lower-maturity documents in RFCs) -- Looks like a reference, but probably isn't: '3' on line 474 -- Looks like a reference, but probably isn't: '4' on line 158 -- Looks like a reference, but probably isn't: '5' on line 476 -- Looks like a reference, but probably isn't: '7' on line 480 -- Looks like a reference, but probably isn't: '8' on line 483 -- Looks like a reference, but probably isn't: '9' on line 279 -- Looks like a reference, but probably isn't: '10' on line 329 -- Looks like a reference, but probably isn't: '1' on line 470 -- Looks like a reference, but probably isn't: '2' on line 472 -- Looks like a reference, but probably isn't: '6' on line 478 == Outdated reference: A later version (-12) exists of draft-cavage-http-signatures-07 == Outdated reference: A later version (-06) exists of draft-ietf-httpbis-origin-frame-04 == Outdated reference: A later version (-28) exists of draft-ietf-tls-tls13-21 -- Obsolete informational reference (is this intentional?): RFC 7232 (Obsoleted by RFC 9110) -- Obsolete informational reference (is this intentional?): RFC 7234 (Obsoleted by RFC 9111) -- Obsolete informational reference (is this intentional?): RFC 7540 (Obsoleted by RFC 9113) Summary: 0 errors (**), 0 flaws (~~), 4 warnings (==), 14 comments (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 http J. Yasskin 3 Internet-Draft Google 4 Intended status: Standards Track August 31, 2017 5 Expires: March 4, 2018 7 Origin-signed HTTP Responses 8 draft-yasskin-http-origin-signed-responses-00 10 Abstract 12 This document explores how a server can send particular responses 13 that are authoritative for an origin, when the server itself is not 14 authoritative for that origin. For now, it focuses on the 15 constraints covering any such mechanism. 17 Note to Readers 19 Discussion of this draft takes place on the HTTP working group 20 mailing list (ietf-http-wg@w3.org), which is archived at 21 https://lists.w3.org/Archives/Public/ietf-http-wg/. 23 The source code and issues list for this draft can be found in 24 https://github.com/WICG/webpackage. 26 Status of This Memo 28 This Internet-Draft is submitted in full conformance with the 29 provisions of BCP 78 and BCP 79. 31 Internet-Drafts are working documents of the Internet Engineering 32 Task Force (IETF). Note that other groups may also distribute 33 working documents as Internet-Drafts. The list of current Internet- 34 Drafts is at http://datatracker.ietf.org/drafts/current/. 36 Internet-Drafts are draft documents valid for a maximum of six months 37 and may be updated, replaced, or obsoleted by other documents at any 38 time. It is inappropriate to use Internet-Drafts as reference 39 material or to cite them other than as "work in progress." 41 This Internet-Draft will expire on March 4, 2018. 43 Copyright Notice 45 Copyright (c) 2017 IETF Trust and the persons identified as the 46 document authors. All rights reserved. 48 This document is subject to BCP 78 and the IETF Trust's Legal 49 Provisions Relating to IETF Documents 50 (http://trustee.ietf.org/license-info) in effect on the date of 51 publication of this document. Please review these documents 52 carefully, as they describe your rights and restrictions with respect 53 to this document. Code Components extracted from this document must 54 include Simplified BSD License text as described in Section 4.e of 55 the Trust Legal Provisions and are provided without warranty as 56 described in the Simplified BSD License. 58 Table of Contents 60 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 61 2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3 62 3. Use cases . . . . . . . . . . . . . . . . . . . . . . . . . . 3 63 3.1. PUSHed subresources . . . . . . . . . . . . . . . . . . . 3 64 3.2. Explicit use of a CDN for subresources . . . . . . . . . 3 65 3.3. Subresource Integrity . . . . . . . . . . . . . . . . . . 4 66 3.4. Offline websites . . . . . . . . . . . . . . . . . . . . 4 67 4. Requirements and open questions . . . . . . . . . . . . . . . 5 68 4.1. Proof of origin . . . . . . . . . . . . . . . . . . . . . 5 69 4.1.1. The certificate and its chain . . . . . . . . . . . . 5 70 4.2. How much to sign . . . . . . . . . . . . . . . . . . . . 5 71 4.3. Response lifespan . . . . . . . . . . . . . . . . . . . . 6 72 4.3.1. Certificate revocation . . . . . . . . . . . . . . . 6 73 4.3.2. Response downgrade attacks . . . . . . . . . . . . . 7 74 4.4. Conveying the signed headers . . . . . . . . . . . . . . 7 75 5. Straw proposal . . . . . . . . . . . . . . . . . . . . . . . 8 76 6. Security considerations . . . . . . . . . . . . . . . . . . . 8 77 7. Privacy considerations . . . . . . . . . . . . . . . . . . . 8 78 8. IANA considerations . . . . . . . . . . . . . . . . . . . . . 9 79 9. References . . . . . . . . . . . . . . . . . . . . . . . . . 9 80 9.1. Normative References . . . . . . . . . . . . . . . . . . 9 81 9.2. Informative References . . . . . . . . . . . . . . . . . 9 82 9.3. URIs . . . . . . . . . . . . . . . . . . . . . . . . . . 11 83 Appendix A. Acknowledgements . . . . . . . . . . . . . . . . . . 11 84 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 11 86 1. Introduction 88 When I presented Web Packaging to DISPATCH [3], folks thought it 89 would make sense to split it into a way to sign individual HTTP 90 responses as coming from a particular origin, and separately a way to 91 bundle a collection of HTTP responses. This document explores the 92 constraints on any method of signing HTTP responses and briefly 93 sketches a possible solution to the constraints. 95 2. Terminology 97 Author The entity that controls the server for a particular origin 98 [RFC6454]. The author can get a CA to issue certificates for 99 their private keys and can run a TLS server for their origin. 101 Intermediate An entity that fetches signed HTTP responses from an 102 author or another intermediate and forwards them to another 103 intermediate or a client. 105 Client An entity that uses a signed HTTP response and needs to be 106 able to prove that the author vouched for it as coming from its 107 claimed origin. 109 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 110 "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and 111 "OPTIONAL" in this document are to be interpreted as described in BCP 112 14 [RFC2119] [RFC8174] when, and only when, they appear in all 113 capitals, as shown here. 115 3. Use cases 117 3.1. PUSHed subresources 119 To reduce round trips, a server might use HTTP/2 PUSH to inject a 120 subresource from another server into the client's cache. If anything 121 about the subresource is expired or can't be verified, the client 122 would fetch it from the original server. 124 For example, if "https://example.com/index.html" includes 126