
From nobody Tue Mar 20 08:24:16 2018
Return-Path: <bounces+848413-28b5-unbearable=ietf.org@sgmail.github.com>
X-Original-To: unbearable@ietfa.amsl.com
Delivered-To: unbearable@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD661126D3F for <unbearable@ietfa.amsl.com>; Tue, 20 Mar 2018 07:59:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.607
X-Spam-Level: 
X-Spam-Status: No, score=-0.607 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_28=1.404, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bfaw9QpYE6IZ for <unbearable@ietfa.amsl.com>; Tue, 20 Mar 2018 07:59:02 -0700 (PDT)
Received: from o3.sgmail.github.com (o3.sgmail.github.com [192.254.112.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A16DC1200B9 for <unbearable@ietf.org>; Tue, 20 Mar 2018 07:59:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com;  h=from:reply-to:to:cc:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=9nrr6Rqcx62rLBZIrzy+FZmthWw=; b=WuSBLWGPAZHsuMTR BvTNGYrBGRxEeWy6P19tJi6QZ5tsr3i1qGLu6M2O+Je6gVzz79duMH7DWxmU8rKK TSq8asUw+ftSSZm5kHdU5FrkNr3jrIBYRfNStTNRp4pPLmIuC7YekDBPm39ttEyi 5UpCHsexByayaWoeZfRhiHxJjC8=
Received: by filter0504p1iad2.sendgrid.net with SMTP id filter0504p1iad2-28393-5AB121B5-12 2018-03-20 14:59:01.350205313 +0000 UTC
Received: from smtp.github.com (out-5.smtp.github.com [192.30.252.196]) by ismtpd0003p1iad1.sendgrid.net (SG) with ESMTP id X819tVPlTcSfVwesC3ebwg for <unbearable@ietf.org>; Tue, 20 Mar 2018 14:59:01.246 +0000 (UTC)
Date: Tue, 20 Mar 2018 14:59:01 +0000 (UTC)
From: Dave Longley <notifications@github.com>
Reply-To: TokenBinding/Internet-Drafts <reply+011c274f987c53d205085693b7ab62f61a169aa2a5e0add892cf0000000116c8e3b592a169ce124af88f@reply.github.com>
To: TokenBinding/Internet-Drafts <Internet-Drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <TokenBinding/Internet-Drafts/pull/102@github.com>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5ab121b52bfa8_4bf92adef6646ec829483a"; charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: dlongley
X-GitHub-Recipient: unbearable-ML
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: unbearable@ietf.org
X-SG-EID: 9Yqp9dCIIwZxB0MVAPExrXlt7a4/46ALD9aG/N3UOYot+RkPawkTUmxZlwnAUws6tfaUrUJrPwdjiy XkQ4E8WEBxVdOth7TTu4yAmee/UF9CajLtYV2LUI16gslJxSSKhoy3Bd3djFsnAZJPgbsxq8cukh8k qcLWDMbfBfsv8fVTsIosG6PZByhbCrqInu6eQauAHCv5xHNf1+aEEhAcczQKFWXpk2LeCKFhjMP+UI Q=
Archived-At: <https://mailarchive.ietf.org/arch/msg/unbearable/q9nUr89mwUUESPuVpVsz4F8JTyQ>
X-Mailman-Approved-At: Tue, 20 Mar 2018 08:24:15 -0700
Subject: [Unbearable] [TokenBinding/Internet-Drafts] HTTPSTB-editorial: fix typo (#102)
X-BeenThere: unbearable@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "\"This list is for discussion of proposals for doing better than bearer tokens \(e.g. HTTP cookies, OAuth tokens etc.\) for web applications. The specific goal is chartering a WG focused on preventing security token export and replay attacks.\"" <unbearable.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/unbearable>, <mailto:unbearable-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/unbearable/>
List-Post: <mailto:unbearable@ietf.org>
List-Help: <mailto:unbearable-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/unbearable>, <mailto:unbearable-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Mar 2018 14:59:04 -0000

----==_mimepart_5ab121b52bfa8_4bf92adef6646ec829483a
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

This is editorial, fixes a minor typo "sognature".
You can view, comment on, or merge this pull request online at:

  https://github.com/TokenBinding/Internet-Drafts/pull/102

-- Commit Summary --

  * HTTPSTB-editorial: fix typo

-- File Changes --

    M draft-ietf-tokbind-https-12.xml (2)

-- Patch Links --

https://github.com/TokenBinding/Internet-Drafts/pull/102.patch
https://github.com/TokenBinding/Internet-Drafts/pull/102.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/TokenBinding/Internet-Drafts/pull/102

----==_mimepart_5ab121b52bfa8_4bf92adef6646ec829483a
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

<p>This is editorial, fixes a minor typo "sognature".</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>&nbsp;&nbsp;<a href='https://github.com/TokenBinding/Internet-Drafts/pull/102'>https://github.com/TokenBinding/Internet-Drafts/pull/102</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>HTTPSTB-editorial: fix typo</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/TokenBinding/Internet-Drafts/pull/102/files#diff-0">draft-ietf-tokbind-https-12.xml</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/TokenBinding/Internet-Drafts/pull/102.patch'>https://github.com/TokenBinding/Internet-Drafts/pull/102.patch</a></li>
  <li><a href='https://github.com/TokenBinding/Internet-Drafts/pull/102.diff'>https://github.com/TokenBinding/Internet-Drafts/pull/102.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/TokenBinding/Internet-Drafts/pull/102">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ARwnTyEBHpPr2ImAk1cobTn13_iCVUYSks5tgRk1gaJpZM4SyDs-">mute the thread</a>.<img src="https://github.com/notifications/beacon/ARwnTzBZBTlLPqOXnkdregi7zhDCtgSuks5tgRk1gaJpZM4SyDs-.gif" height="1" width="1" alt="" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/TokenBinding/Internet-Drafts/pull/102"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/TokenBinding/Internet-Drafts","title":"TokenBinding/Internet-Drafts","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/TokenBinding/Internet-Drafts"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"HTTPSTB-editorial: fix typo (#102)"}],"action":{"name":"View Pull Request","url":"https://github.com/TokenBinding/Internet-Drafts/pull/102"}}}</script>

----==_mimepart_5ab121b52bfa8_4bf92adef6646ec829483a--


From nobody Thu Mar 22 08:01:06 2018
Return-Path: <stkent@verizon.net>
X-Original-To: unbearable@ietfa.amsl.com
Delivered-To: unbearable@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6113012D88D for <unbearable@ietfa.amsl.com>; Thu, 22 Mar 2018 08:01:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s2wyFQyW8fS9 for <unbearable@ietfa.amsl.com>; Thu, 22 Mar 2018 08:00:58 -0700 (PDT)
Received: from omr-m001e.mx.aol.com (omr-m001e.mx.aol.com [204.29.186.1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BEDB712D88A for <unbearable@ietf.org>; Thu, 22 Mar 2018 08:00:57 -0700 (PDT)
Received: from mtaout-maa01.mx.aol.com (mtaout-maa01.mx.aol.com [172.26.222.141]) by omr-m001e.mx.aol.com (Outbound Mail Relay) with ESMTP id 9FCA338000B9; Thu, 22 Mar 2018 11:00:56 -0400 (EDT)
Received: from iMac-Study.fios-router.home (0x694d61632d53747564792e66696f732d726f757465722e686f6d65 [108.49.30.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mtaout-maa01.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 21D1A38000086; Thu, 22 Mar 2018 11:00:56 -0400 (EDT)
To: secdir@ietf.org, nharper@google.com, leifj@sunet.se, uta@ietf.org, unbearable@ietf.org, Eric Rescorla <ekr@rtfm.com>
From: Stephen Kent <stkent@verizon.net>
Message-ID: <7e489950-5f18-9ea8-5c49-d8e175a5606f@verizon.net>
Date: Thu, 22 Mar 2018 11:00:55 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------68289448CC69AA43AF0D7243"
Content-Language: en-US
x-aol-global-disposition: G
x-aol-sid: 3039ac1ade8d5ab3c5283f81
X-AOL-IP: 108.49.30.217
Archived-At: <https://mailarchive.ietf.org/arch/msg/unbearable/smeH2hb8zaFfBa6IoBDX5Jss5tg>
Subject: [Unbearable] SECDIR early review of draft-ietf-tokbind-tls13-00
X-BeenThere: unbearable@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "\"This list is for discussion of proposals for doing better than bearer tokens \(e.g. HTTP cookies, OAuth tokens etc.\) for web applications. The specific goal is chartering a WG focused on preventing security token export and replay attacks.\"" <unbearable.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/unbearable>, <mailto:unbearable-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/unbearable/>
List-Post: <mailto:unbearable@ietf.org>
List-Help: <mailto:unbearable-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/unbearable>, <mailto:unbearable-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Mar 2018 15:01:00 -0000

This is a multi-part message in MIME format.
--------------68289448CC69AA43AF0D7243
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

SECDIR *early* review of draft-ietf-tokbind-tls13-00

I have reviewed this document as part of the security directorate's 
ongoing effort to review all IETF documents being processed by the 
IESG.These comments were written with the intent of improving security 
requirements and considerations in IETF drafts.Comments not addressed in 
last call may be included in AD reviews during the IESG review.Document 
editors and WG chairs should treat these comments just like any other 
last call comments.

This (very brief) document defines how to negotiate Token Binding for 
TLS v1.3. Existing IETF documents (IDs) define this protocol and how to 
negotiate it capability only for earlier versions of TLS.

The first question that comes to mind is why there is a need for a new 
ID, instead of adding text to draft-ietf-tokbind-negotiation-10. I 
realize that draft-ietf-tokbind-negotiation-10 is in last call, but the 
text here is so small that it seems overkill to create a separate RFC. 
I’m guessing that the argument is that this document references TLS 1.3, 
which is not yet an RFC, and thus the author is trying to avoid creating 
a down reference problem with draft-ietf-tokbind-negotiation-10. Right?

Section 2 notes that the format of the extension is the same as defined 
in draft-ietf-tokbind-negotiation-10, so nothing new there. The section 
cites two differences from the behavior in 
draft-ietf-tokbind-negotiation-10, which are described in just two 
sentences. Section 3 adds one paragraph to deal with 0-RTT, a TLS 1.3 
feature not present in earlier versions.Section 4 is non-normative, but, 
presumably useful. The security concerns are asserted to be the same as 
for draft-ietf-tokbind-negotiation-10, plus a sentence discussing why 
the 0-RTT exclusion avoids other potential security concerns.

So, if folks don’t want to delay publication of 
draft-ietf-tokbind-negotiation-10, I guess this is OK as a separate 
document, updating that RFC.


--------------68289448CC69AA43AF0D7243
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>
      <style>
<!--
 /* Font Definitions */
@font-face
	{font-family:"ＭＳ 明朝";
	panose-1:0 0 0 0 0 0 0 0 0 0;
	mso-font-alt:"Arial Unicode MS";
	mso-font-charset:128;
	mso-generic-font-family:roman;
	mso-font-format:other;
	mso-font-pitch:fixed;
	mso-font-signature:1 134676480 16 0 131072 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:-536870145 1107305727 0 0 415 0;}
@font-face
	{font-family:Cambria;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:-536870145 1073743103 0 0 415 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Cambria;
	mso-ascii-font-family:Cambria;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:"ＭＳ 明朝";
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Cambria;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:minor-bidi;
	mso-fareast-language:JA;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	font-size:10.0pt;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Cambria;
	mso-ascii-font-family:Cambria;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:"ＭＳ 明朝";
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Cambria;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:minor-bidi;
	mso-fareast-language:JA;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.WordSection1
	{page:WordSection1;}
-->
</style>
    </p>
    <p class="MsoNormal" style="text-align:center" align="center"><span
        style="mso-bidi-font-size:12.0pt;font-family:Courier">SECDIR <b
          style="mso-bidi-font-weight:normal">early</b> review of
        draft-ietf-tokbind-tls13-00</span></p>
    <p class="MsoNormal" style="text-align:center" align="center"><span
        style="mso-bidi-font-size:12.0pt;font-family:Courier"> </span></p>
    <p class="MsoNormal" style="text-align:center" align="center"><span
        style="mso-bidi-font-size:12.0pt;font-family:Courier"><span
          style="mso-spacerun:yes"> </span></span></p>
    <p class="MsoNormal" style="tab-stops:45.8pt 91.6pt 137.4pt 183.2pt
      229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt
      595.4pt 641.2pt 687.0pt 732.8pt"><span
style="mso-bidi-font-size:12.0pt;font-family:Courier;mso-bidi-font-family:Courier;mso-fareast-language:EN-US">I
        have reviewed this document as part of the
        security directorate's ongoing effort to review all IETF
        documents being
        processed by the IESG.<span style="mso-spacerun:yes">  </span>These
        comments
        were written with the intent of improving security requirements
        and
        considerations in IETF drafts.<span style="mso-spacerun:yes">  </span>Comments
        not addressed in last call may be included in AD reviews during
        the IESG
        review.<span style="mso-spacerun:yes">  </span>Document editors
        and WG chairs
        should treat these comments just like any other last call
        comments.</span></p>
    <p class="MsoNormal"><span style="font-family:Courier"> </span></p>
    <p class="MsoNormal"><span style="font-family:Courier">This (very
        brief) document
        defines how to negotiate Token Binding for TLS v1.3. Existing
        IETF documents
        (IDs) define this protocol and how to negotiate it capability
        only for earlier versions
        of TLS. </span></p>
    <p class="MsoNormal"><span style="font-family:Courier"> </span></p>
    <p class="MsoNormal"><span style="font-family:Courier">The first
        question that
        comes to mind is why there is a need for a new ID, instead of
        adding text to </span><span
style="mso-bidi-font-size:12.0pt;font-family:Courier;mso-fareast-font-family:&quot;Times
        New Roman&quot;;mso-bidi-font-family:&quot;Times New
        Roman&quot;;color:#333333;
        mso-fareast-language:EN-US;mso-bidi-font-weight:bold">draft-ietf-tokbind-negotiation-10.
        I realize that draft-ietf-tokbind-negotiation-10 is in last
        call, but the text
        here is so small that it seems overkill to create a separate
        RFC. I’m guessing
        that the argument is that this document references TLS 1.3,
        which is not yet an
        RFC, and thus the author is trying to avoid creating a down
        reference problem
        with draft-ietf-tokbind-negotiation-10. Right?</span></p>
    <p class="MsoNormal"><span
        style="mso-bidi-font-size:12.0pt;font-family:Courier;
        mso-fareast-font-family:&quot;Times New
        Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;
color:#333333;mso-fareast-language:EN-US;mso-bidi-font-weight:bold"> </span></p>
    <p class="MsoNormal"><span
        style="mso-bidi-font-size:12.0pt;font-family:Courier;
        mso-fareast-font-family:&quot;Times New
        Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;
color:#333333;mso-fareast-language:EN-US;mso-bidi-font-weight:bold">Section
        2 notes
        that the format of the extension is the same as defined in
        draft-ietf-tokbind-negotiation-10,
        so nothing new there. The section cites two differences from the
        behavior in draft-ietf-tokbind-negotiation-10,
        which are described in just two sentences. Section 3 adds one
        paragraph to deal
        with 0-RTT, a TLS 1.3 feature not present in earlier versions.<span
          style="mso-spacerun:yes">  </span>Section 4 is non-normative,
        but, presumably
        useful. The security concerns are asserted to be the same as for
        draft-ietf-tokbind-negotiation-10,
        plus a sentence discussing why the 0-RTT exclusion avoids other
        potential security
        concerns. </span></p>
    <p class="MsoNormal"><span
        style="mso-bidi-font-size:12.0pt;font-family:Courier;
        mso-fareast-font-family:&quot;Times New
        Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;
color:#333333;mso-fareast-language:EN-US;mso-bidi-font-weight:bold"> </span></p>
    <p class="MsoNormal"><span
        style="mso-bidi-font-size:12.0pt;font-family:Courier;
        mso-fareast-font-family:&quot;Times New
        Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;
color:#333333;mso-fareast-language:EN-US;mso-bidi-font-weight:bold">So,
        if
        folks don’t want to delay publication of
        draft-ietf-tokbind-negotiation-10, I
        guess this is OK as a separate document, updating that RFC. </span><span
        style="font-family:Courier"></span></p>
  </body>
</html>

--------------68289448CC69AA43AF0D7243--


From nobody Thu Mar 29 14:21:31 2018
Return-Path: <nharper@google.com>
X-Original-To: unbearable@ietfa.amsl.com
Delivered-To: unbearable@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C0C331200F1 for <unbearable@ietfa.amsl.com>; Thu, 29 Mar 2018 14:21:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.711
X-Spam-Level: 
X-Spam-Status: No, score=-2.711 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id erpdZQqCn8q8 for <unbearable@ietfa.amsl.com>; Thu, 29 Mar 2018 14:21:27 -0700 (PDT)
Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com [IPv6:2607:f8b0:400d:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 96D1112E8CD for <unbearable@ietf.org>; Thu, 29 Mar 2018 14:21:09 -0700 (PDT)
Received: by mail-qk0-x22f.google.com with SMTP id d206so7468348qkb.0 for <unbearable@ietf.org>; Thu, 29 Mar 2018 14:21:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ca4J8ba185cuhXy2bH+NqP2oNMpx6tkO9m9WfUTfYd4=; b=spSCFrsWlb1NIQCDfh5tetUWkIvxqmpMDblWwfQmrNjhV76B4KMEimUw7BvOuzmdjn tJHhFWVs4Sdk/z7kOyQ8CukEaEq4lWLyEwPODWVCFWFtfSnnKt2kIWCf+kkgBMEf3iPP BbLLiXaXDKZ2CnQqj3cZm+FI/uhPbbcnqTCJx07EIJgodkiKepmAbPMR3GQHfMcgBD8J VJTtUheJZ37wvCk/xqQm1n7hLYIcUpPuHbN31S+naaoUK8yn9JOvbBhdeCk/wqGbmiK7 zWvUsEij5HytqarfvagNT3IxYa6F4ypiqluhzljm8ofEdrlh//VhM93qX/opml5j1PNW MVYw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ca4J8ba185cuhXy2bH+NqP2oNMpx6tkO9m9WfUTfYd4=; b=fUc7dcwbPr6oWH7HrsHVaj2RajjpDOmziwdPRJyPjb79XySN2hjjFEJISlr0Y4gyRX 2ggVIlPnBjhVmwEveP5skckvKeBgtb7AhdQTQnt8yf2/9wbRsCznlkoh1DlX9H9bHtlc 0EKQHCSmcGIsxO5Jh4IS4vIT8O4q4ejL/95D0d3JTFF3pFhqgsScD6uTOKeSQj4sTQ7v G6kCxfbCfwFeK0UQU53JeBnG8mVNshh8Z1Va3dxzVzCGvJRX8m5edTL1vOpYVqyM8U3t +C8DQZLAzAQ1kZUAycZ+lo+xp1Zf6tDtAizqGcynX919Vt/4iW1h+tVZL7zuStlPtd6o xeYg==
X-Gm-Message-State: ALQs6tDQmU0QkD9vFRYK1s6ae67URQSlPvhhBKjeH+PiFKtTrBZkehl1 YN+QzJ14XRKt8twzTHxE0ObssRbvrEYLjMunsgqpiWxNRlo=
X-Google-Smtp-Source: AIpwx4+fbxcsXwRv6ExNJc3nSFldBe3HmSMr1+ld4fHN+Hp4/3KxzRuplu/4H2qyFGZnKuiWNJGuYGL9Rms4N4WmNgk=
X-Received: by 10.55.24.169 with SMTP id 41mr13515645qky.176.1522358467981; Thu, 29 Mar 2018 14:21:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.200.56.97 with HTTP; Thu, 29 Mar 2018 14:20:47 -0700 (PDT)
From: Nick Harper <nharper@google.com>
Date: Thu, 29 Mar 2018 14:20:47 -0700
Message-ID: <CACdeXiKHWmRxai1WST2BnW1BfjTWRZOAM6BRE3ZoS5De4FiQ5Q@mail.gmail.com>
To: IETF Tokbind WG <unbearable@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/unbearable/VzQOnM1clr2jCY2GX7wXvpPnH-c>
Subject: [Unbearable] Sec-Token-Binding header and Vary
X-BeenThere: unbearable@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "\"This list is for discussion of proposals for doing better than bearer tokens \(e.g. HTTP cookies, OAuth tokens etc.\) for web applications. The specific goal is chartering a WG focused on preventing security token export and replay attacks.\"" <unbearable.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/unbearable>, <mailto:unbearable-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/unbearable/>
List-Post: <mailto:unbearable@ietf.org>
List-Help: <mailto:unbearable-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/unbearable>, <mailto:unbearable-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Mar 2018 21:21:30 -0000

The Vary HTTP header specifies a list of headers whose values must
match for a resource to be served from the cache. HTTPSTB specifies
that a server MAY list Sec-Token-Binding in a Vary response header. I
think this behavior is silly, and we should disallow Sec-Token-Binding
in Vary.

The reason why this is silly is that the Sec-Token-Binding header's
value is dependent on the underlying connection, and it will be
different for requests on different connections.

Consider a request to example.com for resource foo, sent with the
Sec-Token-Binding header, that gets a response with "Vary:
Sec-Token-Binding", and a browser caches this response. The browser
then visits some page that includes resource foo, so it goes to see if
it can use it from cache. (Assume arguendo that all other caching
properties are such that if there weren't this Vary header the
response would be served from cache.) There are two options now:

1) The browser has no connection open to example.com. Any attempted
request for resource foo would have a different Sec-Token-Binding
header (because it cannot possibly match the header of the request
sent on a different connection), so the resource cannot be loaded from
cache because the Sec-token-Binding header can't match.
2) The browser does have a connection open to example.com. Now, the
browser needs to check that if it were to make a request to
example.com for foo, whether the Sec-Token-Binding header it would
generate matches - if so it can serve the response from cache; if not,
it needs to continue sending the request on the network.

A main reason for caching responses is so that they can be served
without ever going to the network. This now requires binding a request
to a particular network connection before evaluating whether it can be
served from the cache, which seems backwards and somewhere between
annoying and impossible to implement.

I suggest changing the "MAY" to "MUST NOT": Under "Additionally, the
Sec-Token-Binding header field:" where it says "MAY be listed by a
server in a Vary response header field", change this to a "MUST NOT".


From nobody Thu Mar 29 19:16:46 2018
Return-Path: <squid3@treenet.co.nz>
X-Original-To: unbearable@ietfa.amsl.com
Delivered-To: unbearable@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A1B3124B18 for <unbearable@ietfa.amsl.com>; Thu, 29 Mar 2018 19:16:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.108
X-Spam-Level: 
X-Spam-Status: No, score=-1.108 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vr-FagM5vQfE for <unbearable@ietfa.amsl.com>; Thu, 29 Mar 2018 19:16:43 -0700 (PDT)
Received: from treenet.co.nz (unknown [121.99.228.82]) by ietfa.amsl.com (Postfix) with ESMTP id D6789128896 for <unbearable@ietf.org>; Thu, 29 Mar 2018 19:16:40 -0700 (PDT)
Received: from [192.168.137.92] (unknown [121.98.41.233]) by treenet.co.nz (Postfix) with ESMTPA id 2A0CA6600F5 for <unbearable@ietf.org>; Fri, 30 Mar 2018 15:16:39 +1300 (NZDT)
To: unbearable@ietf.org
References: <CACdeXiKHWmRxai1WST2BnW1BfjTWRZOAM6BRE3ZoS5De4FiQ5Q@mail.gmail.com>
From: Amos Jeffries <squid3@treenet.co.nz>
Openpgp: preference=signencrypt
Autocrypt: addr=squid3@treenet.co.nz; keydata= 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
Message-ID: <c78d00f8-40db-86bf-f7de-ade25fbdcef1@treenet.co.nz>
Date: Fri, 30 Mar 2018 15:16:38 +1300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CACdeXiKHWmRxai1WST2BnW1BfjTWRZOAM6BRE3ZoS5De4FiQ5Q@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/unbearable/6AuWjZpShGgWmwquDUXUHv_L7Tk>
Subject: Re: [Unbearable] Sec-Token-Binding header and Vary
X-BeenThere: unbearable@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "\"This list is for discussion of proposals for doing better than bearer tokens \(e.g. HTTP cookies, OAuth tokens etc.\) for web applications. The specific goal is chartering a WG focused on preventing security token export and replay attacks.\"" <unbearable.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/unbearable>, <mailto:unbearable-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/unbearable/>
List-Post: <mailto:unbearable@ietf.org>
List-Help: <mailto:unbearable-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/unbearable>, <mailto:unbearable-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Mar 2018 02:16:45 -0000

On 30/03/18 10:20, Nick Harper wrote:
> The Vary HTTP header specifies a list of headers whose values must
> match for a resource to be served from the cache. HTTPSTB specifies
> that a server MAY list Sec-Token-Binding in a Vary response header. I
> think this behavior is silly, and we should disallow Sec-Token-Binding
> in Vary.
> 
> The reason why this is silly is that the Sec-Token-Binding header's
> value is dependent on the underlying connection, and it will be
> different for requests on different connections.

That is exactly why Vary is permitted. The whole purpose of token
binding is to bind a token in the TLS connection (session) to the Cookie
etc in the HTTP(S) message.

The intended use case for token binding is to ensure that HTTP response
headers are only valid when used in conjunction with a specific TLS
connection / session.

If session resume is used the TLS connection over different TCP
connection should have the same security token that has been bound for
the response in question.

If an entirely new session has been negotiated the token has changed and
new HTTP response header is needed. That may require;
 a) a new Cookie header only (CC:no-cache and revalidation is all that
is needed) or
 b) a new payload (Vary is relevant).

For example, consider the new AES payload encodings using a bound token
value as (part of) their encoding key to enforce one-time access to
resources - perhapse a secure live stream.


> 
> Consider a request to example.com for resource foo, sent with the
> Sec-Token-Binding header, that gets a response with "Vary:
> Sec-Token-Binding", and a browser caches this response. The browser
> then visits some page that includes resource foo, so it goes to see if
> it can use it from cache. (Assume arguendo that all other caching
> properties are such that if there weren't this Vary header the
> response would be served from cache.) There are two options now:

If one assumes the case where Vary is unnecessary one of course can
circle around to find that Vary is unnecessary.

Assume the other case: that caching controls were sent but ignored
(and/or removed) by one or more HTTP agents along the delivery path.
Vary is now useful as a backup mechanism to protect against injection
attacks. It is a corner case thus the weak MAY.


Amos


From nobody Thu Mar 29 19:25:04 2018
Return-Path: <nharper@google.com>
X-Original-To: unbearable@ietfa.amsl.com
Delivered-To: unbearable@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BAC7412E052 for <unbearable@ietfa.amsl.com>; Thu, 29 Mar 2018 19:25:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KHNvadaPux-i for <unbearable@ietfa.amsl.com>; Thu, 29 Mar 2018 19:25:00 -0700 (PDT)
Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 28E5C124B18 for <unbearable@ietf.org>; Thu, 29 Mar 2018 19:25:00 -0700 (PDT)
Received: by mail-qk0-x22a.google.com with SMTP id o184so7948352qkd.13 for <unbearable@ietf.org>; Thu, 29 Mar 2018 19:25:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W98SquNdFJgQHWk7vemsB8YJuR4t7u5tFx3ksciMY+I=; b=Ukx94D9txejgcOwyFZrkoszcoZI0rKH1GpqpLO9f0m3IaiQEbTs/Y6JyG1DWe0n0tW 4VKM0POZIz9THV6tavXkGsqEc/YomOraqhvvyJKOs2AShFU0ubKpqsnTD+4jhHV0YwB9 T67wTwD9SvwPfAl0MenBIrEHwl8y1fQnrkKfTx5IzC6e3oMamoxJXW25vOseOeIvX1Pu Z5bPYdPtE4CkEwTCxp47h1jkjCrtiBbVFggB+IIQ6ggCkpjw3QBPVLisytY5oQyUVck5 iH27Zibx8TJbh6OaoJUEgPTNCwyyR0pNaHXYIH/UYUjS7YM/Hm77jNwIbeRqfDG9mEyY eCFQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W98SquNdFJgQHWk7vemsB8YJuR4t7u5tFx3ksciMY+I=; b=JcIvfHyfIDm8djE4v69LSPMnBXpU07tQGYHAkdQ9x5vL8zJ6cuZqGyNbHuz33BzVw5 CMaWUEhLh2ECDSsS8bPg6qP/DjDwDah5xZBihrGeqgU7fLqKAnuDNzWQc52mKYDfaEUN Z7PtwGiizbFrTKKnmcU3girKN7sPDzny1woKVisEPGR2hqUQ8YPB8q0RSqPgYuf5L+tj nCKoZnGXc3ccoFT1kJnzONOl1+MVIu2zmH39X0G9fv4dFCnnMw4Tlbnsf6yhhD4NMofy 9GAff7LgQVWOsTizeH5zLd4BtD7FW4LMLZYs8/UqgQhzzspIDdLvTS+ImFkrDEU8duqR SgoQ==
X-Gm-Message-State: ALQs6tBB0iRxm3icPe2FNc0I+SEhs9+lFyyRz82cViVyy5QPZzOqyizh uVLZMgc0FL67kr3PTWhnUyIIZwu/pHeyCFap2ma2MFK+
X-Google-Smtp-Source: AIpwx4/x40lifzuWzQs5X0y3nVeayDsmaX2SSFMMMf0Qz5mgwkinX7rBYL5X8h0eCk1CTYEfQyHjsf3TnK82FcjqRi8=
X-Received: by 10.55.162.66 with SMTP id l63mr15082240qke.124.1522376698799; Thu, 29 Mar 2018 19:24:58 -0700 (PDT)
MIME-Version: 1.0
References: <CACdeXiKHWmRxai1WST2BnW1BfjTWRZOAM6BRE3ZoS5De4FiQ5Q@mail.gmail.com> <c78d00f8-40db-86bf-f7de-ade25fbdcef1@treenet.co.nz>
In-Reply-To: <c78d00f8-40db-86bf-f7de-ade25fbdcef1@treenet.co.nz>
From: Nick Harper <nharper@google.com>
Date: Fri, 30 Mar 2018 02:24:47 +0000
Message-ID: <CACdeXiJu++y8hsn2LxFHpYSF9r=zMu2L_at0LCB20VxX44MP-Q@mail.gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: unbearable@ietf.org
Content-Type: multipart/alternative; boundary="001a114faa74593c57056897f2d6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/unbearable/NLW-TttMWLdG3NpUKiQ0QpQ9Lt4>
Subject: Re: [Unbearable] Sec-Token-Binding header and Vary
X-BeenThere: unbearable@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "\"This list is for discussion of proposals for doing better than bearer tokens \(e.g. HTTP cookies, OAuth tokens etc.\) for web applications. The specific goal is chartering a WG focused on preventing security token export and replay attacks.\"" <unbearable.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/unbearable>, <mailto:unbearable-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/unbearable/>
List-Post: <mailto:unbearable@ietf.org>
List-Help: <mailto:unbearable-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/unbearable>, <mailto:unbearable-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Mar 2018 02:25:03 -0000

--001a114faa74593c57056897f2d6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 29, 2018 at 19:16 Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 30/03/18 10:20, Nick Harper wrote:
> > The Vary HTTP header specifies a list of headers whose values must
> > match for a resource to be served from the cache. HTTPSTB specifies
> > that a server MAY list Sec-Token-Binding in a Vary response header. I
> > think this behavior is silly, and we should disallow Sec-Token-Binding
> > in Vary.
> >
> > The reason why this is silly is that the Sec-Token-Binding header's
> > value is dependent on the underlying connection, and it will be
> > different for requests on different connections.
>
> That is exactly why Vary is permitted. The whole purpose of token
> binding is to bind a token in the TLS connection (session) to the Cookie
> etc in the HTTP(S) message.
>
> The intended use case for token binding is to ensure that HTTP response
> headers are only valid when used in conjunction with a specific TLS
> connection / session.


If the server wants to ensure that the HTTP response is only valid when
used on that connection (as opposed to in a context where there is no
connection, e.g. when reading a response from cache), that sounds to me
like it doesn=E2=80=99t want the response cached. If the server doesn=E2=80=
=99t want the
response cached, it should send the appropriate cache headers instead of
Vary: Sec-Token-Binding.

>
>
> If session resume is used the TLS connection over different TCP
> connection should have the same security token that has been bound for
> the response in question.
>
> If an entirely new session has been negotiated the token has changed and
> new HTTP response header is needed. That may require;
>  a) a new Cookie header only (CC:no-cache and revalidation is all that
> is needed) or
>  b) a new payload (Vary is relevant).
>
> For example, consider the new AES payload encodings using a bound token
> value as (part of) their encoding key to enforce one-time access to
> resources - perhapse a secure live stream.
>
>
> >
> > Consider a request to example.com for resource foo, sent with the
> > Sec-Token-Binding header, that gets a response with "Vary:
> > Sec-Token-Binding", and a browser caches this response. The browser
> > then visits some page that includes resource foo, so it goes to see if
> > it can use it from cache. (Assume arguendo that all other caching
> > properties are such that if there weren't this Vary header the
> > response would be served from cache.) There are two options now:
>
> If one assumes the case where Vary is unnecessary one of course can
> circle around to find that Vary is unnecessary.
>
> Assume the other case: that caching controls were sent but ignored
> (and/or removed) by one or more HTTP agents along the delivery path.
> Vary is now useful as a backup mechanism to protect against injection
> attacks. It is a corner case thus the weak MAY.
>
>
> Amos
>
> _______________________________________________
> Unbearable mailing list
> Unbearable@ietf.org
> https://www.ietf.org/mailman/listinfo/unbearable
>

--001a114faa74593c57056897f2d6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div><div><div class=3D"gmail_quote"><div dir=3D"auto">On Thu, Mar 29, 2018=
 at 19:16 Amos Jeffries &lt;<a href=3D"mailto:squid3@treenet.co.nz" target=
=3D"_blank">squid3@treenet.co.nz</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">On 30/03/18 10:20, Nick Harper wrote:<br>
&gt; The Vary HTTP header specifies a list of headers whose values must<br>
&gt; match for a resource to be served from the cache. HTTPSTB specifies<br=
>
&gt; that a server MAY list Sec-Token-Binding in a Vary response header. I<=
br>
&gt; think this behavior is silly, and we should disallow Sec-Token-Binding=
<br>
&gt; in Vary.<br>
&gt;<br>
&gt; The reason why this is silly is that the Sec-Token-Binding header&#39;=
s<br>
&gt; value is dependent on the underlying connection, and it will be<br>
&gt; different for requests on different connections.<br>
<br>
That is exactly why Vary is permitted. The whole purpose of token<br>
binding is to bind a token in the TLS connection (session) to the Cookie<br=
>
etc in the HTTP(S) message.<br>
<br>
The intended use case for token binding is to ensure that HTTP response<br>
headers are only valid when used in conjunction with a specific TLS<br>
connection / session.</blockquote><div dir=3D"auto"><br></div></div></div><=
/div><div><div><div class=3D"gmail_quote"><div dir=3D"auto">If the server w=
ants to ensure that the HTTP response is only valid when used on that conne=
ction (as opposed to in a context where there is no connection, e.g. when r=
eading a response from cache), that sounds to me like it doesn=E2=80=99t wa=
nt the response cached. If the server doesn=E2=80=99t want the response cac=
hed, it should send the appropriate cache headers instead of Vary: Sec-Toke=
n-Binding.</div></div></div></div><div><div><div class=3D"gmail_quote"><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex"><br>
<br>
If session resume is used the TLS connection over different TCP<br>
connection should have the same security token that has been bound for<br>
the response in question.<br>
<br>
If an entirely new session has been negotiated the token has changed and<br=
>
new HTTP response header is needed. That may require;<br>
=C2=A0a) a new Cookie header only (CC:no-cache and revalidation is all that=
<br>
is needed) or<br>
=C2=A0b) a new payload (Vary is relevant).<br>
<br>
For example, consider the new AES payload encodings using a bound token<br>
value as (part of) their encoding key to enforce one-time access to<br>
resources - perhapse a secure live stream.<br>
<br>
<br>
&gt;<br>
&gt; Consider a request to <a href=3D"http://example.com" rel=3D"noreferrer=
" target=3D"_blank">example.com</a> for resource foo, sent with the<br>
&gt; Sec-Token-Binding header, that gets a response with &quot;Vary:<br>
&gt; Sec-Token-Binding&quot;, and a browser caches this response. The brows=
er<br>
&gt; then visits some page that includes resource foo, so it goes to see if=
<br>
&gt; it can use it from cache. (Assume arguendo that all other caching<br>
&gt; properties are such that if there weren&#39;t this Vary header the<br>
&gt; response would be served from cache.) There are two options now:<br>
<br>
If one assumes the case where Vary is unnecessary one of course can<br>
circle around to find that Vary is unnecessary.<br>
<br>
Assume the other case: that caching controls were sent but ignored<br>
(and/or removed) by one or more HTTP agents along the delivery path.<br>
Vary is now useful as a backup mechanism to protect against injection<br>
attacks. It is a corner case thus the weak MAY.<br>
<br>
<br>
Amos<br>
<br>
_______________________________________________<br>
Unbearable mailing list<br>
<a href=3D"mailto:Unbearable@ietf.org" target=3D"_blank">Unbearable@ietf.or=
g</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/unbearable" rel=3D"norefer=
rer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/unbearable</a>=
<br>
</blockquote></div></div></div>

--001a114faa74593c57056897f2d6--


From nobody Thu Mar 29 19:31:35 2018
Return-Path: <nharper@google.com>
X-Original-To: unbearable@ietfa.amsl.com
Delivered-To: unbearable@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B3338124B18 for <unbearable@ietfa.amsl.com>; Thu, 29 Mar 2018 19:31:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tO9kvCy2r0c4 for <unbearable@ietfa.amsl.com>; Thu, 29 Mar 2018 19:31:32 -0700 (PDT)
Received: from mail-qk0-x236.google.com (mail-qk0-x236.google.com [IPv6:2607:f8b0:400d:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 10DB31241F5 for <unbearable@ietf.org>; Thu, 29 Mar 2018 19:31:32 -0700 (PDT)
Received: by mail-qk0-x236.google.com with SMTP id o5so7967531qki.11 for <unbearable@ietf.org>; Thu, 29 Mar 2018 19:31:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YnRJK5cWl1B0mAQlXPc9oN+X6FghuROd6ipq/R+66ng=; b=WNEFVOvq/XWRV5D5BYJBUYIbsumgafOfi9p6mRXSYqZqVaizY+TlDqaMWXvDTxfDsn p59TRnNcJ3aYhIEa8oxVGX1yF7yOurfGgum6QYT08BFGUc4K3etn4AqCvX/c5mlOOGf/ wkFRkrxSLFedAxgcoZ2ZWVA6nRcXsmQCDCvRNhWIRaHfInqG+XkfwaSFWp1YIGWDFM73 MWgR167wndxatMGjlI0DWrGZng8bI0DQtYvZZ7/GjLUR4QIU1ld/xzmRWs+K6BfIPrh2 YMhpWShkbf1hSksi3zF8KF0hcci3s32DgsM5MPT/5S8nELmntsj0pP6Wc5D2TI4T6HDe uN3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YnRJK5cWl1B0mAQlXPc9oN+X6FghuROd6ipq/R+66ng=; b=MehHVkNUfpC7Djf9hT6mjF3fqr1VR980xHjKTv9MbaEw+fk5eNLEtnfwzrA652ZAZk Pn/x/7jMaAOv3MSiCxLW1I2hRvRXAls9tPw12hJEQ6oimR4MIBZVfv1mCjpJY6AsYvWY YDelf6BoaF600jwIVutoOuqrIeyaepc1+7wIrFERlZryZjtySkI06pSvudJT1rwdnj8X jqxd7IfKLWZpq6QF52vZPnScl7KDNYv+4hTInAnke4qhJJUqA3X1SonMys807rH/Qm/D pfsW48sSE0pj9nS7+WtcA6aLEZgU2uUcPNip06nIoAHzSbVcpg8fHfBgRKh1ekeQSb4i KAVA==
X-Gm-Message-State: AElRT7EiRIFXTrMm0A4is5ujeQgwrbIvLXFRH7MRAGqpHOE1MuEdZu+E QO5j+MXzsyQiyhNdZEpYN3CGOc6jyOki+M026ir8EAec
X-Google-Smtp-Source: AIpwx49R+XU3MnNR+xB+3Z9nuZ0Ss5n7xFnQ2XI03Nck5iHNwpf0xbfVQDl5ZohQPDnMPd5AAwLoT49nvHCBny2AKzg=
X-Received: by 10.55.101.131 with SMTP id z125mr14714534qkb.178.1522377090837;  Thu, 29 Mar 2018 19:31:30 -0700 (PDT)
MIME-Version: 1.0
References: <CACdeXiKHWmRxai1WST2BnW1BfjTWRZOAM6BRE3ZoS5De4FiQ5Q@mail.gmail.com> <c78d00f8-40db-86bf-f7de-ade25fbdcef1@treenet.co.nz>
In-Reply-To: <c78d00f8-40db-86bf-f7de-ade25fbdcef1@treenet.co.nz>
From: Nick Harper <nharper@google.com>
Date: Fri, 30 Mar 2018 02:31:20 +0000
Message-ID: <CACdeXiLuKtCnR+Y0L-8=t4FxH41zpF5F5tT+aYvWRUSmQXBb=w@mail.gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: unbearable@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c05b112b72ee40568980951"
Archived-At: <https://mailarchive.ietf.org/arch/msg/unbearable/tbQX-DTi4GYIo1vn8HWLipiT8rw>
Subject: Re: [Unbearable] Sec-Token-Binding header and Vary
X-BeenThere: unbearable@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "\"This list is for discussion of proposals for doing better than bearer tokens \(e.g. HTTP cookies, OAuth tokens etc.\) for web applications. The specific goal is chartering a WG focused on preventing security token export and replay attacks.\"" <unbearable.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/unbearable>, <mailto:unbearable-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/unbearable/>
List-Post: <mailto:unbearable@ietf.org>
List-Help: <mailto:unbearable-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/unbearable>, <mailto:unbearable-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Mar 2018 02:31:35 -0000

--94eb2c05b112b72ee40568980951
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 29, 2018 at 19:16 Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 30/03/18 10:20, Nick Harper wrote:
> > The Vary HTTP header specifies a list of headers whose values must
> > match for a resource to be served from the cache. HTTPSTB specifies
> > that a server MAY list Sec-Token-Binding in a Vary response header. I
> > think this behavior is silly, and we should disallow Sec-Token-Binding
> > in Vary.
> >
> > The reason why this is silly is that the Sec-Token-Binding header's
> > value is dependent on the underlying connection, and it will be
> > different for requests on different connections.
>
> That is exactly why Vary is permitted. The whole purpose of token
> binding is to bind a token in the TLS connection (session) to the Cookie
> etc in the HTTP(S) message.
>
> The intended use case for token binding is to ensure that HTTP response
> headers are only valid when used in conjunction with a specific TLS
> connection / session.
>
> If session resume is used the TLS connection over different TCP
> connection should have the same security token that has been bound for
> the response in question.
>
> If an entirely new session has been negotiated the token has changed and
> new HTTP response header is needed. That may require;
>  a) a new Cookie header only (CC:no-cache and revalidation is all that
> is needed) or
>  b) a new payload (Vary is relevant).
>
> For example, consider the new AES payload encodings using a bound token
> value as (part of) their encoding key to enforce one-time access to
> resources - perhapse a secure live stream.
>
>
> >
> > Consider a request to example.com for resource foo, sent with the
> > Sec-Token-Binding header, that gets a response with "Vary:
> > Sec-Token-Binding", and a browser caches this response. The browser
> > then visits some page that includes resource foo, so it goes to see if
> > it can use it from cache. (Assume arguendo that all other caching
> > properties are such that if there weren't this Vary header the
> > response would be served from cache.) There are two options now:
>
> If one assumes the case where Vary is unnecessary one of course can
> circle around to find that Vary is unnecessary.
>
> Assume the other case: that caching controls were sent but ignored
> (and/or removed) by one or more HTTP agents along the delivery path.
> Vary is now useful as a backup mechanism to protect against injection
> attacks.


The Sec-Token-Binding header is only relevant when there is end-to-end
security. How can there be any parties changing HTTP headers in the
delivery path without the permission of the server?

It is a corner case thus the weak MAY.


> It wouldn=E2=80=99t make sense for it to be any stronger than a MAY.

>
> Amos
>
> _______________________________________________
> Unbearable mailing list
> Unbearable@ietf.org
> https://www.ietf.org/mailman/listinfo/unbearable
>

--94eb2c05b112b72ee40568980951
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div><br><div class=3D"gmail_quote"><div dir=3D"auto">On Thu, Mar 29, 2018 =
at 19:16 Amos Jeffries &lt;<a href=3D"mailto:squid3@treenet.co.nz">squid3@t=
reenet.co.nz</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 30/0=
3/18 10:20, Nick Harper wrote:<br>
&gt; The Vary HTTP header specifies a list of headers whose values must<br>
&gt; match for a resource to be served from the cache. HTTPSTB specifies<br=
>
&gt; that a server MAY list Sec-Token-Binding in a Vary response header. I<=
br>
&gt; think this behavior is silly, and we should disallow Sec-Token-Binding=
<br>
&gt; in Vary.<br>
&gt;<br>
&gt; The reason why this is silly is that the Sec-Token-Binding header&#39;=
s<br>
&gt; value is dependent on the underlying connection, and it will be<br>
&gt; different for requests on different connections.<br>
<br>
That is exactly why Vary is permitted. The whole purpose of token<br>
binding is to bind a token in the TLS connection (session) to the Cookie<br=
>
etc in the HTTP(S) message.<br>
<br>
The intended use case for token binding is to ensure that HTTP response<br>
headers are only valid when used in conjunction with a specific TLS<br>
connection / session.<br>
<br>
If session resume is used the TLS connection over different TCP<br>
connection should have the same security token that has been bound for<br>
the response in question.<br>
<br>
If an entirely new session has been negotiated the token has changed and<br=
>
new HTTP response header is needed. That may require;<br>
=C2=A0a) a new Cookie header only (CC:no-cache and revalidation is all that=
<br>
is needed) or<br>
=C2=A0b) a new payload (Vary is relevant).<br>
<br>
For example, consider the new AES payload encodings using a bound token<br>
value as (part of) their encoding key to enforce one-time access to<br>
resources - perhapse a secure live stream.<br>
<br>
<br>
&gt;<br>
&gt; Consider a request to <a href=3D"http://example.com" rel=3D"noreferrer=
" target=3D"_blank">example.com</a> for resource foo, sent with the<br>
&gt; Sec-Token-Binding header, that gets a response with &quot;Vary:<br>
&gt; Sec-Token-Binding&quot;, and a browser caches this response. The brows=
er<br>
&gt; then visits some page that includes resource foo, so it goes to see if=
<br>
&gt; it can use it from cache. (Assume arguendo that all other caching<br>
&gt; properties are such that if there weren&#39;t this Vary header the<br>
&gt; response would be served from cache.) There are two options now:<br>
<br>
If one assumes the case where Vary is unnecessary one of course can<br>
circle around to find that Vary is unnecessary.<br>
<br>
Assume the other case: that caching controls were sent but ignored<br>
(and/or removed) by one or more HTTP agents along the delivery path.<br>
Vary is now useful as a backup mechanism to protect against injection<br>
attacks.</blockquote><div dir=3D"auto"><br></div><div dir=3D"auto">The Sec-=
Token-Binding header is only relevant when there is end-to-end security. Ho=
w can there be any parties changing HTTP headers in the delivery path witho=
ut the permission of the server?<br></div><div dir=3D"auto"><br></div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex"> It is a corner case thus the weak MAY.</blockquo=
te><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex"><br></blockquote><div dir=3D"auto">It wou=
ldn=E2=80=99t make sense for it to be any stronger than a MAY.</div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex"><br>
Amos<br>
<br>
_______________________________________________<br>
Unbearable mailing list<br>
<a href=3D"mailto:Unbearable@ietf.org" target=3D"_blank">Unbearable@ietf.or=
g</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/unbearable" rel=3D"norefer=
rer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/unbearable</a>=
<br>
</blockquote></div></div>

--94eb2c05b112b72ee40568980951--

