Return-Path: <ekr@rtfm.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 3F07B12778D
 for <unbearable@ietfa.amsl.com>; Sun, 19 Mar 2017 10:13:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7]
 autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
 header.d=rtfm-com.20150623.gappssmtp.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 R1To7V_F2iEN for <unbearable@ietfa.amsl.com>;
 Sun, 19 Mar 2017 10:13:18 -0700 (PDT)
Received: from mail-yw0-x22e.google.com (mail-yw0-x22e.google.com
 [IPv6:2607:f8b0:4002:c05::22e])
 (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 27A441294F6
 for <unbearable@ietf.org>; Sun, 19 Mar 2017 10:13:17 -0700 (PDT)
Received: by mail-yw0-x22e.google.com with SMTP id o4so78090024ywd.3
 for <unbearable@ietf.org>; Sun, 19 Mar 2017 10:13:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=rtfm-com.20150623.gappssmtp.com; s=20150623;
 h=mime-version:from:date:message-id:subject:to;
 bh=dM1TZaVbU9qmeQDofTlXDMA/OI09Ns0WDFYw5Bhcu3w=;
 b=UBYWXx1SsQn6mJxn+mz6hHVnix+1rwkp4uR4+k5ApD8BScjkAg5Sn3jdPh0Szme7SV
 e8nyQu0fUSmRd08RU2ohKafovxNX+swBN3Lq21CRkvQy6xbQ5m6moFl/ljmmlB6pkKzP
 Tg76Vf7PU60197B2zDMScwv/puJkHjkIz9eRLjJu+e3Z08QHAA9KIowYe+FZmtUiToz7
 nISSNl55hu3bhbq8ikxp8PgsrOPmi3+rpK1HfVZbPbk76utiO0i2+Va0Q1aE4L35N5a7
 /Gn+oKEXQx71/dN0h1EYpVPhhCFXdQrkqWn+5vnGh6KCAyecGg/ABSQb/P3I4gpu14Jq
 gJAg==
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=dM1TZaVbU9qmeQDofTlXDMA/OI09Ns0WDFYw5Bhcu3w=;
 b=Hm1Kugu9WMI3wKDwTYJ7v6hfMiVP+rGwLn2gJNsM876yBHjA7XxT9S77G8TU2l5Psh
 DaQU+qEveqH/vwX0e50vphbuSIHrahNc+/cDTUyrHfsM+HBxL6kPKNXGZS1pDboAxsXQ
 gU/mzcodXmAanSqbRcrNcX5izQCutMmNi/5mWPI+VhnvNRBnnac4VOpkyFIGLHeHM7jS
 thegIfUePVvLImLn05Fy7Cw2oNFDYLgCOEIztKl+3hPSRAqz0EYwlCLzeVPeqGlmrqlO
 C4s0rc8rpcugVuciKmtQh+fn0qf9Vg5/JjoAvuK3BF3lkdEr4dscfqiigbAK0zzwfOzD
 RRAA==
X-Gm-Message-State: AFeK/H2T30fTmDxm+N1d2SS+nN6P+KFaSusYui3BSKqH6k4fAbnxtfjTaE4AV5a1NECuq3/lTqIu8siGGMrNOg==
X-Received: by 10.37.224.81 with SMTP id x78mr14837961ybg.80.1489943596277;
 Sun, 19 Mar 2017 10:13:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.154.210 with HTTP; Sun, 19 Mar 2017 10:12:35 -0700 (PDT)
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 19 Mar 2017 10:12:35 -0700
Message-ID: <CABcZeBOaX8W6XSekcn4Cth1ofZxxe6Dg6Pmrj6nrAwN2BneC1Q@mail.gmail.com>
To: IETF Tokbind WG <unbearable@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c087358cad09e054b188632
Archived-At: <https://mailarchive.ietf.org/arch/msg/unbearable/thp6ORn_dbs9nRbybt5qIXhixrI>
Subject: [Unbearable] draft-campbell-tokbind-tls-term architecture.
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: Sun, 19 Mar 2017 17:13:20 -0000

--94eb2c087358cad09e054b188632
Content-Type: text/plain; charset=UTF-8

I have read this document. Comments below.

OVERALL
In S 2 you say:

   Reverse proxies MUST only add the "Token-Binding-Context" header when
   explicitly configured to do so and MUST only dispatch requests
   containing it to trusted backend servers.  Any occurrence of the
   "Token-Binding-Context" header in the request from the client MUST be
   removed or overwritten before forwarding the request.  Backend
   servers MUST only accept the "Token-Binding-Context" header when
   explicitly configured to do so and only from trusted reverse proxies.

As well as/instead of requiring proxies to sanitize, why not make it
not possible for the client to construct a valid header. One way to
do this would be to require that the header be MACed with a shared
key between the proxy and the server.

Also, I think some analysis of why this header doesn't need to be
in Sec-* would be valable. I am assuming your argument is going
to be that it's always stripped by proxies?


S 1.
Nit:
   standardized approach, different implementations will will address it

Duplicate will

-Ekr

--94eb2c087358cad09e054b188632
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I have read this document. Comments below.</div><div>=
<br></div><div>OVERALL</div><div>In S 2 you say:</div><div><br></div><div>=
=C2=A0 =C2=A0Reverse proxies MUST only add the &quot;Token-Binding-Context&=
quot; header when</div><div>=C2=A0 =C2=A0explicitly configured to do so and=
 MUST only dispatch requests</div><div>=C2=A0 =C2=A0containing it to truste=
d backend servers.=C2=A0 Any occurrence of the</div><div>=C2=A0 =C2=A0&quot=
;Token-Binding-Context&quot; header in the request from the client MUST be<=
/div><div>=C2=A0 =C2=A0removed or overwritten before forwarding the request=
.=C2=A0 Backend</div><div>=C2=A0 =C2=A0servers MUST only accept the &quot;T=
oken-Binding-Context&quot; header when</div><div>=C2=A0 =C2=A0explicitly co=
nfigured to do so and only from trusted reverse proxies.</div><div><br></di=
v><div>As well as/instead of requiring proxies to sanitize, why not make it=
</div><div>not possible for the client to construct a valid header. One way=
 to</div><div>do this would be to require that the header be MACed with a s=
hared</div><div>key between the proxy and the server.</div><div><br></div><=
div>Also, I think some analysis of why this header doesn&#39;t need to be</=
div><div>in Sec-* would be valable. I am assuming your argument is going</d=
iv><div>to be that it&#39;s always stripped by proxies?</div><div><br></div=
><div><br></div><div>S 1.</div><div>Nit:</div><div>=C2=A0 =C2=A0standardize=
d approach, different implementations will will address it</div><div><br></=
div><div>Duplicate will</div><div><br></div><div>-Ekr</div><div><br></div><=
div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><=
/div>

--94eb2c087358cad09e054b188632--

