
From nobody Mon May  1 11:27:27 2017
Return-Path: <kathleen.moriarty.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A88B6129C39 for <tls@ietfa.amsl.com>; Mon,  1 May 2017 11:27:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 71bQH67R9fDL for <tls@ietfa.amsl.com>; Mon,  1 May 2017 11:27:24 -0700 (PDT)
Received: from mail-pg0-x22b.google.com (mail-pg0-x22b.google.com [IPv6:2607:f8b0:400e:c05::22b]) (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 10CB712E035 for <tls@ietf.org>; Mon,  1 May 2017 11:24:32 -0700 (PDT)
Received: by mail-pg0-x22b.google.com with SMTP id o3so43053673pgn.2 for <tls@ietf.org>; Mon, 01 May 2017 11:24:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=VpN5fljzUYyLYOyu0MHyg3vD+W6MogM88SmKyghMeCs=; b=CWg9cPOOpdTlyg1YmI6GbaNFUJKgPmXsp2oU4Mt6Pj5IcW+iFG9sVlUcgjs/Y5LQGj wTAmE3TUeUO6wjV4I0OIFAim4mFPwETmOtSPaJS0MGDskq3QQAuWdTunmf9/ne+jiMV8 TaB4Z0BZyJ1em3l6pPXFn7RegP4mmNzmG+jsCd/91wLX9kktNOnOoDANrcQ1ZJSzdPFs dWBLHLV05AlmfC5GF3yZ+5m2NHGE+dCAFveKtb3CJsvRgL9UBIZWX70UpGDvcNweJb+U SZ9o1LnX63Ow27Fwwlb7ajpc13Z6jjLgb5xbH4/wgX3n5Hqv+A4VpHvOzY8EZk8TNK72 EIxA==
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=VpN5fljzUYyLYOyu0MHyg3vD+W6MogM88SmKyghMeCs=; b=iH10UOW7qMCAIPWRHo17nSNwaX9IvZJ3pXvVnxciQ727ha7BkuGieHoHhYhkqhoDZd tuyf4ba5zhseDq55qft8decSi0Wzc4Z0f152Q7nKxgbbhiC6k1YFkd4UrTqjN9pk8Xa2 xANtT/eUeJfGAJ+olqqre4Gts2AnaqgOzuTEU0f049WMWPCFheIjfyQgXFNZWJTbpnkM /ysCu9fD8nc89GEqeteqlKhYC7W4j7BWQcZ/6z98jWYjB6xIS7EOgFxQY/UN//pY4RbB LzPPleUPHDeRRp1rTi74TY7Pin168dyioHfFvzYtWYFdDcZpPBRfdXet1ZOZu7DCkMol 170A==
X-Gm-Message-State: AN3rC/5IACT0Pvzj3i/mtzcFHmchzzMjZNH6llA/OuWJ1Br87KF7ewE5 w2MFbGrpZoyIBrHanEgwsWxTmSl2JoeD
X-Received: by 10.84.245.1 with SMTP id i1mr30949479pll.51.1493663071453; Mon, 01 May 2017 11:24:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.185.143 with HTTP; Mon, 1 May 2017 11:23:51 -0700 (PDT)
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Date: Mon, 1 May 2017 14:23:51 -0400
Message-ID: <CAHbuEH51dg46EfS6PxiZC0BB8RG0-Vj-WXSPPTCqbZdiMLHZBA@mail.gmail.com>
To: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/9w9zM8qLprMyVhrPPRzG5_5jaf0>
Subject: [TLS] AD review of draft-ietf-tls-ecdhe-psk-aead-02
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 May 2017 18:27:26 -0000

Hello,

Thanks for your work on the draft draft-ietf-tls-ecdhe-psk-aead-02.

In the IANA section, I think it would be a bit more clear to say in
the last column rather than second column wince one might interpret
this listing as having 3 columns.

   The cipher suite numbers listed in the second column are numbers used
   for cipher suite interoperability testing and it's suggested that
   IANA use these values for assignment.

The registry has this reversed with the description as the second
column, which is fine.  I'm just pointing that out as it doesn't
clarify the column for you.

Nits:

Security Considerations section:

   Use of Pre-Shared Keys of limited entropy may allow an active
   attacker attempts to connect to the server and tries different keys.
s/tries/try/

   Other
   example includes the use of a PSK chosen by a human and thus may be
   exposed to dictionary attacks.
s/Other/Another/


-- 

Best regards,
Kathleen


From nobody Mon May  1 18:48:45 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 265281294D2 for <tls@ietfa.amsl.com>; Mon,  1 May 2017 18:48:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.301
X-Spam-Level: 
X-Spam-Status: No, score=0.301 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 KIZSmLbM-37q for <tls@ietfa.amsl.com>; Mon,  1 May 2017 18:48:40 -0700 (PDT)
Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (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 C5C8F12EA7C for <tls@ietf.org>; Mon,  1 May 2017 18:46:31 -0700 (PDT)
Received: by mail-lf0-x22d.google.com with SMTP id t144so67733721lff.1 for <tls@ietf.org>; Mon, 01 May 2017 18:46:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=9rrb93dwkXxw7qbz3wG6OeM/u6I9IX7yuyCNAyGjtoA=; b=Sb/on3cSc+VAatlZB89eFPTBXsOIPR5Efbk+VH18vewGduVwXtrGy38ESSYChzkdOJ irhOF1/Nn4lLTDtOUCloQS4dhTvhAmVhNNAxkFqbwmcO5MXeEnFZMXZQz1MEPauvffbs 40rxXuLqVE7VkIKUDYuya0enoLrfjT2A6d7mMYB9VJEtz3A0Qa1lgyo/pmG0ji6igBlA jBungbOLzu7k51lMs6879+kZdx4tHgxCBy3me83GFEL/g2hETEJf/5JR6m9Kfny+9gOo 0PLNg3y6SGe5LzGRK10vZKWZ66kdZiv7a0hKU5vM3qCJSMuJDVeBxu2lOme4ubQy0kF5 PKLA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=9rrb93dwkXxw7qbz3wG6OeM/u6I9IX7yuyCNAyGjtoA=; b=AicxLPuU2tVo3i/Ts1+T5SVfyc9ju4oZU4gn7svl8htoxabIT4Oq77JLvT8LkkTGAR vtBcdk52YioqSBBAkQmU3wfuVIwFAeJ7rAmQMzg3JVUkQ6Cz6YUge7NEmH8EVrz8wBEn kcoQNLx+Hls6Cve/2NBtz6QIJGhdBSwpWJW+h90feFPrQoeLqU9WOxq+7Sb7AqRhf5i8 ls8HBovaqEuebn4xxOwD4M712Fy1ZN49QpR6hgaOM9V0s9JUC8VglZ0ZJXEIo4ACbs6a yIAsK1fd90Dv/RNWiQYVdLw/t2Ev1hef9zTqhpLB3IEbmjM0kCTrLQ1ke+3XwxLyZltF oygw==
X-Gm-Message-State: AN3rC/5gwnd0jANJKc19sH4J39iJ+TOfV9CqN0z40rPBZZwC9f+CEwH2 oK+VSUChWMd2uDpBDhcxyaNMK6io1Q==
X-Received: by 10.25.155.145 with SMTP id d139mr8373610lfe.174.1493689590018;  Mon, 01 May 2017 18:46:30 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.69.212 with HTTP; Mon, 1 May 2017 18:46:29 -0700 (PDT)
In-Reply-To: <CAHbuEH51dg46EfS6PxiZC0BB8RG0-Vj-WXSPPTCqbZdiMLHZBA@mail.gmail.com>
References: <CAHbuEH51dg46EfS6PxiZC0BB8RG0-Vj-WXSPPTCqbZdiMLHZBA@mail.gmail.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Mon, 1 May 2017 21:46:29 -0400
X-Google-Sender-Auth: 8_UNXjhQdOWl5nheOm9EVG_Tjfg
Message-ID: <CADZyTkkyVC3_YnrniVscQETwP6bgduCMHpSiVNnGPqzz9dtgUg@mail.gmail.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Cc: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a114022986af7bd054e80b59c
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/rn7YfMZ1-UwohHeGp89HOn3_QVM>
Subject: Re: [TLS] AD review of draft-ietf-tls-ecdhe-psk-aead-02
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 01:48:42 -0000

--001a114022986af7bd054e80b59c
Content-Type: text/plain; charset=UTF-8

Hi Kathleen,

Thank you for the review. I have proceeded to the update of my local copy.
The text is:

"""
The cipher suite numbers listed in the last column are numbers used
for cipher suite interoperability testing and it's suggested that IANA
use these values for assignment.
"""

Other nits have been addressed as well.

If that is fine, I can publish the version 03.

Yours,
Daniel


On Mon, May 1, 2017 at 2:23 PM, Kathleen Moriarty <
kathleen.moriarty.ietf@gmail.com> wrote:

> Hello,
>
> Thanks for your work on the draft draft-ietf-tls-ecdhe-psk-aead-02.
>
> In the IANA section, I think it would be a bit more clear to say in
> the last column rather than second column wince one might interpret
> this listing as having 3 columns.
>
>    The cipher suite numbers listed in the second column are numbers used
>    for cipher suite interoperability testing and it's suggested that
>    IANA use these values for assignment.
>
> The registry has this reversed with the description as the second
> column, which is fine.  I'm just pointing that out as it doesn't
> clarify the column for you.
>
> Nits:
>
> Security Considerations section:
>
>    Use of Pre-Shared Keys of limited entropy may allow an active
>    attacker attempts to connect to the server and tries different keys.
> s/tries/try/
>
>    Other
>    example includes the use of a PSK chosen by a human and thus may be
>    exposed to dictionary attacks.
> s/Other/Another/
>
>
> --
>
> Best regards,
> Kathleen
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr"><div><div><div><div>Hi Kathleen, <br><br>Thank you for the=
 review. I have proceeded to the update of my local copy. The text is:<br><=
br>&quot;&quot;&quot;<br>The cipher suite numbers listed in the last column=
 are numbers used<br>for cipher suite interoperability testing and it&#39;s=
 suggested that IANA<br>use these values for assignment.<br>&quot;&quot;&qu=
ot;<br><br></div>Other nits have been addressed as well. <br><br></div>If t=
hat is fine, I can publish the version 03. <br><br></div>Yours, <br></div>D=
aniel<br><div><div><div><br></div></div></div></div><div class=3D"gmail_ext=
ra"><br><div class=3D"gmail_quote">On Mon, May 1, 2017 at 2:23 PM, Kathleen=
 Moriarty <span dir=3D"ltr">&lt;<a href=3D"mailto:kathleen.moriarty.ietf@gm=
ail.com" target=3D"_blank">kathleen.moriarty.ietf@gmail.com</a>&gt;</span> =
wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Thanks for your work on the draft draft-ietf-tls-ecdhe-psk-aead-<wbr>02.<br=
>
<br>
In the IANA section, I think it would be a bit more clear to say in<br>
the last column rather than second column wince one might interpret<br>
this listing as having 3 columns.<br>
<br>
=C2=A0 =C2=A0The cipher suite numbers listed in the second column are numbe=
rs used<br>
=C2=A0 =C2=A0for cipher suite interoperability testing and it&#39;s suggest=
ed that<br>
=C2=A0 =C2=A0IANA use these values for assignment.<br>
<br>
The registry has this reversed with the description as the second<br>
column, which is fine.=C2=A0 I&#39;m just pointing that out as it doesn&#39=
;t<br>
clarify the column for you.<br>
<br>
Nits:<br>
<br>
Security Considerations section:<br>
<br>
=C2=A0 =C2=A0Use of Pre-Shared Keys of limited entropy may allow an active<=
br>
=C2=A0 =C2=A0attacker attempts to connect to the server and tries different=
 keys.<br>
s/tries/try/<br>
<br>
=C2=A0 =C2=A0Other<br>
=C2=A0 =C2=A0example includes the use of a PSK chosen by a human and thus m=
ay be<br>
=C2=A0 =C2=A0exposed to dictionary attacks.<br>
s/Other/Another/<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
--<br>
<br>
Best regards,<br>
Kathleen<br>
<br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</font></span></blockquote></div><br></div>

--001a114022986af7bd054e80b59c--


From nobody Tue May  2 04:48:30 2017
Return-Path: <kathleen.moriarty.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 602F3131670 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 04:48:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level: 
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 1ttveCm6SDLc for <tls@ietfa.amsl.com>; Tue,  2 May 2017 04:48:27 -0700 (PDT)
Received: from mail-qk0-x232.google.com (mail-qk0-x232.google.com [IPv6:2607:f8b0:400d:c09::232]) (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 54E9C13168E for <tls@ietf.org>; Tue,  2 May 2017 04:45:43 -0700 (PDT)
Received: by mail-qk0-x232.google.com with SMTP id q1so39600553qkd.2 for <tls@ietf.org>; Tue, 02 May 2017 04:45:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QyloKHIm9W7c+kTZDvp5P6rpR0ysIPqNu/KMwuNBubo=; b=u0eLR8uG9xkExzzgldbC1a3IfEJyHq0V4wbU1I6ewplAwH1g7MFb1SQIbg1nF6k7k1 7WA33NLTwQyhgWhCTYFIamZWHX6lJGroO4soptgaT8CZtWRIJkOluc+77pDSy7UnRSsZ d98raWH4j/tY7k3dBeEMxRQUX6OAonsrQ/pfue0GZLcXDczl8L4fH1LsE3RQrdNX2gMZ MgruQkYQQCdVuXcrLEJ0MBX33IJ4do9TadC9umek+tUpFSnu006KEiY44OjNEb5wY3d3 6xgz1NcfpLFZl29mHg9megAvdEngJEnoi6Ck6zJEqZWtUB0neOJ0LGYYRu6Vt3Hgs03r kpSw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QyloKHIm9W7c+kTZDvp5P6rpR0ysIPqNu/KMwuNBubo=; b=D8Qe4/2LSpY97EQkAwS/UF5beFo0CmKX8OLu+vYMCGYDja9K9n/NOQfV/1w9wn+pNs 6eEwLi4utC31U5gY9NnHgHMcBWrCZBKSCq+wMzSVxwyhKOiMnc5N+GshKIErz+Dpnt6B ISlBXAO0dObce7DEFPlSUyJJyvWXFRXCGIBFIhESOujviOQ7X5KvtbhwS73XqvX2UecR ouOcVFH/iGVNULg76gTkDg1yVisGotDPFvwKaLrDBur8agzvhbZt799uYNID0XhKExaT bah/wVLOhBSBVMTVhxJEuymViUYDsqkF+VA/yxKIuin1PcXNFuzIgja6GQV6vmlRndMl S91Q==
X-Gm-Message-State: AN3rC/6YKznueyLtg+up8lg0+xGqDXa0wnl2eiMqueuaOMxKnWLyAdry agOL+WKjsRF9fA==
X-Received: by 10.55.74.215 with SMTP id x206mr24714635qka.57.1493725542574; Tue, 02 May 2017 04:45:42 -0700 (PDT)
Received: from [192.168.1.13] (209-6-124-204.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com. [209.6.124.204]) by smtp.gmail.com with ESMTPSA id z63sm12984124qkc.6.2017.05.02.04.45.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 May 2017 04:45:41 -0700 (PDT)
Content-Type: multipart/alternative; boundary=Apple-Mail-F4A4366F-914D-4805-B812-5C254F68E276
Mime-Version: 1.0 (1.0)
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
X-Mailer: iPhone Mail (14D27)
In-Reply-To: <CADZyTkkyVC3_YnrniVscQETwP6bgduCMHpSiVNnGPqzz9dtgUg@mail.gmail.com>
Date: Tue, 2 May 2017 07:45:40 -0400
Cc: "<tls@ietf.org>" <tls@ietf.org>
Content-Transfer-Encoding: 7bit
Message-Id: <05FBCFBA-93BE-4314-830D-65528F6BAED9@gmail.com>
References: <CAHbuEH51dg46EfS6PxiZC0BB8RG0-Vj-WXSPPTCqbZdiMLHZBA@mail.gmail.com> <CADZyTkkyVC3_YnrniVscQETwP6bgduCMHpSiVNnGPqzz9dtgUg@mail.gmail.com>
To: Daniel Migault <daniel.migault@ericsson.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/O-7odlwX6pxiFHn8AXFlJZ4lvd0>
Subject: Re: [TLS] AD review of draft-ietf-tls-ecdhe-psk-aead-02
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 11:48:29 -0000

--Apple-Mail-F4A4366F-914D-4805-B812-5C254F68E276
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hi Daniel,

Thank you, please publish version 3 and I'll kick off last call.  You could u=
pdate the TLS version to 20 as well, but that's something that will get fixe=
d with the RFC number while in the RFC editor queue.

Best regards,
Kathleen=20

Sent from my iPhone

> On May 1, 2017, at 9:46 PM, Daniel Migault <daniel.migault@ericsson.com> w=
rote:
>=20
> Hi Kathleen,=20
>=20
> Thank you for the review. I have proceeded to the update of my local copy.=
 The text is:
>=20
> """
> The cipher suite numbers listed in the last column are numbers used
> for cipher suite interoperability testing and it's suggested that IANA
> use these values for assignment.
> """
>=20
> Other nits have been addressed as well.=20
>=20
> If that is fine, I can publish the version 03.=20
>=20
> Yours,=20
> Daniel
>=20
>=20
>> On Mon, May 1, 2017 at 2:23 PM, Kathleen Moriarty <kathleen.moriarty.ietf=
@gmail.com> wrote:
>> Hello,
>>=20
>> Thanks for your work on the draft draft-ietf-tls-ecdhe-psk-aead-02.
>>=20
>> In the IANA section, I think it would be a bit more clear to say in
>> the last column rather than second column wince one might interpret
>> this listing as having 3 columns.
>>=20
>>    The cipher suite numbers listed in the second column are numbers used
>>    for cipher suite interoperability testing and it's suggested that
>>    IANA use these values for assignment.
>>=20
>> The registry has this reversed with the description as the second
>> column, which is fine.  I'm just pointing that out as it doesn't
>> clarify the column for you.
>>=20
>> Nits:
>>=20
>> Security Considerations section:
>>=20
>>    Use of Pre-Shared Keys of limited entropy may allow an active
>>    attacker attempts to connect to the server and tries different keys.
>> s/tries/try/
>>=20
>>    Other
>>    example includes the use of a PSK chosen by a human and thus may be
>>    exposed to dictionary attacks.
>> s/Other/Another/
>>=20
>>=20
>> --
>>=20
>> Best regards,
>> Kathleen
>>=20
>> _______________________________________________
>> TLS mailing list
>> TLS@ietf.org
>> https://www.ietf.org/mailman/listinfo/tls
>=20

--Apple-Mail-F4A4366F-914D-4805-B812-5C254F68E276
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div>Hi Daniel,</div><div id=3D"AppleMailSi=
gnature"><br></div><div id=3D"AppleMailSignature">Thank you, please publish v=
ersion 3 and I'll kick off last call. &nbsp;You could update the TLS version=
 to 20 as well, but that's something that will get fixed with the RFC number=
 while in the RFC editor queue.</div><div id=3D"AppleMailSignature"><br></di=
v><div id=3D"AppleMailSignature">Best regards,</div><div id=3D"AppleMailSign=
ature">Kathleen&nbsp;<br><br>Sent from my iPhone</div><div><br>On May 1, 201=
7, at 9:46 PM, Daniel Migault &lt;<a href=3D"mailto:daniel.migault@ericsson.=
com">daniel.migault@ericsson.com</a>&gt; wrote:<br><br></div><blockquote typ=
e=3D"cite"><div><div dir=3D"ltr"><div><div><div><div>Hi Kathleen, <br><br>Th=
ank you for the review. I have proceeded to the update of my local copy. The=
 text is:<br><br>"""<br>The cipher suite numbers listed in the last column a=
re numbers used<br>for cipher suite interoperability testing and it's sugges=
ted that IANA<br>use these values for assignment.<br>"""<br><br></div>Other n=
its have been addressed as well. <br><br></div>If that is fine, I can publis=
h the version 03. <br><br></div>Yours, <br></div>Daniel<br><div><div><div><b=
r></div></div></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail=
_quote">On Mon, May 1, 2017 at 2:23 PM, Kathleen Moriarty <span dir=3D"ltr">=
&lt;<a href=3D"mailto:kathleen.moriarty.ietf@gmail.com" target=3D"_blank">ka=
thleen.moriarty.ietf@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex">Hello,<br>
<br>
Thanks for your work on the draft draft-ietf-tls-ecdhe-psk-aead-<wbr>02.<br>=

<br>
In the IANA section, I think it would be a bit more clear to say in<br>
the last column rather than second column wince one might interpret<br>
this listing as having 3 columns.<br>
<br>
&nbsp; &nbsp;The cipher suite numbers listed in the second column are number=
s used<br>
&nbsp; &nbsp;for cipher suite interoperability testing and it's suggested th=
at<br>
&nbsp; &nbsp;IANA use these values for assignment.<br>
<br>
The registry has this reversed with the description as the second<br>
column, which is fine.&nbsp; I'm just pointing that out as it doesn't<br>
clarify the column for you.<br>
<br>
Nits:<br>
<br>
Security Considerations section:<br>
<br>
&nbsp; &nbsp;Use of Pre-Shared Keys of limited entropy may allow an active<b=
r>
&nbsp; &nbsp;attacker attempts to connect to the server and tries different k=
eys.<br>
s/tries/try/<br>
<br>
&nbsp; &nbsp;Other<br>
&nbsp; &nbsp;example includes the use of a PSK chosen by a human and thus ma=
y be<br>
&nbsp; &nbsp;exposed to dictionary attacks.<br>
s/Other/Another/<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
--<br>
<br>
Best regards,<br>
Kathleen<br>
<br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" tar=
get=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</font></span></blockquote></div><br></div>
</div></blockquote></body></html>=

--Apple-Mail-F4A4366F-914D-4805-B812-5C254F68E276--


From nobody Tue May  2 07:11:31 2017
Return-Path: <steffen.fries@siemens.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BFC8A129479 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 07:11:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.209
X-Spam-Level: 
X-Spam-Status: No, score=-4.209 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_FILL_THIS_FORM_SHORT=0.01] autolearn=ham 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 EcEDJQG232Y6 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 07:11:22 -0700 (PDT)
Received: from gecko.sbs.de (gecko.sbs.de [194.138.37.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3889C127078 for <tls@ietf.org>; Tue,  2 May 2017 07:07:35 -0700 (PDT)
Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id v42E7X2p007300 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <tls@ietf.org>; Tue, 2 May 2017 16:07:33 +0200
Received: from DEFTHW99ERHMSX.ww902.siemens.net (defthw99erhmsx.ww902.siemens.net [139.22.70.133]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTPS id v42E7WMV003704 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <tls@ietf.org>; Tue, 2 May 2017 16:07:33 +0200
Received: from DENBGAT9EROMSX.ww902.siemens.net (139.22.70.195) by DEFTHW99ERHMSX.ww902.siemens.net (139.22.70.133) with Microsoft SMTP Server (TLS) id 14.3.352.0; Tue, 2 May 2017 16:07:22 +0200
Received: from DENBGAT9EH2MSX.ww902.siemens.net ([169.254.6.222]) by DENBGAT9EROMSX.ww902.siemens.net ([139.22.70.195]) with mapi id 14.03.0352.000; Tue, 2 May 2017 16:07:21 +0200
From: "Fries, Steffen" <steffen.fries@siemens.com>
To: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: Definition of cipher suites for TLS 1.2 still possible?
Thread-Index: AdLDTWpeLBLLQHFiTSKY+DwL/vtEYA==
Date: Tue, 2 May 2017 14:07:21 +0000
Message-ID: <E6C9F0E527F94F4692731382340B33784A092E@DENBGAT9EH2MSX.ww902.siemens.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [139.22.70.54]
Content-Type: multipart/alternative; boundary="_000_E6C9F0E527F94F4692731382340B33784A092EDENBGAT9EH2MSXww9_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/egUrNWVfS2k4jhSlNaDcxDLgRfo>
Subject: [TLS] Definition of cipher suites for TLS 1.2 still possible?
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 14:11:26 -0000

--_000_E6C9F0E527F94F4692731382340B33784A092EDENBGAT9EH2MSXww9_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello all,

it may be a na=EFve question, but is it still possible to define and standa=
rdize new cipher suites for TLS 1.2 as an RFC, when TLS 1.3 is almost finis=
hed?

The reason for asking is the discussion I started two weeks ago regarding i=
ntegrity only cipher suites, which are not longer supported in TLS 1.3. Whi=
le we most likely can cope with this by utilizing TLS 1.2 further as sugges=
ted, one question remains regarding the hash functions in the existing inte=
grity only cipher suites. Currently, there is no integrity only cipher suit=
e defined that combines ECDSA and SHA 256. There are only combinations with=
 SHA1. Interestingly, there is one combining RSA and SHA 256.

To no longer depend on SHA1, we would like to standardize a combination of =
ECDSA and SHA 256 for instance TLS_ECDHE_ECDSA_WITH_NULL_SHA256. Would this=
 still be possible, given the fact, that TLS 1.3 is likely to be finished i=
n near time. I know that this depends on the acceptance of the WG, but I wo=
uld like to ask first, if there is any intention to close TLS 1.2 for chang=
es and additions, once TLS 1.3 is ready.

Best regards
Steffen

--
Steffen Fries
Siemens AG
Corporate Technology
CT RDA ITS
Otto-Hahn-Ring 6
81739 Muenchen, Germany
Tel.: +49 89 636-633604
Fax: +49 89 636-48000
mailto:steffen.fries@siemens.com
www.siemens.com/ingenuityforlife<https://siemens.com/ingenuityforlife>

Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Crom=
me; Managing Board: Joe Kaeser, Chairman, President and Chief Executive Off=
icer; Roland Busch, Lisa Davis, Klaus Helmrich, Janina Kugel, Siegfried Rus=
swurm, Ralf P. Thomas; Registered offices: Berlin and Munich, Germany; Comm=
ercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684; WEEE=
-Reg.-No. DE 23691322


--_000_E6C9F0E527F94F4692731382340B33784A092EDENBGAT9EH2MSXww9_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Arial","sans-serif";
	color:windowtext;
	font-weight:normal;
	font-style:normal;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;">Hello all,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;">it may be a na=EFve question, but is it s=
till possible to define and standardize new cipher suites for TLS 1.2 as an=
 RFC, when TLS 1.3 is almost finished?
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;">The reason for asking is the discussion I=
 started two weeks ago regarding integrity only cipher suites, which are no=
t longer supported in TLS 1.3. While we most likely can
 cope with this by utilizing TLS 1.2 further as suggested, one question rem=
ains regarding the hash functions in the existing integrity only cipher sui=
tes. Currently, there is no integrity only cipher suite defined that combin=
es ECDSA and SHA 256. There are
 only combinations with SHA1. Interestingly, there is one combining RSA and=
 SHA 256.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;">To no longer depend on SHA1, we would lik=
e to standardize a combination of ECDSA and SHA 256 for instance TLS_ECDHE_=
ECDSA_WITH_NULL_SHA256. Would this still be possible, given
 the fact, that TLS 1.3 is likely to be finished in near time. I know that =
this depends on the acceptance of the WG, but I would like to ask first, if=
 there is any intention to close TLS 1.2 for changes and additions, once TL=
S 1.3 is ready.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;">Best regards<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;">Steffen<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;">--
<br>
Steffen Fries<br>
Siemens AG<br>
Corporate Technology<br>
CT RDA ITS<br>
Otto-Hahn-Ring 6<br>
81739 Muenchen, Germany <br>
Tel.: &#43;49 89 636-633604<br>
Fax: &#43;49 89 636-48000<br>
<a href=3D"mailto:steffen.fries@siemens.com"><span style=3D"color:blue">mai=
lto:steffen.fries@siemens.com</span></a><br>
<a href=3D"https://siemens.com/ingenuityforlife"><span style=3D"color:blue"=
>www.siemens.com/ingenuityforlife</span></a><br>
<br>
</span><span style=3D"font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Siemens Aktiengesellschaft: Chairman of the Supervisory Bo=
ard: Gerhard Cromme; Managing Board: Joe Kaeser, Chairman, President and Ch=
ief Executive Officer; Roland Busch, Lisa Davis, Klaus
 Helmrich, Janina Kugel, Siegfried Russwurm, Ralf P. Thomas; Registered off=
ices: Berlin and Munich, Germany; Commercial registries: Berlin Charlottenb=
urg, HRB 12300, Munich, HRB 6684; WEEE-Reg.-No. DE 23691322</span><o:p></o:=
p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_E6C9F0E527F94F4692731382340B33784A092EDENBGAT9EH2MSXww9_--


From nobody Tue May  2 07:28:28 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2E241294EF for <tls@ietfa.amsl.com>; Tue,  2 May 2017 07:28:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.601
X-Spam-Level: 
X-Spam-Status: No, score=-0.601 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 4KV_63U8Whot for <tls@ietfa.amsl.com>; Tue,  2 May 2017 07:28:25 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E0FB313144B for <tls@ietf.org>; Tue,  2 May 2017 07:24:53 -0700 (PDT)
Received: from pps.filterd (m0050095.ppops.net [127.0.0.1]) by m0050095.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v42ECGwA021919; Tue, 2 May 2017 15:24:51 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=ZwRsnm4XKkAKHfYCcTQiS+KFB+Ug/kgba5+Edo8VGkA=; b=NvA/MFaMonJ9jiCeshFviVsWO4zUs7wl/+d00y9Ov95sm8asvYogjvivpnw/Pf8Z7OVA xBRsWZ6dGT39LxTBIttcAv6j4ZYt2FWaW3JnpknwLkY/r74CSYqUAwdoypKnVQ209JC+ b2ONi9hEoXd6b/F2rxRnAdJMgvDmHCtVr2K/NhStvDRZLPyy/OMutloLKDJzTPccjoJD BA/3M6uh3CYBYxnYrF8xZ/bbmXhCEwGHP/L3jU+NneNfXscKjdE8LAuktJ+zlX3irKAh pkc0NGQxDaf9/zqeRg1GtijiXUvJJ71MRQjvL2sBX6Ex0YUPTLmD3jTajMcmWDdvTu5O Fg== 
Received: from prod-mail-ppoint3 ([96.6.114.86]) by m0050095.ppops.net-00190b01. with ESMTP id 2a6e73vucr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 May 2017 15:24:51 +0100
Received: from pps.filterd (prod-mail-ppoint3.akamai.com [127.0.0.1]) by prod-mail-ppoint3.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v42ELHIK008869; Tue, 2 May 2017 10:24:50 -0400
Received: from email.msg.corp.akamai.com ([172.27.25.30]) by prod-mail-ppoint3.akamai.com with ESMTP id 2a4p5vpneh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 02 May 2017 10:24:50 -0400
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com (172.27.27.101) by ustx2ex-dag1mb6.msg.corp.akamai.com (172.27.27.107) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 2 May 2017 07:24:49 -0700
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com ([172.27.6.131]) by ustx2ex-dag1mb1.msg.corp.akamai.com ([172.27.6.131]) with mapi id 15.00.1263.000; Tue, 2 May 2017 09:24:49 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: "Fries, Steffen" <steffen.fries@siemens.com>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: Definition of cipher suites for TLS 1.2 still possible?
Thread-Index: AdLDTWpeLBLLQHFiTSKY+DwL/vtEYAAAlWlw
Date: Tue, 2 May 2017 14:24:49 +0000
Message-ID: <5f28d7e672be47aeb1dd5fd2a33dcf75@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <E6C9F0E527F94F4692731382340B33784A092E@DENBGAT9EH2MSX.ww902.siemens.net>
In-Reply-To: <E6C9F0E527F94F4692731382340B33784A092E@DENBGAT9EH2MSX.ww902.siemens.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.32.88]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-02_10:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705020081
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-02_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705020081
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/cy6JuPjX84B_Xtk8KGH1OZ5RdAc>
Subject: Re: [TLS] Definition of cipher suites for TLS 1.2 still possible?
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 14:28:27 -0000

> it may be a na=EFve question, but is it still possible to define and stan=
dardize new cipher suites for TLS 1.2 as an RFC, when TLS 1.3 is almost fin=
ished?=20

Yes it is.  It might be "informational" not "standards-track" but it's cert=
ainly possible/allowed/etc.=20



From nobody Tue May  2 07:49:08 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 37D181316D5 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 07:49:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.801
X-Spam-Level: 
X-Spam-Status: No, score=0.801 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 os1yBCYY6e13 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 07:49:00 -0700 (PDT)
Received: from mail-yb0-x236.google.com (mail-yb0-x236.google.com [IPv6:2607:f8b0:4002: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 D9BA01316E7 for <tls@ietf.org>; Tue,  2 May 2017 07:44:36 -0700 (PDT)
Received: by mail-yb0-x236.google.com with SMTP id p143so35331016yba.2 for <tls@ietf.org>; Tue, 02 May 2017 07:44:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=yiQUBpoyUeQwajOLuhjJUYDaR/1CePm+T2g0e/kKjAA=; b=HUPmZpyKwT7hbQTdbTpifZ5SWxEDsPMXblDdy8zlxXcVMn05MtWVSSMd0Ma9cRGPo3 Ri36rsYiLtwoA2J01fU5mjjKJPgfgA7uGw8pwyI5mViBwl/yja5UNtqYeMTfdmDb5nm7 YBGD1nyL7o9/MclQ24yQHZyfjQ5DIVARsLYN/rS6lEDr93jqYcgSVRn+47UpTTa+I5mU DEkeYvDOwM3G/gwtLZtE62C0QBnW8Xtd+UqntzF12Ke4NBDmsFFDfmyR+7qBRnOeq8h/ O5sf/RD+OTHzUJSw57ryJp5A1o/ktgqk1eVGzozf7KBChKVwDCVysY7OHg6OVswMNYkc Cpvw==
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=yiQUBpoyUeQwajOLuhjJUYDaR/1CePm+T2g0e/kKjAA=; b=ZGlhaTa6BrxCdG41IhYu2kioGKO894o535ahtJ3Z9kBAVYseW64b1BA8kJ4Kl+nuwK ZCQIb5WGQkyZUFHbHD+LB+v1rfvHRHVmUW4+5J6jFDwZ+AWLSCVP0NlAQHdei3nLOYG0 Lyw1yu3DKL+9q85tTtVZZmcZsmAei/fekWgKFebLF5kTcK9IuakEfVaBdAXqRdlTD31g IrCkMemN8XN+I1p2153kop2M/8du/jDMmGN8nvjQPFxiRfrT4YnXbJNp1fHfxelNNU7B gABfZBxDS6xU4/RSI12c1O+ovOcdemIxoEiD/rmOGoEYWFal7gf1CiOkeA47cGwpxGIr wnWA==
X-Gm-Message-State: AN3rC/4aNEqS3lewgZG5+/KF/W7WFRn8fygNTGHTDok5dxbxlGnmNCPT mU0u8lRmNOP/bXBz9dmRIlbxZoqR4zUM
X-Received: by 10.37.16.212 with SMTP id 203mr11617456ybq.90.1493736275864; Tue, 02 May 2017 07:44:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Tue, 2 May 2017 07:44:35 -0700 (PDT)
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 2 May 2017 07:44:35 -0700
Message-ID: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
To: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11c0ff041c8acc054e8b9496
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/mHxi-O3du9OQHkc6CBWBpc_KBpA>
Subject: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 14:49:02 -0000

--001a11c0ff041c8acc054e8b9496
Content-Type: text/plain; charset=UTF-8

On Sunday at the TLS:DIV workshop I presented a summary of findings of a
security review we did on TLS1.3 0-RTT, as part of implementing 1.3 in s2n.
Thanks to feedback in the room I've now tightened up the findings from the
review and posted them as an issue on the draft GitHub repo:

https://github.com/tlswg/tls13-spec/issues/1001

I'll summarize the summary: Naturally the focus was on forward secrecy and
replay. On forward secrecy the main finding was that it's not necessary to
trade off Forward Secrecy and 0-RTT. A single-use session cache can provide
it, and with the modification that ekr has created in
https://github.com/tlswg/tls13-spec/pull/998 , such a cache works for both
pre-auth and post-auth tickets, and it allows clients to build up pools of
meaningfully distinct tickets.

There's also an observation there that it should really be that clients
"MUST" use tickets only once. Any re-use likely discloses the obfuscated
ticket age, which is intended to be secret. Right now it's a "SHOULD".

On replay, the main finding is that what's in the draft is not workably
secure, and the review includes 5 different attacks against 0-RTT data to
illustrate that. Attacks 1 and 2 show that the kind of replay permitted by
the draft is very different from the kind of replay permitted by dkg's
existing downgrade-and-retry attack. I also go over why it very very
difficult to many applications to achieve that idempotency, and why one
idempotency pattern actually relies on non-replayable messages.

Attack 3 shows that idempotency is not sufficient, applications must also
be free of measurable side-effects, which is not practical.  Attack 4 shows
that 0-RTT breaks a common security mechanism: spoofing-resistant
throttles. Attack 5 shows that 0-RTT replay-ability enables an additional
form of traffic analysis.

The recommendation in the review is that implementations "MUST" prevent
replays of 0-RTT section, with some additional discussion about why the
existing advice is unlikely to be followed, and why consistent
interoperability matters here.

Unfortunately, I wasn't aware until Friday that this review would be coming
so late in the TLD1.3 draft process, and my apologies for that. I am now
planning to attend the future WG in-person meetings and look forward to
seeing many of you there.

-- 
Colm

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

<div dir=3D"ltr">On Sunday at the TLS:DIV workshop I presented a summary of=
 findings of a security review we did on TLS1.3 0-RTT, as part of implement=
ing 1.3 in s2n. Thanks to feedback in the room I&#39;ve now tightened up th=
e findings from the review and posted them as an issue on the draft GitHub =
repo:<div><br></div><div><a href=3D"https://github.com/tlswg/tls13-spec/iss=
ues/1001">https://github.com/tlswg/tls13-spec/issues/1001</a><br></div><div=
><br></div><div>I&#39;ll summarize the summary: Naturally the focus was on =
forward secrecy and replay. On forward secrecy the main finding was that it=
&#39;s not necessary to trade off Forward Secrecy and 0-RTT. A single-use s=
ession cache can provide it, and with the modification that ekr has created=
 in=C2=A0<a href=3D"https://github.com/tlswg/tls13-spec/pull/998" target=3D=
"_blank">https://github.com/tlswg/<wbr>tls13-spec/pull/998</a> , such a cac=
he works for both pre-auth and post-auth tickets, and it allows clients to =
build up pools of meaningfully distinct tickets.</div><div><br></div><div>T=
here&#39;s also an observation there that it should really be that clients =
&quot;MUST&quot; use tickets only once. Any re-use likely discloses the obf=
uscated ticket age, which is intended to be secret. Right now it&#39;s a &q=
uot;SHOULD&quot;.=C2=A0</div><div><br></div><div>On replay, the main findin=
g is that what&#39;s in the draft is not workably secure, and the review in=
cludes 5 different attacks against 0-RTT data to illustrate that. Attacks 1=
 and 2 show that the kind of replay permitted by the draft is very differen=
t from the kind of replay permitted by dkg&#39;s existing downgrade-and-ret=
ry attack. I also go over why it very very difficult to many applications t=
o achieve that idempotency, and why one idempotency pattern actually relies=
 on non-replayable messages.=C2=A0</div><div><br></div><div>Attack 3 shows =
that idempotency is not sufficient, applications must also be free of measu=
rable side-effects, which is not practical.=C2=A0 Attack 4 shows that 0-RTT=
 breaks a common security mechanism: spoofing-resistant throttles. Attack 5=
 shows that 0-RTT replay-ability enables an additional form of traffic anal=
ysis.=C2=A0</div><div><br></div><div>The recommendation in the review is th=
at implementations &quot;MUST&quot; prevent replays of 0-RTT section, with =
some additional discussion about why the existing advice is unlikely to be =
followed, and why consistent interoperability matters here.=C2=A0</div><div=
><br></div><div>Unfortunately, I wasn&#39;t aware until Friday that this re=
view would be coming so late in the TLD1.3 draft process, and my apologies =
for that. I am now planning to attend the future WG in-person meetings and =
look forward to seeing many of you there.=C2=A0</div><div><div><div><br></d=
iv>-- <br><div class=3D"gmail-m_-622221206948237266gmail_signature">Colm</d=
iv>
</div></div></div>

--001a11c0ff041c8acc054e8b9496--


From nobody Tue May  2 08:28:43 2017
Return-Path: <krose@krose.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02589131462 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 08:28:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=krose.org
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 iK3nbxrLw3-D for <tls@ietfa.amsl.com>; Tue,  2 May 2017 08:28:30 -0700 (PDT)
Received: from mail-qt0-x22f.google.com (mail-qt0-x22f.google.com [IPv6:2607:f8b0:400d:c0d::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 8C47D1314D0 for <tls@ietf.org>; Tue,  2 May 2017 08:25:41 -0700 (PDT)
Received: by mail-qt0-x22f.google.com with SMTP id g60so115160117qtd.3 for <tls@ietf.org>; Tue, 02 May 2017 08:25:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=krose.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=36a6iSFSH1H8UlI1RSlmu5++0obVqYQCaKkgoBMnBZM=; b=neepD3YklfSwqdKmYyipclDBSItOik0cGfeba7ZT9R+tp0IRxNOxE1FLv5Kp8EwTl6 voyw0WF49snPoK7jkj8MX+EGbk5SOdIifCY8kgTI+fTS2PD/9ycBPZqAj+2yTM5lwzMn 08Ut167c75LcNOY7O46EATsGDzILOy8/lXiZA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=36a6iSFSH1H8UlI1RSlmu5++0obVqYQCaKkgoBMnBZM=; b=b+IIpfm03glGV1YYdyY/+QUeZ/0Ee2sFwmsHcB+8xp/13KVBm8x1LPlQBXfbUzyh6h zzSvQeBDnPMMqho1/kfdVYEccX6YJyizY37ttwdVydeGbW0DhOWyQq9wOFjzKqLuC0ob DWGJpxdtu+/8wc2whUgNQMWVtRC/5r8gkB4LVg2/oXRuou2lUFICkLUjVPsl7/xflqg+ wKLxN6nN7L/UprA4UZwVXin32P8QU5f/QtaKeNDdsFGxU0Hfdmr3GJQLWlKo2bmfMOkn 80nDDZiXwv8kx4hBvqeBjjCY+qK8jAPl16RnnR6cUj0cAIOv9Su1daTSiOXY9FMNRStZ F3Cg==
X-Gm-Message-State: AN3rC/5cwmQK2YxoVLZ8/eRcY5i7ptTOKgkpfRXm33323hAV5Tr9QKxC 4gI99oH2zNCPNdLZJ5uElWRH1wiZLA==
X-Received: by 10.237.57.170 with SMTP id m39mr26140583qte.163.1493738740632;  Tue, 02 May 2017 08:25:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.55.80.65 with HTTP; Tue, 2 May 2017 08:25:40 -0700 (PDT)
X-Originating-IP: [72.246.0.14]
In-Reply-To: <5f28d7e672be47aeb1dd5fd2a33dcf75@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <E6C9F0E527F94F4692731382340B33784A092E@DENBGAT9EH2MSX.ww902.siemens.net> <5f28d7e672be47aeb1dd5fd2a33dcf75@ustx2ex-dag1mb1.msg.corp.akamai.com>
From: Kyle Rose <krose@krose.org>
Date: Tue, 2 May 2017 11:25:40 -0400
Message-ID: <CAJU8_nUcvjMY-3bXGbkOOSDgUsmarSD72agLZURrGxT_Gxu3Bg@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Cc: "Fries, Steffen" <steffen.fries@siemens.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11404b9c06072f054e8c2763
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/a3uMIKzTbibErQ-oKxHeVEuF0zo>
Subject: Re: [TLS] Definition of cipher suites for TLS 1.2 still possible?
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 15:28:33 -0000

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

On Tue, May 2, 2017 at 10:24 AM, Salz, Rich <rsalz@akamai.com> wrote:

> > it may be a na=C3=AFve question, but is it still possible to define and
> standardize new cipher suites for TLS 1.2 as an RFC, when TLS 1.3 is almo=
st
> finished?
>
> Yes it is.  It might be "informational" not "standards-track" but it's
> certainly possible/allowed/etc.
>

Whether it's worth doing or not depends on the objective.

If the desire is to get support for a new TLS 1.2 cipher suite into
browsers or open source TLS stacks, well... good luck with that. If the
desire is to get something working for their own internal use,
standardization is not really necessary, though I would certainly advise
doing whatever is required to get a code point from IANA.

If the desire is somewhere in the middle, such as internal use plus interop
with other organizations within an industry or consortium, then publication
of an informational RFC might make sense. I'm skeptical, however, that they
will get a lot of attention from folks on this list as there seems to be
little interest in spending time on a legacy protocol; and pursuing
something standards track will probably go nowhere.

Kyle

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
ue, May 2, 2017 at 10:24 AM, Salz, Rich <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:rsalz@akamai.com" target=3D"_blank">rsalz@akamai.com</a>&gt;</span> wr=
ote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding-left:1ex"><span class=3D"">&gt; it may be a na=
=C3=AFve question, but is it still possible to define and standardize new c=
ipher suites for TLS 1.2 as an RFC, when TLS 1.3 is almost finished?<br>
<br>
</span>Yes it is.=C2=A0 It might be &quot;informational&quot; not &quot;sta=
ndards-track&quot; but it&#39;s certainly possible/allowed/etc.<br></blockq=
uote><div><br></div><div>Whether it&#39;s worth doing or not depends on the=
 objective.<br><br>If the desire is to get support for a new TLS 1.2 cipher=
 suite into browsers or open source TLS stacks, well... good luck with that=
. If the desire is to get something working for their own internal use, sta=
ndardization is not really necessary, though I would certainly advise doing=
 whatever is required to get a code point from IANA.<br><br>If the desire i=
s somewhere in the middle, such as internal use plus interop with other org=
anizations within an industry or consortium, then publication of an informa=
tional RFC might make sense. I&#39;m skeptical, however, that they will get=
 a lot of attention from folks on this list as there seems to be little int=
erest in spending time on a legacy protocol; and pursuing something standar=
ds track will probably go nowhere.<br><br></div><div>Kyle<br></div><div><br=
></div></div></div></div>

--001a11404b9c06072f054e8c2763--


From nobody Tue May  2 10:37:05 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D7D1112EC4E for <tls@ietfa.amsl.com>; Tue,  2 May 2017 10:37:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level: 
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=ham 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 KqLmIVNtJZGs for <tls@ietfa.amsl.com>; Tue,  2 May 2017 10:37:01 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6772F131495 for <tls@ietf.org>; Tue,  2 May 2017 10:33:39 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 2DA4E7A32F1; Tue,  2 May 2017 17:33:38 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
Date: Tue, 2 May 2017 13:33:37 -0400
Reply-To: TLS WG <tls@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/dF2ev_D9iyJNqhHV2Wqm4NyDAZc>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 17:37:04 -0000

> On May 2, 2017, at 10:44 AM, Colm MacC=C3=A1rthaigh =
<colm@allcosts.net> wrote:
>=20
> https://github.com/tlswg/tls13-spec/issues/1001
>=20
> I'll summarize the summary: Naturally the focus was on forward secrecy =
and replay. On forward secrecy the main finding was that it's not =
necessary to trade off Forward Secrecy and 0-RTT. A single-use session =
cache can provide it, and with the modification that ekr has created in =
https://github.com/tlswg/tls13-spec/pull/998 , such a cache works for =
both pre-auth and post-auth tickets, and it allows clients to build up =
pools of meaningfully distinct tickets.
>=20
> There's also an observation there that it should really be that =
clients "MUST" use tickets only once. Any re-use likely discloses the =
obfuscated ticket age, which is intended to be secret. Right now it's a =
"SHOULD".

Well, just a few days ago there was a discussion of ticket re-use, and
I was re-assured that ticket re-use was likely to going to work just =
fine...

   https://www.ietf.org/mail-archive/web/tls/current/threads.html#23035

TLS is a general-purpose protocol, used broadly beyond just the browser =
space.
With TLS in SMTP there's no demand or need for 0-RTT and server =
resources are
often more constrained than you'd find on a CDN server farm.  Repeat =
connections
are spaced further apart, and session lifetimes are longer (Postfix =
defaults to
an hour).

For Postfix, going back to a server-side session *increases* risk of =
loss of
forward secrecy, because bulky server-side session objections are =
written out
an on disk database, and e.g. with LMDB (a COW database) may take a long =
time
to be deleted.  By contrast session ticket encryption keys (STEKs) are =
small,
kept in memory, and are overrwritten and freed after ~2 hours.

Going back to server-side sessions would reduce resumption security for =
Postfix,
and would make servers more susceptible to DoS through cache exhaustion.

On the client side, non-reusable tickets would require substantially =
more complex
cache designs, and probably significant changes in the session APIs and =
internals
of TLS toolkits rather late in the evolution of the TLS 1.3 support =
code.

I am far from convinced that the effort would not be better spent =
improving STEK
key management in TLS server farms, which will need to support TLS 1.2 =
in parallel
with TLS 1.3 for quite a long time (likely a decade or more).

I believe that the proposed change is well intentioned but =
counter-productive.

--=20
	Viktor.=


From nobody Tue May  2 10:42:07 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD91412955F for <tls@ietfa.amsl.com>; Tue,  2 May 2017 10:42:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 Memn4g8b5mK2 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 10:42:05 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7D04A12EB11 for <tls@ietf.org>; Tue,  2 May 2017 10:39:09 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTP id 137D0C086D1D; Tue,  2 May 2017 10:39:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to:content-transfer-encoding; s=cryptonector.com; bh=h /AZfySJgToxmDcTOEZSJ42i16g=; b=nQFj+SfXBu9uXheSw9MeimWhpsl6xWurf 4IfDjqKQKS2Q+KsqFPCioQkRRA2oUnQE0yyx63HZfYyVtkSu8Aeyni4vNgHl1K3r dV168B5TVIKeIdB/tJOIwrx76MihydcThcDEPUX6r/hP5urVFFaqqIVaVpJgRjKk lyC/gAHruk=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTPSA id BC1B0C086D0C; Tue,  2 May 2017 10:39:08 -0700 (PDT)
Date: Tue, 2 May 2017 12:39:06 -0500
From: Nico Williams <nico@cryptonector.com>
To: TLS WG <tls@ietf.org>
Message-ID: <20170502173905.GC10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/r8vx-_WICNKD5Tf0qrYiTDHk49A>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 17:42:07 -0000

On Tue, May 02, 2017 at 01:33:37PM -0400, Viktor Dukhovni wrote:
> > On May 2, 2017, at 10:44 AM, Colm MacC=E1rthaigh <colm@allcosts.net> =
wrote:
> > https://github.com/tlswg/tls13-spec/issues/1001
> >=20
> > I'll summarize the summary: Naturally the focus was on forward
> > secrecy and replay. On forward secrecy the main finding was that
> > it's not necessary to trade off Forward Secrecy and 0-RTT. A
> > single-use session cache can provide it, and with the modification
> > that ekr has created in https://github.com/tlswg/tls13-spec/pull/998
> > , such a cache works for both pre-auth and post-auth tickets, and it
> > allows clients to build up pools of meaningfully distinct tickets.

With existing APIs, dealing with "pools of meaningfully distinct
tickets" seems meaningfully non-trivial.

> > There's also an observation there that it should really be that
> > clients "MUST" use tickets only once. Any re-use likely discloses
> > the obfuscated ticket age, which is intended to be secret. Right now
> > it's a "SHOULD".

Why should ticket age disclosure be a problem?  How does ticket one-time
use not do the same?

> Well, just a few days ago there was a discussion of ticket re-use, and
> I was re-assured that ticket re-use was likely to going to work just
> fine...

I sure hope so!!

Nico
--=20


From nobody Tue May  2 10:51:11 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2695E129C30 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 10:51:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 qI9-FvxTv4sG for <tls@ietfa.amsl.com>; Tue,  2 May 2017 10:51:06 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B552C129C73 for <tls@ietf.org>; Tue,  2 May 2017 10:47:59 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTP id 516A8C086D1E; Tue,  2 May 2017 10:47:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to:content-transfer-encoding; s=cryptonector.com; bh=+ o9JjhMmQWRI9BIFDb0+emX3EC0=; b=W8Ir5I95MvGj5qc+IRc5N0Gu1BtCxkMYF A8ijJy8KBUbLIpx8ON4UZ+VgsehdOI/9hitNBZWu8QHJ5iFEIUJEc9KuSB5mJ4M+ LI+iPEDRTN+/+aK0FTF0kApGGMj4//5mDbbQR/nv+n9F1NY65/haDaciEsG901KZ DvoXho6IdI=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTPSA id 01029C086D1D; Tue,  2 May 2017 10:47:58 -0700 (PDT)
Date: Tue, 2 May 2017 12:47:56 -0500
From: Nico Williams <nico@cryptonector.com>
To: TLS WG <tls@ietf.org>
Message-ID: <20170502174755.GD10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <20170502173905.GC10188@localhost>
User-Agent: Mutt/1.5.24 (2015-08-30)
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/qzWlXBbe8Zl5zRV-TGVAKo6oQww>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 17:51:09 -0000

On Tue, May 02, 2017 at 12:39:06PM -0500, Nico Williams wrote:
> On Tue, May 02, 2017 at 01:33:37PM -0400, Viktor Dukhovni wrote:
> > > On May 2, 2017, at 10:44 AM, Colm MacC=E1rthaigh <colm@allcosts.net=
> wrote:
> > > https://github.com/tlswg/tls13-spec/issues/1001
> > >=20
> > > I'll summarize the summary: Naturally the focus was on forward
> > > secrecy and replay. On forward secrecy the main finding was that
> > > it's not necessary to trade off Forward Secrecy and 0-RTT. A
> > > single-use session cache can provide it, and with the modification
> > > that ekr has created in https://github.com/tlswg/tls13-spec/pull/99=
8
> > > , such a cache works for both pre-auth and post-auth tickets, and i=
t
> > > allows clients to build up pools of meaningfully distinct tickets.
>=20
> With existing APIs, dealing with "pools of meaningfully distinct
> tickets" seems meaningfully non-trivial.
>=20
> > > There's also an observation there that it should really be that
> > > clients "MUST" use tickets only once. Any re-use likely discloses
> > > the obfuscated ticket age, which is intended to be secret. Right no=
w
> > > it's a "SHOULD".
>=20
> Why should ticket age disclosure be a problem?  How does ticket one-tim=
e
> use not do the same?

Also, let's separate ticket re-use and 0-rtt.  The former is generally
desirable and workable.  The two might not be, but if so one should
expect a "SHOULD NOT" or "MUST NOT" to be specifically about the
combination of tickets and 0-rtt.  Also, the "SHOULD NOT" should have
guidance as to when/why one might do it anyways.  For many applications
the leakage in re-using tickets w/ 0-rtt will be a non-issue.

Nico
--=20


From nobody Tue May  2 10:51:44 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 304C3126E3A for <tls@ietfa.amsl.com>; Tue,  2 May 2017 10:51:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.101
X-Spam-Level: 
X-Spam-Status: No, score=0.101 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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=allcosts-net.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 SZJu2FhfvwUY for <tls@ietfa.amsl.com>; Tue,  2 May 2017 10:51:42 -0700 (PDT)
Received: from mail-yw0-x22f.google.com (mail-yw0-x22f.google.com [IPv6:2607:f8b0:4002:c05::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 86693129A9B for <tls@ietf.org>; Tue,  2 May 2017 10:48:30 -0700 (PDT)
Received: by mail-yw0-x22f.google.com with SMTP id l18so73664445ywh.3 for <tls@ietf.org>; Tue, 02 May 2017 10:48:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=usDucXaM9QImhrK84ULKJk5jj9hcZ827qGQEFIzEIt4=; b=TJ6sMD0qZXKjatBEAND1TLJGTrxYFOEx1NuDco4xggwfH3mvt6aLardbltzEUBl3CS U0O2kXFQkdB9tP4VahRE/QFhzowoiw44WDfJcTvPf/FjcEzDJz2yI6LgNrBrP78hHRI1 LiFzOg9Ih4HSDy7wd/K+fIUecekVYNN41Ja1JwCGqfs/1H3H84WJGBml82mV2jII8bEO KatYtOgL63fTjAgOx4jtmXNHjJTmXevkv8zurgVLmU8KlG8/MJYh9+uOgPwgkWdoto/O +JW0YKlX7iTA1O00oWbdwQqXsmBycvhdwyUkh6eLGFdHvk87WzDh9sl3s/yOz21H3pcd AvLg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=usDucXaM9QImhrK84ULKJk5jj9hcZ827qGQEFIzEIt4=; b=sIa9yzku8VcPbcAzd4PabOQNgTRVuqD3DnHkF2T9cGnY41/r0OdBQc8i7LEORsKlp+ 6fmvYOdc0fvAjuFEVyNtVDondvN7of5igM+gNrOyWUfIhEqTerIaLTQf36GI9kzQMinP sczti+flKnrOuQe24G1ASC33j3tZ949nsQl435ElPqhLizMdVevrJqxvJCXgnQeZlmwp BhETGRpPDqd9QSox6MvMcxWOquE7fzvHOJTBsVwObEnYFoqvYnlb+YBXJs4/x6QUj0uj lYSkZ15vrDAM2jLzD4hvQSXOEEm+WyTwxR5P0WsX9WmuJBHjKA+M7tSMFjnaGD3HCVag /Smw==
X-Gm-Message-State: AN3rC/4oaMxLx+aZI1DbuiFN5B3lkpo3YkACae1mhDBQEeWnjw/xpZEC B8VubL4jQiB4lxou0aBq0Hcp6/MGZw==
X-Received: by 10.13.238.65 with SMTP id x62mr25164304ywe.122.1493747309849; Tue, 02 May 2017 10:48:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Tue, 2 May 2017 10:48:29 -0700 (PDT)
In-Reply-To: <20170502173905.GC10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 2 May 2017 10:48:29 -0700
Message-ID: <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c034d8cc9c50b054e8e25c1
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/3hDR6PMd1hc5PuqmFJv3Rg5ib_0>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 17:51:44 -0000

--94eb2c034d8cc9c50b054e8e25c1
Content-Type: text/plain; charset=UTF-8

On Tue, May 2, 2017 at 10:39 AM, Nico Williams <nico@cryptonector.com>
wrote:

> With existing APIs, dealing with "pools of meaningfully distinct
> tickets" seems meaningfully non-trivial.
>

I would actually prefer if the client could request N tickets, but was
advised that this was too large a change to the protocol.

> > There's also an observation there that it should really be that
> > > clients "MUST" use tickets only once. Any re-use likely discloses
> > > the obfuscated ticket age, which is intended to be secret. Right now
> > > it's a "SHOULD".
>
> Why should ticket age disclosure be a problem?  How does ticket one-time
> use not do the same?
>

The draft writes that it is to prevent connection correlation attacks.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 2, 2017 at 10:39 AM, Nico Williams <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:nico@cryptonector.com" target=3D"_blank">nico@cryptonector.=
com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">With existing A=
PIs, dealing with &quot;pools of meaningfully distinct<br>
tickets&quot; seems meaningfully non-trivial.<br></blockquote><div><br></di=
v><div>I would actually prefer if the client could request N tickets, but w=
as advised that this was too large a change to the protocol.=C2=A0</div><di=
v><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><span class=3D"">
&gt; &gt; There&#39;s also an observation there that it should really be th=
at<br>
&gt; &gt; clients &quot;MUST&quot; use tickets only once. Any re-use likely=
 discloses<br>
&gt; &gt; the obfuscated ticket age, which is intended to be secret. Right =
now<br>
&gt; &gt; it&#39;s a &quot;SHOULD&quot;.<br>
<br>
</span>Why should ticket age disclosure be a problem?=C2=A0 How does ticket=
 one-time<br>
use not do the same?<br></blockquote><div><br></div><div>The draft writes t=
hat it is to prevent connection correlation attacks. =C2=A0</div></div><div=
><br></div>-- <br><div class=3D"gmail_signature" data-smartmail=3D"gmail_si=
gnature">Colm</div>
</div></div>

--94eb2c034d8cc9c50b054e8e25c1--


From nobody Tue May  2 10:55:38 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 693CC129BD7 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 10:55:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 SfOEKbVcHai0 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 10:55:35 -0700 (PDT)
Received: from mail-yb0-x232.google.com (mail-yb0-x232.google.com [IPv6:2607:f8b0:4002:c09::232]) (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 11DED129AF2 for <tls@ietf.org>; Tue,  2 May 2017 10:52:31 -0700 (PDT)
Received: by mail-yb0-x232.google.com with SMTP id s22so36861597ybe.3 for <tls@ietf.org>; Tue, 02 May 2017 10:52:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=d5KqJaUJ7BjQxzO8mdsx7tL62abWbkRJtEV7v9S1qfw=; b=mkssmZfV1Zu3HoScR0yZyPeEAlgf9dLkkKwxHxcFtceWg5lCc8WiS9NaemeMmeeFMX bqYI/fT9B0p2yUBES9hoGgDkOztEzIL1FQGC2F9Jo3vhwUsF8dC7fZRwYtA0eHDNGq7I ClmIrd2wKsU8TUtV/K7rMgE7ejvVVV9qOrCM9xggjgjakPSUb7VK9ciqmPsu8VfVkhe0 ppSnPNOTSFMHtwc3qgfslEl3JA4Bte20pf6UaXOWAGCZ63jpqowUSzh7I/MQIC+RLLpq xh0SQBQHm9YLE7sMQakTu4gFzwyb1K3mdJLnqPOld1QxNePiDnnMo3/NeaD09ETFL55K M5uQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=d5KqJaUJ7BjQxzO8mdsx7tL62abWbkRJtEV7v9S1qfw=; b=bqE4bY7NkT3m0ER95tYJiBxiTfv/XYkNGoIsAzZQGZm+OJb0Wr8T5+vKciwZ2szb86 OJ2ajAGWeQUrCm9eH8FtUMPa15emhmP8iNBMwScEPf5fKDRdTF46OCRpEZhP7ri4IX74 g92bk2WWcIMdPp4t+Q82jw5GY4TRgUMLVUeZUtnhwZoY5sWjwyOO3EUDjVzkPnsgwAQG 0Jdcd6k2QKaUxhcXdT1zAhVIoH2+RVkeTTf+ao/ljpqqs+gLJH2IF6rF4ZYmbxJbKB8o ObLoTpDcC6yk9acFBws1EkPMUdEd75nKsgZTX7ITq439pf9ejdXhRe76ap/yEOi8dqGv ZPlg==
X-Gm-Message-State: AN3rC/4PW5f6SLP0gc0LO4N4SgUZbyjqBeJvaN42qWc9QHpacb/lcGMy tK+a00EDSQQsugMZ6hkAoILVVkR9XF5z
X-Received: by 10.37.163.195 with SMTP id e61mr10684182ybi.13.1493747550237; Tue, 02 May 2017 10:52:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Tue, 2 May 2017 10:52:29 -0700 (PDT)
In-Reply-To: <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 2 May 2017 10:52:29 -0700
Message-ID: <CAAF6GDdwes+A1XhibBTJFnAM8Fa4V2HD2vjqdF0eNhiFTwaRGA@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=f403045c05f81ddfdf054e8e34dd
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/6wvUwY_19t81cQEIvmf1caZgPAY>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 17:55:37 -0000

--f403045c05f81ddfdf054e8e34dd
Content-Type: text/plain; charset=UTF-8

On Tue, May 2, 2017 at 10:33 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:
>
> I believe that the proposed change is well intentioned but
> counter-productive.
>

Note that the recommendation in the review is:

 'TLS1.3 should require that TLS implementions handling 0-RTT "MUST"
provide a mechanism to prevent duplicate tickets from being used for 0-RTT
data'

it is not quite about the general use of tickets - only as they pertain to
0-RTT data.  My understanding is that 0-RTT is not particularly interesting
for SMTP, so would that be ok?


-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 2, 2017 at 10:33 AM, Viktor Dukhovni <span dir=3D"ltr">&lt;=
<a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukho=
vni.org</a>&gt;</span> wrote:<blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-=
left-color:rgb(204,204,204);padding-left:1ex">
I believe that the proposed change is well intentioned but counter-producti=
ve.<br></blockquote><div><br></div><div>Note that the recommendation in the=
 review is:</div><div><br></div><div>=C2=A0&#39;<font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"color:rgb(36,41,46);font-size:14px">TLS1.3 =
should require that TLS implementions handling 0-RTT &quot;MUST&quot; provi=
de a mechanism to prevent duplicate tickets from being used for 0-RTT data&=
#39;</span></font></div><div><font face=3D"arial, helvetica, sans-serif"><s=
pan style=3D"color:rgb(36,41,46);font-size:14px"><br></span></font></div><d=
iv><font face=3D"arial, helvetica, sans-serif"><font color=3D"#24292e"><spa=
n style=3D"font-size:14px">it is not quite about the general use of tickets=
 - only as they pertain to 0-RTT data.=C2=A0 My=C2=A0understanding is that =
0-RTT is not particularly interesting for SMTP, so would that be ok?</span>=
</font></font></div><div><br></div></div><div><br></div>-- <br><div class=
=3D"gmail_signature">Colm</div>
</div></div>

--f403045c05f81ddfdf054e8e34dd--


From nobody Tue May  2 11:03:51 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B7AA129401 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:03:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 Rg1Tw13HbKkc for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:03:48 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 67DD212ECA7 for <tls@ietf.org>; Tue,  2 May 2017 11:00:53 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTP id DADA0C0028A6; Tue,  2 May 2017 11:00:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to:content-transfer-encoding; s= cryptonector.com; bh=5OwiGNHwsZ0XRMrINlyi0WXVhzU=; b=LygXP/uOX/v QmSh/56gItr5RQA1TG8LpsnCky9RSWysQ1M3HlyXMFlKUuybpKKlVyeNgOpcuX3s dmNhdwY4VvilkFfrgfROfoSjKkT9mCkb5296H3kfraS9YxATIJ6Ykwe6ZZaw5CF3 v05pmz5zEDyxwiyEE3r+ZyBWFXs8hzo8=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTPSA id 736B9C0028A3; Tue,  2 May 2017 11:00:52 -0700 (PDT)
Date: Tue, 2 May 2017 13:00:50 -0500
From: Nico Williams <nico@cryptonector.com>
To: Colm =?iso-8859-1?Q?MacC=E1rthaigh?= <colm@allcosts.net>
Cc: TLS WG <tls@ietf.org>
Message-ID: <20170502180049.GE10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/5YlrArOc6ci1Bqv6Fhv8hOySn3c>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 18:03:49 -0000

On Tue, May 02, 2017 at 10:48:29AM -0700, Colm MacC=E1rthaigh wrote:
> On Tue, May 2, 2017 at 10:39 AM, Nico Williams <nico@cryptonector.com>
> wrote:
> > With existing APIs, dealing with "pools of meaningfully distinct
> > tickets" seems meaningfully non-trivial.
>=20
> I would actually prefer if the client could request N tickets, but was
> advised that this was too large a change to the protocol.
>=20
> > > There's also an observation there that it should really be that
> > > > clients "MUST" use tickets only once. Any re-use likely discloses
> > > > the obfuscated ticket age, which is intended to be secret. Right =
now
> > > > it's a "SHOULD".
> >
> > Why should ticket age disclosure be a problem?  How does ticket one-t=
ime
> > use not do the same?
> >
>=20
> The draft writes that it is to prevent connection correlation attacks.

I would think that the ticket itself is enough for that when using
0-rtt.  I.e., if you don't want connection correlation to be possible,
you can't use 0-rtt.  The age business (which I hadn't looked into
before) seems incidental.

(Also, one would think that the client would send a timestamp in an
authenticator...  You know, a lot like what Kerberos does.)

Nico
--=20


From nobody Tue May  2 11:11:10 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 354CB129BFC for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:11:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level: 
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=ham 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 RmZWf1JCYiEA for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:11:06 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D8955129C3F for <tls@ietf.org>; Tue,  2 May 2017 11:08:04 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 3B4137A32F1 for <tls@ietf.org>; Tue,  2 May 2017 18:08:04 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAAF6GDdwes+A1XhibBTJFnAM8Fa4V2HD2vjqdF0eNhiFTwaRGA@mail.gmail.com>
Date: Tue, 2 May 2017 14:08:03 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <D08E24E8-076F-4182-8A55-19CD801FF07B@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <CAAF6GDdwes+A1XhibBTJFnAM8Fa4V2HD2vjqdF0eNhiFTwaRGA@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/D9rehqi_yC0YSojrTg_J0kW-4Bk>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 18:11:08 -0000

> On May 2, 2017, at 1:52 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
>=20
> it is not quite about the general use of tickets - only as they =
pertain to 0-RTT data.  My understanding is that 0-RTT is not =
particularly interesting for SMTP, so would that be ok?

Yes, if the change is narrowly tailored to 0-RTT, *and* if server TLS =
stacks
don't stop supporting ticket reuse for "normal" (not 0-RTT) sessions, =
then
I have no direct concerns with changes that affect 0-RTT alone.

--=20
	Viktor.


From nobody Tue May  2 11:18:21 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CFBEA129C0B for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:18:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 KiyI_2CSIVvw for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:18:18 -0700 (PDT)
Received: from mail-yb0-x22f.google.com (mail-yb0-x22f.google.com [IPv6:2607:f8b0:4002: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 9CF65127868 for <tls@ietf.org>; Tue,  2 May 2017 11:15:07 -0700 (PDT)
Received: by mail-yb0-x22f.google.com with SMTP id 8so37009671ybw.1 for <tls@ietf.org>; Tue, 02 May 2017 11:15:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=EftiTaJwacr+bNj6nfmQ/LtnN9J8LbD0kGi9BWdCAcI=; b=XwuIfrzwrE47WKwvFdibiZ0eaKZc8FDvCL3tP8lrJqNXQwj0zhzeZ4Mza+tZR/I1xH VYhjb4p2AUw1tvXyGQC2/DuBugWfaHniw4SVyYoNQIY5bLgTgRpF5EwlWS8tGCQE5/uN pHJGEf3gefZYaoxn+pLGZAiVXo9ycYSs8ZZhkSW0r3pMWSN9JWwJhtVdml9SRsWHrL1r DqqlWNTZUfuK8sSJFh0ocP03qQ4KGY+dZTBZs+UPx1fLoAxwbQpJr7pbtdzDAtfde5+G TSNMzSEBF4Tc0Bbqa/bm9yBkKDnQgA/wNPfsdzifrV8RaDcfnAHVgJqYeYLmWbInecM6 ChhQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=EftiTaJwacr+bNj6nfmQ/LtnN9J8LbD0kGi9BWdCAcI=; b=i++6woihwNFU5EvLrgD1KO/aU40d8pgcLDbpwHExAqpHklIz2WA4kJ3nCsLdMn7qed AZfHh92I3WcsVLIOzL1a7yhktMDQb9LdEgw2vQhWUutCC+R3SslWw0ZBFz9Fapvv9iPb snjhZ3pNnCvqozCUyBwTDZ0jVKrzC2zUkxQs1MrM5bpKorISiTblRLzZAt6yoBhowXRV aDnNKRuHV1wDsHHVerhCM+erDZaIgTRk55Gwn281DbSi263puq2+CrL4A7IiV0L5QcgZ rfeLu9bYuocu3duQaKEEcLK/588O0EWiNpWjM6+VZbEMPiPbrLOlIehoQXOnPSFIOkbG vvYg==
X-Gm-Message-State: AN3rC/5Xb0fj0RXyhLRaCAd76JZopojzTfUiGbTtH8eGMmvTwY6vxCXM 8iH/FqmWGvR9qPKxQcfBdsTp9avtfw==
X-Received: by 10.37.15.213 with SMTP id 204mr68022ybp.127.1493748906793; Tue, 02 May 2017 11:15:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Tue, 2 May 2017 11:15:06 -0700 (PDT)
In-Reply-To: <D08E24E8-076F-4182-8A55-19CD801FF07B@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <CAAF6GDdwes+A1XhibBTJFnAM8Fa4V2HD2vjqdF0eNhiFTwaRGA@mail.gmail.com> <D08E24E8-076F-4182-8A55-19CD801FF07B@dukhovni.org>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 2 May 2017 11:15:06 -0700
Message-ID: <CAAF6GDe6=NB4uD2qB6tT=DHYXFXBrWn0ZFy=0p32SoAGvmpA2w@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a113f5ae6f95e42054e8e8488
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/uZk3-vFI3jVfvK-Ynaw_ti3mXGA>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 18:18:20 -0000

--001a113f5ae6f95e42054e8e8488
Content-Type: text/plain; charset=UTF-8

On Tue, May 2, 2017 at 11:08 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> Yes, if the change is narrowly tailored to 0-RTT, *and* if server TLS
> stacks
> don't stop supporting ticket reuse for "normal" (not 0-RTT) sessions, then
> I have no direct concerns with changes that affect 0-RTT alone.
>

Great - I added a small errata comment on the github issue just recording
that too.

In that case, I only reason I see to stop using tickets multiple times is
to protect the obfuscated age. It reads to me like its purpose would just
be defeated. Is it really that hard for clients to use a 1-for-1
use-a-ticket-get-a-ticket approach?

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 2, 2017 at 11:08 AM, Viktor Dukhovni <span dir=3D"ltr">&lt;=
<a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukho=
vni.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, if the=
 change is narrowly tailored to 0-RTT, *and* if server TLS stacks<br>
don&#39;t stop supporting ticket reuse for &quot;normal&quot; (not 0-RTT) s=
essions, then<br>
I have no direct concerns with changes that affect 0-RTT alone.<br></blockq=
uote><div><br></div><div>Great - I added a small errata comment on the gith=
ub issue just recording that too.=C2=A0</div><div><br></div><div>In that ca=
se, I only reason I see to stop using tickets multiple times is to protect =
the obfuscated age. It reads to me like its purpose would just be defeated.=
 Is it really that hard for clients to use a 1-for-1 use-a-ticket-get-a-tic=
ket approach?</div></div><div><br></div>-- <br><div class=3D"gmail_signatur=
e" data-smartmail=3D"gmail_signature">Colm</div>
</div></div>

--001a113f5ae6f95e42054e8e8488--


From nobody Tue May  2 11:20:03 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 88EA7129C21 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:20:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 2R5IHmL7gEPU for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:20:00 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1C43E1314A6 for <tls@ietf.org>; Tue,  2 May 2017 11:16:57 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTP id 51C8EC086D1D; Tue,  2 May 2017 11:16:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to:content-transfer-encoding; s=cryptonector.com; bh=a Vod6ixKGZi6FWuNMI4hZwDR6Ag=; b=mQ+8y/RT1zfOczkEmsUysSmXBeS/YGSJr /LCvjPjzPyInVilvYZYYs3LxR+E6OpwBqCFFPTQdi2dKaRbn07ZSbmFlwQ/vxHJN uENtHgp0F9pnhgl80ifYOIQ+X8a2Gysx9I5ypLVJMLxZ416OvNGUCaLtX7CFiWhm YptMIvcSfo=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTPSA id F1F33C0028A6; Tue,  2 May 2017 11:16:55 -0700 (PDT)
Date: Tue, 2 May 2017 13:16:53 -0500
From: Nico Williams <nico@cryptonector.com>
To: TLS WG <tls@ietf.org>
Message-ID: <20170502181652.GF10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <CAAF6GDdwes+A1XhibBTJFnAM8Fa4V2HD2vjqdF0eNhiFTwaRGA@mail.gmail.com> <D08E24E8-076F-4182-8A55-19CD801FF07B@dukhovni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <D08E24E8-076F-4182-8A55-19CD801FF07B@dukhovni.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/4wusgY8maHvNppPm5vy-az19K4A>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 18:20:02 -0000

On Tue, May 02, 2017 at 02:08:03PM -0400, Viktor Dukhovni wrote:
> > On May 2, 2017, at 1:52 PM, Colm MacC=E1rthaigh <colm@allcosts.net> w=
rote:
> > it is not quite about the general use of tickets - only as they
> > pertain to 0-RTT data.  My understanding is that 0-RTT is not
> > particularly interesting for SMTP, so would that be ok?
>=20
> Yes, if the change is narrowly tailored to 0-RTT, *and* if server TLS s=
tacks
> don't stop supporting ticket reuse for "normal" (not 0-RTT) sessions, t=
hen
> I have no direct concerns with changes that affect 0-RTT alone.

In many environments (e.g., intra-corporate) the connection correlation
issue might not be a concern at all.  Though, of course, the default
should be (MUST) to assume that connection correlation is a concern.

So I would insist on the change being no stronger than "MUST NOT reuse
tickets with 0-rtt unless connection correlation is not an issue for the
application/user".

Nico
--=20


From nobody Tue May  2 11:20:56 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E379D1294DF for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:20:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.199
X-Spam-Level: 
X-Spam-Status: No, score=-1.199 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, 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=allcosts-net.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 PoJcy4WtQ3cr for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:20:53 -0700 (PDT)
Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (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 5D7C31294B8 for <tls@ietf.org>; Tue,  2 May 2017 11:17:43 -0700 (PDT)
Received: by mail-yw0-x231.google.com with SMTP id l18so74079209ywh.3 for <tls@ietf.org>; Tue, 02 May 2017 11:17:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=TS1ayfEgi4Np1JuQFunqkPfANw2Z1oy52CQYPTrECoU=; b=QA7LO74Ssh/MRN3y6qgrMdnm1p5B2ZkuaChS61pDl3/LbrWy8mfkZFz5elJ6y37UKb GifsnDOWUAM40bJXgT5HLdpzLArUVQoMaKRte9TN/zGfxhljCAMb2JvHCVzr3M48jOYE 1B2sBInPn0Fj/VSfi+ETv0XCIkxfGKm7fjVWgRkZiLkhYIQjJt571EgLZb8XFo7hYVQg 4jOBQOZfmNqUnP7Fi1WDu2LE4Qyj/yEJq0mDbenu6cukmc8tLsfwj99AXBrrdt0ChCWj dsyrw+MjGOO3fZkbpMUP1V6kwKDqtiSW8HAJXuvCkGEd5jRUxUhSbFXUjRAWWj0UqAMU MNiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=TS1ayfEgi4Np1JuQFunqkPfANw2Z1oy52CQYPTrECoU=; b=re3h0lsm9Hm43LTEIbtxzW9Ob15+ypkdybF0iz4fLYTvnzabvGVFOHEBR+x23Yi8bB J7EjrhVXV0HRmnGSMIOCVlp4VnNSp5TcW7QDMOskvXk1u7yzkC5RHb8ZKwIcV2HHl0Rf XJREzIiKeZ64TxuLiCSiNZKA40T4oc7HEioyRfL3DcPELcyXzDYeolxB/wx3mLR9zdf5 P9xQbXr+GqBPAHsHULVbl8ST5Bl+v2R9oYFemuUvjwW4JuLQTQM7BQCBWHeMVw58LmDj t3tPwgxHvCFD7HBPPv7aen5kd7eStN6YsbBXcULvZXZzuNaU5D+Ct4miE37ixjWvvWEa Z1ow==
X-Gm-Message-State: AN3rC/4cx2aZqx0i7gRt4xRnCSlddoKHqt0fA42B46W6SEievhECF3zH 7sQJc6aHqDT53kF1VgHtQJOKzP+VKA==
X-Received: by 10.129.152.4 with SMTP id p4mr25651953ywg.1.1493749062570; Tue, 02 May 2017 11:17:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Tue, 2 May 2017 11:17:42 -0700 (PDT)
In-Reply-To: <20170502180049.GE10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 2 May 2017 11:17:42 -0700
Message-ID: <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c0bd9ee4261d7054e8e8e77
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/qbWn4uy6jIWHtibk2NiEfhjY-6Y>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 18:20:55 -0000

--94eb2c0bd9ee4261d7054e8e8e77
Content-Type: text/plain; charset=UTF-8

On Tue, May 2, 2017 at 11:00 AM, Nico Williams <nico@cryptonector.com>
wrote:

> I would think that the ticket itself is enough for that when using
> 0-rtt.  I.e., if you don't want connection correlation to be possible,
> you can't use 0-rtt.


I don't think so. If the ticket is encrypted when it issued, I don't follow
how it could be used to correlate the original connection with the 0-RTT
connection.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 2, 2017 at 11:00 AM, Nico Williams <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:nico@cryptonector.com" target=3D"_blank">nico@cryptonector.=
com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-=
left-color:rgb(204,204,204);padding-left:1ex">I would think that the ticket=
 itself is enough for that when using<br>
0-rtt.=C2=A0 I.e., if you don&#39;t want connection correlation to be possi=
ble,<br>
you can&#39;t use 0-rtt.=C2=A0</blockquote><div><br></div><div><span style=
=3D"font-size:12.800000190734863px">I don&#39;t think so. If the ticket is =
encrypted when it issued, I don&#39;t follow how it could be used to correl=
ate the original connection with the 0-RTT connection.</span></div></div><b=
r>-- <br><div class=3D"gmail_signature">Colm</div>
</div></div>

--94eb2c0bd9ee4261d7054e8e8e77--


From nobody Tue May  2 11:28:01 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90FCF129B8D for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:28:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 fRf5bLPgTPdU for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:27:58 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A21DF127843 for <tls@ietf.org>; Tue,  2 May 2017 11:25:33 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTP id 438A2C086D1D; Tue,  2 May 2017 11:25:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to:content-transfer-encoding; s= cryptonector.com; bh=nwPAFOUAMuRlqHqzVnIgXQZPwdQ=; b=mBRAFbcar1g EdZiz1B/T3OEFL93R9Hxki/jfkud+NsMuuxPmoxS9R6cLn5QcWVvUFr57bW790U/ 07UoObfwHGDkssNqBYif0wNiQKxXbYy32vwDgqFNAKsbGansukfntmoBIZfvAe8+ LpdMI9S8OgFZmd4reDspnlP0tOC5zqq0=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTPSA id B41A1C0028A3; Tue,  2 May 2017 11:25:32 -0700 (PDT)
Date: Tue, 2 May 2017 13:25:30 -0500
From: Nico Williams <nico@cryptonector.com>
To: Colm =?iso-8859-1?Q?MacC=E1rthaigh?= <colm@allcosts.net>
Cc: TLS WG <tls@ietf.org>
Message-ID: <20170502182529.GG10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/16EbyecnG3t-JBCdCJAScRxMOeo>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 18:28:01 -0000

On Tue, May 02, 2017 at 11:17:42AM -0700, Colm MacC=E1rthaigh wrote:
> On Tue, May 2, 2017 at 11:00 AM, Nico Williams <nico@cryptonector.com>
> wrote:
> > I would think that the ticket itself is enough for that when using
> > 0-rtt.  I.e., if you don't want connection correlation to be possible=
,
> > you can't use 0-rtt.
>=20
> I don't think so. If the ticket is encrypted when it issued, I don't fo=
llow
> how it could be used to correlate the original connection with the 0-RT=
T
> connection.

The ticket's _ciphertext_ is not visible to the eavesdropper when it is
issued, but it IS visible to the eavesdropper when it is used in 0-rtt.
The client cannot change the ticket's _ciphertext_.  Therefore the
eavesdropper can correlate 0-rtt connections when tickets are reused.
The obfuscated ticket age is irrelevant to that.

Now, I understand that the obfuscated ticket age goes in the clear in
0-rtt connections, and that if the attacker could work out the
unobfuscated time then the attacker could correlate not just the 0-rtt
ticket-reusing connections with each other, but also some earliere
ticket-establishing connection(s) observed at that time.

I find the obfuscated ticket age business a bit silly, but maybe I'm
missing something.  The client should really send an [encrypted]
authenticator that includes a timestamp, thus allowing the server to
detect replays and so on -- just like Kerberos.  Then this problem
wouldn't happen.

In any case, given that ticket-reusing 0-rtt connections can be
correlated with each other, the ability to further correlate them with a
ticket-issuing connection(s) established earlier doesn't seem to be that
much more of a big deal.

If it's at all possible to move this timestamp into an authenticator at
this point, I think that's the best solution.

Nico
--=20


From nobody Tue May  2 11:34:01 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 34C7112E054 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:33:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-0.001] autolearn=ham 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 NdU9dAbS2XbL for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:33:57 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F131412EC29 for <tls@ietf.org>; Tue,  2 May 2017 11:31:11 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 495087A32F1 for <tls@ietf.org>; Tue,  2 May 2017 18:31:11 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAAF6GDe6=NB4uD2qB6tT=DHYXFXBrWn0ZFy=0p32SoAGvmpA2w@mail.gmail.com>
Date: Tue, 2 May 2017 14:31:10 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <BCD54624-6900-4F9E-AE50-434296440C79@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <CAAF6GDdwes+A1XhibBTJFnAM8Fa4V2HD2vjqdF0eNhiFTwaRGA@mail.gmail.com> <D08E24E8-076F-4182-8A55-19CD801FF07B@dukhovni.org> <CAAF6GDe6=NB4uD2qB6tT=DHYXFXBrWn0ZFy=0p32SoAGvmpA2w@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/9G1MzSqYN6m0uk19FpF2Zhd3OcA>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 18:33:59 -0000

> On May 2, 2017, at 2:15 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
>=20
> In that case, I only reason I see to stop using tickets multiple times =
is to protect
> the obfuscated age. It reads to me like its purpose would just be =
defeated. Is it
> really that hard for clients to use a 1-for-1 =
use-a-ticket-get-a-ticket approach?

Yes, it is difficult to do 1-for-1.  In postfix there are parallel =
client processes
reading a shared session cache, and parallel writers updating that =
cache, and without
major changes to the code, when two writers update the cache back to =
back only one
ticket (really SSL_SESSION object) is saved.  Under load, many clients =
would not
find a ticket at all.

--=20
	Viktor.=


From nobody Tue May  2 11:43:27 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 53D7F129C16 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:43:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 RJG20MDq3dxP for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:43:25 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (prod-mail-xrelay06.akamai.com [96.6.114.98]) by ietfa.amsl.com (Postfix) with ESMTP id 82480129C11 for <tls@ietf.org>; Tue,  2 May 2017 11:40:00 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 1E90E496C17; Tue,  2 May 2017 18:40:00 +0000 (GMT)
Received: from prod-mail-relay09.akamai.com (prod-mail-relay09.akamai.com [172.27.22.68]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id 08AB2496C0A; Tue,  2 May 2017 18:40:00 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1493750400; bh=Drpr88OpC+L16UId3MWUyk/DAmsc1UZi7mkOZH9BNj8=; l=1454; h=To:References:Cc:From:Date:In-Reply-To:From; b=So4a7Ztj4u+Frwo+UcuBjlU0fV+3lT+cb3zjnDyobc+NpCGF0iv8gGN91YMKQ+HXD glZsS5LlQiC044+fEtrRyh/w/uXsATlUyuV4I4Jd9IMCpo2zEnG92hu9mhatNhWiF4 h+C9ZueSyDPSuVRBzXqpIMU+VuLv+HNwMyq98sqQ=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay09.akamai.com (Postfix) with ESMTP id AE5171E142; Tue,  2 May 2017 18:39:59 +0000 (GMT)
To: Nico Williams <nico@cryptonector.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost>
Cc: TLS WG <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com>
Date: Tue, 2 May 2017 13:39:59 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170502182529.GG10188@localhost>
Content-Type: multipart/alternative; boundary="------------B4A2ECD67678089F50C5514E"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/x6J-Icl7XqsLFQlZVSMtxH-v6_I>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 18:43:26 -0000

This is a multi-part message in MIME format.
--------------B4A2ECD67678089F50C5514E
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

On 05/02/2017 01:25 PM, Nico Williams wrote:
> If it's at all possible to move this timestamp into an authenticator at
> this point, I think that's the best solution.

I thought TLS clients were supposed to have even worse clocks (in terms
of absolute time) than Kerberos clients.  The current ticket_age scheme
only requires the client's clock *rate* to be reasonable, not its
absolute time.

-Ben

--------------B4A2ECD67678089F50C5514E
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/02/2017 01:25 PM, Nico Williams wrote:<br>
    <blockquote cite="mid:20170502182529.GG10188@localhost" type="cite">
      <pre wrap="">If it's at all possible to move this timestamp into an authenticator at
this point, I think that's the best solution.
</pre>
    </blockquote>
    <br>
    I thought TLS clients were supposed to have even worse clocks (in
    terms of absolute time) than Kerberos clients.  The current
    ticket_age scheme only requires the client's clock *rate* to be
    reasonable, not its absolute time.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------B4A2ECD67678089F50C5514E--


From nobody Tue May  2 11:45:37 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3832C129C4B for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:45:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.7
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, 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=allcosts-net.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 lbT81kQiRt0P for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:45:34 -0700 (PDT)
Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) (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 76D10129ABE for <tls@ietf.org>; Tue,  2 May 2017 11:42:03 -0700 (PDT)
Received: by mail-yw0-x234.google.com with SMTP id l18so74415566ywh.3 for <tls@ietf.org>; Tue, 02 May 2017 11:42:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=5B7g050j5XvDVOlUu5iPLkFHr+9TkY29H0PxuPt8A14=; b=XuIDmJCM5SAVmU/1TV4D/Wpe4z4mn/h2mWDlERAyO/vIZl1YB7tjwNmRP/lTaxhGlv agjmmekx1uEE4w1lf4okWvQAzHA0xY9L+/EJ0r1/3WOcAn+rC1TU0s24Brw2Z4uHQwI1 VknqklEHnVE7hyhlhPkUmTK5OVpTb3163SkhRRH3dw6fMDx6HbIoi2iTbrs3CWEFYEof TNdb0anh6ZY8ZTX7ecfqYehf1mlZuh7pDQUc6P77/gILYe0VWKZjYkE8t/r6PJWlKdNH /rwG1YhmyxqAERS9lhdQN+FYvVKkqGVKT6dsnwJnCFpYkLuOU/Iottaj5WVktrD5qCZx fAXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=5B7g050j5XvDVOlUu5iPLkFHr+9TkY29H0PxuPt8A14=; b=UPrMsv3bHcG6j+QNT7IvjSGdqNFooncoi2QBS3JNba1ReVK4R+D8v79Wj6LuzWIe6L b1phdPSUUAeBdU4wE/8vyJKCxBHE3IWFRpcpnJgHtg27i550AhKENUA8YX2AFyLq9W0w ZT+jrWbckRoi6dybz+GjQlFohH2WyzDBYUiibZD7kxETldnTSGRRq6xd7SkfZZcwp/NV IcvTKdhv4plELwI8bE0p4TtwMT2Bb/X3AnVNz73+v9+0hkJ616n6OVycco1rZZlzqEuX CKlaBlRgkUfuY2F4Oq37sBiyH2GifKCo4CMBnjfJxUscR5xqs2dVG+6patFhvBp/b/LU phVQ==
X-Gm-Message-State: AN3rC/5MVKWVer4TjrNkZt4FYbclyTb8B+zZKCOhqfBRrEM6Tn2BUqgX NO3T5Yc3ewGJ3xBk4wqrWzdQBTdxSg==
X-Received: by 10.129.105.198 with SMTP id e189mr25814712ywc.296.1493750522555;  Tue, 02 May 2017 11:42:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Tue, 2 May 2017 11:42:01 -0700 (PDT)
In-Reply-To: <BCD54624-6900-4F9E-AE50-434296440C79@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <CAAF6GDdwes+A1XhibBTJFnAM8Fa4V2HD2vjqdF0eNhiFTwaRGA@mail.gmail.com> <D08E24E8-076F-4182-8A55-19CD801FF07B@dukhovni.org> <CAAF6GDe6=NB4uD2qB6tT=DHYXFXBrWn0ZFy=0p32SoAGvmpA2w@mail.gmail.com> <BCD54624-6900-4F9E-AE50-434296440C79@dukhovni.org>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 2 May 2017 11:42:01 -0700
Message-ID: <CAAF6GDernzthvDfdfKG6E-PBR=KjNzyefzfnQspsTSbRW4iX=A@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a1147125647c7f1054e8ee51a
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/os3aUxb_n0o_OXB3VkjNXL4QMTA>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 18:45:36 -0000

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

On Tue, May 2, 2017 at 11:31 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

>
> > On May 2, 2017, at 2:15 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
> >
> > In that case, I only reason I see to stop using tickets multiple times
> is to protect
> > the obfuscated age. It reads to me like its purpose would just be
> defeated. Is it
> > really that hard for clients to use a 1-for-1 use-a-ticket-get-a-ticket
> approach?
>
> Yes, it is difficult to do 1-for-1.  In postfix there are parallel client
> processes
> reading a shared session cache, and parallel writers updating that cache,
> and without
> major changes to the code, when two writers update the cache back to back
> only one
> ticket (really SSL_SESSION object) is saved.  Under load, many clients
> would not
> find a ticket at all.
>

That makes sense to me. Thanks for the detail.

--=20
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 2, 2017 at 11:31 AM, Viktor Dukhovni <span dir=3D"ltr">&lt;=
<a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukho=
vni.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=
=3D""><br>
&gt; On May 2, 2017, at 2:15 PM, Colm MacC=C3=A1rthaigh &lt;<a href=3D"mail=
to:colm@allcosts.net">colm@allcosts.net</a>&gt; wrote:<br>
&gt;<br>
&gt; In that case, I only reason I see to stop using tickets multiple times=
 is to protect<br>
&gt; the obfuscated age. It reads to me like its purpose would just be defe=
ated. Is it<br>
&gt; really that hard for clients to use a 1-for-1 use-a-ticket-get-a-ticke=
t approach?<br>
<br>
</span>Yes, it is difficult to do 1-for-1.=C2=A0 In postfix there are paral=
lel client processes<br>
reading a shared session cache, and parallel writers updating that cache, a=
nd without<br>
major changes to the code, when two writers update the cache back to back o=
nly one<br>
ticket (really SSL_SESSION object) is saved.=C2=A0 Under load, many clients=
 would not<br>
find a ticket at all.<br></blockquote><div><br></div><div>That makes sense =
to me. Thanks for the detail.</div></div><div><br></div>-- <br><div class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature">Colm</div>
</div></div>

--001a1147125647c7f1054e8ee51a--


From nobody Tue May  2 11:48:41 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 05316129A8F for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:48:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 dwY0h-9Aca7p for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:48:38 -0700 (PDT)
Received: from mail-yb0-x22c.google.com (mail-yb0-x22c.google.com [IPv6:2607:f8b0:4002:c09::22c]) (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 47F111289C3 for <tls@ietf.org>; Tue,  2 May 2017 11:45:28 -0700 (PDT)
Received: by mail-yb0-x22c.google.com with SMTP id p143so37190870yba.2 for <tls@ietf.org>; Tue, 02 May 2017 11:45:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8HO35HcV0Ory9qV3whwYTwGstGgOF/5mKIIl+b0AFzA=; b=StnZRgrIq8jzDO3ohvztW2OaSMUCAITCSAKHKEUrYbOZ1ihZq3KbTi45l6/iPbzfg9 SHtzZyinW81vEipD0FtgIBefVunUg43DyTl/BBMzbLzUXVvZj/sqnawIKcIajUGL/Knk 3caxAHZjsNcm1SIklQCAs40XwpwPDMBqayzd1ibLsVQqJhgtAz7tYTVtJEDTewPEFIvQ 8ZESEHvafcZBKYbFDhH+DsKigfQo4RDCGMv5trGw5skTCcyvQvnbdv5jlHp08BNZOGl5 m2x0P+oa2p+QrL9G1zajFhlcYPD44lbaS0qoTko1bnsqQZwuTIo/gcgjV1Z0vvn9p07T RX7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8HO35HcV0Ory9qV3whwYTwGstGgOF/5mKIIl+b0AFzA=; b=FOaxvKMQz6MlXLwyT6rOr8lSzJJPaQyJElhDFlTUviPOdebjdIE7PViQEX0Ajb7v+G aMTwjJ3gNLUEnJhCa5n81IRZj04pdeHygepihv5GA5g6NQy5KCAfJv/+9vFMgKIcPzuq TqsNTEwJhy9nIpZWOkIuBXSjzWaizmqLBdUwN8sFDi1C5DW/Tt6gZlTs6Hmv2Ld2YApv XLVDjuqR+AZB9GQhxQlZRgKEtecmEEOOz1ca4aKkcvQu3pmfLAeiBoZyYxn5LIRxlzGb 8i7EivmLWT3HPSxbpePtSDaRClsI8x1iZWQnHSYUY/z8VICSPWqo51hI5z6EFTCAs4Ro HaYQ==
X-Gm-Message-State: AN3rC/75A5kYmlLy08qU0CJOnoIM/gTFEUKuVjbPPHn4MSr+739vus9t rt2mtjkmrDXAwGRf5cbjJo1G/0Qnvg==
X-Received: by 10.37.15.213 with SMTP id 204mr190374ybp.127.1493750727632; Tue, 02 May 2017 11:45:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Tue, 2 May 2017 11:45:27 -0700 (PDT)
In-Reply-To: <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 2 May 2017 11:45:27 -0700
Message-ID: <CAAF6GDeBtcLf+LjE+mJocUPi1Dz0WeKCbnaYsbqpZyqGsvQVCA@mail.gmail.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Nico Williams <nico@cryptonector.com>, TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a113f5ae68116a3054e8ef19a
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/deD8oj_X07_YqT-6dDuHXUQZXl8>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 18:48:40 -0000

--001a113f5ae68116a3054e8ef19a
Content-Type: text/plain; charset=UTF-8

On Tue, May 2, 2017 at 11:39 AM, Benjamin Kaduk <bkaduk@akamai.com> wrote:

> I thought TLS clients were supposed to have even worse clocks (in terms of
> absolute time) than Kerberos clients.  The current ticket_age scheme only
> requires the client's clock *rate* to be reasonable, not its absolute time.
>

Here I have some data. Over 7 days of examining requests from low power
devices, 1 in 100 devices had a clock drift of at least 2 seconds. One in
1,000 had a drift of at least 43 seconds, and the worst offender had
drifted by years.


-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 2, 2017 at 11:39 AM, Benjamin Kaduk <span dir=3D"ltr">&lt;<=
a href=3D"mailto:bkaduk@akamai.com" target=3D"_blank">bkaduk@akamai.com</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">I thought TLS clients were supp=
osed to have even worse clocks (in
    terms of absolute time) than Kerberos clients.=C2=A0 The current
    ticket_age scheme only requires the client&#39;s clock *rate* to be
    reasonable, not its absolute time.<br></div></blockquote><div><br></div=
><div>Here I have some data. Over 7 days of examining requests from low pow=
er devices, 1 in 100 devices had a clock drift of at least 2 seconds. One i=
n 1,000 had a drift of at least 43 seconds, and the worst offender had drif=
ted by years.=C2=A0</div><div><br></div></div><div><br></div>-- <br><div cl=
ass=3D"gmail_signature" data-smartmail=3D"gmail_signature">Colm</div>
</div></div>

--001a113f5ae68116a3054e8ef19a--


From nobody Tue May  2 11:49:18 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4961212EAD9 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:49:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 gj2pCcGsZ_EE for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:49:15 -0700 (PDT)
Received: from welho-filter4.welho.com (welho-filter4.welho.com [83.102.41.26]) by ietfa.amsl.com (Postfix) with ESMTP id 41BF4129A90 for <tls@ietf.org>; Tue,  2 May 2017 11:46:06 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id B89BD21213; Tue,  2 May 2017 21:46:04 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id iTlUm2NfXN7M; Tue,  2 May 2017 21:46:04 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 7BBE1C4; Tue,  2 May 2017 21:46:04 +0300 (EEST)
Date: Tue, 2 May 2017 21:46:03 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Nico Williams <nico@cryptonector.com>
Cc: TLS WG <tls@ietf.org>
Message-ID: <20170502184603.GA30300@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20170502173905.GC10188@localhost>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Ka7ac2wtGWOZefz0kSiJbfFGRQQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 18:49:17 -0000

On Tue, May 02, 2017 at 12:39:06PM -0500, Nico Williams wrote:
> On Tue, May 02, 2017 at 01:33:37PM -0400, Viktor Dukhovni wrote:
> 
> > > There's also an observation there that it should really be that
> > > clients "MUST" use tickets only once. Any re-use likely discloses
> > > the obfuscated ticket age, which is intended to be secret. Right now
> > > it's a "SHOULD".
> 
> Why should ticket age disclosure be a problem?  How does ticket one-time
> use not do the same?

Ticket re-use is the reason why the masking uses add modulo 2^32 instead
of xor (which is more common).

Using add for masking does not leak identity of the parent session (xor
would leak it) even on re-use.

And ticket-reuse leaks the fact that the child sessions are related
anyway, nothing that can be done about that.


-Ilari


From nobody Tue May  2 11:54:53 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6CB412E053 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:54:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level: 
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=ham 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 8EYtyJ1bfTyj for <tls@ietfa.amsl.com>; Tue,  2 May 2017 11:54:50 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BBA3812947A for <tls@ietf.org>; Tue,  2 May 2017 11:51:07 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 0D4BD7A32F1 for <tls@ietf.org>; Tue,  2 May 2017 18:51:07 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com>
Date: Tue, 2 May 2017 14:51:06 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <39C55E05-183F-415D-8E99-1798DD2303D8@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/gEiHiNZxi5xlXrpcHbJydHtDGnQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 18:54:52 -0000

> On May 2, 2017, at 2:39 PM, Benjamin Kaduk <bkaduk@akamai.com> wrote:
>=20
> I thought TLS clients were supposed to have even worse clocks (in =
terms of absolute time) than Kerberos clients.  The current ticket_age =
scheme only requires the client's clock *rate* to be reasonable, not its =
absolute time.

Sure, and yet it might still have been better to transport the =
"obfuscated ticket age"
as an "encrypted ticket age", while keeping the elements of the design =
that expect only
a reasonable clock rate from the client.  Of course making such a change =
is likely
prohibitive at this time...

If the ticket is never re-used the "obfuscation" is perhaps sufficient, =
and if it
is re-used both obfuscation and encryption are defeated.  So obfuscation =
is perhaps
acceptable.

--=20
	Viktor.


From nobody Tue May  2 12:20:13 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0509312EBAE for <tls@ietfa.amsl.com>; Tue,  2 May 2017 12:20:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 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, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 U34z-VX7yJjR for <tls@ietfa.amsl.com>; Tue,  2 May 2017 12:20:09 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (prod-mail-xrelay07.akamai.com [23.79.238.175]) by ietfa.amsl.com (Postfix) with ESMTP id B5A5512EA7A for <tls@ietf.org>; Tue,  2 May 2017 12:17:18 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id DDF8D4334AC; Tue,  2 May 2017 19:17:17 +0000 (GMT)
Received: from prod-mail-relay10.akamai.com (prod-mail-relay10.akamai.com [172.27.118.251]) by prod-mail-xrelay07.akamai.com (Postfix) with ESMTP id C7A98433403; Tue,  2 May 2017 19:17:17 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1493752637; bh=VWYxeHfPhn5xIeGBEC+2/xfhVwteMWcXxYYIh2r9r7I=; l=8573; h=To:References:Cc:From:Date:In-Reply-To:From; b=JbwPEjD7Qtze6lGcw/MMVMuo1TXO9B8Mu81tlLPab7hnLF6+feaUlLzpGstyYWuMP +4cmwkbrqSyij76kip9CO0CGG1j62jOVqJ5Rppk3AnoV8VdIm0znloslXG7Z199WmD rtureKmGGIlj06553S6IZF+i2Forq1cwSZa19qZU=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id 7F20E1FCF3; Tue,  2 May 2017 19:17:17 +0000 (GMT)
To: Nico Williams <nico@cryptonector.com>, =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost>
Cc: TLS WG <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <466fad64-5acd-d888-1574-10f95b2ab7bc@akamai.com>
Date: Tue, 2 May 2017 14:17:17 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170502182529.GG10188@localhost>
Content-Type: multipart/alternative; boundary="------------DE480319999F43CAB9484CEA"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/6TX0PXaQymOMSDiCGGCgcrpLlSE>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 19:20:12 -0000

This is a multi-part message in MIME format.
--------------DE480319999F43CAB9484CEA
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit

[replying to the part of your message I did not already cherry-pick and
reply to...]

On 05/02/2017 01:25 PM, Nico Williams wrote:
> On Tue, May 02, 2017 at 11:17:42AM -0700, Colm MacCárthaigh wrote:
>> On Tue, May 2, 2017 at 11:00 AM, Nico Williams <nico@cryptonector.com>
>> wrote:
>>> I would think that the ticket itself is enough for that when using
>>> 0-rtt.  I.e., if you don't want connection correlation to be possible,
>>> you can't use 0-rtt.
>> I don't think so. If the ticket is encrypted when it issued, I don't follow
>> how it could be used to correlate the original connection with the 0-RTT
>> connection.
> The ticket's _ciphertext_ is not visible to the eavesdropper when it is
> issued, but it IS visible to the eavesdropper when it is used in 0-rtt.
> The client cannot change the ticket's _ciphertext_.  Therefore the
> eavesdropper can correlate 0-rtt connections when tickets are reused.
> The obfuscated ticket age is irrelevant to that.
>
> Now, I understand that the obfuscated ticket age goes in the clear in
> 0-rtt connections, and that if the attacker could work out the
> unobfuscated time then the attacker could correlate not just the 0-rtt
> ticket-reusing connections with each other, but also some earliere
> ticket-establishing connection(s) observed at that time.
>
> I find the obfuscated ticket age business a bit silly, but maybe I'm
> missing something.  The client should really send an [encrypted]
> authenticator that includes a timestamp, thus allowing the server to
> detect replays and so on -- just like Kerberos.  Then this problem
> wouldn't happen.

It's just to provide a little extra benefit on top of TLS 1.2 of
unlinkability in some situations.  In TLS 1.2, the session ticket was
sent unencrypted, so the ticket ciphertext is always available to the
attacker for correlation of ticket use to the original connection  (and
thus to other resumptions from that original connection).  With TLS 1.3,
the first time the observer sees the ticket ciphertext is when the
client uses it.  If the client only uses the ticket once, the naive
conclusion is that the resumption is not linkable to anything else --
the original connection or other resumptions from the same original
connection.  But, because we have this ticket age anti-replay mechanism,
the ticket age could be used to link resumptions from the original
session together, as described shortly.  This only matters when the
client has multiple tickets to use that were granted at the same
time/session, since if the client is reusing tickets then the ticket
ciphertext links the reuse, as you already noted.  So, if the ticket_age
was in the clear, then the attacker could subtract that to find when the
ticket was issued, and correlate the multiple tickets that were issued
together.  Obfuscating the ticket age prevents that correlation.

That correlation was unavoidable with TLS 1.2 tickets; if you're happy
with the 1.2 behavior, you don't need to care about reusing tickets or
how obfuscated your ticket age is.  (This is Viktor's postfix case, as I
understand it.)

> In any case, given that ticket-reusing 0-rtt connections can be
> correlated with each other, the ability to further correlate them with a
> ticket-issuing connection(s) established earlier doesn't seem to be that
> much more of a big deal.

Agreed.  This whole anti-linkability thing is really in a very narrow
use case, and only when each ticket is used at most once.  (It's also a
very minor benefit, in my mind, compared to the other security
properties in scope.)

-Ben


--------------DE480319999F43CAB9484CEA
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>[replying to the part of your message I did not already
      cherry-pick and reply to...]<br>
      <br>
    </tt>
    <div class="moz-cite-prefix">On 05/02/2017 01:25 PM, Nico Williams
      wrote:<br>
    </div>
    <blockquote cite="mid:20170502182529.GG10188@localhost" type="cite">
      <pre wrap="">On Tue, May 02, 2017 at 11:17:42AM -0700, Colm MacCárthaigh wrote:
</pre>
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">On Tue, May 2, 2017 at 11:00 AM, Nico Williams <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:nico@cryptonector.com">&lt;nico@cryptonector.com&gt;</a>
wrote:
</pre>
        <blockquote type="cite" style="color: #000000;">
          <pre wrap="">I would think that the ticket itself is enough for that when using
0-rtt.  I.e., if you don't want connection correlation to be possible,
you can't use 0-rtt.
</pre>
        </blockquote>
        <pre wrap="">I don't think so. If the ticket is encrypted when it issued, I don't follow
how it could be used to correlate the original connection with the 0-RTT
connection.
</pre>
      </blockquote>
      <pre wrap="">The ticket's <span class="moz-txt-underscore"><span class="moz-txt-tag">_</span>ciphertext<span class="moz-txt-tag">_</span></span> is not visible to the eavesdropper when it is
issued, but it IS visible to the eavesdropper when it is used in 0-rtt.
The client cannot change the ticket's <span class="moz-txt-underscore"><span class="moz-txt-tag">_</span>ciphertext<span class="moz-txt-tag">_</span></span>.  Therefore the
eavesdropper can correlate 0-rtt connections when tickets are reused.
The obfuscated ticket age is irrelevant to that.

Now, I understand that the obfuscated ticket age goes in the clear in
0-rtt connections, and that if the attacker could work out the
unobfuscated time then the attacker could correlate not just the 0-rtt
ticket-reusing connections with each other, but also some earliere
ticket-establishing connection(s) observed at that time.

I find the obfuscated ticket age business a bit silly, but maybe I'm
missing something.  The client should really send an [encrypted]
authenticator that includes a timestamp, thus allowing the server to
detect replays and so on -- just like Kerberos.  Then this problem
wouldn't happen.
</pre>
    </blockquote>
    <br>
    It's just to provide a little extra benefit on top of TLS 1.2 of
    unlinkability in some situations.  In TLS 1.2, the session ticket
    was sent unencrypted, so the ticket ciphertext is always available
    to the attacker for correlation of ticket use to the original
    connection  (and thus to other resumptions from that original
    connection).  With TLS 1.3, the first time the observer sees the
    ticket ciphertext is when the client uses it.  If the client only
    uses the ticket once, the naive conclusion is that the resumption is
    not linkable to anything else -- the original connection or other
    resumptions from the same original connection.  But, because we have
    this ticket age anti-replay mechanism, the ticket age could be used
    to link resumptions from the original session together, as described
    shortly.  This only matters when the client has multiple tickets to
    use that were granted at the same time/session, since if the client
    is reusing tickets then the ticket ciphertext links the reuse, as
    you already noted.  So, if the ticket_age was in the clear, then the
    attacker could subtract that to find when the ticket was issued, and
    correlate the multiple tickets that were issued together. 
    Obfuscating the ticket age prevents that correlation.<br>
    <br>
    That correlation was unavoidable with TLS 1.2 tickets; if you're
    happy with the 1.2 behavior, you don't need to care about reusing
    tickets or how obfuscated your ticket age is.  (This is Viktor's
    postfix case, as I understand it.)<br>
    <br>
    <blockquote cite="mid:20170502182529.GG10188@localhost" type="cite">
      <pre wrap="">
In any case, given that ticket-reusing 0-rtt connections can be
correlated with each other, the ability to further correlate them with a
ticket-issuing connection(s) established earlier doesn't seem to be that
much more of a big deal.</pre>
    </blockquote>
    <br>
    Agreed.  This whole anti-linkability thing is really in a very
    narrow use case, and only when each ticket is used at most once. 
    (It's also a very minor benefit, in my mind, compared to the other
    security properties in scope.)<br>
    <br>
    -Ben<br>
    <br>
  </body>
</html>

--------------DE480319999F43CAB9484CEA--


From nobody Tue May  2 12:23:34 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3743B12EB05 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 12:23:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.901
X-Spam-Level: 
X-Spam-Status: No, score=-2.901 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 4YFr5WubT7rY for <tls@ietfa.amsl.com>; Tue,  2 May 2017 12:23:32 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BCBC612E03F for <tls@ietf.org>; Tue,  2 May 2017 12:20:07 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTP id 5021DC086D0C; Tue,  2 May 2017 12:20:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=2u106uw+RXW3EP KKnZ0cVHtHTZA=; b=u4MvvfFQhh5Wcyo55mNZcDFOvp001062Wq3lOmMjW4RN1u mKQBQ7Q81f3D1V6sbPhYYOMm0y7IDRdC+fLl8ENrZdFtB5HK/4L8I5iTQ/VQFuX7 x+BAGWt/Y2UsMRNPIQ9t09/MWnXFJEJDm6+1cF5aKOvczKXzqnadUvrCywqH0=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTPSA id ACB58C0028A3; Tue,  2 May 2017 12:20:06 -0700 (PDT)
Date: Tue, 2 May 2017 14:20:04 -0500
From: Nico Williams <nico@cryptonector.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Colm =?iso-8859-1?Q?MacC=E1rthaigh?= <colm@allcosts.net>, TLS WG <tls@ietf.org>
Message-ID: <20170502192003.GH10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <466fad64-5acd-d888-1574-10f95b2ab7bc@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <466fad64-5acd-d888-1574-10f95b2ab7bc@akamai.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/HhkXR3A0fWwVRs7gu8Sc9CNOYOQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 19:23:33 -0000

On Tue, May 02, 2017 at 02:17:17PM -0500, Benjamin Kaduk wrote:
> [ stuff about 1.2 elided ]

OK, sure, but why not avoid the problem in the first place in 1.3 by
sending an encrypted timestamp authenticator (sound familiar?).

Nico
-- 


From nobody Tue May  2 12:31:32 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B33B0126C3D for <tls@ietfa.amsl.com>; Tue,  2 May 2017 12:31:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 gjLSww6l6eNs for <tls@ietfa.amsl.com>; Tue,  2 May 2017 12:31:29 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (prod-mail-xrelay05.akamai.com [23.79.238.179]) by ietfa.amsl.com (Postfix) with ESMTP id BC11612946D for <tls@ietf.org>; Tue,  2 May 2017 12:28:38 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 425794334BC; Tue,  2 May 2017 19:28:38 +0000 (GMT)
Received: from prod-mail-relay10.akamai.com (prod-mail-relay10.akamai.com [172.27.118.251]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id 2C210433407; Tue,  2 May 2017 19:28:38 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1493753318; bh=UpZ6JlMgIVNRWUFB5zbiDZJAihDGBgxXD4cXNtah5kg=; l=2225; h=To:References:Cc:From:Date:In-Reply-To:From; b=N2XTsAMWmm6em4TIXS7IlHxKTOt2p3w0TRPctLWYrv+fe6B7YTNadWcI4Xo9/Xa9H 9eMpEjP8C4J6Yz7iwv+NORz4lVUlTro2+nY13spyYiZVaZY7MOJjffrXGierbmpv5i q4rRpvn3/DyaTzWvKzWoXulPkoccl560BEkMWEnY=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id DB6541FD06; Tue,  2 May 2017 19:28:37 +0000 (GMT)
To: Nico Williams <nico@cryptonector.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <466fad64-5acd-d888-1574-10f95b2ab7bc@akamai.com> <20170502192003.GH10188@localhost>
Cc: =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>, TLS WG <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <e313032d-2ac8-cc4e-0aa7-de869007e397@akamai.com>
Date: Tue, 2 May 2017 14:28:37 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170502192003.GH10188@localhost>
Content-Type: multipart/alternative; boundary="------------BA97AD01801BE5FBAEFF73E2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/JDYCvnFwp0ijF_iROLVjnvz9TTU>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 19:31:31 -0000

This is a multi-part message in MIME format.
--------------BA97AD01801BE5FBAEFF73E2
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

On 05/02/2017 02:20 PM, Nico Williams wrote:
> On Tue, May 02, 2017 at 02:17:17PM -0500, Benjamin Kaduk wrote:
>> [ stuff about 1.2 elided ]
> OK, sure, but why not avoid the problem in the first place in 1.3 by
> sending an encrypted timestamp authenticator (sound familiar?).
>

If you mean an actual timestamp, see my previous reply about clock accuracy.

If you mean an encrypted relative time, well, that's what it is.  The
encryption is incredibly ad hoc, and requires that the key only be used
once, but the whole thing started by thinking of it as a super-janky
encryption scheme.  See
https://www.ietf.org/mail-archive/web/tls/current/msg20373.html and nearby.

-Ben

--------------BA97AD01801BE5FBAEFF73E2
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/02/2017 02:20 PM, Nico Williams wrote:<br>
    <blockquote cite="mid:20170502192003.GH10188@localhost" type="cite">
      <pre wrap="">On Tue, May 02, 2017 at 02:17:17PM -0500, Benjamin Kaduk wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">[ stuff about 1.2 elided ]
</pre>
      </blockquote>
      <pre wrap="">
OK, sure, but why not avoid the problem in the first place in 1.3 by
sending an encrypted timestamp authenticator (sound familiar?).

</pre>
    </blockquote>
    <br>
    If you mean an actual timestamp, see my previous reply about clock
    accuracy.<br>
    <br>
    If you mean an encrypted relative time, well, that's what it is. 
    The encryption is incredibly ad hoc, and requires that the key only
    be used once, but the whole thing started by thinking of it as a
    super-janky encryption scheme.  See
    <a class="moz-txt-link-freetext" href="https://www.ietf.org/mail-archive/web/tls/current/msg20373.html">https://www.ietf.org/mail-archive/web/tls/current/msg20373.html</a> and
    nearby.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------BA97AD01801BE5FBAEFF73E2--


From nobody Tue May  2 12:34:33 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C4C1129B81 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 12:34:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.901
X-Spam-Level: 
X-Spam-Status: No, score=-2.901 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 hLnTgOZ7_W09 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 12:34:31 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 56777129B7E for <tls@ietf.org>; Tue,  2 May 2017 12:31:49 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTP id 0DB58C0028A6; Tue,  2 May 2017 12:31:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=yYhpPECGwiiC8I CQH/zsaxXKuZU=; b=HfFTtY0/ylvATdqV+G95A8cXtvJhEVi/+NYvkW0G1q3z1Z HEfOxfMCfUn5Zm3yIioG66PqOQnEBBnmdjKSl2K73f8SKrcXAgWfG6finJbz26pW z1zbCrrpvkgDrQ6mGwUCSddz+cBne5pNbKWwQDjtjk5q2XBIsvtethYyYwXWA=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTPSA id A3765C0028A3; Tue,  2 May 2017 12:31:48 -0700 (PDT)
Date: Tue, 2 May 2017 14:31:46 -0500
From: Nico Williams <nico@cryptonector.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Colm =?iso-8859-1?Q?MacC=E1rthaigh?= <colm@allcosts.net>, TLS WG <tls@ietf.org>
Message-ID: <20170502193145.GI10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <466fad64-5acd-d888-1574-10f95b2ab7bc@akamai.com> <20170502192003.GH10188@localhost> <e313032d-2ac8-cc4e-0aa7-de869007e397@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <e313032d-2ac8-cc4e-0aa7-de869007e397@akamai.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/_bnGo-rMk5jpMd7rjxlICLKb0TU>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 19:34:33 -0000

On Tue, May 02, 2017 at 02:28:37PM -0500, Benjamin Kaduk wrote:
> On 05/02/2017 02:20 PM, Nico Williams wrote:
> > On Tue, May 02, 2017 at 02:17:17PM -0500, Benjamin Kaduk wrote:
> >> [ stuff about 1.2 elided ]
> > OK, sure, but why not avoid the problem in the first place in 1.3 by
> > sending an encrypted timestamp authenticator (sound familiar?).
> 
> If you mean an actual timestamp, see my previous reply about clock accuracy.

Kerberos deas with that.

> If you mean an encrypted relative time, well, that's what it is.  The
> encryption is incredibly ad hoc, and requires that the key only be used
> once, but the whole thing started by thinking of it as a super-janky
> encryption scheme.  See
> https://www.ietf.org/mail-archive/web/tls/current/msg20373.html and nearby.

Yeah, it's an XOR with a one-time pad that... gets reused if you reuse
the ticket.  OF COURSE that fails.  Everyone knows not to reuse one-time
pads.

So, in 1.3, at least with 0-rtt, can we replaced this with a proper
encryption?

Nico
-- 


From nobody Tue May  2 12:44:39 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02037128C81 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 12:44:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.802
X-Spam-Level: 
X-Spam-Status: No, score=-0.802 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 QsgoxJden-FG for <tls@ietfa.amsl.com>; Tue,  2 May 2017 12:44:35 -0700 (PDT)
Received: from prod-mail-xrelay08.akamai.com (prod-mail-xrelay08.akamai.com [96.6.114.112]) by ietfa.amsl.com (Postfix) with ESMTP id 717FC12EB0B for <tls@ietf.org>; Tue,  2 May 2017 12:41:36 -0700 (PDT)
Received: from prod-mail-xrelay08.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id B3A06200080; Tue,  2 May 2017 19:41:35 +0000 (GMT)
Received: from prod-mail-relay09.akamai.com (prod-mail-relay09.akamai.com [172.27.22.68]) by prod-mail-xrelay08.akamai.com (Postfix) with ESMTP id 793B8200003; Tue,  2 May 2017 19:41:35 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1493754095; bh=rUSnq6jSSl8xS2kWv4wH6RWFDC22PW4/DfuN6D1j3Aw=; l=3616; h=To:References:Cc:From:Date:In-Reply-To:From; b=mBqoZV9lJV5Gto6zq3DeYpjI5kIgXSJ3Uu+7WyDQUU04GnYU/Q0Ps2gUSEYts+IGz SA0PBylLcSLenKXQrluz1qlqRix5wF+je985SAup1N1MlqfKmoQgXj1Jv6I3oN75yR lyea/pkCiW3QqlfrFyk26VT/CMLHcpCy8A3hrMtw=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay09.akamai.com (Postfix) with ESMTP id 032891E08A; Tue,  2 May 2017 19:41:34 +0000 (GMT)
To: Nico Williams <nico@cryptonector.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <466fad64-5acd-d888-1574-10f95b2ab7bc@akamai.com> <20170502192003.GH10188@localhost> <e313032d-2ac8-cc4e-0aa7-de869007e397@akamai.com> <20170502193145.GI10188@localhost>
Cc: =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>, TLS WG <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <42522b3c-8987-ea2a-2173-bcadaf6ff326@akamai.com>
Date: Tue, 2 May 2017 14:41:34 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170502193145.GI10188@localhost>
Content-Type: multipart/alternative; boundary="------------7B0F3A1EECB03434EC9110E4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/I_MxFqM1nsxon7f_tLUdL8ME74c>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 19:44:37 -0000

This is a multi-part message in MIME format.
--------------7B0F3A1EECB03434EC9110E4
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

On 05/02/2017 02:31 PM, Nico Williams wrote:
> On Tue, May 02, 2017 at 02:28:37PM -0500, Benjamin Kaduk wrote:
>> On 05/02/2017 02:20 PM, Nico Williams wrote:
>>> On Tue, May 02, 2017 at 02:17:17PM -0500, Benjamin Kaduk wrote:
>>>> [ stuff about 1.2 elided ]
>>> OK, sure, but why not avoid the problem in the first place in 1.3 by
>>> sending an encrypted timestamp authenticator (sound familiar?).
>> If you mean an actual timestamp, see my previous reply about clock accuracy.
> Kerberos deas with that.
>
>> If you mean an encrypted relative time, well, that's what it is.  The
>> encryption is incredibly ad hoc, and requires that the key only be used
>> once, but the whole thing started by thinking of it as a super-janky
>> encryption scheme.  See
>> https://www.ietf.org/mail-archive/web/tls/current/msg20373.html and nearby.
> Yeah, it's an XOR with a one-time pad that... gets reused if you reuse
> the ticket.  OF COURSE that fails.  Everyone knows not to reuse one-time
> pads.
>
> So, in 1.3, at least with 0-rtt, can we replaced this with a proper
> encryption?
>

If you reuse the ticket, the only concrete stated benefit from this
encryption is lost already.  What benefit would be gained from using
better encryption for ticket_age_add?

-Ben

--------------7B0F3A1EECB03434EC9110E4
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/02/2017 02:31 PM, Nico Williams wrote:<br>
    <blockquote cite="mid:20170502193145.GI10188@localhost" type="cite">
      <pre wrap="">On Tue, May 02, 2017 at 02:28:37PM -0500, Benjamin Kaduk wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On 05/02/2017 02:20 PM, Nico Williams wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">On Tue, May 02, 2017 at 02:17:17PM -0500, Benjamin Kaduk wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">[ stuff about 1.2 elided ]
</pre>
          </blockquote>
          <pre wrap="">OK, sure, but why not avoid the problem in the first place in 1.3 by
sending an encrypted timestamp authenticator (sound familiar?).
</pre>
        </blockquote>
        <pre wrap="">
If you mean an actual timestamp, see my previous reply about clock accuracy.
</pre>
      </blockquote>
      <pre wrap="">
Kerberos deas with that.

</pre>
      <blockquote type="cite">
        <pre wrap="">If you mean an encrypted relative time, well, that's what it is.  The
encryption is incredibly ad hoc, and requires that the key only be used
once, but the whole thing started by thinking of it as a super-janky
encryption scheme.  See
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mail-archive/web/tls/current/msg20373.html">https://www.ietf.org/mail-archive/web/tls/current/msg20373.html</a> and nearby.
</pre>
      </blockquote>
      <pre wrap="">
Yeah, it's an XOR with a one-time pad that... gets reused if you reuse
the ticket.  OF COURSE that fails.  Everyone knows not to reuse one-time
pads.

So, in 1.3, at least with 0-rtt, can we replaced this with a proper
encryption?

</pre>
    </blockquote>
    <br>
    If you reuse the ticket, the only concrete stated benefit from this
    encryption is lost already.  What benefit would be gained from using
    better encryption for ticket_age_add?<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------7B0F3A1EECB03434EC9110E4--


From nobody Tue May  2 13:00:47 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD33C1294DF for <tls@ietfa.amsl.com>; Tue,  2 May 2017 13:00:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 B4GiEb8zth7w for <tls@ietfa.amsl.com>; Tue,  2 May 2017 13:00:43 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B77B8129B0D for <tls@ietf.org>; Tue,  2 May 2017 12:57:57 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTP id 5EBC8C0028A3; Tue,  2 May 2017 12:57:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=wum/bVO9YNhCzl ZnxPhJDEBmjz4=; b=DT1JkitNyimfoGSKkA0PoG87vFA7UfB3DQkDw+EK4GsXIy m+ejxk5VybpS/mDcnLUjxvrgBHpWXJrH51iqDts/TFQkgJCojfCAkHQH9wcY84rI yi4fDJYerPXmq+85JsJwiUvyc+QYRDTtt9IVpsdZC9vVw1m41iTMqLNXBnET0=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTPSA id DF35DC0028A6; Tue,  2 May 2017 12:57:56 -0700 (PDT)
Date: Tue, 2 May 2017 14:57:54 -0500
From: Nico Williams <nico@cryptonector.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Colm =?iso-8859-1?Q?MacC=E1rthaigh?= <colm@allcosts.net>, TLS WG <tls@ietf.org>
Message-ID: <20170502195753.GJ10188@localhost>
References: <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <466fad64-5acd-d888-1574-10f95b2ab7bc@akamai.com> <20170502192003.GH10188@localhost> <e313032d-2ac8-cc4e-0aa7-de869007e397@akamai.com> <20170502193145.GI10188@localhost> <42522b3c-8987-ea2a-2173-bcadaf6ff326@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <42522b3c-8987-ea2a-2173-bcadaf6ff326@akamai.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/6tji97CmFQfpYOr522RGAoX1HOE>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 20:00:45 -0000

On Tue, May 02, 2017 at 02:41:34PM -0500, Benjamin Kaduk wrote:
> On 05/02/2017 02:31 PM, Nico Williams wrote:
> > So, in 1.3, at least with 0-rtt, can we replaced this with a proper
> > encryption?
> 
> If you reuse the ticket, the only concrete stated benefit from this
> encryption is lost already.  What benefit would be gained from using
> better encryption for ticket_age_add?

Well, I did say that to me there's not much difference to _me_ between
"connections reusing the same ticket can be correlated to each other"
and "connections reusing the same ticket can be correlated to each other
and the connection whence the ticket".  Others might disagree, and if
that is reasonable enough then the best thing to do is to encrypt this
darned thing.

On principle, too, I think one might prefer to encrypt properly just
because we really shouldn't be doing this sort of thing.  Among other
things the lack of integrity protection for this field makes me think
that we need to analyze not only passive attacks against it, but active
attacks too.  It'd be so much easier if we didn't have to.

Nico
-- 


From nobody Tue May  2 13:55:02 2017
Return-Path: <dkg@fifthhorseman.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B7F612EAB0 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 13:55:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level: 
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=ham 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 ApbYBDZtTOTd for <tls@ietfa.amsl.com>; Tue,  2 May 2017 13:54:59 -0700 (PDT)
Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by ietfa.amsl.com (Postfix) with ESMTP id 38CBF129418 for <tls@ietf.org>; Tue,  2 May 2017 13:52:25 -0700 (PDT)
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 6D9D6F993; Tue,  2 May 2017 16:52:25 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id 13A4020662; Tue,  2 May 2017 16:52:21 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Nico Williams <nico@cryptonector.com>, Benjamin Kaduk <bkaduk@akamai.com>
Cc: TLS WG <tls@ietf.org>
In-Reply-To: <20170502195753.GJ10188@localhost>
References: <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <466fad64-5acd-d888-1574-10f95b2ab7bc@akamai.com> <20170502192003.GH10188@localhost> <e313032d-2ac8-cc4e-0aa7-de869007e397@akamai.com> <20170502193145.GI10188@localhost> <42522b3c-8987-ea2a-2173-bcadaf6ff326@akamai.com> <20170502195753.GJ10188@localhost>
Date: Tue, 02 May 2017 16:52:17 -0400
Message-ID: <87a86vrnge.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/IKDE5u06bw4Ogvqo261614TYaa0>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 20:55:01 -0000

--=-=-=
Content-Type: text/plain

On Tue 2017-05-02 14:57:54 -0500, Nico Williams wrote:
> Well, I did say that to me there's not much difference to _me_ between
> "connections reusing the same ticket can be correlated to each other"
> and "connections reusing the same ticket can be correlated to each other
> and the connection whence the ticket".  Others might disagree,

I disagree, Nico! :)

The difference here is between saying:

 * clients that want the latency benefit of session resumption can be
   careful to avoid ticket reuse and their connections will be
   unlinkable to a network observer who records session IDs.

versus:

 * clients that want the latency benefit of session resumption must
   accept that a network observer can trivially know that each
   connection is linkable to the previous one.

put another way: the difference between 0 required backlinks and 1
required backlink on each individual session resumption is the
difference (for a cautious yet session-resuming client) between 0
connections linked by a network observer and all connections linked by a
network observer.

TLS session linkability is relevant:

 * When a client is behind a NAT and wants their connections to be mixed
   with (indistinguishable from) other clients behind the same NAT, to
   the perspective of a network observer outside the NAT.

 * When a client moves network locations and doesn't want their network
   position to be trackable by a network observer.

 * When a client uses a VPN as an encrypted Internet proxy (or uses Tor
   or some other similar IP-anonymizing service), and does not want a
   network observer outside the VPN from being able to distinguish their
   traffic from the traffic of other users of the anonymity network.

        --dkg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkI8YEACgkQFJitxsGS
Mjc+MhAAhntkZtmPKVl2PMUOzNEWhD2su2kpubZQsho2P9zCkPY6TLitt1Vp5GjE
F5OckEd/u1VdAWywvRa+2oz4vIp4MIHIUOIY5gNXnTG/eWCNNMNIalXvTkqJ0aLS
mDrjC37VduIon+0KNlFGYTUaVPh6eROu8I1mTsf1CMKDSeTlCK65IhgKcmK4+i3O
CZDoWyhYUK6oaqjmvMoHVnkzoyTIQAoqk5k3J7wnNGiEeXgUS0p4B7v4Ubk9jfMj
0jpbj8kboVEhsmU8dfwkjADO027w1wfto7c1YzAOch+LJ6k9ctDPtUQ0DoS3GH8i
O7itpiOh1czf0p4IIKJKTLxWD6Py9mXRbjU0rLgK+uSNtxzpL5uoU1esrLbLeyh1
7k0s22AbIAT4GNoCYGJn7+lWxZjfj8+zpEh58dPC9JJtAX8Urfg2vx6L+B4OkC+j
1wryhbjpAwS5t63PH3K7lKQY1IY54jMY8hf1sh1xoXTTM1cfJwdAlyUOEVX2L1lx
SaZLPqVA6xlWvQHPdbRPpfr49kPD9Fxh1yxBQJMQ8ZZMh9yyV0jRnNvxzLD1IIN9
Jipg+TXms8Qm1jbAK6qyylj/O26g0E78zGaZZwJY1i14F1pAJVptpRtCfxCVSLgD
BnY9wQX1BuaTXWvZymrVRQzisao2plkoD5Uy1uUPX8wO2/oOjO8=
=9bPQ
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue May  2 14:06:36 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 177BF129AA4 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 14:06:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 s6lOq7EJyEoR for <tls@ietfa.amsl.com>; Tue,  2 May 2017 14:06:31 -0700 (PDT)
Received: from mail-yb0-x233.google.com (mail-yb0-x233.google.com [IPv6:2607:f8b0:4002:c09::233]) (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 669F6129A90 for <tls@ietf.org>; Tue,  2 May 2017 14:04:09 -0700 (PDT)
Received: by mail-yb0-x233.google.com with SMTP id j17so11553364ybj.0 for <tls@ietf.org>; Tue, 02 May 2017 14:04:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YZlqTaVWnjQfvLgf+GfANRGqrDIR7IVmOH5oLWPBR0o=; b=U+8md8L8hDJUZ6vlz44fcPhZUtbSz+IxiXoie+KYBpKYWA5VFdGDkLTy37+Y5AXJNp iNDfbj71Fsu60qcNWVvKogQw0zPKBkDCcNLnLCblMvw/sh1xdNL3Ja9Dhybe0dODQcN8 CJTk00o4dKvl6gAtEVi0bi0qTJXqQVcvNi+b/tl9LUNYX/BOMvFkRCaC6JgTwH+NZTfD 5IREpWbA+vkufXOBc3PLzrhRIoLr2kYkWdLazWsmTGtP2TJ0Oa33k3SxK4T2qSG5KMRv yNpjXErEn7uy0Z6kWEsF0GEDHrwdeNAbqyLouWzeCzJoCMF0XtHdjSpwgWEIEK4g9hEe vDJw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YZlqTaVWnjQfvLgf+GfANRGqrDIR7IVmOH5oLWPBR0o=; b=Uo1zQFRi7Q/TovrSPpTCz3GNj2izx32ft2w8P1NAbKJbRqtuGEkzbvJbFQLUqz45Uy QmKBQ8mP9YxeNJ8Pn7qCX6Md2cv2+AQLOwl8WEJcr7PUsRYnmnajae6mc+HkHxssnULd u1E5x6BkSlYChpnSmmEOC1G06oV++1ULa00Mf2DnH7Q504y7gsmkCzJsb49Bxu6t2Pjt XXAnoPf57+wi4Vln7AqDpyPpNROQJOU9HNHjd8ULbqbMpiZzDSnzRdLc9tVyuP56OxtA LaJyLmAI30oxyYltoU/4xrJILtWlJrGBpRpJ9RvRdjiyMFXEdUCp5o2ioZwCtRnlZEEH x1Xw==
X-Gm-Message-State: AN3rC/6JcU7Gsju1baYXHCVu5xvwl47eHx/NBGw9jqX1J9h9fR3GpwPW XqX4l6cO/Op2K0w7St7qf7Cgu6FtEA==
X-Received: by 10.37.22.84 with SMTP id 81mr26184102ybw.33.1493759048535; Tue, 02 May 2017 14:04:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Tue, 2 May 2017 14:04:07 -0700 (PDT)
In-Reply-To: <87a86vrnge.fsf@fifthhorseman.net>
References: <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <466fad64-5acd-d888-1574-10f95b2ab7bc@akamai.com> <20170502192003.GH10188@localhost> <e313032d-2ac8-cc4e-0aa7-de869007e397@akamai.com> <20170502193145.GI10188@localhost> <42522b3c-8987-ea2a-2173-bcadaf6ff326@akamai.com> <20170502195753.GJ10188@localhost> <87a86vrnge.fsf@fifthhorseman.net>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 2 May 2017 14:04:07 -0700
Message-ID: <CAAF6GDdLBjR3HA5MNBkygVjSUFGF4CB2+kYdi3ZMqWYO+_DjNg@mail.gmail.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Cc: Nico Williams <nico@cryptonector.com>, Benjamin Kaduk <bkaduk@akamai.com>,  TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a114160e077f36a054e90e196
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/OKTKWXVDyvUtoKVcCkeJHE7JiBA>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 21:06:34 -0000

--001a114160e077f36a054e90e196
Content-Type: text/plain; charset=UTF-8

On Tue, May 2, 2017 at 1:52 PM, Daniel Kahn Gillmor <dkg@fifthhorseman.net>
wrote:

> On Tue 2017-05-02 14:57:54 -0500, Nico Williams wrote:
> > Well, I did say that to me there's not much difference to _me_ between
> > "connections reusing the same ticket can be correlated to each other"
> > and "connections reusing the same ticket can be correlated to each other
> > and the connection whence the ticket".  Others might disagree,
>
> I disagree, Nico! :)
>
> The difference here is between saying:
>
>  * clients that want the latency benefit of session resumption can be
>    careful to avoid ticket reuse and their connections will be
>    unlinkable to a network observer who records session IDs.


> versus:
>
>  * clients that want the latency benefit of session resumption must
>    accept that a network observer can trivially know that each
>    connection is linkable to the previous one.
>

Agreed with your summary, but just a small note: clients might also want
forward secrecy which is why I was suggesting that clients be able to
request/enforce a STEK-less ticket.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 2, 2017 at 1:52 PM, Daniel Kahn Gillmor <span dir=3D"ltr">&=
lt;<a href=3D"mailto:dkg@fifthhorseman.net" target=3D"_blank">dkg@fifthhors=
eman.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;=
border-left-color:rgb(204,204,204);padding-left:1ex"><span class=3D"gmail-"=
>On Tue 2017-05-02 14:57:54 -0500, Nico Williams wrote:<br>
&gt; Well, I did say that to me there&#39;s not much difference to _me_ bet=
ween<br>
&gt; &quot;connections reusing the same ticket can be correlated to each ot=
her&quot;<br>
&gt; and &quot;connections reusing the same ticket can be correlated to eac=
h other<br>
&gt; and the connection whence the ticket&quot;.=C2=A0 Others might disagre=
e,<br>
<br>
</span>I disagree, Nico! :)<br>
<br>
The difference here is between saying:<br>
<br>
=C2=A0* clients that want the latency benefit of session resumption can be<=
br>
=C2=A0 =C2=A0careful to avoid ticket reuse and their connections will be<br=
>
=C2=A0 =C2=A0unlinkable to a network observer who records session IDs.=C2=
=A0</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rg=
b(204,204,204);padding-left:1ex">
<br>
versus:<br>
<br>
=C2=A0* clients that want the latency benefit of session resumption must<br=
>
=C2=A0 =C2=A0accept that a network observer can trivially know that each<br=
>
=C2=A0 =C2=A0connection is linkable to the previous one.<br></blockquote><d=
iv><br></div><div>Agreed with your summary, but just a small note: clients =
might also want forward secrecy which is why I was suggesting that clients =
be able to request/enforce a STEK-less ticket.=C2=A0</div></div><div><br></=
div>-- <br><div class=3D"gmail_signature">Colm</div>
</div></div>

--001a114160e077f36a054e90e196--


From nobody Tue May  2 14:34:35 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D43F0129465 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 14:34:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.5
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham 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 fk4E59pOsyg5 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 14:34:32 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 98379129498 for <tls@ietf.org>; Tue,  2 May 2017 14:31:10 -0700 (PDT)
Received: from homiemail-a35.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTP id 45047C086D1F; Tue,  2 May 2017 14:30:41 -0700 (PDT)
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a35.g.dreamhost.com (Postfix) with ESMTPSA id 710E8C086D23; Tue,  2 May 2017 14:29:57 -0700 (PDT)
Date: Tue, 2 May 2017 16:29:54 -0500
From: Nico Williams <nico@cryptonector.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Cc: Benjamin Kaduk <bkaduk@akamai.com>, TLS WG <tls@ietf.org>
Message-ID: <20170502212953.GK10188@localhost>
References: <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <466fad64-5acd-d888-1574-10f95b2ab7bc@akamai.com> <20170502192003.GH10188@localhost> <e313032d-2ac8-cc4e-0aa7-de869007e397@akamai.com> <20170502193145.GI10188@localhost> <42522b3c-8987-ea2a-2173-bcadaf6ff326@akamai.com> <20170502195753.GJ10188@localhost> <87a86vrnge.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <87a86vrnge.fsf@fifthhorseman.net>
User-Agent: Mutt/1.5.24 (2015-08-30)
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/7OGBwgq9DmV55rxi-0x_v-i09SU>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 21:34:34 -0000

On Tue, May 02, 2017 at 04:52:17PM -0400, Daniel Kahn Gillmor wrote:
> On Tue 2017-05-02 14:57:54 -0500, Nico Williams wrote:
> > Well, I did say that to me there's not much difference to _me_ betwee=
n
> > "connections reusing the same ticket can be correlated to each other"
> > and "connections reusing the same ticket can be correlated to each ot=
her
> > and the connection whence the ticket".  Others might disagree,
>=20
> I disagree, Nico! :)

Excellent.  So now consider what followed the above.  That is, that the
correct thing to do is to properly encrypt a timestamp rather than XOR
an OTP that then gets reused when the ticket gets reused.

Why on Earth are still doing improper crypto in TLS?!=E2=80=BD  In TLS 1.=
3 no
less!  Call it "janky", call it what you will.  It's broken.  Please
fix.

Nico
--=20


From nobody Tue May  2 15:56:42 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6064B12946D for <tls@ietfa.amsl.com>; Tue,  2 May 2017 15:56:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] 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 egwFONP9a-fH for <tls@ietfa.amsl.com>; Tue,  2 May 2017 15:56:38 -0700 (PDT)
Received: from mail-yb0-x232.google.com (mail-yb0-x232.google.com [IPv6:2607:f8b0:4002:c09::232]) (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 F3E981294DF for <tls@ietf.org>; Tue,  2 May 2017 15:54:29 -0700 (PDT)
Received: by mail-yb0-x232.google.com with SMTP id p143so38688707yba.2 for <tls@ietf.org>; Tue, 02 May 2017 15:54:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gd0RL04bIjb9198Ftl/CGnQ24hsJ+T95SASUlruEZJE=; b=a0s1EfYvgFrYYkMr8oEXCrnwgB2jXCfuA0QMchmzBiYNGPlABelVJ/2JAnyUBeF/34 nFCfffPbYInkjGGpwQe/eAQUPtnCRonm5dhakdnUXIeUsQ16M6+CbbrrQf6G6ZzH+0lj n3l1Egg+AEA2eWMZtSMojJiEyDjoCctPbwWPNA8HKU5FsVG0St2QoPbrCK2XmygMxvZq +968dVOLvNViJAd4g0G3oP9vfyeiCxMIFrlcb+KlKDl7Fes5FBzERLfiF87XIRRHh418 Xp5mdoQumcLyX7SIR20DW97TeCrIey0tmSxWuSGzVN6gOOZOPwOyOM5zednPSiTdpRai lQDw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gd0RL04bIjb9198Ftl/CGnQ24hsJ+T95SASUlruEZJE=; b=GA4thTFMOToqmXLvCni5UnD2bJdk5hS6Q0jinbc7/Sk+WZBEoKa/UIB8Nqmiqc1QW+ S8a4rMP/hAG//uoHDJ5ZI5E59j4cnDiUTvBu4ALcqAZ2D01M7xWeKJq77zyjXNC/kBM8 CoLBEPa0Uf37w7bWSC1Yc4t9CrtCTQffFtiPRY95eUz1S5gwpRs03JK772GPIB1imLyG I9GPndjr6pTvHwWq5N5R3lhg2tAoe+CLmq/tsw3XHZ7r0rJvwIbbqqumdsuK0zcudTl7 jFAAePr9fyAfrtrIr28WBeJezCiJNaSaWStnHs53gxtfDms4b2mYl69rywEEncj5idul rL9w==
X-Gm-Message-State: AN3rC/7sWBhheDhdVxQmLaKur08rBWOPp9V34EpMGvLfyzIP4r6l3QF/ Zq0/eqSP+g830VMI2OW2UY1fLRxE605W
X-Received: by 10.37.220.15 with SMTP id y15mr25929280ybe.16.1493765669303; Tue, 02 May 2017 15:54:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.113.7 with HTTP; Tue, 2 May 2017 15:53:48 -0700 (PDT)
In-Reply-To: <20170502212953.GK10188@localhost>
References: <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <466fad64-5acd-d888-1574-10f95b2ab7bc@akamai.com> <20170502192003.GH10188@localhost> <e313032d-2ac8-cc4e-0aa7-de869007e397@akamai.com> <20170502193145.GI10188@localhost> <42522b3c-8987-ea2a-2173-bcadaf6ff326@akamai.com> <20170502195753.GJ10188@localhost> <87a86vrnge.fsf@fifthhorseman.net> <20170502212953.GK10188@localhost>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 2 May 2017 15:53:48 -0700
Message-ID: <CABcZeBNvFAe+otDgE6rMG0wGaBA=Z3bDBRRvirxPFJFuc+KbeQ@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c18f09218e41c054e926ca1
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/kgmKv0nVy8Yn57XOnS3YTantelk>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 22:56:40 -0000

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

On Tue, May 2, 2017 at 2:29 PM, Nico Williams <nico@cryptonector.com> wrote=
:

> On Tue, May 02, 2017 at 04:52:17PM -0400, Daniel Kahn Gillmor wrote:
> > On Tue 2017-05-02 14:57:54 -0500, Nico Williams wrote:
> > > Well, I did say that to me there's not much difference to _me_ betwee=
n
> > > "connections reusing the same ticket can be correlated to each other"
> > > and "connections reusing the same ticket can be correlated to each
> other
> > > and the connection whence the ticket".  Others might disagree,
> >
> > I disagree, Nico! :)
>
> Excellent.  So now consider what followed the above.  That is, that the
> correct thing to do is to properly encrypt a timestamp rather than XOR
> an OTP that then gets reused when the ticket gets reused.
>

It's not XOR. It's addition mod 2^32. That's important because the
*difference*
between the ticket replay times is directly observable anyway.

-Ekr



Why on Earth are still doing improper crypto in TLS?!=E2=80=BD  In TLS 1.3 =
no
> less!  Call it "janky", call it what you will.  It's broken.  Please
> fix.
>
> Nico
> --
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 2, 2017 at 2:29 PM, Nico Williams <span dir=3D"ltr">&lt;<a =
href=3D"mailto:nico@cryptonector.com" target=3D"_blank">nico@cryptonector.c=
om</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""=
>On Tue, May 02, 2017 at 04:52:17PM -0400, Daniel Kahn Gillmor wrote:<br>
&gt; On Tue 2017-05-02 14:57:54 -0500, Nico Williams wrote:<br>
&gt; &gt; Well, I did say that to me there&#39;s not much difference to _me=
_ between<br>
&gt; &gt; &quot;connections reusing the same ticket can be correlated to ea=
ch other&quot;<br>
&gt; &gt; and &quot;connections reusing the same ticket can be correlated t=
o each other<br>
&gt; &gt; and the connection whence the ticket&quot;.=C2=A0 Others might di=
sagree,<br>
&gt;<br>
&gt; I disagree, Nico! :)<br>
<br>
</span>Excellent.=C2=A0 So now consider what followed the above.=C2=A0 That=
 is, that the<br>
correct thing to do is to properly encrypt a timestamp rather than XOR<br>
an OTP that then gets reused when the ticket gets reused.<br></blockquote><=
div><br></div><div>It&#39;s not XOR. It&#39;s addition mod 2^32. That&#39;s=
 important because the *difference*</div><div>between the ticket replay tim=
es is directly observable anyway.</div><div><br></div><div>-Ekr</div><div><=
br></div><div><br></div><div><br></div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Why on Earth are still doing improper crypto in TLS?!=E2=80=BD=C2=A0 In TLS=
 1.3 no<br>
less!=C2=A0 Call it &quot;janky&quot;, call it what you will.=C2=A0 It&#39;=
s broken.=C2=A0 Please<br>
fix.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
Nico<br>
--<br>
<br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</div></div></blockquote></div><br></div></div>

--94eb2c18f09218e41c054e926ca1--


From nobody Tue May  2 16:05:47 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 85B83129C56 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 16:05:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.401
X-Spam-Level: 
X-Spam-Status: No, score=-2.401 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 pkushbHSMWDx for <tls@ietfa.amsl.com>; Tue,  2 May 2017 16:05:38 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 35DE012E03F for <tls@ietf.org>; Tue,  2 May 2017 16:03:03 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTP id B24AEA004B18; Tue,  2 May 2017 16:03:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=YI0w4+AGxXYwfV uum2SwFMU9pR4=; b=UHk8HI8yBfIFMs9qIyYkFX5h1Of0Msx8H8JjFM0jH5efHi CSvLF73ioJ2Ku5n2rseGsRIl4jdVn66ephC/ZSVHo/JTmhFLX6rIJfs4I5MtdHH4 4cX6ZHGjawdXbmzYcjz/lM86zMMfsE5h8l1zh5Xw067kW9bD5ME4LC+uPF9Kc=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTPSA id E276DA004B17; Tue,  2 May 2017 16:03:01 -0700 (PDT)
Date: Tue, 2 May 2017 18:02:59 -0500
From: Nico Williams <nico@cryptonector.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, TLS WG <tls@ietf.org>
Message-ID: <20170502230258.GL10188@localhost>
References: <20170502182529.GG10188@localhost> <466fad64-5acd-d888-1574-10f95b2ab7bc@akamai.com> <20170502192003.GH10188@localhost> <e313032d-2ac8-cc4e-0aa7-de869007e397@akamai.com> <20170502193145.GI10188@localhost> <42522b3c-8987-ea2a-2173-bcadaf6ff326@akamai.com> <20170502195753.GJ10188@localhost> <87a86vrnge.fsf@fifthhorseman.net> <20170502212953.GK10188@localhost> <CABcZeBNvFAe+otDgE6rMG0wGaBA=Z3bDBRRvirxPFJFuc+KbeQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABcZeBNvFAe+otDgE6rMG0wGaBA=Z3bDBRRvirxPFJFuc+KbeQ@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/hMLinzyqunAOPCjMlDswdMaGrR8>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 23:05:39 -0000

On Tue, May 02, 2017 at 03:53:48PM -0700, Eric Rescorla wrote:
> It's not XOR. It's addition mod 2^32. That's important because the
> *difference*
> between the ticket replay times is directly observable anyway.

Computationally there's no real difference between that and XOR.


From nobody Tue May  2 16:44:04 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D56551274D0 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 16:44:02 -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 o3Atd6RkZLeP for <tls@ietfa.amsl.com>; Tue,  2 May 2017 16:44:01 -0700 (PDT)
Received: from mail-yw0-x236.google.com (mail-yw0-x236.google.com [IPv6:2607:f8b0:4002:c05::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 CF5931292F5 for <tls@ietf.org>; Tue,  2 May 2017 16:42:33 -0700 (PDT)
Received: by mail-yw0-x236.google.com with SMTP id 203so77469638ywe.0 for <tls@ietf.org>; Tue, 02 May 2017 16:42:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zrmL966KZBflwwLhI/xjs/agJn931HGw2Xa6nJFBXvU=; b=qExfhiLKXgel03NSAyreiHEyNTQnycHTQmqi6jUad1k0WXhJv4H/Ynn/bfECQfgsbk 6DjL0CgU98dlfYluJosI461WJWkeQNJhkD3bLXiNF9bSiMZXaKtolmzHll6kA3squ/27 UGeEHdx2pcv71JJATTjaTntooV6WYgRFKq+5VM0gbolEwZzAm7GIl0EvfmShPEZTZI9y rps2wL7ybgUC3iOp5vqICP1mgD91ngcxoh3VSzV6o2O6MGBB5FOgPbB/iE8gRQsUo+Mz vVcNyLpXRA5HGU8fejuLhpGET8mHgH20E1weALC3aR3jT7ymtSdRHoWOEGAADL5DDF6m LvzQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zrmL966KZBflwwLhI/xjs/agJn931HGw2Xa6nJFBXvU=; b=XC+R9HbWbt3z8AhxHxgItakjaV4uo7AJPhxv/Z1LVBsxrl5QmGZQrlXFtnmglfmgpv ChFR4+7nyctkNAcOlfLYLPK1o2GffuLlCwiDTztmh5l+rYLWsR461eNIGbR/pQEa4iW8 mTs/E3JcS06L5E0K05k3AKKxnM1NOVvikq0yVnAAjV2zH8smClh2nTSdGr5fzphSHsM2 sUNCgodrjTKGntvu6jHuYqaHkQfCl7N4XRkLUY/kIdb/Yl2/++tLFkn2ypCnVE+ymjBP kz81uGQyg5TmRe6t4nD3EQG4z9ggR+0kC9eOM9xsd+036W0u9dfP1U00zyRoFiyZeOkC Vixw==
X-Gm-Message-State: AN3rC/7CwBXfo+pUVE9hOGu7gGULdFxaJ682Mk7adHLF7zylkhd1LTUQ s3VEaORSEJE7RaUYTIXf4uKf2wQedhhY
X-Received: by 10.129.52.141 with SMTP id b135mr26916251ywa.85.1493768553125;  Tue, 02 May 2017 16:42:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.113.7 with HTTP; Tue, 2 May 2017 16:41:52 -0700 (PDT)
In-Reply-To: <20170502230258.GL10188@localhost>
References: <20170502182529.GG10188@localhost> <466fad64-5acd-d888-1574-10f95b2ab7bc@akamai.com> <20170502192003.GH10188@localhost> <e313032d-2ac8-cc4e-0aa7-de869007e397@akamai.com> <20170502193145.GI10188@localhost> <42522b3c-8987-ea2a-2173-bcadaf6ff326@akamai.com> <20170502195753.GJ10188@localhost> <87a86vrnge.fsf@fifthhorseman.net> <20170502212953.GK10188@localhost> <CABcZeBNvFAe+otDgE6rMG0wGaBA=Z3bDBRRvirxPFJFuc+KbeQ@mail.gmail.com> <20170502230258.GL10188@localhost>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 2 May 2017 16:41:52 -0700
Message-ID: <CABcZeBMHPi3dJQRuxU_y5E=NPYpYEwikBxjXPUVw4m2WSjWrWw@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11408984fc74a8054e9317ac
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Z238vs8s9lPIvPzdI6SfYnv4eAM>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 23:44:03 -0000

--001a11408984fc74a8054e9317ac
Content-Type: text/plain; charset=UTF-8

On Tue, May 2, 2017 at 4:02 PM, Nico Williams <nico@cryptonector.com> wrote:

> On Tue, May 02, 2017 at 03:53:48PM -0700, Eric Rescorla wrote:
> > It's not XOR. It's addition mod 2^32. That's important because the
> > *difference*
> > between the ticket replay times is directly observable anyway.
>
> Computationally there's no real difference between that and XOR.
>

What information do you believe you are gathering here?

As I stated, when the ticket is replayed, you already know the absolute time
difference between those replays.

-Ekr

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 2, 2017 at 4:02 PM, Nico Williams <span dir=3D"ltr">&lt;<a =
href=3D"mailto:nico@cryptonector.com" target=3D"_blank">nico@cryptonector.c=
om</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Tue, Ma=
y 02, 2017 at 03:53:48PM -0700, Eric Rescorla wrote:<br>
&gt; It&#39;s not XOR. It&#39;s addition mod 2^32. That&#39;s important bec=
ause the<br>
&gt; *difference*<br>
&gt; between the ticket replay times is directly observable anyway.<br>
<br>
</span>Computationally there&#39;s no real difference between that and XOR.=
<br></blockquote><div><br></div><div>What information do you believe you ar=
e gathering here?</div><div><br></div><div>As I stated, when the ticket is =
replayed, you already know the absolute time</div><div>difference between t=
hose replays.</div><div><br></div><div>-Ekr</div><div>=C2=A0<br></div></div=
><br></div></div>

--001a11408984fc74a8054e9317ac--


From nobody Tue May  2 16:52:12 2017
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BFA3126DED for <tls@ietfa.amsl.com>; Tue,  2 May 2017 16:52:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.302
X-Spam-Level: 
X-Spam-Status: No, score=-2.302 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 YgGhTp4gXBvN for <tls@ietfa.amsl.com>; Tue,  2 May 2017 16:52:09 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A12C3129486 for <tls@ietf.org>; Tue,  2 May 2017 16:49:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1493768995; x=1525304995; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=rKUyFPVfxGyO5oe+jTjrpg+bzP9zVHR/7mc5pFB02Ac=; b=Qxu8Pb7FGv7UCXCnuPWMpGpuCfFnpSwu5pzmwGCTktoZys/zdQfHdiWD gWHSMHkQEz56ksT0vB8yaSNOhOl4pxe1Zmq0rFFiYrWGKiHjBtGtoJgkU 2ISkSaFW71NuJHTzeioxjFNM06q2m+thyYOyp9dyVE8hxLgXZL2h6FhqS q3Kus7o56BjsvGtxh/5htmUt4EJWWkZj4ov/se8L7OxEcKlE3iLNkI2Jh 25mtXSNFe4fRniQOhYii5HQSidmrNMGqPVFgnpYO5bNjR53LHx/38CFbF zl4Lnj2VKCblCoCdYUpy4+k3WnkIvMlfapNqhE0KBfsF5L5J6TmO1KzEx Q==;
X-IronPort-AV: E=Sophos;i="5.38,281,1491220800"; d="scan'208";a="152519370"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 10.6.3.9 - Outgoing - Outgoing
Received: from uxcn13-tdc-e.uoa.auckland.ac.nz ([10.6.3.9]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 03 May 2017 11:49:32 +1200
Received: from uxcn13-tdc-d.UoA.auckland.ac.nz (10.6.3.5) by uxcn13-tdc-e.UoA.auckland.ac.nz (10.6.3.9) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Wed, 3 May 2017 11:49:31 +1200
Received: from uxcn13-tdc-d.UoA.auckland.ac.nz ([fe80::6929:c5b:e4d6:fd92]) by uxcn13-tdc-d.UoA.auckland.ac.nz ([fe80::6929:c5b:e4d6:fd92%14]) with mapi id 15.00.1263.000; Wed, 3 May 2017 11:49:31 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Benjamin Kaduk <bkaduk@akamai.com>, Nico Williams <nico@cryptonector.com>
CC: TLS WG <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NPTAGYfwrCc0yRmMInbVKyjKHghKSAgAABiQCAAAKfgIAAA3MAgAAEtgCAAAIuAIAABAyAgAEfkNM=
Date: Tue, 2 May 2017 23:49:31 +0000
Message-ID: <1493768953994.69753@cs.auckland.ac.nz>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost>, <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com>
In-Reply-To: <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [130.216.158.4]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/3mzB7qjZt0fOcIHfSJ9ttctVUgU>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 May 2017 23:52:11 -0000

Benjamin Kaduk <bkaduk@akamai.com> writes:=0A=
=0A=
>I thought TLS clients were supposed to have even worse clocks (in terms of=
=0A=
>absolute time) than Kerberos clients.=0A=
=0A=
Many of the devices I work with don't have clocks (at best they have non-=
=0A=
persistent monotonic counters), so I guess that's true in some sense...=0A=
=0A=
Peter.=0A=
=0A=
   =


From nobody Tue May  2 17:30:03 2017
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C34012E872 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 17:30:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.801
X-Spam-Level: 
X-Spam-Status: No, score=-2.801 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 H-f2xE_FmMOq for <tls@ietfa.amsl.com>; Tue,  2 May 2017 17:30:00 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 009D612945F for <tls@ietf.org>; Tue,  2 May 2017 17:27:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1493771280; x=1525307280; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=XAFYlP8vrTmFLBXLyaJo8yS0TPRiV6j0qgXbxKK7Rqc=; b=XLME7JG5wq7dNb6SVDv5rpEcMfRG+etSHfqVDLlLnZHY5QpNJc2xpeQO p82cRgyoiVSdVddjAYbAzQTT4RdEFvGbVAd9fXlnXiDUaWXA99j213pds E3rAPiutzu+0Upd8on0QKrI+Wwmku6F5Qsx3H5CQsbaGl68z0rAyFfvWb Yft5u1WOHkO9rbr1U6yYFWz70VMDMv3boMhDAPekNIIiOgIrVNVmhMu3T 4tdjHAn1tbM3L1luAYlxYcxON8IFNiNTLDPgBLoYyntEov9zYhTYzARwT 6cnljkjW0+S5C9qlNbSM0TvHdbXo1P+r/pMHyyF+Y1uch7QZNwwWcZ+9R Q==;
X-IronPort-AV: E=Sophos;i="5.38,281,1491220800"; d="scan'208";a="152528948"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 10.6.3.2 - Outgoing - Outgoing
Received: from exchangemx.uoa.auckland.ac.nz (HELO uxcn13-tdc-a.UoA.auckland.ac.nz) ([10.6.3.2]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 03 May 2017 12:27:55 +1200
Received: from uxcn13-tdc-d.UoA.auckland.ac.nz (10.6.3.5) by uxcn13-tdc-a.UoA.auckland.ac.nz (10.6.3.2) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Wed, 3 May 2017 12:27:55 +1200
Received: from uxcn13-tdc-d.UoA.auckland.ac.nz ([fe80::6929:c5b:e4d6:fd92]) by uxcn13-tdc-d.UoA.auckland.ac.nz ([fe80::6929:c5b:e4d6:fd92%14]) with mapi id 15.00.1263.000; Wed, 3 May 2017 12:27:55 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: "Fries, Steffen" <steffen.fries@siemens.com>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: Definition of cipher suites for TLS 1.2 still possible?
Thread-Index: AdLDTWpeLBLLQHFiTSKY+DwL/vtEYAAVpeCi
Date: Wed, 3 May 2017 00:27:54 +0000
Message-ID: <1493771256879.29376@cs.auckland.ac.nz>
References: <E6C9F0E527F94F4692731382340B33784A092E@DENBGAT9EH2MSX.ww902.siemens.net>
In-Reply-To: <E6C9F0E527F94F4692731382340B33784A092E@DENBGAT9EH2MSX.ww902.siemens.net>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [130.216.158.4]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/X_9IlYowhPMhAXEERMW1I_9s2Lg>
Subject: Re: [TLS] Definition of cipher suites for TLS 1.2 still possible?
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 00:30:01 -0000

Fries, Steffen <steffen.fries@siemens.com> writes:=0A=
=0A=
>it may be a na=EFve question, but is it still possible to define and=0A=
>standardize new cipher suites for TLS 1.2 as an RFC, when TLS 1.3 is almos=
t=0A=
>finished?=0A=
=0A=
Why not?=A0 TLS 1.2 will be with us for many more years, possibly decades. =
There=0A=
are entire industry segments who are still in the process of moving off TLS=
=0A=
1.0 over the next 5-10 years.=0A=
=0A=
Peter.=0A=
    =


From nobody Tue May  2 17:31:00 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E968E129B48 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 17:30:57 -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=allcosts-net.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 guBVwq02b0i1 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 17:30:53 -0700 (PDT)
Received: from mail-yw0-x22d.google.com (mail-yw0-x22d.google.com [IPv6:2607:f8b0:4002:c05::22d]) (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 10B9C129B82 for <tls@ietf.org>; Tue,  2 May 2017 17:28:41 -0700 (PDT)
Received: by mail-yw0-x22d.google.com with SMTP id 203so77799418ywe.0 for <tls@ietf.org>; Tue, 02 May 2017 17:28:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UU010+FdkYnx1AyCpdPXXJ6ZcbvuMZVGjQ/mddXLhHc=; b=lrfrVB/DFZS4OImVTnBXFi8haDmYlZw6zQI4dOQVuJvrzmMPxYogEpEQ6MuGlSWc/D Qr5losX/G5KyDUGefPOq0rWEYArU2Y5Brdzs9sBoNuZyKlVSasz2pPIZ1Ho2kBMCZieO I2CDBTjhDnA8kbT7yYe85uhd2NDuQ60rHDWZ5JU/AaNAU9MiIN3RPmEUwAcAO0nubpeK cX9l+hc75IiqC4YHlvnZOkyjO7m4nLJsyA8l1q8LirbbhjE8ZVkrn34J5GpLHyaMCfpQ rRxgDDISHecRq6PugWOx0VnfeNtt/IlH1gRyOlPBOWvL1XO+lKQ7kDXko1ZtfIEL3isc euFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UU010+FdkYnx1AyCpdPXXJ6ZcbvuMZVGjQ/mddXLhHc=; b=ObpesPPl1zJetxd4q2GxqPZBO+Q36EplTOyfhvQchsEw8zbXjjjIbATYHhCPhdhpj8 E6VQFqTtL3AaWrzexZvjy7doInt5WUeYOZwW2JN+21eASxunHy63nNe+uk3wJErHuqIp tsxJuCYbSi0g0cLYRoHxKVjqeonCGHYL+iyexe70JYCPw6XjI9FKSRmP2TZTbp2KbpkW 1ge60+T/sM8Yi2g3Uo7nYKJaoDtcJaUlsYMnMw4xtL+TLihE3hjCkpsoUtsOYVS5urxM gZVl1ZxeQ7E8xfr9ixWX+6EhgOC7yyrnwd1G7nOzrt8sHvyyHJ5hrp/h1hwMX71KO+an EYSA==
X-Gm-Message-State: AN3rC/7RpUIObg3ioJSR7JXflbqkmV76EjBDWcUNWQmW3IKDWLRBLhvx EgNa+n/+ozUVjynEUlAsJemD4B+ICZZx
X-Received: by 10.129.152.4 with SMTP id p4mr26904601ywg.1.1493771320234; Tue, 02 May 2017 17:28:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Tue, 2 May 2017 17:28:39 -0700 (PDT)
In-Reply-To: <1493768953994.69753@cs.auckland.ac.nz>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com> <1493768953994.69753@cs.auckland.ac.nz>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 2 May 2017 17:28:39 -0700
Message-ID: <CAAF6GDfq0Rs86Zik7M-fCRv51981DO19rFaxRC8Of322RCg8eA@mail.gmail.com>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
Cc: Benjamin Kaduk <bkaduk@akamai.com>, Nico Williams <nico@cryptonector.com>,  TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c0bd9eeeb4692054e93bc45
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/1XosBw1NPxgqEqmhtmcm8XS7BUA>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 00:30:58 -0000

--94eb2c0bd9eeeb4692054e93bc45
Content-Type: text/plain; charset=UTF-8

On Tue, May 2, 2017 at 4:49 PM, Peter Gutmann <pgut001@cs.auckland.ac.nz>
wrote:

> Benjamin Kaduk <bkaduk@akamai.com> writes:
>
> >I thought TLS clients were supposed to have even worse clocks (in terms of
> >absolute time) than Kerberos clients.
>
> Many of the devices I work with don't have clocks (at best they have non-
> persistent monotonic counters), so I guess that's true in some sense...
>

This whole problem of needing client-side clocks, and having to obfuscate
an age, goes away if we remove the ticket age entirely.

Hopefully the security review makes a strong case that the age is fairly
useless from a security point of view. Even with the age, an attacker can
still generate millions to billions of replays. Even with very conservative
numbers, e.g. to just one host, the attacker can still certainly generate
tens of thousands of replays within the permitted window.  Better to
require servers to reject duplicates (when used with Zero-RTT), and leave
it at that.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 2, 2017 at 4:49 PM, Peter Gutmann <span dir=3D"ltr">&lt;<a =
href=3D"mailto:pgut001@cs.auckland.ac.nz" target=3D"_blank">pgut001@cs.auck=
land.ac.nz</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span cl=
ass=3D"">Benjamin Kaduk &lt;<a href=3D"mailto:bkaduk@akamai.com">bkaduk@aka=
mai.com</a>&gt; writes:<br>
<br>
&gt;I thought TLS clients were supposed to have even worse clocks (in terms=
 of<br>
&gt;absolute time) than Kerberos clients.<br>
<br>
</span>Many of the devices I work with don&#39;t have clocks (at best they =
have non-<br>
persistent monotonic counters), so I guess that&#39;s true in some sense...=
<br></blockquote><div><br></div><div>This whole problem of needing client-s=
ide clocks, and having to obfuscate an age, goes away if we remove the tick=
et age entirely.=C2=A0</div><div><br></div><div>Hopefully the security revi=
ew makes a strong case that the age is fairly useless from a security point=
 of view. Even with the age, an attacker can still generate millions to bil=
lions of replays. Even with very conservative numbers, e.g. to just one hos=
t, the attacker can still certainly generate tens of thousands of replays w=
ithin the permitted window.=C2=A0 Better to require servers to reject dupli=
cates (when used with Zero-RTT), and leave it at that.=C2=A0</div></div><di=
v><br></div>-- <br><div class=3D"gmail_signature" data-smartmail=3D"gmail_s=
ignature">Colm</div>
</div></div>

--94eb2c0bd9eeeb4692054e93bc45--


From nobody Tue May  2 17:54:57 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E77E129405 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 17:54:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 JzHS6N8qd9Vs for <tls@ietfa.amsl.com>; Tue,  2 May 2017 17:54:55 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C7160129410 for <tls@ietf.org>; Tue,  2 May 2017 17:51:50 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 04FAA7A32F1 for <tls@ietf.org>; Wed,  3 May 2017 00:51:43 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAAF6GDfq0Rs86Zik7M-fCRv51981DO19rFaxRC8Of322RCg8eA@mail.gmail.com>
Date: Tue, 2 May 2017 20:51:43 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <803FB95F-3271-407A-B483-5C0C996D3F04@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com> <1493768953994.69753@cs.auckland.ac.nz> <CAAF6GDfq0Rs86Zik7M-fCRv51981DO19rFaxRC8Of322RCg8eA@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Mw2AiRofNBZYBXXfS2tUSxGc03I>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 00:54:56 -0000

> On May 2, 2017, at 8:28 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
>=20
> This whole problem of needing client-side clocks, and having to =
obfuscate an age, goes away if we remove the ticket age entirely.=20
>=20
> Hopefully the security review makes a strong case that the age is =
fairly useless from a security point of view. Even with the age, an =
attacker can still generate millions to billions of replays. Even with =
very conservative numbers, e.g. to just one host, the attacker can still =
certainly generate tens of thousands of replays within the permitted =
window.  Better to require servers to reject duplicates (when used with =
Zero-RTT), and leave it at that.=20

Some choices are driven by practical engineering considerations.
The ticket lifetime is likely to be considerably longer than the
replay clock window.  The server should indeed reject replays,
but if it is able to flush the replay cache faster, it may be able
to handle that job a lot more efficiently under load.

What is a likely ticket lifetime for a server that supports 0-RTT
(let's assume an HTTP server)?  How wide a replay clock window is
likely reasonable (to allow for RTT and TCP retransmission delays)?

If the two are approximately the same, then just rejecting duplicates
and expired tickets is enough.  If the ticket lifetime is 10x or 100x
larger, it may make sense to be able to limit the lifetime of replay
cache entries to the smaller TCP skew.

--=20
	Viktor.


From nobody Tue May  2 18:48:50 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2014D1293EC for <tls@ietfa.amsl.com>; Tue,  2 May 2017 18:48:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.7
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, 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=allcosts-net.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 NZfta2d7Megb for <tls@ietfa.amsl.com>; Tue,  2 May 2017 18:48:47 -0700 (PDT)
Received: from mail-yw0-x235.google.com (mail-yw0-x235.google.com [IPv6:2607:f8b0:4002:c05::235]) (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 5CDC1129B23 for <tls@ietf.org>; Tue,  2 May 2017 18:45:54 -0700 (PDT)
Received: by mail-yw0-x235.google.com with SMTP id k11so78397395ywb.1 for <tls@ietf.org>; Tue, 02 May 2017 18:45:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=DLISk/ABsf4Kq5EhmAq5MnRVTiGIWbrvb6YXT/3gyg0=; b=CWL3nN2NcMIeGKv+HMXhob7ppODzshOaTwbiY4dhAS465FgRTwgHP2trqCs94FN7Jg Euo95gRnPPohN+HJVSXgPasCc8vSYks9Epn8dVB+8MLrXYRnXutu3/rPE08zJ5xUuOp9 c4xBGn+9ZAef597MzStdID2ODrnfrQB6wBr+uIx77H32daV0Zt6eebIIc+9ZkMhFwfO7 zT4mYaUx5Sr/BT0mktVah/84qrsATtc/FcdqLUHEaUr8f7gOafX4MkM1f3Kk06RILxpS Wm9+/tOAMlcelW1Hh7U4xCtlt7sB6XFHE+Nvu/40eg/ZdhHn66lSWhw/4RkrWZt3fO1g FEzg==
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; bh=DLISk/ABsf4Kq5EhmAq5MnRVTiGIWbrvb6YXT/3gyg0=; b=IHtovkzGkSptlEPM+BYj0gF/eAiWPGhL3NLFPEzrg4Vy/95PCLYXDDqczdOl2RPU+X 2OV8MGGrtpnrgADuAr27uazb8SuRsahN/NvK5YNeljHoakoolZf82uSXycZrmiq5qMlT ImMeXNuWSqDH3C0Z2A7CVgTDi6oVSpXXoFA2vksXWsDtQhDv9SXO22BIKZL0cXFraJxB KPZ8pusJM8ciI1XzFx5cvgnvM1HtQTTES1BEU5lJT3TAeGjv3AvyGSD6ayO5nb9PSWiv DaU8dhRUyv9cK/Se/xwEWW/ezmXSWKjbq1S+oxhgnSPPUxdaYforATX0Xo1QzJGzibXp awSw==
X-Gm-Message-State: AN3rC/7VV5wCacgK6CJbPp9Km6VcWAd81Sc2v3BLLpE66cR606UVdMLH uYBBX2LoHyge4ezC3eAGpa+bJ4P6Hw==
X-Received: by 10.129.105.198 with SMTP id e189mr27167031ywc.296.1493775953492;  Tue, 02 May 2017 18:45:53 -0700 (PDT)
MIME-Version: 1.0
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com> <1493768953994.69753@cs.auckland.ac.nz> <CAAF6GDfq0Rs86Zik7M-fCRv51981DO19rFaxRC8Of322RCg8eA@mail.gmail.com> <803FB95F-3271-407A-B483-5C0C996D3F04@dukhovni.org>
In-Reply-To: <803FB95F-3271-407A-B483-5C0C996D3F04@dukhovni.org>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 03 May 2017 01:45:42 +0000
Message-ID: <CAAF6GDcriRk1VvBWK6a3YL0-g9xcLOTChVL94n=ax32s25PUwQ@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a1147125615696f054e94d143
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/MJT3OzLa4CbeOfVs2E7jsMmRhlY>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 01:48:49 -0000

--001a1147125615696f054e94d143
Content-Type: text/plain; charset=UTF-8

On Tue, May 2, 2017 at 5:51 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> .Some choices are driven by practical engineering considerations.


> The ticket lifetime is likely to be considerably longer than the
> replay clock window.  The server should indeed reject replays,
> but if it is able to flush the replay cache faster, it may be able
> to handle that job a lot more efficiently under load.
>

Good point! It's also common for caches to implement LRU, where a shorter
lifetime is better.

What is a likely ticket lifetime for a server that supports 0-RTT
> (let's assume an HTTP server)?


I'm going to guess that providers will set it as high as they can ... every
little helps. So 7 days.


> How wide a replay clock window is likely reasonable (to allow for RTT and
> TCP retransmission delays)?
>

I think we have to assume that a replay attempt could come at any time. A
time based mitigation doesn't work.

-- 
Colm
-- 
Colm

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

<div><div><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On =
Tue, May 2, 2017 at 5:51 PM, Viktor Dukhovni <span>&lt;<a href=3D"mailto:ie=
tf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukhovni.org</a>&gt;</spa=
n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex"><span>.</span>Some choices are =
driven by practical engineering considerations.</blockquote></div></div></d=
iv></div><div><div><div class=3D"gmail_extra"><div class=3D"gmail_quote"><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex"><br>
The ticket lifetime is likely to be considerably longer than the<br>
replay clock window.=C2=A0 The server should indeed reject replays,<br>
but if it is able to flush the replay cache faster, it may be able<br>
to handle that job a lot more efficiently under load.<br></blockquote></div=
></div></div></div><div><div><div class=3D"gmail_extra"><div class=3D"gmail=
_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding-left:1ex"></blockquote><div><br></div><div>Goo=
d point! It&#39;s also common for caches to implement LRU, where a shorter =
lifetime is better.=C2=A0</div></div></div></div></div><div><div><div class=
=3D"gmail_extra"><div class=3D"gmail_quote"><div><br></div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
What is a likely ticket lifetime for a server that supports 0-RTT<br>
(let&#39;s assume an HTTP server)?=C2=A0 </blockquote><div><br></div></div>=
</div></div></div><div><div><div class=3D"gmail_extra"><div class=3D"gmail_=
quote"><div>I&#39;m going to guess that providers will set it as high as th=
ey can ... every little helps. So 7 days.</div></div></div></div></div><div=
><div><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div>=C2=A0</di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex">How wide a replay clock window is=C2=A0lik=
ely reasonable (to allow for RTT and TCP retransmission delays)?<br></block=
quote><div><br></div></div></div></div></div><div><div><div class=3D"gmail_=
extra"><div class=3D"gmail_quote"><div>I think we have to assume that a rep=
lay attempt could come at any time. A time based mitigation doesn&#39;t wor=
k.=C2=A0</div></div></div></div></div><div><div><div class=3D"gmail_extra">=
<div><br></div>-- <br><div class=3D"m_-2963297240856090811gmail_signature" =
data-smartmail=3D"gmail_signature">Colm</div>
</div></div></div><div dir=3D"ltr">-- <br></div><div data-smartmail=3D"gmai=
l_signature">Colm</div>

--001a1147125615696f054e94d143--


From nobody Tue May  2 19:40:14 2017
Return-Path: <noloader@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 18784129B42 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 19:40:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.3
X-Spam-Level: 
X-Spam-Status: No, score=-1.3 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 si43p-2lY7WO for <tls@ietfa.amsl.com>; Tue,  2 May 2017 19:40:11 -0700 (PDT)
Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (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 5A3AB129B83 for <tls@ietf.org>; Tue,  2 May 2017 19:38:11 -0700 (PDT)
Received: by mail-oi0-x22b.google.com with SMTP id l18so18750258oig.2 for <tls@ietf.org>; Tue, 02 May 2017 19:38:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=Wbc3j+0jzE3BW0KWuYWyuiIV+bYbwfOAG8kshCoOs9U=; b=Foi/XbngGaD3aMsnrmInIbcOYPFW3JYSOPpWxCNxoO4Qkjv3ivQtlXec8s2aGDgGAV qq2YWo5Zx9eZqRXsi0TpyF29DnFw2EMTs9mzqRQwkERK9QLJFLmmP1wiYevLsnJ+PXO3 kiAKNld22CxRvFwTK9U+dTQF6u/BjCPXROhygxd6Lx1S0evI9rmwoJIMpwFpFvfr2ePG Hn/sL3s/AhnnkFntvTLlmtoldTZibbTWvABaGP49h6uJF4UL7wpsmulEWJ/lyXpICN37 HMN1l7dz8YjDf6a5f92xGUMwP98fCYaQgc42Yvo16+4e/Pol68Nn4TtAoC/hVjcKKZj1 fzTw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=Wbc3j+0jzE3BW0KWuYWyuiIV+bYbwfOAG8kshCoOs9U=; b=aPyR33qeMqMffGXbFIBQlvLV/m3j/InnOd3uJxSpKtIHDk6NlTcFwNyVZUVCofljwU LGGsytbHuAoXEI4UZbppTBsUrcZCtPl22HFTCEgXVtFaDFINXPm8GlPaEjxZjvOwmixu Ne5gJk6Ev84nvEytsL1lCzMf3DhSpnP/f51LbMrPP51+ybYZ94j5929BnSbnssgMYtoT IevwxG/l+iUyE5zT+VNGbyeLJCyFz5Dnh4W0v/K+wjDhXFplNtdD1vh9IBqSheRbiXwV Y0icLqLKTtLfYRxiMq2hThPO26bcdx49rjbFER7Hvl3UhtyLTbPIqcKIkfrlMF2pf3we TiEQ==
X-Gm-Message-State: AN3rC/629dwFXQfApBdWMkO+oxuR0DU2K8dbd0qiXwNzeUDTVTvySMr9 RkTh0WwfV+N8t/WCG/vz95Vu01mKSrcOkGg=
X-Received: by 10.202.77.195 with SMTP id a186mr11172146oib.117.1493779090714;  Tue, 02 May 2017 19:38:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.74.139.199 with HTTP; Tue, 2 May 2017 19:38:09 -0700 (PDT)
Reply-To: noloader@gmail.com
In-Reply-To: <CAAF6GDcriRk1VvBWK6a3YL0-g9xcLOTChVL94n=ax32s25PUwQ@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com> <1493768953994.69753@cs.auckland.ac.nz> <CAAF6GDfq0Rs86Zik7M-fCRv51981DO19rFaxRC8Of322RCg8eA@mail.gmail.com> <803FB95F-3271-407A-B483-5C0C996D3F04@dukhovni.org> <CAAF6GDcriRk1VvBWK6a3YL0-g9xcLOTChVL94n=ax32s25PUwQ@mail.gmail.com>
From: Jeffrey Walton <noloader@gmail.com>
Date: Tue, 2 May 2017 22:38:09 -0400
Message-ID: <CAH8yC8mdWX3HsneuVh1_AOeEZahMC2WUYqoeHN4aKW6c0aG9tw@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: TLS WG <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/h9uV9hqtnwMT8V5cQGdrq-g4YLk>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 02:40:13 -0000

On Tue, May 2, 2017 at 9:45 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
>
> On Tue, May 2, 2017 at 5:51 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
> wrote:
>>
>> .Some choices are driven by practical engineering considerations.
>>
>> The ticket lifetime is likely to be considerably longer than the
>> replay clock window.  The server should indeed reject replays,
>> but if it is able to flush the replay cache faster, it may be able
>> to handle that job a lot more efficiently under load.
>
> Good point! It's also common for caches to implement LRU, where a shorter
> lifetime is better.
>
>> What is a likely ticket lifetime for a server that supports 0-RTT
>> (let's assume an HTTP server)?
>
> I'm going to guess that providers will set it as high as they can ... eve=
ry
> little helps. So 7 days.

It seems like this would follow the same policies for session
management and/or authentication and authorizations. If its low value
data (like a GMail account), then let it live longer, like weeks. If
its high value data (like executive compensation, mergers and
acquisitions or pending litigation), then its probably shorter, like
hours to days.

What's the polyfill that allows data sensitivity levels to trickle
down into the transport layer?

Jeff


From nobody Tue May  2 20:19:56 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6AD8C129BF8 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 20:19:54 -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 mV5aoJF2okId for <tls@ietfa.amsl.com>; Tue,  2 May 2017 20:19:51 -0700 (PDT)
Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (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 26729129C60 for <tls@ietf.org>; Tue,  2 May 2017 20:17:47 -0700 (PDT)
Received: by mail-yw0-x232.google.com with SMTP id 203so78982751ywe.0 for <tls@ietf.org>; Tue, 02 May 2017 20:17:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Eji5ZrkwxOmCKOzwKaYLG9eZEDMaPk35CqGNjMIZ24o=; b=ivz5J6XPP933mpdtBUrFRYB0c70w8BBckDYNQ0+gq59g21GAwImTedqM1tLOkz/BL3 M105xHKAec6iUsSRH+MeDlp8sGNK6/b3eEUR3t8vn5tRHCgV2BJ2XZzjtqTv3nkq3kwL aBQ/cbj7kpm5ttbky7Q2LV4e9j9cSq1t91n5zio05sJu9eQdDoCB2gcH3PLIIf66tqKT D/TPdiDiICRLh9e3/dJNHr/pnarDzgjuZyQ71z22t3hIkbtkE3F9k3p+h+dDVhDBhuAI +xSR+4ExUUfoV1Cycz1hQQg2fKmz+JC15k7qGN1ZH9Vqm8QWKnJ0Sk/xrsFc/CE2BccC YKLA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Eji5ZrkwxOmCKOzwKaYLG9eZEDMaPk35CqGNjMIZ24o=; b=UFvJeix8hHHJJRhBzTwJkddbKLeu4FLcg56ms4vw8dpk9mgM6S9efUMWV/28UMg3xO dJOea77efgo41mDHNrfz50AX7EXNyqcbcPA6VRCjoTTDJ1ykimLGVTzQk7liGEBQXQN/ hT7HlqzgxmSC0vLAB+Viyaq6ek+sVKgPhZ58oCrWGFGcRt426P2BL0Skrb9omPEGEZCs c4p6H+CDpZV824Pur0iTlhACCXJl69x60y0KAJc/X9HsHtSzo2R1byB3fA2K/73SODgG JrB5RPzVTTmrecx5PX/ElPw6H8/dqe/4zW58vSfPonz/K7OCucEvlX/hiuwd1H+6QRCq CfBw==
X-Gm-Message-State: AN3rC/5QAuZBb7QlpbpVKMrQnuID5zGasgSWDjQyT7p/9RfxSuXU/3iK Hw0QJjPMcSSdGu7UIhY8Mym0RSfP5AdYgag=
X-Received: by 10.129.52.141 with SMTP id b135mr27442030ywa.85.1493781466206;  Tue, 02 May 2017 20:17:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.113.7 with HTTP; Tue, 2 May 2017 20:17:05 -0700 (PDT)
In-Reply-To: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 2 May 2017 20:17:05 -0700
Message-ID: <CABcZeBPP1j5O_4d=fjN4XF65OSgg=8YSRFbs3-PKTGNQZXwvNw@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11408984aaaf0b054e961926
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/etdZvSQFyGmTt_2oXEH9nu1gPbY>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 03:19:54 -0000

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

Colm,

Thanks for your review. Interesting stuff.

Scrolling ahead to the recommendations, I see you have:

* Require implementations to robustly prevent Ticket re-use for 0-RTT.

This seems like a good idea. I think it's arguable that we got a bit
nihilistic about this, and as you say, you can do a pretty good job of
reducing replay within a given data center using some local
anti-replay mechanism. I would tend to think that a strong SHOULD is
what you want here, as a MUST is going to be a lot more like a 6919
MUST (BUT WE KNOW YOU WON'T). I'll start preparing a PR on this.  Here
are the points I plan to make:

- There are a series of attacks involving lots of replays
  (cherry-picking your draft)

- Implementations cannot completely prevent replay but can do a lot to
  limit it using the following techniques (focusing on strike register
  and single-use cache).

I understand from your document and our previous conversation that you
believe single-use tokens are easier to implement on the server side,
but I'm not sure I really follow your argument. If you want to provide
some short text on that that we can all agree on, then I think we
could incorporate this as well.

* Partial mitigation for Gilmor attacks: deliberately duplicate 0-RTT
  data

This seems like some sort of extra-grease, but I'm kinda skeptical
that anyone is going to do it. Perhaps it would be useful to add it to
draft-ietf-tls-grease?


* Require TLS proxies to operate 0-RTT transitively

I've read this several times but I have to admit I don't understand
it. Do you think you could rephrase?


The following doesn't appear in your recommendations, but I think you
also think we should:


* Adopt something like PR#998 to make each PSK_id correspond to a
  different PSK even when they are issued on the same connection.

This seems straightforward, and I think we would also want to add some
text in security considerations describing the security implications
of the use of session-cache style PSKs to those of ticket-style PSKs,
especially when this technique is used.


* Require that clients only use tickets once.

For the reasons Viktor indicated, I tend to think this is inadvisable.
As you indicate, there are two implications of ticket reuse:

- It leaks some of ticket_age If the server wants to support it, it
- needs to not have a single-use session cache, so that threatens PFS.

As discussed on the list, the ticket_age issue is principally a
linkage issue, and the ticket is inherently linkable [0]. WRT the PFS
issue, the server can always implement a single-use cache if it wants
to, and if the server is doing ordinary tickets (which I understand
you don't like, but I don't think we are going to ban), then the PFS
situation seems unchanged. I have considered whether we should have a
way for the server to say "only use this ticket once" but I'm not sure
how that helps as the server can just unilaterally forget the tickeet.


* Remove ticket_age

This doesn't seem like a good idea: if you are implementing a strike
register, you want to use ticket_age to help distinguish "fresh" from
"unknown state". I.e., the ticket_age + the ticket issue time allows
you to determine approximately when a CH was sent, and any CH that
is significantly older or newer than now is forced back into 1-RTT.

-Ekr

[0] With that said, it wouldn't honestly be that hard to
Derive-Secret() a mask off of the PSK at the same time we derive the
early data key, if we really wanted to.











On Tue, May 2, 2017 at 7:44 AM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:

> On Sunday at the TLS:DIV workshop I presented a summary of findings of a
> security review we did on TLS1.3 0-RTT, as part of implementing 1.3 in s2=
n.
> Thanks to feedback in the room I've now tightened up the findings from th=
e
> review and posted them as an issue on the draft GitHub repo:
>
> https://github.com/tlswg/tls13-spec/issues/1001
>
> I'll summarize the summary: Naturally the focus was on forward secrecy an=
d
> replay. On forward secrecy the main finding was that it's not necessary t=
o
> trade off Forward Secrecy and 0-RTT. A single-use session cache can provi=
de
> it, and with the modification that ekr has created in
> https://github.com/tlswg/tls13-spec/pull/998 , such a cache works for
> both pre-auth and post-auth tickets, and it allows clients to build up
> pools of meaningfully distinct tickets.
>
> There's also an observation there that it should really be that clients
> "MUST" use tickets only once. Any re-use likely discloses the obfuscated
> ticket age, which is intended to be secret. Right now it's a "SHOULD".
>
> On replay, the main finding is that what's in the draft is not workably
> secure, and the review includes 5 different attacks against 0-RTT data to
> illustrate that. Attacks 1 and 2 show that the kind of replay permitted b=
y
> the draft is very different from the kind of replay permitted by dkg's
> existing downgrade-and-retry attack. I also go over why it very very
> difficult to many applications to achieve that idempotency, and why one
> idempotency pattern actually relies on non-replayable messages.
>
> Attack 3 shows that idempotency is not sufficient, applications must also
> be free of measurable side-effects, which is not practical.  Attack 4 sho=
ws
> that 0-RTT breaks a common security mechanism: spoofing-resistant
> throttles. Attack 5 shows that 0-RTT replay-ability enables an additional
> form of traffic analysis.
>
> The recommendation in the review is that implementations "MUST" prevent
> replays of 0-RTT section, with some additional discussion about why the
> existing advice is unlikely to be followed, and why consistent
> interoperability matters here.
>
> Unfortunately, I wasn't aware until Friday that this review would be
> coming so late in the TLD1.3 draft process, and my apologies for that. I =
am
> now planning to attend the future WG in-person meetings and look forward =
to
> seeing many of you there.
>
> --
> Colm
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

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

<div dir=3D"ltr"><div>Colm,</div><div><br></div><div>Thanks for your review=
. Interesting stuff.</div><div><br></div><div>Scrolling ahead to the recomm=
endations, I see you have:</div><div><br></div><div>* Require implementatio=
ns to robustly prevent Ticket re-use for 0-RTT.</div><div><br></div><div>Th=
is seems like a good idea. I think it&#39;s arguable that we got a bit</div=
><div>nihilistic about this, and as you say, you can do a pretty good job o=
f</div><div>reducing replay within a given data center using some local</di=
v><div>anti-replay mechanism. I would tend to think that a strong SHOULD is=
</div><div>what you want here, as a MUST is going to be a lot more like a 6=
919</div><div>MUST (BUT WE KNOW YOU WON&#39;T). I&#39;ll start preparing a =
PR on this.=C2=A0 Here</div><div>are the points I plan to make:</div><div><=
br></div><div>- There are a series of attacks involving lots of replays</di=
v><div>=C2=A0 (cherry-picking your draft)</div><div><br></div><div>- Implem=
entations cannot completely prevent replay but can do a lot to</div><div>=
=C2=A0 limit it using the following techniques (focusing on strike register=
</div><div>=C2=A0 and single-use cache).</div><div><br></div><div>I underst=
and from your document and our previous conversation that you</div><div>bel=
ieve single-use tokens are easier to implement on the server side,</div><di=
v>but I&#39;m not sure I really follow your argument. If you want to provid=
e</div><div>some short text on that that we can all agree on, then I think =
we</div><div>could incorporate this as well.</div><div><br></div><div>* Par=
tial mitigation for Gilmor attacks: deliberately duplicate 0-RTT</div><div>=
=C2=A0 data</div><div><br></div><div>This seems like some sort of extra-gre=
ase, but I&#39;m kinda skeptical</div><div>that anyone is going to do it. P=
erhaps it would be useful to add it to</div><div>draft-ietf-tls-grease?</di=
v><div><br></div><div><br></div><div>* Require TLS proxies to operate 0-RTT=
 transitively</div><div><br></div><div>I&#39;ve read this several times but=
 I have to admit I don&#39;t understand</div><div>it. Do you think you coul=
d rephrase?</div><div><br></div><div><br></div><div>The following doesn&#39=
;t appear in your recommendations, but I think you</div><div>also think we =
should:</div><div><br></div><div><br></div><div>* Adopt something like PR#9=
98 to make each PSK_id correspond to a</div><div>=C2=A0 different PSK even =
when they are issued on the same connection.</div><div><br></div><div>This =
seems straightforward, and I think we would also want to add some</div><div=
>text in security considerations describing the security implications</div>=
<div>of the use of session-cache style PSKs to those of ticket-style PSKs,<=
/div><div>especially when this technique is used.</div><div><br></div><div>=
<br></div><div>* Require that clients only use tickets once.</div><div><br>=
</div><div>For the reasons Viktor indicated, I tend to think this is inadvi=
sable.</div><div>As you indicate, there are two implications of ticket reus=
e:</div><div><br></div><div>- It leaks some of ticket_age If the server wan=
ts to support it, it</div><div>- needs to not have a single-use session cac=
he, so that threatens PFS.</div><div><br></div><div>As discussed on the lis=
t, the ticket_age issue is principally a</div><div>linkage issue, and the t=
icket is inherently linkable [0]. WRT the PFS</div><div>issue, the server c=
an always implement a single-use cache if it wants</div><div>to, and if the=
 server is doing ordinary tickets (which I understand</div><div>you don&#39=
;t like, but I don&#39;t think we are going to ban), then the PFS</div><div=
>situation seems unchanged. I have considered whether we should have a</div=
><div>way for the server to say &quot;only use this ticket once&quot; but I=
&#39;m not sure</div><div>how that helps as the server can just unilaterall=
y forget the tickeet.</div><div><br></div><div><br></div><div>* Remove tick=
et_age</div><div><br></div><div>This doesn&#39;t seem like a good idea: if =
you are implementing a strike</div><div>register, you want to use ticket_ag=
e to help distinguish &quot;fresh&quot; from</div><div>&quot;unknown state&=
quot;. I.e., the ticket_age + the ticket issue time allows</div><div>you to=
 determine approximately when a CH was sent, and any CH that</div><div>is s=
ignificantly older or newer than now is forced back into 1-RTT.</div><div><=
br></div><div>-Ekr</div><div><br></div><div>[0] With that said, it wouldn&#=
39;t honestly be that hard to</div><div>Derive-Secret() a mask off of the P=
SK at the same time we derive the</div><div>early data key, if we really wa=
nted to.</div><div><br></div><div><br></div><div><br></div><div><br></div><=
div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><=
div><br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quot=
e">On Tue, May 2, 2017 at 7:44 AM, Colm MacC=C3=A1rthaigh <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:colm@allcosts.net" target=3D"_blank">colm@allcosts.n=
et</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"=
>On Sunday at the TLS:DIV workshop I presented a summary of findings of a s=
ecurity review we did on TLS1.3 0-RTT, as part of implementing 1.3 in s2n. =
Thanks to feedback in the room I&#39;ve now tightened up the findings from =
the review and posted them as an issue on the draft GitHub repo:<div><br></=
div><div><a href=3D"https://github.com/tlswg/tls13-spec/issues/1001" target=
=3D"_blank">https://github.com/tlswg/<wbr>tls13-spec/issues/1001</a><br></d=
iv><div><br></div><div>I&#39;ll summarize the summary: Naturally the focus =
was on forward secrecy and replay. On forward secrecy the main finding was =
that it&#39;s not necessary to trade off Forward Secrecy and 0-RTT. A singl=
e-use session cache can provide it, and with the modification that ekr has =
created in=C2=A0<a href=3D"https://github.com/tlswg/tls13-spec/pull/998" ta=
rget=3D"_blank">https://github.com/tlswg/tl<wbr>s13-spec/pull/998</a> , suc=
h a cache works for both pre-auth and post-auth tickets, and it allows clie=
nts to build up pools of meaningfully distinct tickets.</div><div><br></div=
><div>There&#39;s also an observation there that it should really be that c=
lients &quot;MUST&quot; use tickets only once. Any re-use likely discloses =
the obfuscated ticket age, which is intended to be secret. Right now it&#39=
;s a &quot;SHOULD&quot;.=C2=A0</div><div><br></div><div>On replay, the main=
 finding is that what&#39;s in the draft is not workably secure, and the re=
view includes 5 different attacks against 0-RTT data to illustrate that. At=
tacks 1 and 2 show that the kind of replay permitted by the draft is very d=
ifferent from the kind of replay permitted by dkg&#39;s existing downgrade-=
and-retry attack. I also go over why it very very difficult to many applica=
tions to achieve that idempotency, and why one idempotency pattern actually=
 relies on non-replayable messages.=C2=A0</div><div><br></div><div>Attack 3=
 shows that idempotency is not sufficient, applications must also be free o=
f measurable side-effects, which is not practical.=C2=A0 Attack 4 shows tha=
t 0-RTT breaks a common security mechanism: spoofing-resistant throttles. A=
ttack 5 shows that 0-RTT replay-ability enables an additional form of traff=
ic analysis.=C2=A0</div><div><br></div><div>The recommendation in the revie=
w is that implementations &quot;MUST&quot; prevent replays of 0-RTT section=
, with some additional discussion about why the existing advice is unlikely=
 to be followed, and why consistent interoperability matters here.=C2=A0</d=
iv><div><br></div><div>Unfortunately, I wasn&#39;t aware until Friday that =
this review would be coming so late in the TLD1.3 draft process, and my apo=
logies for that. I am now planning to attend the future WG in-person meetin=
gs and look forward to seeing many of you there.=C2=A0</div><span class=3D"=
HOEnZb"><font color=3D"#888888"><div><div><div><br></div>-- <br><div class=
=3D"m_-3679924430676633687gmail-m_-622221206948237266gmail_signature">Colm<=
/div>
</div></div></font></span></div>
<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br></blockquote></div><br></div>

--001a11408984aaaf0b054e961926--


From nobody Tue May  2 20:29:09 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BDD79129BB2 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 20:29:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.5
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5 tests=[BAYES_05=-0.5] autolearn=ham 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 qpfKIlNfRp1g for <tls@ietfa.amsl.com>; Tue,  2 May 2017 20:29:06 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B2E361205D3 for <tls@ietf.org>; Tue,  2 May 2017 20:27:06 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id ED4E67A32F1 for <tls@ietf.org>; Wed,  3 May 2017 03:27:05 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAAF6GDcriRk1VvBWK6a3YL0-g9xcLOTChVL94n=ax32s25PUwQ@mail.gmail.com>
Date: Tue, 2 May 2017 23:27:04 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <48763856-04CB-4DC3-9A71-126F6EDB4279@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com> <1493768953994.69753@cs.auckland.ac.nz> <CAAF6GDfq0Rs86Zik7M-fCRv51981DO19rFaxRC8Of322RCg8eA@mail.gmail.com> <803FB95F-3271-407A-B483-5C0C996D3F04@dukhovni.org> <CAAF6GDcriRk1VvBWK6a3YL0-g9xcLOTChVL94n=ax32s25PUwQ@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/0oPbMrEgeMByQTDPNRoT__7wx5w>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 03:29:08 -0000

> On May 2, 2017, at 9:45 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
>=20
> I think we have to assume that a replay attempt could come at any =
time.
> A time based mitigation doesn't work.

A time-based mitigation does not remove the need for an anti-replay
cache (where a service protocol, supports 0-RTT, but is not idempotent).

What I am saying, is that a time-based counter-measure can substantially
reduce the size of the required cache, because out-of-window replays
are rejected.  That replay window can be a narrow window around the time
the ticket is first (and never again legitimately) used, rather than the
much larger ticket validity interval.

The obfuscated_ticket_age field makes it possible to determine which
transmissions are "in-window".  It remains an exercise for the =
implementor
to handle "in-window" replays appropriately.

I agree with Nico that additive obfuscation feels like a hack, but am
willing to accept this as somewhat "natural" within the design tradition
of TLS.

Could someone explain how observing ticket reuse reveals the secret
"ticket_age_add" value?  The situation seems "time translation
invariant" under changes in the "ticket_age_add" value.  Doesn't the
attacker see the same result as he would see with a for an offset
"ticket_age_add" obtained at a corresponding offset time in the past?

--=20
	Viktor.


From nobody Tue May  2 21:23:59 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 73EF9127867 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 21:23:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.6
X-Spam-Level: 
X-Spam-Status: No, score=-1.6 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 x_Jo9BT-Od5Y for <tls@ietfa.amsl.com>; Tue,  2 May 2017 21:23:56 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D603C129413 for <tls@ietf.org>; Tue,  2 May 2017 21:21:54 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id 2EFA3A00762E; Tue,  2 May 2017 21:21:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=nNbT18lczbUu5U 4r0kWLhP5hjbA=; b=jSbk5+nw8iDz6bFD+ZZAG1EZWLEyuK6ncjJ2cM7jkPT38t 0EHTMwDGT77Jy2QhkyMzgZUtp5DdV/h/UtP0+Us1XB0PZ34TgJNYMiEcF9miI0O1 somBQS9ANgKv2McoJLYQz5YZbcxsQUGqay8dpfcE7gE8/uX2ZjLj2vj61K1q4=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id BD618A00762D; Tue,  2 May 2017 21:21:53 -0700 (PDT)
Date: Tue, 2 May 2017 23:21:51 -0500
From: Nico Williams <nico@cryptonector.com>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
Cc: Benjamin Kaduk <bkaduk@akamai.com>, TLS WG <tls@ietf.org>
Message-ID: <20170503042150.GM10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com> <1493768953994.69753@cs.auckland.ac.nz>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1493768953994.69753@cs.auckland.ac.nz>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/eOdPltgH4E5sgwvjTb1wDMp9FnQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 04:23:58 -0000

On Tue, May 02, 2017 at 11:49:31PM +0000, Peter Gutmann wrote:
> Benjamin Kaduk <bkaduk@akamai.com> writes:
> >I thought TLS clients were supposed to have even worse clocks (in terms of
> >absolute time) than Kerberos clients.
> 
> Many of the devices I work with don't have clocks (at best they have non-
> persistent monotonic counters), so I guess that's true in some sense...

Yeah, but a non-persistent clock is fine if the client can learn time
from the server (and keep a different offset from system time to every
server if need be, learning system time from one of them, or from NTP,
or whatever).

Nico
-- 


From nobody Tue May  2 21:24:43 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 842D3128CFF for <tls@ietfa.amsl.com>; Tue,  2 May 2017 21:24:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.401
X-Spam-Level: 
X-Spam-Status: No, score=-2.401 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 a7L8U6uEol1h for <tls@ietfa.amsl.com>; Tue,  2 May 2017 21:24:41 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3A11712762F for <tls@ietf.org>; Tue,  2 May 2017 21:22:31 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id E6F66A007630; Tue,  2 May 2017 21:22:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=aQpQqML+8g5cpY RO5jVNaCALDZA=; b=gk0Mo4nBQFLIzEUM/X6lMkH9Z/1OBKXO4BF2Yq+oLjBZDb eFfkneIZjCv1y953o9K0UrDEQKP7oeGoNgjMDGcvhTyGH+isnZlK0pLNyUW1Xc9g Hj/KWy2c9liEm4v1T6992a4cSErwjM2AdQQMKMHH34Mm4bIvHk49ORcfsCLaM=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 8B4B9A00762F; Tue,  2 May 2017 21:22:30 -0700 (PDT)
Date: Tue, 2 May 2017 23:22:28 -0500
From: Nico Williams <nico@cryptonector.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, TLS WG <tls@ietf.org>
Message-ID: <20170503042227.GN10188@localhost>
References: <20170502192003.GH10188@localhost> <e313032d-2ac8-cc4e-0aa7-de869007e397@akamai.com> <20170502193145.GI10188@localhost> <42522b3c-8987-ea2a-2173-bcadaf6ff326@akamai.com> <20170502195753.GJ10188@localhost> <87a86vrnge.fsf@fifthhorseman.net> <20170502212953.GK10188@localhost> <CABcZeBNvFAe+otDgE6rMG0wGaBA=Z3bDBRRvirxPFJFuc+KbeQ@mail.gmail.com> <20170502230258.GL10188@localhost> <CABcZeBMHPi3dJQRuxU_y5E=NPYpYEwikBxjXPUVw4m2WSjWrWw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABcZeBMHPi3dJQRuxU_y5E=NPYpYEwikBxjXPUVw4m2WSjWrWw@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/2CRtdAYQ1NC50aNp-jSkiCz62pM>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 04:24:42 -0000

On Tue, May 02, 2017 at 04:41:52PM -0700, Eric Rescorla wrote:
> On Tue, May 2, 2017 at 4:02 PM, Nico Williams <nico@cryptonector.com> wrote:
> > On Tue, May 02, 2017 at 03:53:48PM -0700, Eric Rescorla wrote:
> > > It's not XOR. It's addition mod 2^32. That's important because the
> > > *difference*
> > > between the ticket replay times is directly observable anyway.
> >
> > Computationally there's no real difference between that and XOR.
> 
> What information do you believe you are gathering here?

I believe the attack described is finding the time of the session's
establishment.

Nico
-- 


From nobody Tue May  2 21:26:54 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BB6D12922E for <tls@ietfa.amsl.com>; Tue,  2 May 2017 21:26:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Level: 
X-Spam-Status: No, score=-2.301 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham 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 kZn8YzeRQdTw for <tls@ietfa.amsl.com>; Tue,  2 May 2017 21:26:50 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0E24312EAAA for <tls@ietf.org>; Tue,  2 May 2017 21:24:40 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id 61323A00762F; Tue,  2 May 2017 21:24:39 -0700 (PDT)
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 02452A00762E; Tue,  2 May 2017 21:24:38 -0700 (PDT)
Date: Tue, 2 May 2017 23:24:36 -0500
From: Nico Williams <nico@cryptonector.com>
To: Colm =?iso-8859-1?Q?MacC=E1rthaigh?= <colm@allcosts.net>
Cc: Peter Gutmann <pgut001@cs.auckland.ac.nz>, Benjamin Kaduk <bkaduk@akamai.com>, TLS WG <tls@ietf.org>
Message-ID: <20170503042435.GO10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com> <1493768953994.69753@cs.auckland.ac.nz> <CAAF6GDfq0Rs86Zik7M-fCRv51981DO19rFaxRC8Of322RCg8eA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <CAAF6GDfq0Rs86Zik7M-fCRv51981DO19rFaxRC8Of322RCg8eA@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/CVR5TZjdtSJ4cyH9-NPLct9UR7A>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 04:26:52 -0000

On Tue, May 02, 2017 at 05:28:39PM -0700, Colm MacC=E1rthaigh wrote:
> This whole problem of needing client-side clocks, and having to obfusca=
te
> an age, goes away if we remove the ticket age entirely.
>=20
> Hopefully the security review makes a strong case that the age is fairl=
y
> useless from a security point of view. Even with the age, an attacker c=
an
> still generate millions to billions of replays. Even with very conserva=
tive
> numbers, e.g. to just one host, the attacker can still certainly genera=
te
> tens of thousands of replays within the permitted window.  Better to
> require servers to reject duplicates (when used with Zero-RTT), and lea=
ve
> it at that.

It's hard to disagree with this.  The only problem is that the caches
needed for server-side replay protection are non-trivial to implement,
especially with high concurrency, and even more so for clustered
services.

Nico
--=20


From nobody Tue May  2 21:30:32 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E4F1E1200F1 for <tls@ietfa.amsl.com>; Tue,  2 May 2017 21:30:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.5
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham 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 E0Q8jantLKBV for <tls@ietfa.amsl.com>; Tue,  2 May 2017 21:30:29 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E0E5B12EAAD for <tls@ietf.org>; Tue,  2 May 2017 21:28:07 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id 7C1F1A00762E; Tue,  2 May 2017 21:28:07 -0700 (PDT)
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 3DECBA00762D; Tue,  2 May 2017 21:28:07 -0700 (PDT)
Date: Tue, 2 May 2017 23:28:05 -0500
From: Nico Williams <nico@cryptonector.com>
To: TLS WG <tls@ietf.org>
Message-ID: <20170503042804.GP10188@localhost>
References: <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com> <1493768953994.69753@cs.auckland.ac.nz> <CAAF6GDfq0Rs86Zik7M-fCRv51981DO19rFaxRC8Of322RCg8eA@mail.gmail.com> <803FB95F-3271-407A-B483-5C0C996D3F04@dukhovni.org> <CAAF6GDcriRk1VvBWK6a3YL0-g9xcLOTChVL94n=ax32s25PUwQ@mail.gmail.com> <48763856-04CB-4DC3-9A71-126F6EDB4279@dukhovni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <48763856-04CB-4DC3-9A71-126F6EDB4279@dukhovni.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/jUdqOV9nB-nki6Mj-lpdmKob4AM>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 04:30:31 -0000

On Tue, May 02, 2017 at 11:27:04PM -0400, Viktor Dukhovni wrote:
> > On May 2, 2017, at 9:45 PM, Colm MacC=E1rthaigh <colm@allcosts.net> w=
rote:
> > I think we have to assume that a replay attempt could come at any tim=
e.
> > A time based mitigation doesn't work.
>=20
> A time-based mitigation does not remove the need for an anti-replay
> cache (where a service protocol, supports 0-RTT, but is not idempotent)=
.

Bingo.  There's no need for a replay cache for the 0 payload if it
represents an idempotent operation.

As long as the server can fall back on a full handshake, all is good.

> What I am saying, is that a time-based counter-measure can substantiall=
y
> reduce the size of the required cache, because out-of-window replays
> are rejected.  That replay window can be a narrow window around the tim=
e
> the ticket is first (and never again legitimately) used, rather than th=
e
> much larger ticket validity interval.

I don't believe replay cache size is that big a deal (though it's not
nothing).  The hard thing is concurrency.

> I agree with Nico that additive obfuscation feels like a hack, but am
> willing to accept this as somewhat "natural" within the design traditio=
n
> of TLS.

That is... a ringing endorsement of he obfuscation thing!  :)

Nico
--=20


From nobody Tue May  2 21:43:24 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 18ED6128B4E for <tls@ietfa.amsl.com>; Tue,  2 May 2017 21:43:22 -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 9k1UeGTuVyiu for <tls@ietfa.amsl.com>; Tue,  2 May 2017 21:43:21 -0700 (PDT)
Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (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 96850129418 for <tls@ietf.org>; Tue,  2 May 2017 21:41:41 -0700 (PDT)
Received: by mail-yw0-x232.google.com with SMTP id k11so79540407ywb.1 for <tls@ietf.org>; Tue, 02 May 2017 21:41:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Aalde8G2Cn1NJf9GqwY8B4zYPniq5vh1FK0h+pfYyIU=; b=hgjdFLp+mUeAbvqTyNrgybNSBr8GJEECTvxqK2xpNIqMoL8eoJuNnlK09lBOIP0XpL y4qK2xmn0jMIP5nRE7tHzcSWRLqZKYoGpxFU/D6ekw8u6EtFWLztvbAzAJ8vGBTz5a4b jQ9XPdK2pdFMmc8GSg4QMbyRH7UT8Kp1GsuGOmnH37NkCA/Sz+lDI5gAEXnKAD7nKOqV z+wBm8pXgJyt3na2PrCqk3lmHa8/mFWf1NaffiewlIlEJRMhkXxl9z6J7ITUGfPRyd31 Ut0tyJREQpoBZAd9/O0Hbq2PsgLfUaJk2HqX6gSX2JjvRoZSiz5D92ns8pk+6sAtD+EH DLVw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Aalde8G2Cn1NJf9GqwY8B4zYPniq5vh1FK0h+pfYyIU=; b=M3HV6mBs+5K/EvthNoo2K3/iV2MxJhWiiBlPccQDiAUkEapTk12YA3ZbOzsYBPlH9P UQyVM32yBcPhcQJs/FdADckd2t9BztRAhEyF2UxUEok3yhlB6zxku9iqVpFAAXifzpMo 2NbwXhBgmypZWzagaeOns/U0ZQZYZxGzyBoW2ZrwTYcjuGC2kaHTNtWQTNVOaaWq49v8 t632kDhO8sGOptgx3P/st45+U2eILIZNqmJGpcoa14jfWoWJoFfZXUbfm2v7zJWzNzZ3 0qA2Ukf1ZwtMkB12/Pg5HPLRhE1QtvKjXgYc8K7Avej3FMg+U2xp8Vm1grRFE9FXHXTm wl1w==
X-Gm-Message-State: AN3rC/5KsV1SGay94MdMwHWOy5zhPsuJ9zubb5tZV9fZpBOJZd5gvlCd lC+b60UpwwM9UercWAfvMsx0U2gYuZW6
X-Received: by 10.129.52.141 with SMTP id b135mr27601930ywa.85.1493786500831;  Tue, 02 May 2017 21:41:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.113.7 with HTTP; Tue, 2 May 2017 21:41:00 -0700 (PDT)
In-Reply-To: <20170503042227.GN10188@localhost>
References: <20170502192003.GH10188@localhost> <e313032d-2ac8-cc4e-0aa7-de869007e397@akamai.com> <20170502193145.GI10188@localhost> <42522b3c-8987-ea2a-2173-bcadaf6ff326@akamai.com> <20170502195753.GJ10188@localhost> <87a86vrnge.fsf@fifthhorseman.net> <20170502212953.GK10188@localhost> <CABcZeBNvFAe+otDgE6rMG0wGaBA=Z3bDBRRvirxPFJFuc+KbeQ@mail.gmail.com> <20170502230258.GL10188@localhost> <CABcZeBMHPi3dJQRuxU_y5E=NPYpYEwikBxjXPUVw4m2WSjWrWw@mail.gmail.com> <20170503042227.GN10188@localhost>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 2 May 2017 21:41:00 -0700
Message-ID: <CABcZeBPpYGCzeOwv-FmJSvaJVJKKMjNh75g1Eptoyr9pfRe1DQ@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11408984c0cf88054e9745bd
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/xgRpmTtFKQ8FssYdGiInObNkpZc>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 04:43:22 -0000

--001a11408984c0cf88054e9745bd
Content-Type: text/plain; charset=UTF-8

On Tue, May 2, 2017 at 9:22 PM, Nico Williams <nico@cryptonector.com> wrote:

> On Tue, May 02, 2017 at 04:41:52PM -0700, Eric Rescorla wrote:
> > On Tue, May 2, 2017 at 4:02 PM, Nico Williams <nico@cryptonector.com>
> wrote:
> > > On Tue, May 02, 2017 at 03:53:48PM -0700, Eric Rescorla wrote:
> > > > It's not XOR. It's addition mod 2^32. That's important because the
> > > > *difference*
> > > > between the ticket replay times is directly observable anyway.
> > >
> > > Computationally there's no real difference between that and XOR.
> >
> > What information do you believe you are gathering here?
>
> I believe the attack described is finding the time of the session's
> establishment.


Hmm.... Can you walk me through how you think that works?

-Ekr


>

Nico
> --
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 2, 2017 at 9:22 PM, Nico Williams <span dir=3D"ltr">&lt;<a =
href=3D"mailto:nico@cryptonector.com" target=3D"_blank">nico@cryptonector.c=
om</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""=
>On Tue, May 02, 2017 at 04:41:52PM -0700, Eric Rescorla wrote:<br>
&gt; On Tue, May 2, 2017 at 4:02 PM, Nico Williams &lt;<a href=3D"mailto:ni=
co@cryptonector.com">nico@cryptonector.com</a>&gt; wrote:<br>
&gt; &gt; On Tue, May 02, 2017 at 03:53:48PM -0700, Eric Rescorla wrote:<br=
>
&gt; &gt; &gt; It&#39;s not XOR. It&#39;s addition mod 2^32. That&#39;s imp=
ortant because the<br>
&gt; &gt; &gt; *difference*<br>
&gt; &gt; &gt; between the ticket replay times is directly observable anywa=
y.<br>
&gt; &gt;<br>
&gt; &gt; Computationally there&#39;s no real difference between that and X=
OR.<br>
&gt;<br>
&gt; What information do you believe you are gathering here?<br>
<br>
</span>I believe the attack described is finding the time of the session&#3=
9;s<br>
establishment.</blockquote><div><br></div><div>Hmm.... Can you walk me thro=
ugh how you think that works?</div><div><br></div><div>-Ekr</div><div>=C2=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">=C2=A0</blockquote><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex"><span class=3D"HOEnZb"><font color=3D"#88=
8888">
Nico</font><br><font color=3D"#888888">
--</font><br>
</span></blockquote></div><br></div></div>

--001a11408984c0cf88054e9745bd--


From nobody Tue May  2 22:34:59 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 445A7129B5A for <tls@ietfa.amsl.com>; Tue,  2 May 2017 22:34:58 -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=allcosts-net.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 UajjgGfBSFEk for <tls@ietfa.amsl.com>; Tue,  2 May 2017 22:34:56 -0700 (PDT)
Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) (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 8B43A12940F for <tls@ietf.org>; Tue,  2 May 2017 22:32:52 -0700 (PDT)
Received: by mail-yw0-x234.google.com with SMTP id 203so79817531ywe.0 for <tls@ietf.org>; Tue, 02 May 2017 22:32:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ndiCDVom8qMsJB3TPqyAJCJZH9OIyZS5yeTBYgxQisI=; b=TyUzlrpgqrThD+dwPzA3E9ebm7Dx7TFEAnEi4JrRCLGKqmZRKPlnFZizheMGmTDmPT 1UqQxNRr0brrLiyQqDuPrPchwjfGEn/xGwBmtsR5IdLPgw/9WVqGfEgzCmWPyDKmCj0/ 331Z6q77zL+HIKWJr41i/yCP/PKtSsc+H0ziBcQNntHV1xSPnu1FfAstgkv0pKYQn+VJ cqenxaaJskDxmsMIFeEgXXKuYiy0dE8haWHhFAyWOODXN1Ww37fc7Fbn0LPSxFU7uXtR vHoOBCi7cops+4O7BUVOCDmWtNhdgBlRpbtMeQizhJI8av3hQQME73I0Ag3EE17RuogN SI5w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ndiCDVom8qMsJB3TPqyAJCJZH9OIyZS5yeTBYgxQisI=; b=uA8GuXG7dPaCif6BoxdibdHdmPcHQZ6d+zewROTRdqsJUbJkM+wT1Fg6UtT5PqOyt9 6J1pe7OGpwGstkSWy9RVfrbpcS880eiL0AK7Lb3W1ydhCeTVWh538W7Qey1YLe25OOjS YA88zMaG51tMu0Fj7UYTyxSBZkE8owPfwnJkT7jUma8UjZ50NZ2x8Rn5GcSDGZ94/Fpl QFcGCZf/2Dj4IYWldxDpYybl620VPPchnQwILtvYgHGKX+JpJVEfw6wGZThCP1m5f+SX 1OnZ/32XfhNjztVsc1o2Hf7nL+4Sy/k2O+gWDT8f1m6XBsfDkvqIz102w9XS+55r4Vus XufA==
X-Gm-Message-State: AN3rC/75N65TNbJapCpU/iaSFRTLzHfkZO+4oKJuMVjAh9Vvk1i/xLgG uWm15xFQuZWMagE1BWpIMp7HPoSDCf44
X-Received: by 10.129.53.207 with SMTP id c198mr30351366ywa.14.1493789571660;  Tue, 02 May 2017 22:32:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Tue, 2 May 2017 22:32:50 -0700 (PDT)
In-Reply-To: <CABcZeBPP1j5O_4d=fjN4XF65OSgg=8YSRFbs3-PKTGNQZXwvNw@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBPP1j5O_4d=fjN4XF65OSgg=8YSRFbs3-PKTGNQZXwvNw@mail.gmail.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 2 May 2017 22:32:50 -0700
Message-ID: <CAAF6GDd5TkbmwCD2Ucoi7VPR7h+EcO40=KsDwvwKuT-Am8cQUA@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a1142e7ecc9d950054e97fcb4
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Stllc8n-XCxGNADgjQ5Rva4ciCk>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 05:34:58 -0000

--001a1142e7ecc9d950054e97fcb4
Content-Type: text/plain; charset=UTF-8

On Tue, May 2, 2017 at 8:17 PM, Eric Rescorla <ekr@rtfm.com> wrote:

> Colm,
>
> Thanks for your review. Interesting stuff.
>

Thanks too for taking the time to read it.


> Scrolling ahead to the recommendations, I see you have:
>
> * Require implementations to robustly prevent Ticket re-use for 0-RTT.
>
> This seems like a good idea. I think it's arguable that we got a bit
> nihilistic about this, and as you say, you can do a pretty good job of
> reducing replay within a given data center using some local
> anti-replay mechanism. I would tend to think that a strong SHOULD is
> what you want here, as a MUST is going to be a lot more like a 6919
> MUST (BUT WE KNOW YOU WON'T).
>

A provider choosing to allow replays to their own applications is on them,
they can own the stack top to bottom, take the risk, have a response team
handle attack events, etc ... That's a legitimate case for "SHOULD", there
are exceptions to everything.

But at the same time, what I think we should care most about is the
interoperability case. So for example, if a TLS library, a web server, or
an upstream CDN, can break the assumptions of a down-stream service or
application, that's where we'll see CVEs cropping up. In those cases, I
think the problem is the upstream component, breaking long-held and fair
assumptions. In those cases, it feels like a "MUST".

I'm not sure how to strike a balance, so chose the more secure option.


> I understand from your document and our previous conversation that you
> believe single-use tokens are easier to implement on the server side,
> but I'm not sure I really follow your argument. If you want to provide
> some short text on that that we can all agree on, then I think we
> could incorporate this as well.
>

It's probably not important to get into a single-use token cache in the
draft itself. That was just intended for implementors. One thing that makes
a single-use cache slightly easier to implement is that reads and writes to
keys need not be sequenced relative to any kind of checkpoint.

With a strike register, some kind of checkpoint process is needed. A simple
one is to start with a clean slate, accept only writes for a time period
equivalent to the replay window, and then go read-write. But that kind of
modality is, I think, required. With a single-use cache, it need only
sequence the reads and writes to individual keys. Though it must store much
much more state, so there are different trade-offs to consider.


> * Partial mitigation for Gilmor attacks: deliberately duplicate 0-RTT
>   data
>
> This seems like some sort of extra-grease, but I'm kinda skeptical
> that anyone is going to do it. Perhaps it would be useful to add it to
> draft-ietf-tls-grease?
>

Grease is a good place for it for sure.


> * Require TLS proxies to operate 0-RTT transitively
>
> I've read this several times but I have to admit I don't understand
> it. Do you think you could rephrase?
>

What's in the draft is that there should be an application profile and that
TLS implementations should provide applications with special functions to
tell apart the early and regular data. The problem is that doesn't work
with TLS proxies (like CDNs) ... because the proxies are re-combulating the
data as a single stream to the origin. So the origin can't tell which data
was replayable.

If 0-RTT replay is tolerated, I think that's a big gnarly problem leading
to CVEs. If we prevent replay by other means, like the strike register,
it's not so big a deal.

What I was suggesting was that such proxies always send an outgoing 0-RTT
section to the origin that exactly lines up with the 0-RTT section that
came in on the front end. It's quite hard to make that all work; the CDN
would have to accept 0-RTT only if the origin also does. But I can't see
another way that really works, especially for Layer 4 accelerators. Again,
if 0-RTT replay is forbidden, not nearly as big a deal.


> The following doesn't appear in your recommendations, but I think you
> also think we should:
>
> * Adopt something like PR#998 to make each PSK_id correspond to a
>   different PSK even when they are issued on the same connection.
>

Big +1 to this.


> For the reasons Viktor indicated, I tend to think this is inadvisable.
>

I've been thinking more about this. What if tickets are single-use when
used with 0-RTT, but otherwise allowed for multiple uses? If that's
acceptable, then could we drop the age from tickets purely used for
resumption. That way the age would only appear on tickets that are used
once.

I think that way we get everything.

* Remove ticket_age
>
> This doesn't seem like a good idea: if you are implementing a strike
> register, you want to use ticket_age to help distinguish "fresh" from
> "unknown state". I.e., the ticket_age + the ticket issue time allows
> you to determine approximately when a CH was sent, and any CH that
> is significantly older or newer than now is forced back into 1-RTT.
>

Yep, I was wrong about this, I get it now, and that makes sense.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 2, 2017 at 8:17 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a =
href=3D"mailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> =
wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,=
204,204);padding-left:1ex"><div dir=3D"ltr"><div>Colm,</div><div><br></div>=
<div>Thanks for your review. Interesting stuff.</div></div></blockquote><di=
v><br></div><div>Thanks too for taking the time to read it.</div><div>=C2=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,2=
04,204);padding-left:1ex"><div dir=3D"ltr"><div>Scrolling ahead to the reco=
mmendations, I see you have:</div><div><br></div><div>* Require implementat=
ions to robustly prevent Ticket re-use for 0-RTT.</div><div><br></div><div>=
This seems like a good idea. I think it&#39;s arguable that we got a bit</d=
iv><div>nihilistic about this, and as you say, you can do a pretty good job=
 of</div><div>reducing replay within a given data center using some local</=
div><div>anti-replay mechanism. I would tend to think that a strong SHOULD =
is</div><div>what you want here, as a MUST is going to be a lot more like a=
 6919</div><div>MUST (BUT WE KNOW YOU WON&#39;T). </div></div></blockquote>=
<div><br></div><div>A provider choosing to allow replays to their own appli=
cations is on them, they can own the stack top to bottom, take the risk, ha=
ve a response team handle attack events, etc ... That&#39;s a legitimate ca=
se for &quot;SHOULD&quot;, there are exceptions to everything.=C2=A0</div><=
div><br></div><div>But at the same time, what I think we should care most a=
bout is the interoperability case. So for example, if a TLS library, a web =
server, or an upstream CDN, can break the assumptions of a down-stream serv=
ice or application, that&#39;s where we&#39;ll see CVEs cropping up. In tho=
se cases, I think the problem is the upstream component, breaking long-held=
 and fair assumptions. In those cases, it feels like a &quot;MUST&quot;.=C2=
=A0</div><div><br></div><div>I&#39;m not sure how to strike a balance, so c=
hose the more secure option.=C2=A0</div><div>=C2=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;bo=
rder-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">=
<div dir=3D"ltr"><div>I understand from your document and our previous conv=
ersation that you</div><div>believe single-use tokens are easier to impleme=
nt on the server side,</div><div>but I&#39;m not sure I really follow your =
argument. If you want to provide</div><div>some short text on that that we =
can all agree on, then I think we</div><div>could incorporate this as well.=
</div></div></blockquote><div><br></div><div>It&#39;s probably not importan=
t to get into a single-use token cache in the draft itself. That was just i=
ntended for implementors. One thing that makes a single-use cache slightly =
easier to implement is that reads and writes to keys need not be sequenced =
relative to any kind of checkpoint.=C2=A0</div><div><br></div><div>With a s=
trike register, some kind of checkpoint process is needed. A simple one is =
to start with a clean slate, accept only writes for a time period equivalen=
t to the replay window, and then go read-write. But that kind of modality i=
s, I think, required. With a single-use cache, it need only sequence the re=
ads and writes to individual keys. Though it must store much much more stat=
e, so there are different trade-offs to consider.=C2=A0</div><div>=C2=A0</d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204=
);padding-left:1ex"><div dir=3D"ltr"><div>* Partial mitigation for Gilmor a=
ttacks: deliberately duplicate 0-RTT</div><div>=C2=A0 data</div><div><br></=
div><div>This seems like some sort of extra-grease, but I&#39;m kinda skept=
ical</div><div>that anyone is going to do it. Perhaps it would be useful to=
 add it to</div><div>draft-ietf-tls-grease?</div></div></blockquote><div><b=
r></div><div>Grease is a good place for it for sure.=C2=A0</div><div>=C2=A0=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(20=
4,204,204);padding-left:1ex"><div dir=3D"ltr"><div>* Require TLS proxies to=
 operate 0-RTT transitively</div><div><br></div><div>I&#39;ve read this sev=
eral times but I have to admit I don&#39;t understand</div><div>it. Do you =
think you could rephrase?</div></div></blockquote><div><br></div><div>What&=
#39;s in the draft is that there should be an application profile and that =
TLS implementations should provide applications with special functions to t=
ell apart the early and regular data. The problem is that doesn&#39;t work =
with TLS proxies (like CDNs) ... because the proxies are re-combulating the=
 data as a single stream to the origin. So the origin can&#39;t tell which =
data was replayable.=C2=A0</div><div><br></div><div>If 0-RTT replay is tole=
rated, I think that&#39;s a big gnarly problem leading to CVEs. If we preve=
nt replay by other means, like the strike register, it&#39;s not so big a d=
eal.</div><div><br></div><div>What I was suggesting was that such proxies a=
lways send an outgoing 0-RTT section to the origin that exactly lines up wi=
th the 0-RTT section that came in on the front end. It&#39;s quite hard to =
make that all work; the CDN would have to accept 0-RTT only if the origin a=
lso does. But I can&#39;t see another way that really works, especially for=
 Layer 4 accelerators. Again, if 0-RTT replay is forbidden, not nearly as b=
ig a deal.=C2=A0</div><div><br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid=
;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div=
><br></div><div>The following doesn&#39;t appear in your recommendations, b=
ut I think you</div><div>also think we should:</div><div><br></div><div>* A=
dopt something like PR#998 to make each PSK_id correspond to a</div><div>=
=C2=A0 different PSK even when they are issued on the same connection.</div=
></div></blockquote><div><br></div><div>Big +1 to this.</div><div>=C2=A0</d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204=
);padding-left:1ex"><div dir=3D"ltr"><div>For the reasons Viktor indicated,=
 I tend to think this is inadvisable.</div></div></blockquote><div><br></di=
v><div>I&#39;ve been thinking more about this. What if tickets are single-u=
se when used with 0-RTT, but otherwise allowed for multiple uses? If that&#=
39;s acceptable, then could we drop the age from tickets purely used for re=
sumption. That way the age would only appear on tickets that are used once.=
=C2=A0</div><div><br></div><div>I think that way we get everything.=C2=A0</=
div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color=
:rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>* Remove ticket_a=
ge</div><div><br></div><div>This doesn&#39;t seem like a good idea: if you =
are implementing a strike</div><div>register, you want to use ticket_age to=
 help distinguish &quot;fresh&quot; from</div><div>&quot;unknown state&quot=
;. I.e., the ticket_age + the ticket issue time allows</div><div>you to det=
ermine approximately when a CH was sent, and any CH that</div><div>is signi=
ficantly older or newer than now is forced back into 1-RTT.</div></div></bl=
ockquote><div><br></div><div>Yep, I was wrong about this, I get it now, and=
 that makes sense.=C2=A0</div><div><br></div></div>-- <br><div class=3D"gma=
il_signature">Colm</div>
</div></div>

--001a1142e7ecc9d950054e97fcb4--


From nobody Wed May  3 00:05:20 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3CC3E12951F for <tls@ietfa.amsl.com>; Wed,  3 May 2017 00:05:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.3
X-Spam-Level: 
X-Spam-Status: No, score=-1.3 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 LkHLhxXt-xyq for <tls@ietfa.amsl.com>; Wed,  3 May 2017 00:05:18 -0700 (PDT)
Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c: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 CC186129549 for <tls@ietf.org>; Wed,  3 May 2017 00:03:03 -0700 (PDT)
Received: by mail-wm0-x22f.google.com with SMTP id u65so135744753wmu.1 for <tls@ietf.org>; Wed, 03 May 2017 00:03:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=1PVug8daZg6ku3parucry8cc2T584zzs73hUzV57iRU=; b=hkAXemfIvYCgFGcwmDx5bvu/orZnWHV8YBNwQrlVc6ruwLhBT7723mBTZQUkekKU4l fe6V8uw8CvIGDfb8euTtRpBOBqS+2agSTva/zeMSnqvH5poHg25CGxAsJ5EKb8wRMzpH xH+0a8s1xKpCq2Ft1jmV2KyHS3GWKQrZqERtuU4JjXfLsDb7Qq6BAOi5mngagaJv0DZG iWR0hfvaEZb2yxmAGpIe77u9OHQlkj4c+VLkL0N0OJvTo+bC/cN5dG0ghQs13oUQam74 hYT2xH8+CP4Xj5KFMJg7R2/irBG+ez6rIuM4C1JoQ3xLpNUOk/sSai4FTAiPAYBq6Hov GuIw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=1PVug8daZg6ku3parucry8cc2T584zzs73hUzV57iRU=; b=X0y/UFLJHhp9Uh/ea/gpC3nygTKBbRI52o+FTqUrcV6gOEBU8W0gr7f8KxPynpVHkL KNXoKwalc8IXuh4VJx1zf83MpV0pi0QPqnbJ8EfSh0UH5FXvSNtGpwPcaIVtvDL7ETtb zR2SvpcGHyMIREI+xRSoXLs5qbiaNpPC3mrHzl67O9IkZpdMCZxSKkNRQPp8zQuXDphC Tw8vg+mCB/DR0f3QY2F55iQLCye82w5Mu5iljI1hv0nGoDqhF5kBK0esEoPf8VzEgMDL aEn2ckTcgg3pLaIsvk5ufhWyAdN5xgwVCQ8Xc5Ml8ShTb4PJ4TgrvLQAuFbBxIwRDkka Tu/Q==
X-Gm-Message-State: AN3rC/7cZC5fGCaJEF69UHYY91KKRoX03dj6DvzkrcTHkmc+pEH3e9OJ /wi4d9ixvwdwOtHLZmfz87zkGPDUMI16
X-Received: by 10.25.213.130 with SMTP id m124mr11187992lfg.50.1493794982386;  Wed, 03 May 2017 00:03:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Wed, 3 May 2017 00:03:01 -0700 (PDT)
In-Reply-To: <CAAF6GDd5TkbmwCD2Ucoi7VPR7h+EcO40=KsDwvwKuT-Am8cQUA@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBPP1j5O_4d=fjN4XF65OSgg=8YSRFbs3-PKTGNQZXwvNw@mail.gmail.com> <CAAF6GDd5TkbmwCD2Ucoi7VPR7h+EcO40=KsDwvwKuT-Am8cQUA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Wed, 3 May 2017 17:03:01 +1000
Message-ID: <CABkgnnWZTycggqYgQcKg2MoRTsHEVYpf0Uv87npoTu4FZhx6VQ@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/D9qjr_AQQ5kfU3uo8RLHv1q_V58>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 07:05:19 -0000

On 3 May 2017 at 15:32, Colm MacC=C3=A1rthaigh <colm@allcosts.net> wrote:
> I've been thinking more about this. What if tickets are single-use when u=
sed
> with 0-RTT, but otherwise allowed for multiple uses? If that's acceptable=
,
> then could we drop the age from tickets purely used for resumption. That =
way
> the age would only appear on tickets that are used once.

I could see the way to moving the ticket age to the early_data
extension.  It saves a few bytes in an uncommon case, complicates a
bit of the design, but otherwise isn't overly disruptive.


From nobody Wed May  3 02:17:54 2017
Return-Path: <hannes.tschofenig@gmx.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1189312941C for <tls@ietfa.amsl.com>; Wed,  3 May 2017 02:17:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.401
X-Spam-Level: 
X-Spam-Status: No, score=-5.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham 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 ieUz_0MfRuLD for <tls@ietfa.amsl.com>; Wed,  3 May 2017 02:17:50 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 2EF6E12943C for <tls@ietf.org>; Wed,  3 May 2017 02:15:07 -0700 (PDT)
Received: from [192.168.91.191] ([195.149.223.176]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LlESk-1dgXyJ10VC-00b1JM; Wed, 03 May 2017 11:15:05 +0200
To: =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>, "tls@ietf.org" <tls@ietf.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Openpgp: id=071A97A9ECBADCA8E31E678554D9CEEF4D776BC9
Message-ID: <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net>
Date: Wed, 3 May 2017 11:15:03 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BCNt5k9BiMNIiFinQE5PRFO8w6bgXDsT7"
X-Provags-ID: V03:K0:apQQaNFlKm7oyDj29i3eMKmchSlrh2ZrB6dmNlJFGBR+lztnEo8 JoK/gmoafXcDlvddyxxkQ71CQjgAoqgPUFr6pPogGhDv7w/CUwTYQ9N4QZZ3VsWfBGacj1Z ++8ld7i6sjZ8LaH+txMDb4NadV3bFBbvSEd+tWfzanNuYAuC5myCXcyupt/y0Vv1mHl2mkO sMuqZScBjcQiHaQs4FVMQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:0G1nvrqWc7w=:9reI+hUO8fp6IQed1YRoxS qYJHRngofkBBCCCh0u74xKfkpARAQ1T4UR5/zZYp+2ZZ4hBB3QfwD0niqaRqrs9/QgL6Q1UTX CX4ADH6VXM/4GigXmJyQR3AjsvY1pCRqWdjvyYoLSGXCE+PMiWgsLFsp4Q7OMNBsQ6YiNoBSy t8N2jy7Mxjh+UTvQJ5OAL3jJY/TLE3OWhm2q4WZ53W2tV+PWENhdNw2+5YFaVD+JrX+M3NtOK zaB+JW3e+mUfQF7R0dVXP+CDMwJjjwPusSHuLVCBQgmTVCZoUj8TrYNDp4FkWGEx3kTp6mjRS MRKovFW0F3xVrnsXwG8mA1tUvSpQUrPoJL2KABypV77QcWXXVwrC9nW8I/Mia7ldD2PPYrO+6 FwD3StGvhtfSdEYhiREySw9NsoUjV4rjLoZyPeVwaA74yeRnFubcwA17HUdj6qMIa/cEw5Lxa 8juGPS5waJpxK53al8geoYFHcVhO/suky2cia/ZaeruhU82lq4gS7+UmZHt05Lj80l4xYIVeC RH+rV1/2wxDEYWx8Pyuv2R7BH5yoxc6cZMYVZ1aXFbbZQ0rA+9+TC/Ef3EET2JJyrdnbCZU8B S4mAEIJshT0FsImWRtn1k3rV5PEjhKcB7BmP07mZV6GN7NgZ3d1ApYpNeTp6VAVrBD1CFhSZr oMIK7TQCctaMKXf1GGv/90Buel67G/kM3rJ5CKbmaWlxAPIZ+Z6CR6fyYM4k5nVT9avOHqsMJ IKfVUH5bcsPSyHhRBRebFfUL5u+8x9UMt7+hz8YmQQZ0LzcPlNmCQ3urDV0=
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/AY5Wf26wmxEPgPOfL5KYZBsDppE>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 09:17:53 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--BCNt5k9BiMNIiFinQE5PRFO8w6bgXDsT7
Content-Type: multipart/mixed; boundary="NSBdGCi9XODUcUEoPj43g668Jb06N1BBm";
 protected-headers="v1"
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
To: =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>,
 "tls@ietf.org" <tls@ietf.org>
Message-ID: <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
In-Reply-To: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>

--NSBdGCi9XODUcUEoPj43g668Jb06N1BBm
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi Colm,

thanks for your review.

I disagree with your assessment in a few places.

First, talk about tickets and point out that distributing the session
key for encrypting the ticket content (Session Ticket Encryption Keys
(STEKs)) is a challenge and raises security concerns. You point to
Akamai CDN and their huge number of hosts.

The TLS 1.3 ticket concept combines three types of tickets approaches
standardized for earlier versions of TLS, namely session resumption
(which caches keys on both sides), and RFC 5077, which allows you to use
self-contained tokens aka tickets in the style of Kerberos tickets.
Finally, you could use RFC 5077 with references to tickets but you loose
the stateless nature (since you have to write keys, and other necessary
parameters in a database).

Which approach is best depends on your infrastructure.

When you use TLS in your environment you need to make a few decisions
about the algorithms you want to support, key lengths, etc. You also
have to determine what ticket concept you want. Maybe the right decision
for a deployment that has to synchronize STEKs across so many hosts
isn't a great idea.

Second, you talk about 0-RTT and replay attacks. In a 0-RTT exchange you
cannot rely on the nonce exchange for replay protection (as it was done
in earlier TLS versions). Instead, you have to rely on other replay
protection mechanisms, and taking the application semantic into account
is obvious approach. Clearly 0-RTT is not applicable to all environments
and hence the spec contains a warning: "Protocols MUST NOT use 0-RTT
data without a profile that defines its use."

What I could, however, imagine is to add either in the TLS handshake or
at the application layer something like a timestamp or a sequence number
so that the server-side can check for replays. This is what has been
done with other security protocols in the past. Is the TLS layer the
right place or the application layer? Hard to say.

Minor issues:

You also suggest that 0-RTT supports PFS. The definition of PFS
unfortunately is not super helpful here when there are so many keys in
play. The PFS definition talks about the loss of the long-term key. What
you care about is the potential loss of the STEKs, which is not a
long-term key.

You write: "Any client that attempts to use a ticket multiple times will
also likely leak the obfuscated_ticket_age value, which is intended to
be secret." The obfuscated_ticket_age is not secret - it is sent in the
clear. What is supposed to be kept confidential is the ticket age. I
have been wondering myself what the privacy value of the
obfuscated_ticket_age, and the ticket age is and I am still not
convinced that it provides much benefit.

Ciao
Hannes

PS: You talk about OATH in this paragraph:

"
To avoid simple spoofing risks, many such systems perform throttling
post-authentication. For example the request may be signed
cryptographically (see the AWS SIGv4 signing protocol or the OATH
signing process), that signature is verified prior to throttling. This
post-authentication property is one reason why such protocols are
designed to be extremely fast to verify, which often means as much
cryptography as possible must be pre-computed, making random nonces
infeasible in many cases.
"

What you actually mean is OAuth (OATH is a different effort also related
to earlier IETF work on one-time-passwords). Your reference points to an
old OAuth specification that has been replaced by OAuth 2.0, which does
not use the same application layer signing anymore.

On 05/02/2017 04:44 PM, Colm MacC=E1rthaigh wrote:
> On Sunday at the TLS:DIV workshop I presented a summary of findings of =
a
> security review we did on TLS1.3 0-RTT, as part of implementing 1.3 in
> s2n. Thanks to feedback in the room I've now tightened up the findings
> from the review and posted them as an issue on the draft GitHub repo:
>=20
> https://github.com/tlswg/tls13-spec/issues/1001
>=20
> I'll summarize the summary: Naturally the focus was on forward secrecy
> and replay. On forward secrecy the main finding was that it's not
> necessary to trade off Forward Secrecy and 0-RTT. A single-use session
> cache can provide it, and with the modification that ekr has created
> in https://github.com/tlswg/tls13-spec/pull/998
> <https://github.com/tlswg/tls13-spec/pull/998> , such a cache works for=

> both pre-auth and post-auth tickets, and it allows clients to build up
> pools of meaningfully distinct tickets.
>=20
> There's also an observation there that it should really be that clients=

> "MUST" use tickets only once. Any re-use likely discloses the obfuscate=
d
> ticket age, which is intended to be secret. Right now it's a "SHOULD". =

>=20
> On replay, the main finding is that what's in the draft is not workably=

> secure, and the review includes 5 different attacks against 0-RTT data
> to illustrate that. Attacks 1 and 2 show that the kind of replay
> permitted by the draft is very different from the kind of replay
> permitted by dkg's existing downgrade-and-retry attack. I also go over
> why it very very difficult to many applications to achieve that
> idempotency, and why one idempotency pattern actually relies on
> non-replayable messages.=20
>=20
> Attack 3 shows that idempotency is not sufficient, applications must
> also be free of measurable side-effects, which is not practical.  Attac=
k
> 4 shows that 0-RTT breaks a common security mechanism:
> spoofing-resistant throttles. Attack 5 shows that 0-RTT replay-ability
> enables an additional form of traffic analysis.=20
>=20
> The recommendation in the review is that implementations "MUST" prevent=

> replays of 0-RTT section, with some additional discussion about why the=

> existing advice is unlikely to be followed, and why consistent
> interoperability matters here.=20
>=20
> Unfortunately, I wasn't aware until Friday that this review would be
> coming so late in the TLD1.3 draft process, and my apologies for that. =
I
> am now planning to attend the future WG in-person meetings and look
> forward to seeing many of you there.=20
>=20
> --=20
> Colm
>=20
>=20
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>=20


--NSBdGCi9XODUcUEoPj43g668Jb06N1BBm--

--BCNt5k9BiMNIiFinQE5PRFO8w6bgXDsT7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: GPGTools - http://gpgtools.org

iQEcBAEBCgAGBQJZCZ+XAAoJEGhJURNOOiAtJ6cIAIQ0us26zGZNQ9xc5RYDUuSV
m1C4MVc5OxmoakrSzubl2x83Aolxd+gt8jtfVF4tNj8JBhl654QTPfAQtBOmm3bu
9PgpLMkE7zOpMQOfdybcQBsX+bsJ9vvRnfkXjlNviKSW5zl0EtVtP6VDW8BWZDod
8dRcqnlE6AgG8kBC+AxHl8+6nBoyL07FSJKxCxWWdhMGSxJm/Yt0mrib5d/zEipi
KGyUHHB6skxrSP11y8UX1f7LcIyC12MT4flAQB0Z5xKT4EM0Ag4CL3/QCVQjh6wb
M3ouuTTv63Oodq37F48AlI0gub+2pOlWC9IYzm4leBTzy/sIX56VI8LhMVpJ91I=
=d2hE
-----END PGP SIGNATURE-----

--BCNt5k9BiMNIiFinQE5PRFO8w6bgXDsT7--


From nobody Wed May  3 05:48:02 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0A96412948E for <tls@ietfa.amsl.com>; Wed,  3 May 2017 05:48:00 -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=allcosts-net.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 QuF9Uhs8RtM1 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 05:47:57 -0700 (PDT)
Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (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 247A912948A for <tls@ietf.org>; Wed,  3 May 2017 05:45:18 -0700 (PDT)
Received: by mail-yw0-x232.google.com with SMTP id k11so83952058ywb.1 for <tls@ietf.org>; Wed, 03 May 2017 05:45:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=NDLsSZ7+6AmDtFWMUz5F7ADNWjrxVjznMvcaG41Olyg=; b=19hqKWsRytl36UhcdBgohlZXHvHQ6cuxFsTSI1GXQNI1SYWWyZQC1aROB+VRLR2JNh EbsdHXd7jFe4F1Fk5VFB8X78Ftpij1KASMBdzUP6/ZKDA1ffc72lbPJmyp/rHEegfNZi CZ7tLUYQ93M8LxbYoh5bEXaXh69jv9BS5LqJ7NW56B2yYODbT1B/xlvrcTF7uv0saTDf gPDcBUpDuoHUC7w5iL3w0wA6frlOW3Ao8Gt037DuylsfyGaQC/zX/HGPn/fX7/2F+2iG 47ii1DWNSpmFJuTn9xhud6h2fvRTESpfWNSXJIS3hncCkpuZYuGmkh5pEJLARwre9Smd n1/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=NDLsSZ7+6AmDtFWMUz5F7ADNWjrxVjznMvcaG41Olyg=; b=S91a+s+4w8+BFPA/MkcSl9cgN866arkp+wZCbkyU8qgDPt/f5X+DpReTpHoVsZW6rS ijthT57SgJ9du5VWlUWP7cOYuat62hImsTZjBG5fpL2tvR1GEnyoWS9b1lvHcq146bvP kop5vE58XTD0JSeVWlqQiK3jCfQ5AK3madGmInspWuty/+st32kyVjHJQlR4stzFMqu/ jVLg90juLb/k4WzoYFzRs6B00RV8SGNyWvcLKMqhPNEumzTf6bCtAgw+jkunFFf6af8h g5kxBPzpb7pl7Ct0yD4Boe+DsY+usXBJGy6J9d4G3QtGME+dbpygkdz06Ojx679eRt/G XS6Q==
X-Gm-Message-State: AN3rC/7L/8eLsnxPBuR6AWh7Qxi3JoafuqWjw/sL8DE1ufgIDHG9FVfE x+KhrPIkQ1uVmiDDktJf+OeNRsoaSLla4Fs=
X-Received: by 10.129.152.4 with SMTP id p4mr28804629ywg.1.1493815517284; Wed, 03 May 2017 05:45:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 05:45:16 -0700 (PDT)
In-Reply-To: <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 05:45:16 -0700
Message-ID: <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com>
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c0bd9ee44afcb054e9e07cd
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/80rLZnj87lzyRo3cvoB5m_RsQo8>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 12:48:00 -0000

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

On Wed, May 3, 2017 at 2:15 AM, Hannes Tschofenig <hannes.tschofenig@gmx.ne=
t
> wrote:
>
> First, talk about tickets and point out that distributing the session
> key for encrypting the ticket content (Session Ticket Encryption Keys
> (STEKs)) is a challenge and raises security concerns. You point to
> Akamai CDN and their huge number of hosts.
>

I used Akamai as a reference as they are probably the worlds largest
deployment of TLS, measured by hosts. But to be clear; Akamai has always
done great work on securing keys and I know it's something they take very
seriously.


> Which approach is best depends on your infrastructure.
>

Here I want to be more opinionated than that. I think that forward secrecy
is important and is more secure, and should always be provided. Its absence
is a security issue, so it's appropriate to highly in a security review.
It's possible in all cases, as shown, and the trade-off is unnecessary from
first principles.

The fundamental problem with STEKs is that there is no forward secrecy, and
in the case of TLS1.3, no FS for critical data. It's an unfortunate
alignment, as it really undoes a lot of the collective good work to deploy
PFS in practice.

Deploying the PFS cipher suites took nudging providers along; and was not
without cost. I think the same thing may happen with STEKs in the
not-too-distant future. People seem to care about getting forward secrecy.
Smart customers with particularly sensitive workloads will insist.

What I could, however, imagine is to add either in the TLS handshake or
> at the application layer something like a timestamp or a sequence number
> so that the server-side can check for replays. This is what has been
> done with other security protocols in the past. Is the TLS layer the
> right place or the application layer? Hard to say.
>

This is easy to say; the TLS layer is the right place. It is not practical
for applications to defend themselves, especially from timing attacks.

You also suggest that 0-RTT supports PFS. The definition of PFS
> unfortunately is not super helpful here when there are so many keys in
> play. The PFS definition talks about the loss of the long-term key. What
> you care about is the potential loss of the STEKs, which is not a
> long-term key.
>

As the crypto-shortcuts paper showed, in some cases servers had STEKs in
place for the duration of the experiment (months) and perhaps years.


> You write: "Any client that attempts to use a ticket multiple times will
> also likely leak the obfuscated_ticket_age value, which is intended to
> be secret." The obfuscated_ticket_age is not secret - it is sent in the
> clear. What is supposed to be kept confidential is the ticket age. I

have been wondering myself what the privacy value of the
> obfuscated_ticket_age, and the ticket age is and I am still not
> convinced that it provides much benefit.
>

Sorry, you're right, it's the ticket_age_add which should remain secret. My
understanding is that as NewSesstionTickets messages occur post-handshake,
that they are encrypted under the session keys, and that value is secret.



>
> Ciao
> Hannes
>
> PS: You talk about OATH in this paragraph:
>
> "
> To avoid simple spoofing risks, many such systems perform throttling
> post-authentication. For example the request may be signed
> cryptographically (see the AWS SIGv4 signing protocol or the OATH
> signing process), that signature is verified prior to throttling. This
> post-authentication property is one reason why such protocols are
> designed to be extremely fast to verify, which often means as much
> cryptography as possible must be pre-computed, making random nonces
> infeasible in many cases.
> "
>
> What you actually mean is OAuth (OATH is a different effort also related
> to earlier IETF work on one-time-passwords). Your reference points to an
> old OAuth specification that has been replaced by OAuth 2.0, which does
> not use the same application layer signing anymore.
>

Thanks for letting me know!


>
> On 05/02/2017 04:44 PM, Colm MacC=C3=A1rthaigh wrote:
> > On Sunday at the TLS:DIV workshop I presented a summary of findings of =
a
> > security review we did on TLS1.3 0-RTT, as part of implementing 1.3 in
> > s2n. Thanks to feedback in the room I've now tightened up the findings
> > from the review and posted them as an issue on the draft GitHub repo:
> >
> > https://github.com/tlswg/tls13-spec/issues/1001
> >
> > I'll summarize the summary: Naturally the focus was on forward secrecy
> > and replay. On forward secrecy the main finding was that it's not
> > necessary to trade off Forward Secrecy and 0-RTT. A single-use session
> > cache can provide it, and with the modification that ekr has created
> > in https://github.com/tlswg/tls13-spec/pull/998
> > <https://github.com/tlswg/tls13-spec/pull/998> , such a cache works for
> > both pre-auth and post-auth tickets, and it allows clients to build up
> > pools of meaningfully distinct tickets.
> >
> > There's also an observation there that it should really be that clients
> > "MUST" use tickets only once. Any re-use likely discloses the obfuscate=
d
> > ticket age, which is intended to be secret. Right now it's a "SHOULD".
> >
> > On replay, the main finding is that what's in the draft is not workably
> > secure, and the review includes 5 different attacks against 0-RTT data
> > to illustrate that. Attacks 1 and 2 show that the kind of replay
> > permitted by the draft is very different from the kind of replay
> > permitted by dkg's existing downgrade-and-retry attack. I also go over
> > why it very very difficult to many applications to achieve that
> > idempotency, and why one idempotency pattern actually relies on
> > non-replayable messages.
> >
> > Attack 3 shows that idempotency is not sufficient, applications must
> > also be free of measurable side-effects, which is not practical.  Attac=
k
> > 4 shows that 0-RTT breaks a common security mechanism:
> > spoofing-resistant throttles. Attack 5 shows that 0-RTT replay-ability
> > enables an additional form of traffic analysis.
> >
> > The recommendation in the review is that implementations "MUST" prevent
> > replays of 0-RTT section, with some additional discussion about why the
> > existing advice is unlikely to be followed, and why consistent
> > interoperability matters here.
> >
> > Unfortunately, I wasn't aware until Friday that this review would be
> > coming so late in the TLD1.3 draft process, and my apologies for that. =
I
> > am now planning to attend the future WG in-person meetings and look
> > forward to seeing many of you there.
> >
> > --
> > Colm
> >
> >
> > _______________________________________________
> > TLS mailing list
> > TLS@ietf.org
> > https://www.ietf.org/mailman/listinfo/tls
> >
>
>


--=20
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 2:15 AM, Hannes Tschofenig <span dir=3D"ltr">&lt=
;<a href=3D"mailto:hannes.tschofenig@gmx.net" target=3D"_blank">hannes.tsch=
ofenig@gmx.net</a>&gt;</span> wrote:<blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;=
border-left-color:rgb(204,204,204);padding-left:1ex">
First, talk about tickets and point out that distributing the session<br>
key for encrypting the ticket content (Session Ticket Encryption Keys<br>
(STEKs)) is a challenge and raises security concerns. You point to<br>
Akamai CDN and their huge number of hosts.<br></blockquote><div><br></div><=
div>I used Akamai as a reference as they are probably the worlds largest de=
ployment of TLS, measured by hosts. But to be clear; Akamai has always done=
 great work on securing keys and I know it&#39;s something they take very s=
eriously.=C2=A0</div><div>=C2=A0=C2=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-styl=
e:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
Which approach is best depends on your infrastructure.<br></blockquote><div=
><br></div><div>Here I want to be more opinionated than that. I think that =
forward secrecy is important and is more secure, and should always be provi=
ded. Its absence is a security issue, so it&#39;s appropriate to highly in =
a security review. It&#39;s possible in all cases, as shown, and the trade-=
off is unnecessary from first principles.=C2=A0</div><div><br></div><div>Th=
e fundamental problem with STEKs is that there is no forward secrecy, and i=
n the case of TLS1.3, no FS for critical data. It&#39;s an unfortunate alig=
nment, as it really undoes a lot of the collective good work to deploy PFS =
in practice.=C2=A0<br></div><div><br></div><div>Deploying the PFS cipher su=
ites took nudging providers along; and was not without cost. I think the sa=
me thing may happen with STEKs in the not-too-distant future. People seem t=
o care about getting forward secrecy. Smart customers with particularly sen=
sitive workloads will insist.</div><div><br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-lef=
t-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
What I could, however, imagine is to add either in the TLS handshake or<br>
at the application layer something like a timestamp or a sequence number<br=
>
so that the server-side can check for replays. This is what has been<br>
done with other security protocols in the past. Is the TLS layer the<br>
right place or the application layer? Hard to say.<br></blockquote><div><br=
></div><div>This is easy to say; the TLS layer is the right place. It is no=
t practical for applications to defend themselves, especially from timing a=
ttacks.=C2=A0</div><div><br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;=
border-left-color:rgb(204,204,204);padding-left:1ex">
You also suggest that 0-RTT supports PFS. The definition of PFS<br>
unfortunately is not super helpful here when there are so many keys in<br>
play. The PFS definition talks about the loss of the long-term key. What<br=
>
you care about is the potential loss of the STEKs, which is not a<br>
long-term key.<br></blockquote><div><br></div><div>As the crypto-shortcuts =
paper showed, in some cases servers had STEKs in place for the duration of =
the experiment (months) and perhaps years.=C2=A0</div><div>=C2=A0</div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);paddi=
ng-left:1ex">You write: &quot;Any client that attempts to use a ticket mult=
iple times will<br>
also likely leak the obfuscated_ticket_age value, which is intended to<br>
be secret.&quot; The obfuscated_ticket_age is not secret - it is sent in th=
e<br>
clear. What is supposed to be kept confidential is the ticket age. I</block=
quote><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,=
204);padding-left:1ex">
have been wondering myself what the privacy value of the<br>
obfuscated_ticket_age, and the ticket age is and I am still not<br>
convinced that it provides much benefit.<br></blockquote><div><br></div><di=
v>Sorry, you&#39;re right, it&#39;s the=C2=A0<span style=3D"color:rgb(51,51=
,51);font-family:&#39;helvetica neue&#39;,helvetica,arial,sans-serif;font-s=
ize:15px">ticket_age_add=C2=A0</span><span style=3D"color:rgb(51,51,51);fon=
t-family:&#39;helvetica neue&#39;,helvetica,arial,sans-serif">which should =
remain secret</span><span style=3D"color:rgb(51,51,51);font-family:&#39;hel=
vetica neue&#39;,helvetica,arial,sans-serif;font-size:15px">.=C2=A0</span>M=
y understanding is that as NewSesstionTickets messages occur post-handshake=
, that they are encrypted under the session keys, and that value is secret.=
=C2=A0</div><div>=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-st=
yle:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>
Ciao<br>
Hannes<br>
<br>
PS: You talk about OATH in this paragraph:<br>
<br>
&quot;<br>
To avoid simple spoofing risks, many such systems perform throttling<br>
post-authentication. For example the request may be signed<br>
cryptographically (see the AWS SIGv4 signing protocol or the OATH<br>
signing process), that signature is verified prior to throttling. This<br>
post-authentication property is one reason why such protocols are<br>
designed to be extremely fast to verify, which often means as much<br>
cryptography as possible must be pre-computed, making random nonces<br>
infeasible in many cases.<br>
&quot;<br>
<br>
What you actually mean is OAuth (OATH is a different effort also related<br=
>
to earlier IETF work on one-time-passwords). Your reference points to an<br=
>
old OAuth specification that has been replaced by OAuth 2.0, which does<br>
not use the same application layer signing anymore.<br></blockquote><div><b=
r></div><div>Thanks for letting me know!</div><div>=C2=A0</div><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1=
px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:=
1ex">
<div class=3D"gmail-HOEnZb"><div class=3D"gmail-h5"><br>
On 05/02/2017 04:44 PM, Colm MacC=C3=A1rthaigh wrote:<br>
&gt; On Sunday at the TLS:DIV workshop I presented a summary of findings of=
 a<br>
&gt; security review we did on TLS1.3 0-RTT, as part of implementing 1.3 in=
<br>
&gt; s2n. Thanks to feedback in the room I&#39;ve now tightened up the find=
ings<br>
&gt; from the review and posted them as an issue on the draft GitHub repo:<=
br>
&gt;<br>
&gt; <a href=3D"https://github.com/tlswg/tls13-spec/issues/1001" rel=3D"nor=
eferrer" target=3D"_blank">https://github.com/tlswg/<wbr>tls13-spec/issues/=
1001</a><br>
&gt;<br>
&gt; I&#39;ll summarize the summary: Naturally the focus was on forward sec=
recy<br>
&gt; and replay. On forward secrecy the main finding was that it&#39;s not<=
br>
&gt; necessary to trade off Forward Secrecy and 0-RTT. A single-use session=
<br>
&gt; cache can provide it, and with the modification that ekr has created<b=
r>
&gt; in <a href=3D"https://github.com/tlswg/tls13-spec/pull/998" rel=3D"nor=
eferrer" target=3D"_blank">https://github.com/tlswg/<wbr>tls13-spec/pull/99=
8</a><br>
&gt; &lt;<a href=3D"https://github.com/tlswg/tls13-spec/pull/998" rel=3D"no=
referrer" target=3D"_blank">https://github.com/tlswg/<wbr>tls13-spec/pull/9=
98</a>&gt; , such a cache works for<br>
&gt; both pre-auth and post-auth tickets, and it allows clients to build up=
<br>
&gt; pools of meaningfully distinct tickets.<br>
&gt;<br>
&gt; There&#39;s also an observation there that it should really be that cl=
ients<br>
&gt; &quot;MUST&quot; use tickets only once. Any re-use likely discloses th=
e obfuscated<br>
&gt; ticket age, which is intended to be secret. Right now it&#39;s a &quot=
;SHOULD&quot;.<br>
&gt;<br>
&gt; On replay, the main finding is that what&#39;s in the draft is not wor=
kably<br>
&gt; secure, and the review includes 5 different attacks against 0-RTT data=
<br>
&gt; to illustrate that. Attacks 1 and 2 show that the kind of replay<br>
&gt; permitted by the draft is very different from the kind of replay<br>
&gt; permitted by dkg&#39;s existing downgrade-and-retry attack. I also go =
over<br>
&gt; why it very very difficult to many applications to achieve that<br>
&gt; idempotency, and why one idempotency pattern actually relies on<br>
&gt; non-replayable messages.<br>
&gt;<br>
&gt; Attack 3 shows that idempotency is not sufficient, applications must<b=
r>
&gt; also be free of measurable side-effects, which is not practical.=C2=A0=
 Attack<br>
&gt; 4 shows that 0-RTT breaks a common security mechanism:<br>
&gt; spoofing-resistant throttles. Attack 5 shows that 0-RTT replay-ability=
<br>
&gt; enables an additional form of traffic analysis.<br>
&gt;<br>
&gt; The recommendation in the review is that implementations &quot;MUST&qu=
ot; prevent<br>
&gt; replays of 0-RTT section, with some additional discussion about why th=
e<br>
&gt; existing advice is unlikely to be followed, and why consistent<br>
&gt; interoperability matters here.<br>
&gt;<br>
&gt; Unfortunately, I wasn&#39;t aware until Friday that this review would =
be<br>
&gt; coming so late in the TLD1.3 draft process, and my apologies for that.=
 I<br>
&gt; am now planning to attend the future WG in-person meetings and look<br=
>
&gt; forward to seeing many of you there.<br>
&gt;<br>
&gt; --<br>
&gt; Colm<br>
&gt;<br>
&gt;<br>
</div></div><div class=3D"gmail-HOEnZb"><div class=3D"gmail-h5">&gt; ______=
________________________<wbr>_________________<br>
&gt; TLS mailing list<br>
&gt; <a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferre=
r" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
&gt;<br>
<br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div class=3D"gmail_signature">Colm</div>
</div></div>

--94eb2c0bd9ee44afcb054e9e07cd--


From nobody Wed May  3 06:10:14 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1985E12441E for <tls@ietfa.amsl.com>; Wed,  3 May 2017 06:10:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-0.001] autolearn=ham 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 UXGvIn7M7j7X for <tls@ietfa.amsl.com>; Wed,  3 May 2017 06:10:11 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EC591129400 for <tls@ietf.org>; Wed,  3 May 2017 06:07:18 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 0755F7A32F1 for <tls@ietf.org>; Wed,  3 May 2017 13:07:17 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com>
Date: Wed, 3 May 2017 09:07:16 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/V9qbMvWoiEhDK1djIJvHIxrgeT4>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 13:10:13 -0000

> On May 3, 2017, at 8:45 AM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
>=20
> The fundamental problem with STEKs is that there is no forward secrecy

Sorry, STEKs are not long-term keys.  So it makes little sense to claim
that use of STEKs breaks forward secrecy.  Indeed STEKs may be more safe
than server-side storage of complete sessions, since the latter are much
more likely to end up on disk.

It is a shared meme that session tickets break forward secrecy, but it =
is
not correct.  Poorly implemented session ticket keys can be a problem, =
but
so can poorly implemented session caches.

The distributed single-use caches you are imagining are very complex =
beasts,
and I am much less inclined to trust those than a comparatively simple =
key
rollover system (just three keys need to be known at any time, the past =
key
for as yet unexpired sessions, the current key used to mint and decrypt
new sessions and the future key created shortly before the current key =
becomes
the past key, giving enough time for all the cluster nodes to get a =
copy).

The time window for session compromise is never zero, after all, the =
keys
are in memory while the connection is active.  It is unwise to insist =
that
forward-secrecy is broken if session keys are not destroyed =
instantaneously
at session closure.  A reasonably short non-zero window of exposure may =
yield
greater security benefit than a design which appears to be more secure =
by
attempting synchronous destruction of keys at much greater overall =
design
complexity.

--=20
--=20
	Viktor.


From nobody Wed May  3 08:24:37 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 57BA31200E5 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 08:24:36 -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=allcosts-net.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 9EW-We6QanWI for <tls@ietfa.amsl.com>; Wed,  3 May 2017 08:24:34 -0700 (PDT)
Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (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 94BB6124D68 for <tls@ietf.org>; Wed,  3 May 2017 08:22:02 -0700 (PDT)
Received: by mail-yw0-x22b.google.com with SMTP id u70so86704777ywe.2 for <tls@ietf.org>; Wed, 03 May 2017 08:22:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=+SPOXmR90jCRv8j89EOPn3Iu1StI94OTEC14ofzEWEA=; b=rH+lHN3l3EdGRG0lKRmDLxHciOV2ZzoUfoZ9aSdWuqBCFLQv9HHTERVCSENm0P/7QB 6IpGQvj22tu6f5Bbh45JGI1X+ESOiiCovzWKx2CymwHHNeh41gHLr5wC9rX3gy76uTRI IJp7XRSaRRYIVsdO2kpfPrD085p2Z8PLVx1qYehmUiVls1dmERoPRoP9C8voLd9awQth JmNLMjdC92zSTA744l/dPvSoFmra4ABk67ccCpPEb0gbq61vwPeb1qsQG0fbSgRfanfs Lt7f6pirARnvoXfkxH7eitXM5EIs8NXsFH4drobP8bnVbanyk2wn0piVQtZOIthFoMs1 BFFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=+SPOXmR90jCRv8j89EOPn3Iu1StI94OTEC14ofzEWEA=; b=bAI629+yxBnixrhApqrzpbiAm8kkloP2neNQ8C4oUYksX2paHFk4N3BF+FgcxMM7Eg O05SV4mxts0SA8DUapPocl4FdBgQ7DC+ODxIzlwSug0LH6U3M9EbY8eJbOjqCrKhMZLt R6gyypMFpY6fJVPCkwvc1E2aTB2WLIAourcQDFFHxfUfOLJOQEKqG0yEsH+JIeylnXgN RIK7w/hk/IQCKFjNzepyb8w3HICZgW83KBAVk8FogQsspuPdqRZKcGyP9ZEsm/KzAo8a 3LWfDU7OdFHAqYKBc406DVcAiWqIT/y+MKvWPZL+z6Iq9WllCl9tRbyQXzh8pd4JYhuX Fwig==
X-Gm-Message-State: AN3rC/6i2ezesbWCWub8FIjkafR5ga+AYrezjb0zZgDcAKjEElaAhzrg 3IO27Ld3RZ4MHS6/1BWf9woeFG5QZwht
X-Received: by 10.129.105.198 with SMTP id e189mr29592051ywc.296.1493824921379;  Wed, 03 May 2017 08:22:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 08:22:00 -0700 (PDT)
In-Reply-To: <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 08:22:00 -0700
Message-ID: <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11471256cbc517054ea03773
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/kF6S4Ad3QmXkkbxyR5rDceyQhV8>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 15:24:36 -0000

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

On Wed, May 3, 2017 at 6:07 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:
>
> > On May 3, 2017, at 8:45 AM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
> >
> > The fundamental problem with STEKs is that there is no forward secrecy
>
> Sorry, STEKs are not long-term keys.


There's nothing enforcing that, and research has shown STEKs being used for
long periods of time.

I think if we ask the question "What is probably the weakest security point
in all of TLS?" I would give STEKs a strong nomination. Some problems;

* STEKs can be used for years at a time
* STEKs can be used across many domains and certificates
* STEKs are often stored unencrypted on disk, hardcoded in configs
* No mechanism to enforce how tickets are encrypted. Could be RC4. Most
likely is AES, which mode?
* Tickets are replay-able, weakening the protections against side channels.
Most common algorithm is not side-channel resistant.

They just seem to undo a lot of the good work we do in moving TLS endpoints
to better algorithms and security modes.


> So it makes little sense to claim that use of STEKs breaks forward
> secrecy.


I don't think this is even a controversial claim; the draft itself
describes it. STEKs do break forward secrecy.


> Indeed STEKs may be more safe
> than server-side storage of complete sessions, since the latter are much
> more likely to end up on disk.
>

STEKs often go in config .. which is usually on dist. Caches are most often
in-memory only.


> It is a shared meme that session tickets break forward secrecy, but it is
> not correct.  Poorly implemented session ticket keys can be a problem, bu=
t
> so can poorly implemented session caches.
>

That's true about caches, but one of the points in the review is that the
economics work a little different and may favor security.

>
> The distributed single-use caches you are imagining are very complex beas=
ts
>

My bias here is that I work on distributed systems, but a single-key
distributed hash table is one of the simplest things we build. Though I
acknowledge that it takes good attention to detail to properly secure
access, and the data.


> and I am much less inclined to trust those than a comparatively simple ke=
y
> rollover system (just three keys need to be known at any time, the past k=
ey
> for as yet unexpired sessions, the current key used to mint and decrypt
> new sessions and the future key created shortly before the current key
> becomes
> the past key, giving enough time for all the cluster nodes to get a copy)=
.
>

You can take a hybrid approach where you use such keys to encrypt the data
in the cache itself. I think that gives you the "good" combined security
properties of both.

The time window for session compromise is never zero, after all, the keys
> are in memory while the connection is active.  It is unwise to insist tha=
t
> forward-secrecy is broken if session keys are not destroyed instantaneous=
ly
> at session closure.


Others argue for something even stronger than this: that the keys should be
ratcheted/rekeyed even while the session is still in use, to provide some
forward secrecy for prior data on a connection that is still active. This
is the general direction of best practice.


>   A reasonably short non-zero window of exposure may yield
> greater security benefit than a design which appears to be more secure by
> attempting synchronous destruction of keys at much greater overall design
> complexity.
>

Yep, that is true.

--=20
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 6:07 AM, Viktor Dukhovni <span dir=3D"ltr">&lt;<=
a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukhov=
ni.org</a>&gt;</span> wrote:<blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""=
>
&gt; On May 3, 2017, at 8:45 AM, Colm MacC=C3=A1rthaigh &lt;<a href=3D"mail=
to:colm@allcosts.net">colm@allcosts.net</a>&gt; wrote:<br>
&gt;<br>
&gt; The fundamental problem with STEKs is that there is no forward secrecy=
<br>
<br>
</span>Sorry, STEKs are not long-term keys.</blockquote><div><br></div><div=
>There&#39;s nothing enforcing that, and research has shown STEKs being use=
d for long periods of time.=C2=A0</div><div><br></div><div>I think if we as=
k the question &quot;What is probably the weakest security point in all of =
TLS?&quot; I would give STEKs a strong nomination. Some problems;</div><div=
><br></div><div>* STEKs can be used for years at a time</div><div>* STEKs c=
an be used across many domains and certificates</div><div>* STEKs are often=
 stored unencrypted on disk, hardcoded in configs</div><div>* No mechanism =
to enforce how tickets are encrypted. Could be RC4. Most likely is AES, whi=
ch mode?</div><div>* Tickets are replay-able, weakening the protections aga=
inst side channels. Most common algorithm is not side-channel resistant.=C2=
=A0</div><div><br></div><div>They just seem to undo a lot of the good work =
we do in moving TLS endpoints to better algorithms and security modes.=C2=
=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So it makes little=
 sense to claim=C2=A0that use of STEKs breaks forward secrecy.=C2=A0</block=
quote><div><br></div><div>I don&#39;t think this is even a controversial cl=
aim; the draft itself describes it. STEKs do break forward secrecy.=C2=A0</=
div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Indeed STEKs may be mo=
re safe<br>
than server-side storage of complete sessions, since the latter are much<br=
>
more likely to end up on disk.<br></blockquote><div><br></div><div>STEKs of=
ten go in config .. which is usually on dist. Caches are most often in-memo=
ry only.=C2=A0<br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It is a shared meme that session tickets break forward secrecy, but it is<b=
r>
not correct.=C2=A0 Poorly implemented session ticket keys can be a problem,=
 but<br>
so can poorly implemented session caches.<br></blockquote><div><br></div><d=
iv>That&#39;s true about caches, but one of the points in the review is tha=
t the economics work a little different and may favor security.=C2=A0</div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
The distributed single-use caches you are imagining are very complex beasts=
<br></blockquote><div><br></div><div>My bias here is that I work on distrib=
uted systems, but a single-key distributed hash table is one of the simples=
t things we build. Though I acknowledge that it takes good attention to det=
ail to properly secure access, and the data.=C2=A0</div><div>=C2=A0</div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">
and I am much less inclined to trust those than a comparatively simple key<=
br>
rollover system (just three keys need to be known at any time, the past key=
<br>
for as yet unexpired sessions, the current key used to mint and decrypt<br>
new sessions and the future key created shortly before the current key beco=
mes<br>
the past key, giving enough time for all the cluster nodes to get a copy).<=
br></blockquote><div><br></div><div>You can take a hybrid approach where yo=
u use such keys to encrypt the data in the cache itself. I think that gives=
 you the &quot;good&quot; combined security properties of both.=C2=A0</div>=
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">
The time window for session compromise is never zero, after all, the keys<b=
r>
are in memory while the connection is active.=C2=A0 It is unwise to insist =
that<br>
forward-secrecy is broken if session keys are not destroyed instantaneously=
<br>
at session closure.</blockquote><div><br></div><div>Others argue for someth=
ing even stronger than this: that the keys should be ratcheted/rekeyed even=
 while the session is still in use, to provide some forward secrecy for pri=
or data on a connection that is still active. This is the general direction=
 of best practice. =C2=A0<br></div><div>=C2=A0</div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">=C2=A0 A reasonably short non-zero window of exposure may yield<br>
greater security benefit than a design which appears to be more secure by<b=
r>
attempting synchronous destruction of keys at much greater overall design<b=
r>
complexity.<br></blockquote><div><br></div><div>Yep, that is true.=C2=A0</d=
iv></div><div><br></div>-- <br><div class=3D"gmail_signature" data-smartmai=
l=3D"gmail_signature">Colm</div>
</div></div>

--001a11471256cbc517054ea03773--


From nobody Wed May  3 08:33:44 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 98D0A127A91 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 08:33:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 DJBqeQ3_KeaE for <tls@ietfa.amsl.com>; Wed,  3 May 2017 08:33:34 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 00964129B88 for <tls@ietf.org>; Wed,  3 May 2017 08:31:04 -0700 (PDT)
Received: from pps.filterd (m0050102.ppops.net [127.0.0.1]) by m0050102.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v43FQmnR016245; Wed, 3 May 2017 16:31:03 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=jan2016.eng; bh=01jURIaDFlVxXPz194Duhnbz8Lkyw1UU+bO0pHjrX48=; b=kyKXzvWN4FmC8RpmjfD2GL6QZlt9McYv73pr+I2t4LWU/8GuLZVn9ROFmaRZPLbv2g4X zbi70L5qcsMmHSoHJjLHUDaf/49EFc9rpcXpi9KdvSmReLXb1NJfgHZ18VED2PbuP7tJ bzr3TN0WiWHwEU90ChDgJBcVefZiC9gSgnIVvnUTE6b4pdQVKmSrX6m2yJExOOcH6vUY AoVu5dMmSroxyyTovQMaj1PzCPG4Bn/M+34XcFhmehwNdOLsdQRAeCTPFDXXc4AhKQQn kJSWpCMUxg5XKydY5+msSRIUqsJb0yQLAu8DZopfw+xlifUT7JxlfcmI4BTlG5XPpidk lA== 
Received: from prod-mail-ppoint2 (a184-51-33-19.deploy.static.akamaitechnologies.com [184.51.33.19] (may be forged)) by m0050102.ppops.net-00190b01. with ESMTP id 2a72my3wqw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 May 2017 16:31:03 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v43FPirt006499; Wed, 3 May 2017 11:31:02 -0400
Received: from email.msg.corp.akamai.com ([172.27.25.34]) by prod-mail-ppoint2.akamai.com with ESMTP id 2a72m919up-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 03 May 2017 11:31:02 -0400
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com (172.27.27.101) by ustx2ex-dag1mb3.msg.corp.akamai.com (172.27.27.103) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Wed, 3 May 2017 10:31:01 -0500
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com ([172.27.6.131]) by ustx2ex-dag1mb1.msg.corp.akamai.com ([172.27.6.131]) with mapi id 15.00.1263.000; Wed, 3 May 2017 10:31:01 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>, TLS WG <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NICDv1l4S8FUWU9Zh5nPuktKHiqKmAgAA6vACAAAYlAIAAJaUA//+uO5A=
Date: Wed, 3 May 2017 15:31:00 +0000
Message-ID: <80117b9d07ac40138bd059a603b37847@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com>
In-Reply-To: <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.36.217]
Content-Type: multipart/alternative; boundary="_000_80117b9d07ac40138bd059a603b37847ustx2exdag1mb1msgcorpak_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-03_12:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705030285
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-03_12:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705030285
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/MAn-HwyUe0X5milA__7_Xbs_hp0>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 15:33:37 -0000

--_000_80117b9d07ac40138bd059a603b37847ustx2exdag1mb1msgcorpak_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

RldJVywgSSBhZ3JlZSB3aXRoIENvbG0gYWJvdXQgU1RFS+KAmXMgYmVpbmcgVExTIDEuM+KAmXMg
d2Vha2VzdCBwb2ludCwgZm9yIHRoZSByZWFzb25zIGhlIGxpc3RzLiAgVGhlIHNlY3VyaXR5IHBy
b3BlcnRpZXMgYXJlIHZlcnkgZGlmZmVyZW50IGZyb20gdGhlIGZ1bGwtaGFuZHNoYWtlIFRMUyAx
LjMsIGFuZCB0aGF0IGlzIHdoeSBPcGVuU1NMIHRyZWF0cyDigJxlYXJseSBkYXRh4oCdIGFzIGEg
Y29tcGxldGVseSBzZXBhcmF0ZSB0aGluZyBmcm9tIHRoZSDigJxub3JtYWwgc3RyZWFtLuKAnQ0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R5bGU9
ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7Q2FsaWJyaSZxdW90OyxzYW5zLXNl
cmlmIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRt
bD4NCg==

--_000_80117b9d07ac40138bd059a603b37847ustx2exdag1mb1msgcorpak_--


From nobody Wed May  3 08:58:02 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 10671129B19 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 08:58:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level: 
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=ham 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 Fd4wNizH4smt for <tls@ietfa.amsl.com>; Wed,  3 May 2017 08:57:59 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF161129435 for <tls@ietf.org>; Wed,  3 May 2017 08:55:47 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 644CB7A32F1 for <tls@ietf.org>; Wed,  3 May 2017 15:55:46 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com>
Date: Wed, 3 May 2017 11:55:45 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/GmHJwlsXKHlfNLzIKo5UXqs8qYg>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 15:58:01 -0000

> On May 3, 2017, at 11:22 AM, Colm MacC=C3=A1rthaigh =
<colm@allcosts.net> wrote:
>=20
> There's nothing enforcing that, and research has shown STEKs being =
used for long periods of time.

That's an implementation defect.  Not a problem with STEKs as such.

In Postfix STEK lifetime =3D=3D 2 * session lifetime (the latter =
defaults to 1 hour).

Some time this year I'll introduce key rotation by default into OpenSSL, =
which
will result in short-term STEKs for all applications that don't =
implement session
ticket key management callbacks.  That way, it is not just applications =
that take
the time to handle key rotation that will get short-term STEKs.=20

Mind you, long-lived servers such as Apache, Nginx, ... should also =
implement
key rotation via the relevant callback mechanisms and should not use =
static
keys.  Sloppy implementations are not a problem with STEKs, the same =
sloppy
implementations will just as likely have insecure caches.

--=20
	Viktor.


From nobody Wed May  3 09:04:16 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2B55B129ABE for <tls@ietfa.amsl.com>; Wed,  3 May 2017 09:04:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 VywnmnSflqMk for <tls@ietfa.amsl.com>; Wed,  3 May 2017 09:04:14 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C28C4129ACD for <tls@ietf.org>; Wed,  3 May 2017 09:01:55 -0700 (PDT)
Received: from pps.filterd (m0050093.ppops.net [127.0.0.1]) by m0050093.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v43FukAN008544 for <tls@ietf.org>; Wed, 3 May 2017 17:01:53 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=mK9YplqOdmXTEVuwm/WYYEJpsdxUr8BYu31sZDtFuUM=; b=ZB+r2DBH+r0daHq0WIQRJliXB9V1bKK5yjzrB571WUGjHZEsGUCfX+xEBWFxyCvahA0r uoKCILKZKfqDKdAxEHOUl+cn/SIcBQBcBqpvLgJrgAVUzRqkRxGkQODyJcq8JtfagVUm FhxAzPPI1+fnrSGE6fcXkNYIxbv9VKpsEQFJga3pFFLSCSlTX84G3K9ZQ92kGse3ka/1 CK/izFddKI57cO+2PeWAu32Ft/vdCDTpCErEV9TqRy6PJJSxnmF4S5YugI07RWCi1Skz s3VBH5UOuy27g18lUaIng9hxR8jSnsOfnjQFfHMa6TWznfkUI5qU7ukoBqHvPdvXrhbO qw== 
Received: from prod-mail-ppoint2 (a184-51-33-19.deploy.static.akamaitechnologies.com [184.51.33.19] (may be forged)) by m0050093.ppops.net-00190b01. with ESMTP id 2a72n4vcm5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <tls@ietf.org>; Wed, 03 May 2017 17:01:52 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v43Fp2dx021692 for <tls@ietf.org>; Wed, 3 May 2017 12:01:49 -0400
Received: from email.msg.corp.akamai.com ([172.27.25.34]) by prod-mail-ppoint2.akamai.com with ESMTP id 2a72m91bky-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <tls@ietf.org>; Wed, 03 May 2017 12:01:49 -0400
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com (172.27.27.101) by ustx2ex-dag1mb6.msg.corp.akamai.com (172.27.27.107) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Wed, 3 May 2017 09:01:47 -0700
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com ([172.27.6.131]) by ustx2ex-dag1mb1.msg.corp.akamai.com ([172.27.6.131]) with mapi id 15.00.1263.000; Wed, 3 May 2017 11:01:47 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: TLS WG <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NICDv1l4S8FUWU9Zh5nPuktKHiqKmAgAA6vACAAAYlAIAAJaUAgAAJboD//62gwA==
Date: Wed, 3 May 2017 16:01:46 +0000
Message-ID: <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org>
In-Reply-To: <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.36.217]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-03_12:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705030292
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-03_12:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705030294
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/s8IjlMf9ci-o0ZChI9xzN_Sk_Sc>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 16:04:15 -0000

PiBTb21lIHRpbWUgdGhpcyB5ZWFyIEknbGwgaW50cm9kdWNlIGtleSByb3RhdGlvbiBieSBkZWZh
dWx0IGludG8gT3BlblNTTCwgd2hpY2gNCg0KR3JlYXQgOikNCg0KPiB1c2Ugc3RhdGljIGtleXMu
ICBTbG9wcHkgaW1wbGVtZW50YXRpb25zIGFyZSBub3QgYSBwcm9ibGVtIHdpdGggU1RFS3MsIHRo
ZQ0KPiBzYW1lIHNsb3BweSBpbXBsZW1lbnRhdGlvbnMgd2lsbCBqdXN0IGFzIGxpa2VseSBoYXZl
IGluc2VjdXJlIGNhY2hlcy4NCg0KVGhlIHByb3RvY29sIGRlc2lnbiBzaG91bGQgYXZvaWQgc2V0
dGluZyB0cmFwcyBmb3IgdGhlIHVud2FyeS4NCg0K


From nobody Wed May  3 09:12:28 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 76778126B7F for <tls@ietfa.amsl.com>; Wed,  3 May 2017 09:12:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 VOT1a1oF8-nD for <tls@ietfa.amsl.com>; Wed,  3 May 2017 09:12:25 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 151F012869B for <tls@ietf.org>; Wed,  3 May 2017 09:10:13 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 3920E7A32F1 for <tls@ietf.org>; Wed,  3 May 2017 16:10:13 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com>
Date: Wed, 3 May 2017 12:10:12 -0400
Content-Transfer-Encoding: 7bit
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/tC9biBIsy1alFuS40cDxLSsZU8k>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 16:12:26 -0000

> On May 3, 2017, at 12:01 PM, Salz, Rich <rsalz@akamai.com> wrote:
> 
> The protocol design should avoid setting traps for the unwary.

No, that responsibility falls on libraries.  STEKs are not a trap for the
unweary.  Libraries that support static session tickets by default can be
viewed as such a trap.  So the onus to fix this is on us (OpenSSL team)
not the TLS protocol.

-- 
	Viktor.


From nobody Wed May  3 09:17:27 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 557B812783A for <tls@ietfa.amsl.com>; Wed,  3 May 2017 09:17:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 Q19pfIHZXuyA for <tls@ietfa.amsl.com>; Wed,  3 May 2017 09:17:23 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A2478128E19 for <tls@ietf.org>; Wed,  3 May 2017 09:15:25 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v43GF4Ob014777 for <tls@ietf.org>; Wed, 3 May 2017 17:15:22 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=loQ0yDINLsRlgLN7rWVozPMkcML8ZUOFfKC8QCv6xWc=; b=EPMKFxF6U05vl2ullBNQsJ610ZSkyLc01BQ0rv1qzmOLPJ7Hce+YwjECiQAWOFOM3xk2 VudRU9vKYEOFXZIRaVJ0NMfkNGcdtKob2qJ51oJ1+DQtp/m1WJzS8gTx5aC9sm8xjZkE GhVJSfbWhKJr/xwCITVb72HoVjV72tGc+UYZagFT3ty2o3aFVVxiFJiI23YX3RveBzOV 13nxbWrcg63Ws7IbGRQ37ySzBRMvBXMdbXwylZsxrOZ1oTIY8EM4Xi9jxsXTjc8cZ2xJ wy5acn0qHhl4onyrNSGoDqA/or2x4OEeqcwed4TutWIB4Fvahy3QmfhKj2DABty/VTMa Rw== 
Received: from prod-mail-ppoint3 ([96.6.114.86]) by m0050096.ppops.net-00190b01. with ESMTP id 2a72pcm192-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <tls@ietf.org>; Wed, 03 May 2017 17:15:21 +0100
Received: from pps.filterd (prod-mail-ppoint3.akamai.com [127.0.0.1]) by prod-mail-ppoint3.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v43G4NCE014814 for <tls@ietf.org>; Wed, 3 May 2017 12:15:15 -0400
Received: from email.msg.corp.akamai.com ([172.27.25.34]) by prod-mail-ppoint3.akamai.com with ESMTP id 2a72mb20y1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <tls@ietf.org>; Wed, 03 May 2017 12:15:15 -0400
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com (172.27.27.101) by ustx2ex-dag1mb4.msg.corp.akamai.com (172.27.27.104) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Wed, 3 May 2017 11:15:14 -0500
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com ([172.27.6.131]) by ustx2ex-dag1mb1.msg.corp.akamai.com ([172.27.6.131]) with mapi id 15.00.1263.000; Wed, 3 May 2017 11:15:14 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: TLS WG <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NICDv1l4S8FUWU9Zh5nPuktKHiqKmAgAA6vACAAAYlAIAAJaUAgAAJboD//62gwIAAVmoA//+tbDA=
Date: Wed, 3 May 2017 16:15:14 +0000
Message-ID: <7e8cdee4abfb43b692efe2f570059bfb@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org>
In-Reply-To: <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.36.217]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-03_12:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705030294
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-03_13:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705030297
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/NGnYNEcTGckh-a8f-mqEQtpL-h4>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 16:17:25 -0000

> No, that responsibility falls on libraries.  STEKs are not a trap for the=
 unweary.

Unweary :)  Funny.

We disagree.  And I think the concerns Colm has raised show that others are=
 also in agreement.


From nobody Wed May  3 09:31:23 2017
Return-Path: <frodo@baggins.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 052F1129B21 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 09:31:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.6
X-Spam-Level: 
X-Spam-Status: No, score=0.6 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham 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 hKlBD1x9x1fe for <tls@ietfa.amsl.com>; Wed,  3 May 2017 09:31:20 -0700 (PDT)
Received: from mx496502.smtp-engine.com (mx496502.smtp-engine.com [IPv6:2001:8d8:968:7d00::19:7e53]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 22799129B3C for <tls@ietf.org>; Wed,  3 May 2017 09:29:15 -0700 (PDT)
Received: from mail-it0-f46.google.com (mail-it0-f46.google.com [209.85.214.46]) by mx496502.smtp-engine.com (Postfix) with ESMTPSA id 29EF0184 for <tls@ietf.org>; Wed,  3 May 2017 17:29:12 +0100 (BST)
Received: by mail-it0-f46.google.com with SMTP id e65so40335788ita.1 for <tls@ietf.org>; Wed, 03 May 2017 09:29:12 -0700 (PDT)
X-Gm-Message-State: AN3rC/6ajBXtYVJadPYLaK+jZYaoi+oFYWk9BPOP/9LFEMuPitgsmX6M XzqTl2DITBKWKgO7mLpHNBZZqU1MCQ==
X-Received: by 10.36.60.132 with SMTP id m126mr1545439ita.113.1493828951564; Wed, 03 May 2017 09:29:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.127.79 with HTTP; Wed, 3 May 2017 09:29:11 -0700 (PDT)
From: Matt Caswell <frodo@baggins.org>
Date: Wed, 3 May 2017 17:29:11 +0100
X-Gmail-Original-Message-ID: <CAMoSCWaqTUrQC0RLV+xN1HTnpmo2Q_vMmvi3r4CLn4GvMu-Ocw@mail.gmail.com>
Message-ID: <CAMoSCWaqTUrQC0RLV+xN1HTnpmo2Q_vMmvi3r4CLn4GvMu-Ocw@mail.gmail.com>
To: "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/yCgvJTADiz_C6EtwOUdSMphMlck>
Subject: [TLS] OpenSSL now at draft-20
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 16:31:22 -0000

FYI, I have just made the necessary updates to bring the OpenSSL
master branch up to draft-20 compatibility. Please test!!

Thanks

Matt


From nobody Wed May  3 11:18:50 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5E09A129B5E for <tls@ietfa.amsl.com>; Wed,  3 May 2017 11:18:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.401
X-Spam-Level: 
X-Spam-Status: No, score=-2.401 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 Wj-FkSMVahfY for <tls@ietfa.amsl.com>; Wed,  3 May 2017 11:18:48 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5BBC4129B9A for <tls@ietf.org>; Wed,  3 May 2017 11:16:48 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id F3D3DA007630; Wed,  3 May 2017 11:16:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=+3OukeRx6QwJYN WxoufhuuiaPFg=; b=FqZPueB/KFXazFBlrVZfHjyrbYg92Qp7NZ2B2q1qpWQCM3 yArnh0ozk6fDgsHn/aniRNaL9gGnLJC78Ck9fvvBty+2OlIU6W0Y71NhDTH1q6wn Er23rOtRzwrWdRTAjUQ+iqRyvLUE1XCvJc+f0wNQl+GqbXHFNPUk2zxlgcOpY=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 9666CA00762D; Wed,  3 May 2017 11:16:47 -0700 (PDT)
Date: Wed, 3 May 2017 13:16:45 -0500
From: Nico Williams <nico@cryptonector.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, TLS WG <tls@ietf.org>
Message-ID: <20170503181644.GQ10188@localhost>
References: <20170502193145.GI10188@localhost> <42522b3c-8987-ea2a-2173-bcadaf6ff326@akamai.com> <20170502195753.GJ10188@localhost> <87a86vrnge.fsf@fifthhorseman.net> <20170502212953.GK10188@localhost> <CABcZeBNvFAe+otDgE6rMG0wGaBA=Z3bDBRRvirxPFJFuc+KbeQ@mail.gmail.com> <20170502230258.GL10188@localhost> <CABcZeBMHPi3dJQRuxU_y5E=NPYpYEwikBxjXPUVw4m2WSjWrWw@mail.gmail.com> <20170503042227.GN10188@localhost> <CABcZeBPpYGCzeOwv-FmJSvaJVJKKMjNh75g1Eptoyr9pfRe1DQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABcZeBPpYGCzeOwv-FmJSvaJVJKKMjNh75g1Eptoyr9pfRe1DQ@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/OBO7-PgFhaPVSry2PLaZgACLSKE>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 18:18:49 -0000

On Tue, May 02, 2017 at 09:41:00PM -0700, Eric Rescorla wrote:
> On Tue, May 2, 2017 at 9:22 PM, Nico Williams <nico@cryptonector.com> wrote:
> 
> > On Tue, May 02, 2017 at 04:41:52PM -0700, Eric Rescorla wrote:
> > > On Tue, May 2, 2017 at 4:02 PM, Nico Williams <nico@cryptonector.com>
> > wrote:
> > > > On Tue, May 02, 2017 at 03:53:48PM -0700, Eric Rescorla wrote:
> > > > > It's not XOR. It's addition mod 2^32. That's important because the
> > > > > *difference*
> > > > > between the ticket replay times is directly observable anyway.
> > > >
> > > > Computationally there's no real difference between that and XOR.
> > >
> > > What information do you believe you are gathering here?
> >
> > I believe the attack described is finding the time of the session's
> > establishment.
> 
> Hmm.... Can you walk me through how you think that works?

Well, I hadn't done it myself.  I see now though that the attack doesn't
work.

I would still prefer proper encryption.  But this works.

Nico
-- 


From nobody Wed May  3 11:23:15 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A196128A32 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 11:23:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.5
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5 tests=[BAYES_05=-0.5] autolearn=ham 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 gS9DUBcuDgtd for <tls@ietfa.amsl.com>; Wed,  3 May 2017 11:23:13 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E1B40129B37 for <tls@ietf.org>; Wed,  3 May 2017 11:20:59 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 32A287A32F1 for <tls@ietf.org>; Wed,  3 May 2017 18:20:59 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <7e8cdee4abfb43b692efe2f570059bfb@ustx2ex-dag1mb1.msg.corp.akamai.com>
Date: Wed, 3 May 2017 14:20:58 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <A871AC64-C703-4B2E-9973-30D008204216@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <7e8cdee4abfb43b692efe2f570059bfb@ustx2ex-dag1mb1.msg.corp.akamai.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/P6XCTGuHqaRStQe1irSB3aj3WF0>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 18:23:15 -0000

> On May 3, 2017, at 12:15 PM, Salz, Rich <rsalz@akamai.com> wrote:
>=20
> We disagree.  And I think the concerns Colm has raised show that =
others are also in agreement.

I see all the talk of STEKs (session ticket encryption keys) breaking =
forward-secrecy as FUD.
All kinds of poor implementation and/or operational practices may =
compromise confidentiality,
The (mis)use of long-term STEKs is not particularly special among such =
practices.

If libraries implement "long-term" STEKs, that's a library bug, not a =
protocol issue.

--=20
	Viktor.


From nobody Wed May  3 11:31:53 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A9F51294EF for <tls@ietfa.amsl.com>; Wed,  3 May 2017 11:31:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.9
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 BuOT2U3FSAwF for <tls@ietfa.amsl.com>; Wed,  3 May 2017 11:31:50 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2BD2912955A for <tls@ietf.org>; Wed,  3 May 2017 11:30:00 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id BE2C6A00762F; Wed,  3 May 2017 11:29:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=cryptonector.com; bh=WjZgXdv8FKMlnZLpWwIV+P2ufW8 =; b=pRn1Wx8cbpznYD8oL8b1G/o6iEe81ZckDRqyi0uSoDrJ63XZIjoJEQ4e+CC AbZrfl2jo+JS5BBJds7eF2FHtCwPidHe7uIAkgrE8dpES1RVFJ6ZcIRC6pruAakA ov/Au/8zjDJbBxwsxHiFxoL3JgpqHNER3nOETZ0LB5FFz0HU=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 7133AA00762D; Wed,  3 May 2017 11:29:59 -0700 (PDT)
Date: Wed, 3 May 2017 13:29:56 -0500
From: Nico Williams <nico@cryptonector.com>
To: TLS WG <tls@ietf.org>
Message-ID: <20170503182955.GR10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/lbxbhYPigVXgBhfU7Td_XPxE-8Y>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 18:31:51 -0000

On Wed, May 03, 2017 at 12:10:12PM -0400, Viktor Dukhovni wrote:
> > On May 3, 2017, at 12:01 PM, Salz, Rich <rsalz@akamai.com> wrote:
> > The protocol design should avoid setting traps for the unwary.
> 
> No, that responsibility falls on libraries.  STEKs are not a trap for the
> unweary.  Libraries that support static session tickets by default can be
> viewed as such a trap.  So the onus to fix this is on us (OpenSSL team)
> not the TLS protocol.

A big +1 to this.

I think it would terrible if we couldn't have resumption at all because
one common implementation mishandles old key deletion.

Nico
-- 


From nobody Wed May  3 11:35:49 2017
Return-Path: <tjackson@mobileiron.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E1D52129BD1 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 11:35:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level: 
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mobileironinc.onmicrosoft.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 j8ra3_al4y0R for <tls@ietfa.amsl.com>; Wed,  3 May 2017 11:35:43 -0700 (PDT)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0076.outbound.protection.outlook.com [104.47.36.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0642B129B40 for <tls@ietf.org>; Wed,  3 May 2017 11:33:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mobileironinc.onmicrosoft.com; s=selector1-mobileiron-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=69rMsJeAXx+us/9xMnb+cjMmXDYgyulWDPI0U1f1F44=; b=uL3+Fq83V0gI/4rMu+ncoszYTFxaQnYhORn+LcSOwx/rlQGUfEEIJBoIBZcxAT0w3snDOhKTt4h2DczrKNu4dq6ecRXujsMPQDM5XRbdnFu0vWxNytLcFdOMG2Bzd0FlhUm0ErXk+ztfPnH3EAN9jG6yJLD9xvEsqZz7Xko1AZA=
Received: from CY4PR10MB1734.namprd10.prod.outlook.com (10.172.69.9) by CY4PR10MB1733.namprd10.prod.outlook.com (10.172.69.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.11; Wed, 3 May 2017 18:33:33 +0000
Received: from CY4PR10MB1734.namprd10.prod.outlook.com ([10.172.69.9]) by CY4PR10MB1734.namprd10.prod.outlook.com ([10.172.69.9]) with mapi id 15.01.1075.010; Wed, 3 May 2017 18:33:33 +0000
From: Timothy Jackson <tjackson@mobileiron.com>
To: Nico Williams <nico@cryptonector.com>, TLS WG <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NKNF5IQ29vr0umUMeDlmEnG6HiVNeAgAA6vACAAAYmAIAAJaUAgAAJboCAAAGuAIAAAlsAgAAnCwD//4usgA==
Date: Wed, 3 May 2017 18:33:33 +0000
Message-ID: <51724E2C-45A3-4A18-A5FE-0A6B33C23077@mobileiron.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost>
In-Reply-To: <20170503182955.GR10188@localhost>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: cryptonector.com; dkim=none (message not signed) header.d=none;cryptonector.com; dmarc=none action=none header.from=mobileiron.com;
x-originating-ip: [198.61.62.10]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; CY4PR10MB1733; 7:fY1ZqAcJkppFucsUaGmCbYzOH9jj6E97Mn1sg/N0uKAVFnt/5k2VjH8YxK2avg/DG1WRLrQPUnSBz/uDMV5C8qQmsCPcA6yPqociFqYw8odqAeGuP5s6XsRk2OerQ9G7de3QXQzf7z+qZ9ZysIfBZOHYwFOftcuj9TBEfE55eajiZccgbNd39rsqJwlsmazOW1OFteE/TqWxTHRldEmWzdKSvIbyFVMrWekgWuV6SxTmqUfzHIwXOZyHj8/06lDFnAGY5NJ70Yri3iAX/YOIct09WZ8xbun1G3d2rHpQ1iTrqGh0kBABynZAEpaGDlg6Wh0oLkQFzPTm3lX33LvtGA==
x-ms-office365-filtering-correlation-id: 3be4bd97-2714-4977-f053-08d49252e78c
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:CY4PR10MB1733; 
x-microsoft-antispam-prvs: <CY4PR10MB17330941CFFB61CABCA3DF18AA160@CY4PR10MB1733.namprd10.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(192374486261705);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148); SRVR:CY4PR10MB1733; BCL:0; PCL:0; RULEID:; SRVR:CY4PR10MB1733; 
x-forefront-prvs: 029651C7A1
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39840400002)(39850400002)(39450400003)(39410400002)(39400400002)(24454002)(377454003)(36756003)(2900100001)(93886004)(6512007)(6306002)(15650500001)(122556002)(99286003)(478600001)(3660700001)(81166006)(53546009)(86362001)(38730400002)(6246003)(189998001)(25786009)(53936002)(7736002)(6116002)(6436002)(76176999)(8936002)(50986999)(3846002)(54356999)(102836003)(305945005)(8676002)(33656002)(229853002)(6486002)(2950100002)(2906002)(6506006)(77096006)(5660300001)(3280700002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR10MB1733; H:CY4PR10MB1734.namprd10.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <52CA0D9172EEA24794695A7D2104D255@namprd10.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: mobileiron.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2017 18:33:33.3667 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8392379d-8a98-4cb4-8cfe-5e7fa92e4e60
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR10MB1733
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/8ns-SpFnQWnKF_SUq89qQp979l8>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 18:35:48 -0000

PiAgICBUaGUgKG1pcyl1c2Ugb2YgbG9uZy10ZXJtIFNURUtzIGlzIG5vdCBwYXJ0aWN1bGFybHkg
c3BlY2lhbCBhbW9uZyBzdWNoIHByYWN0aWNlcy4NCg0KVGhpcyBtYXkgYmUgdHJ1ZSwgYnV0IHRo
YXQgc3RpbGwgZG9lc27igJl0IG1ha2UgaXQgYSBnb29kIGlkZWEuIFdlIHNob3VsZCBwcm9iYWJs
eSBkbyAqc29tZXRoaW5nKiBhYm91dCB0aGlzLiBKDQoNCj4gICAgVGhlIHByb3RvY29sIGRlc2ln
biBzaG91bGQgYXZvaWQgc2V0dGluZyB0cmFwcyBmb3IgdGhlIHVud2FyeS4gICAgDQo+ICAgIElm
IGxpYnJhcmllcyBpbXBsZW1lbnQgImxvbmctdGVybSIgU1RFS3MsIHRoYXQncyBhIGxpYnJhcnkg
YnVnLCBub3Q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KICAgIGh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8vdGxzDQogICAg
DQoNCg==


From nobody Wed May  3 11:56:35 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F404E129B75 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 11:56:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-0.001] autolearn=ham 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 CkYGX6yWLITI for <tls@ietfa.amsl.com>; Wed,  3 May 2017 11:56:32 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C6E211294DC for <tls@ietf.org>; Wed,  3 May 2017 11:54:51 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 02A907A32F1 for <tls@ietf.org>; Wed,  3 May 2017 18:54:51 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <51724E2C-45A3-4A18-A5FE-0A6B33C23077@mobileiron.com>
Date: Wed, 3 May 2017 14:54:50 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <FD21E647-7EDB-4329-832B-50DD0935D63D@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost> <51724E2C-45A3-4A18-A5FE-0A6B33C23077@mobileiron.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/jrtJ4p4xHtE5SRaosFmH5VDvFXM>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 18:56:34 -0000

> On May 3, 2017, at 2:33 PM, Timothy Jackson <tjackson@mobileiron.com> =
wrote:
>=20
> We could even go so far as to add a =E2=80=9CSHOULD NOT=E2=80=9D =
around using STEKs that are long-lived?

No specific objection there, motherhood and apple pie... so long as we =
don't go too
far and say "SHOULD NOT" to STEKs broadly.  They are a sensible way to =
handle session
caching, in combination a sensibly implemented key rotation approach.  =
One also SHOULD
NOT store long-term copies of sessions, deploy world-readable private =
keys, ...

So, if folks feel that it is necessary to give such advice, that's fine.

--=20
	Viktor.


From nobody Wed May  3 12:21:37 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 387F01294F7 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 12:21:37 -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=allcosts-net.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 JHbi1HXKBQPa for <tls@ietfa.amsl.com>; Wed,  3 May 2017 12:21:35 -0700 (PDT)
Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (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 A638E12953B for <tls@ietf.org>; Wed,  3 May 2017 12:19:32 -0700 (PDT)
Received: by mail-yw0-x229.google.com with SMTP id k11so90169399ywb.1 for <tls@ietf.org>; Wed, 03 May 2017 12:19:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Jmpjn/bAsPO74TpOqU3oBRCQiYo+OPTfOG/b3li21lM=; b=hiMF+4OoqW4nyd3JsURFjAYGQ5QlacApczRRN7YnVQozuuSnif0V4N3vSjuapQRzqN TkFJtB3XEKxxmw+TdadfjG+m7aDIdJOtGSUZF8GuFyOoeyRw0b532VFr9tG5ywKXbayk ltAkSOvR8UwcihCS8OCys7kQPmEaMZtSZtxcXHdvCYcIx+6HsLMm5wFO/u+fg++uKS+5 DbBSjTkrhTUGt9EQm5yB0p2/2we4y/Js07r7Yfh+iRBP0L/BAoBLePEGsmkdJzl6u/tn tsXV5I94IgWkgWq8fBc4oQcv4rP4cS7Z8VYAqm6NxWJQbiRFaDrAb2y6yeajxVukajI7 ghLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Jmpjn/bAsPO74TpOqU3oBRCQiYo+OPTfOG/b3li21lM=; b=HmFXRAb5mmSIo6I2JQdRZM6PnZoXhdzsCu6KBzG0S6+t2HM4rK7xZ4IHAddAdG/uP+ tQxFaDNH8Jkzz0Q1dsf1hWI1FEJc4BbZKUH02JHohOOYB3WqlIGOAX06yPQ/VyTRw9UC SReOTHAeQX5DssJGlA5TZuZz+xorC/EAVxi4aSqAPi9Js5+KHLXPwTJTsrC9l33yeBmF Fq9RDO2O+EhKPciY5mqWLim/zlk16A8L1jHO7f+mWLAF/SYZIWNkJmKPOENzuPZznifD m9xyJ07HJXsAyJ/ru3/U/zF2LDKyKNJH/oS/GCg4btmIJFo+SVGxZWNSUpNZbr8MHBOn B4xQ==
X-Gm-Message-State: AN3rC/6IgxvjJeNPzCo/rXQi8U945uuVfA1/Sjp6lNojDuPPmcLhlX8L hYo4nusMPRIDBL5g6dFo01kJyt9j1qcX
X-Received: by 10.13.238.65 with SMTP id x62mr30068958ywe.122.1493839171816; Wed, 03 May 2017 12:19:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 12:19:30 -0700 (PDT)
In-Reply-To: <20170503182955.GR10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 12:19:30 -0700
Message-ID: <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c034d8c302b74054ea38933
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Qi-ZfaRfmXzkmyv1hwQIrgCh4UA>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 19:21:37 -0000

--94eb2c034d8c302b74054ea38933
Content-Type: text/plain; charset=UTF-8

On Wed, May 3, 2017 at 11:29 AM, Nico Williams <nico@cryptonector.com>
wrote:

> On Wed, May 03, 2017 at 12:10:12PM -0400, Viktor Dukhovni wrote:
> > > On May 3, 2017, at 12:01 PM, Salz, Rich <rsalz@akamai.com> wrote:
> > > The protocol design should avoid setting traps for the unwary.
> >
> > No, that responsibility falls on libraries.  STEKs are not a trap for the
> > unweary.  Libraries that support static session tickets by default can be
> > viewed as such a trap.  So the onus to fix this is on us (OpenSSL team)
> > not the TLS protocol.
>
> A big +1 to this.
>
> I think it would terrible if we couldn't have resumption at all because
> one common implementation mishandles old key deletion.
>

With the improvements in 1.3 all of this FS only pertains to 0-RTT data,
not resumption in general. One solution would be to have two, or three
sub-types of ticket exchanges:

Type 1 - same as now, except remove the ticket age, generally intended for
resumption. Can be used multiple times.

Type 2.1 - Ticket intended for 0-RTT, does include the ticket age (maybe
not in the ticket itself, but somewhere in the handshake), can only be used
once.

Type 2.2 - Same as 2.1, but required to be smaller than RPSK in size, to
prevent self-encryption.

Though honestly, I'm not even sure 2.2 is a great idea any more, maybe too
much complexity, and we can just measure the size and enforce things that
way.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra">On Wed, May 3, 2017 at 11:2=
9 AM, Nico Williams <span dir=3D"ltr">&lt;<a href=3D"mailto:nico@cryptonect=
or.com" target=3D"_blank">nico@cryptonector.com</a>&gt;</span> wrote:<br><d=
iv class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On=
 Wed, May 03, 2017 at 12:10:12PM -0400, Viktor Dukhovni wrote:<br>
&gt; &gt; On May 3, 2017, at 12:01 PM, Salz, Rich &lt;<a href=3D"mailto:rsa=
lz@akamai.com">rsalz@akamai.com</a>&gt; wrote:<br>
&gt; &gt; The protocol design should avoid setting traps for the unwary.<br=
>
&gt;<br>
&gt; No, that responsibility falls on libraries.=C2=A0 STEKs are not a trap=
 for the<br>
&gt; unweary.=C2=A0 Libraries that support static session tickets by defaul=
t can be<br>
&gt; viewed as such a trap.=C2=A0 So the onus to fix this is on us (OpenSSL=
 team)<br>
&gt; not the TLS protocol.<br>
<br>
</span>A big +1 to this.<br>
<br>
I think it would terrible if we couldn&#39;t have resumption at all because=
<br>
one common implementation mishandles old key deletion.<br></blockquote><div=
><br></div><div>With the improvements in 1.3 all of this FS only pertains t=
o 0-RTT data, not resumption in general. One solution would be to have two,=
 or three sub-types of ticket exchanges:</div><div><br></div><div>Type 1 - =
same as now, except remove the ticket age, generally intended for resumptio=
n. Can be used multiple times.</div><div><br></div><div>Type 2.1 - Ticket i=
ntended for 0-RTT, does include the ticket age (maybe not in the ticket its=
elf, but somewhere in the handshake), can only be used once.</div><div><br>=
</div><div>Type 2.2 - Same as 2.1, but required to be smaller than RPSK in =
size, to prevent self-encryption.=C2=A0</div><div><br></div><div>Though hon=
estly, I&#39;m not even sure 2.2 is a great idea any more, maybe too much c=
omplexity, and we can just measure the size and enforce things that way.=C2=
=A0</div><div>=C2=A0</div></div>-- <br><div class=3D"gmail_signature" data-=
smartmail=3D"gmail_signature">Colm</div>
</div></div>

--94eb2c034d8c302b74054ea38933--


From nobody Wed May  3 12:37:00 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5239512946C for <tls@ietfa.amsl.com>; Wed,  3 May 2017 12:36:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.401
X-Spam-Level: 
X-Spam-Status: No, score=-2.401 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 qm1Mgh0bA-F5 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 12:36:57 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4B67B1294E2 for <tls@ietf.org>; Wed,  3 May 2017 12:35:21 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id BDB3FA007632; Wed,  3 May 2017 12:35:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to:content-transfer-encoding; s= cryptonector.com; bh=ob75OZFCXTwRGtBPwYtmrk5l/wk=; b=SuRVmyKMCUS 2YtrsMYOqA/t6Hvmid0aX32AO5H9ttSPBdFk8pminl9xNfQZa0ZDhZXER4D8fNdE Vk5fIkJ3zp7EufoFVwxHXjSxYAFaxZw6hskFHkQLfCvhHJrqdZDKKN4kLTRkM6Qp ALC21exRhad8IhOu7bh+xyt8PWJKXHp0=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 5E673A007631; Wed,  3 May 2017 12:35:20 -0700 (PDT)
Date: Wed, 3 May 2017 14:35:17 -0500
From: Nico Williams <nico@cryptonector.com>
To: Colm =?iso-8859-1?Q?MacC=E1rthaigh?= <colm@allcosts.net>
Cc: TLS WG <tls@ietf.org>
Message-ID: <20170503193517.GS10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost> <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Awo8wqtBOurbyIlv0vk9wzrHXtg>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 19:36:58 -0000

On Wed, May 03, 2017 at 12:19:30PM -0700, Colm MacC=E1rthaigh wrote:
> With the improvements in 1.3 all of this FS only pertains to 0-RTT data=
,
> not resumption in general. One solution would be to have two, or three
> sub-types of ticket exchanges:
>=20
> Type 1 - same as now, except remove the ticket age, generally intended =
for
> resumption. Can be used multiple times.

No, please don't remove the obfuscated ticket age.  Either make it
encrypted or leave it as-is.

> Type 2.1 - Ticket intended for 0-RTT, does include the ticket age (mayb=
e
> not in the ticket itself, but somewhere in the handshake), can only be =
used
> once.

No.  Give advice.  Do not remove these features.

> Type 2.2 - Same as 2.1, but required to be smaller than RPSK in size, t=
o
> prevent self-encryption.

I don't grok this.

Nico
--=20


From nobody Wed May  3 13:21:56 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C0E1112783A for <tls@ietfa.amsl.com>; Wed,  3 May 2017 13:21:53 -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=allcosts-net.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 fT4WbVrT6CU4 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 13:21:52 -0700 (PDT)
Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (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 A2055129B30 for <tls@ietf.org>; Wed,  3 May 2017 13:19:37 -0700 (PDT)
Received: by mail-yw0-x229.google.com with SMTP id 203so353115ywe.0 for <tls@ietf.org>; Wed, 03 May 2017 13:19:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/l8rWadGJxc0E4yeDL9WErIN655dbshaZY/PN1mP4Mo=; b=QuwB+K6zssjW7eH8hcwKuE7cPv8yX3xx7aZ0r6F5IeCqSJkB4cugr+ZvEwOXJLF+Tk ms15OUA78gAQo5rA4jISKjLt9JcPRnBfhUY2KSpLUvYL85mtG7fpj/4AV6LxBNr96fnR tHoubCeu0btHeV5ZMRSMzQNkKlWwAi0f+d2jCRgZDmCgLs8puIQsAt5ZJopGkJLM1aN6 RVA/Zr94U16BSyIFFICF9Jpj6vxn66h0DmEJgrjaznAs7NQjU9jgcK5zpap2xRDXNcTG DxQJStAB4VcYCb6w/jzoGZ1jJNReg/H7Wb6CsuZg4euF84Q7fdT4L9+q0QEnn6D7Gc9p Gsag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/l8rWadGJxc0E4yeDL9WErIN655dbshaZY/PN1mP4Mo=; b=EoR9x97lQ6YF6zXf66STiPpqO+nFhfL569HmnLiVdJAmpp2OtTBK8rP44oPOxzgipf aQtf1rARAq1a0GA+IB73UngSoADhyitQCQtizGLs2mY76jDVWU87OETQA+NwJ7eCuITl koahizksOVVsTz+1MfpqPx0XD3aKtwOn0/qnmU0kJayHQUO1uHz44gKR9bul3nOgrHRm XmVILnWbnJQ43bo5um5jeBNhfk+SgOVzsMbvXomVjLj3gP6Us2znC3dnHf2sNOGjhRmi J3Ne//N4HarCjG72+iBS5W+Dygbkh/l7fbeoP4BTh1gZlvB73UMRL6uCgkDUrpflB9RI S3Ig==
X-Gm-Message-State: AN3rC/45A4n4l7SN4tbXnlNqD2H5p/D0SmD8TofxiGcL2KMQ/HZ3P93S 4uKydD6yBf9p5TGcQ7Bq+gUqORVvjA==
X-Received: by 10.129.157.142 with SMTP id u136mr2869175ywg.323.1493842776839;  Wed, 03 May 2017 13:19:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 13:19:35 -0700 (PDT)
In-Reply-To: <20170503193517.GS10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost> <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com> <20170503193517.GS10188@localhost>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 13:19:35 -0700
Message-ID: <CAAF6GDeJRPB+1JJ39VrrASHZ6-OT5EL-KVmd6Snw1n1h5DKyng@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c0b68aa109260054ea460dc
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/CTkDTNux3ZNn3-AckIAMuJmryzQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 20:21:54 -0000

--94eb2c0b68aa109260054ea460dc
Content-Type: text/plain; charset=UTF-8

On Wed, May 3, 2017 at 12:35 PM, Nico Williams <nico@cryptonector.com>
wrote:

> No, please don't remove the obfuscated ticket age.  Either make it
> encrypted or leave it as-is.
>

If it is to be encrypted, say AEAD'd, it needs to be encrypted under a key
that the client and server share; because the client needs to modify the
age before sending. Moving the age to its own message, post Client-Hello,
could solve that - so it comes out of the ticket.

That scheme is a bit weird and circular: the server would have to "use" the
ticket to derive a key that decrypts the age, to then decide if it should
"really use" the ticket for 0-RTT data. That seems pretty convoluted to me
- could be a fairly complicated security proof.

> Type 2.1 - Ticket intended for 0-RTT, does include the ticket age (maybe
> > not in the ticket itself, but somewhere in the handshake), can only be
> used
> > once.
>
> No.  Give advice.  Do not remove these features.
>

I think the can only be used once for 0-RTT needs to be firm. Otherwise
0-RTT mode is insecure.


> > Type 2.2 - Same as 2.1, but required to be smaller than RPSK in size, to
> > prevent self-encryption.
>
> I don't grok this.
>

Self-encrypting tickets require STEKs and all of their problems. A client
could say "Don't send me a STEK-based ticket", and this can be enforced by
requiring those tickets to be smaller than the RPSK in size.  The client at
least knows that the ticket couldn't possibly have been self-encrypted.
Though obviously it says nothing about how good a job the server is doing
of keeping the keys secret.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra">On Wed, May 3, 2017 at 12:3=
5 PM, Nico Williams <span dir=3D"ltr">&lt;<a href=3D"mailto:nico@cryptonect=
or.com" target=3D"_blank">nico@cryptonector.com</a>&gt;</span> wrote:<br><d=
iv class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">No, please don&#39;=
t remove the obfuscated ticket age.=C2=A0 Either make it<br>
encrypted or leave it as-is.<br></blockquote><div><br></div><div>If it is t=
o be encrypted, say AEAD&#39;d, it needs to be encrypted under a key that t=
he client and server share; because the client needs to modify the age befo=
re sending. Moving the age to its own message, post Client-Hello, could sol=
ve that - so it comes out of the ticket.=C2=A0</div><div><br></div><div>Tha=
t scheme is a bit weird and circular: the server would have to &quot;use&qu=
ot; the ticket to derive a key that decrypts the age, to then decide if it =
should &quot;really use&quot; the ticket for 0-RTT data. That seems pretty =
convoluted to me - could be a fairly complicated security proof. =C2=A0</di=
v><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">
&gt; Type 2.1 - Ticket intended for 0-RTT, does include the ticket age (may=
be<br>
&gt; not in the ticket itself, but somewhere in the handshake), can only be=
 used<br>
&gt; once.<br>
<br>
</span>No.=C2=A0 Give advice.=C2=A0 Do not remove these features.<br></bloc=
kquote><div><br></div><div>I think the can only be used once for 0-RTT need=
s to be firm. Otherwise 0-RTT mode is insecure.=C2=A0</div><div>=C2=A0</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex"><span class=3D"">
&gt; Type 2.2 - Same as 2.1, but required to be smaller than RPSK in size, =
to<br>
&gt; prevent self-encryption.<br>
<br>
</span>I don&#39;t grok this.<br></blockquote><div><br></div><div>Self-encr=
ypting tickets require STEKs and all of their problems. A client could say =
&quot;Don&#39;t send me a STEK-based ticket&quot;, and this can be enforced=
 by requiring those tickets to be smaller than the RPSK in size.=C2=A0 The =
client at least knows that the ticket couldn&#39;t possibly have been self-=
encrypted.=C2=A0 Though obviously it says nothing about how good a job the =
server is doing of keeping the keys secret.=C2=A0</div></div><div><br></div=
>-- <br><div class=3D"gmail_signature" data-smartmail=3D"gmail_signature">C=
olm</div>
</div></div>

--94eb2c0b68aa109260054ea460dc--


From nobody Wed May  3 13:22:45 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5AB2112E053 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 13:22:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 7aprusV0R8c8 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 13:22:42 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 35B27129BEF for <tls@ietf.org>; Wed,  3 May 2017 13:20:13 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 3332C7A32F1 for <tls@ietf.org>; Wed,  3 May 2017 20:20:12 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com>
Date: Wed, 3 May 2017 16:20:11 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <7573B494-A1C1-4897-B064-14237B5FB525@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost> <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/2w4m1UD9NNWm5Xk-H3wiutChPE0>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 20:22:44 -0000

> On May 3, 2017, at 3:19 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
>=20
> Type 2.2 - Same as 2.1, but required to be smaller than RPSK in size, =
to prevent self-encryption.=20

The kind of application whose security requirements preclude use of RFC =
5077
session tickets can and should likely also avoid both 0-RTT and session
resumption entirely.  Otherwise, allow the server to choose a sensible =
session
management approach.

Second-guessing the server's design by looking at ticket sizes seems =
rather
contrived.

--=20
	Viktor.


From nobody Wed May  3 13:29:14 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6861129C1B for <tls@ietfa.amsl.com>; Wed,  3 May 2017 13:29:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 Z2IG3_DNxFzf for <tls@ietfa.amsl.com>; Wed,  3 May 2017 13:29:11 -0700 (PDT)
Received: from mail-yb0-x22f.google.com (mail-yb0-x22f.google.com [IPv6:2607:f8b0:4002: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 DC333129C4C for <tls@ietf.org>; Wed,  3 May 2017 13:27:13 -0700 (PDT)
Received: by mail-yb0-x22f.google.com with SMTP id s22so180366ybe.3 for <tls@ietf.org>; Wed, 03 May 2017 13:27:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=6VxQwlp6mQcA1tHmGqwyLjAiTuflIF8wUdM6z3RS/NE=; b=mVnqLIparJSLwhOtvfvImoPXVsufmL1TV2yiBQC9f1QSd6vDl6/7TPzLzEooFxN1J+ NaY4I9bPPqwJ5egz7OG7OlIB3msnTfwwWX6DlvnNq104WmH9YhHakTedNiZKW5E/oPGU h/dE0MD2xk+1kAakE4v9iUg1Jer5Sw7B4uULav7xRTYq2a6YCCOhG4iNx1VpAH5+iLEs yU7mkFj6oo8qKH5TdcJpDkN17KmQo0KL4DIFOjuP1Iy9/CJkuzhFAizjBBbDwwy4z3pm NL4S3URMOtgBPT293lEgWtssYmrJvI0A7o4x2KIdJynBdl2uJrXHBtV65dvYFD0fqFWQ oUZw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=6VxQwlp6mQcA1tHmGqwyLjAiTuflIF8wUdM6z3RS/NE=; b=McprKtlIWBjjuDECRqBEpvOrbYK1i3Nq3wAdC1TPGUzrsORRuvi9ASEeORtDV7R59k hm7GN3Yr2j7Y4uPSlto+x7UYntoeHT2uup+hFwzSdr2KRlXdf92OTCYN+L7/tGWzmQSD Gg3Moh5yAGKrW5UkHcR0O1XAs+WPIH2WbZFqcpw7Uy+ecWS2IaNB6U9H6NEMUTT1nnU8 UBn3uZlAOZnSn6em5WnxL6OxXdZBA06JbFG6/5fQ2j+7bde0iwap/8LPqy4R53YwEswm 61GgfUL1aNQdbMqh57grx6B5ASBmFHlyA9znddnneskLDTUq07jsK46JcvSVIicwiLPD sMQA==
X-Gm-Message-State: AN3rC/6H3EKw2zXI197/SXnLoaLfo1UVapxojMAu5r78eA9LStoFfn3h p81B5GCWkZ36ErUSQMt77HtnlJCLsigv
X-Received: by 10.37.15.213 with SMTP id 204mr5475406ybp.127.1493843232776; Wed, 03 May 2017 13:27:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 13:27:11 -0700 (PDT)
In-Reply-To: <7573B494-A1C1-4897-B064-14237B5FB525@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost> <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com> <7573B494-A1C1-4897-B064-14237B5FB525@dukhovni.org>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 13:27:11 -0700
Message-ID: <CAAF6GDfiLtLT5-NZwFaSHmz35MRiNSqSjQt=MmNoQ04vBDPPTg@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a113f5ae63d87af054ea47b17
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/KYbB3uWsGxQuJP90qXria4Pc8xo>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 20:29:13 -0000

--001a113f5ae63d87af054ea47b17
Content-Type: text/plain; charset=UTF-8

On Wed, May 3, 2017 at 1:20 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> The kind of application whose security requirements preclude use of RFC
> 5077
> session tickets can and should likely also avoid both 0-RTT and session
> resumption entirely.


I don't agree with this. Why should users of mobile devices, to pick one
example, have to choose between speed and the extra risk of data disclosure
for their requests and passwords?

Second-guessing the server's design by looking at ticket sizes seems rather
> contrived.
>

It's not a second guess. If the ticket size is smaller than the RPSK, then
it provably can not have been self-encrypted. But I agree that it says
nothing about the server-side security. They might be posting the keys to
twitter.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 1:20 PM, Viktor Dukhovni <span dir=3D"ltr">&lt;<=
a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukhov=
ni.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The kind of =
application whose security requirements preclude use of RFC 5077<br>
session tickets can and should likely also avoid both 0-RTT and session<br>
resumption entirely.=C2=A0</blockquote><div><br></div><div>I don&#39;t agre=
e with this. Why should users of mobile devices, to pick one example, have =
to choose between speed and the extra risk of data disclosure for their req=
uests and passwords?</div><div><br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Second-guessing the server&#39;s design by looking at ticket sizes seems ra=
ther<br>
contrived.<br></blockquote><div><br></div><div>It&#39;s not a second guess.=
 If the ticket size is smaller than the RPSK, then it provably can not have=
 been self-encrypted. But I agree that it says nothing about the server-sid=
e security. They might be posting the keys to twitter.=C2=A0</div></div><di=
v><br></div>-- <br><div class=3D"gmail_signature" data-smartmail=3D"gmail_s=
ignature">Colm</div>
</div></div>

--001a113f5ae63d87af054ea47b17--


From nobody Wed May  3 14:22:38 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F1012129B4C for <tls@ietfa.amsl.com>; Wed,  3 May 2017 14:22:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.3
X-Spam-Level: 
X-Spam-Status: No, score=-4.3 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 CqBGyA7IGugA for <tls@ietfa.amsl.com>; Wed,  3 May 2017 14:22:35 -0700 (PDT)
Received: from homiemail-a64.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7DB101200C1 for <tls@ietf.org>; Wed,  3 May 2017 14:20:51 -0700 (PDT)
Received: from homiemail-a64.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTP id 06BADA004936; Wed,  3 May 2017 14:20:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to:content-transfer-encoding; s= cryptonector.com; bh=uexOx8p+1nScdqi7U5I+Hqi4GfE=; b=X8DmTEkpnkh aG5uDeAF+u8+nzLHrrT6VjZ1ZZpxmx3zOx7IinESbW4b5haStL3UQDK4t3BPOlxT NSUcpi78aQcFOvWV0IX4hLnbheBVoUi+c9RGseWIcLlnIPlrZ9ovB5LFG4DWS6A5 9nxx7bveMz1KBz77oKB8lAF2VEMu+Yow=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTPSA id 971C5A004935; Wed,  3 May 2017 14:20:50 -0700 (PDT)
Date: Wed, 3 May 2017 16:20:48 -0500
From: Nico Williams <nico@cryptonector.com>
To: Colm =?iso-8859-1?Q?MacC=E1rthaigh?= <colm@allcosts.net>
Cc: TLS WG <tls@ietf.org>
Message-ID: <20170503212046.GT10188@localhost>
References: <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost> <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com> <20170503193517.GS10188@localhost> <CAAF6GDeJRPB+1JJ39VrrASHZ6-OT5EL-KVmd6Snw1n1h5DKyng@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <CAAF6GDeJRPB+1JJ39VrrASHZ6-OT5EL-KVmd6Snw1n1h5DKyng@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/1E4lpyJs7kdjYT24cIzulX_1Ykg>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 21:22:37 -0000

On Wed, May 03, 2017 at 01:19:35PM -0700, Colm MacC=E1rthaigh wrote:
> On Wed, May 3, 2017 at 12:35 PM, Nico Williams <nico@cryptonector.com>
> wrote:
> > No, please don't remove the obfuscated ticket age.  Either make it
> > encrypted or leave it as-is.
>=20
> If it is to be encrypted, say AEAD'd, it needs to be encrypted under a =
key
> that the client and server share; because the client needs to modify th=
e
> age before sending. Moving the age to its own message, post Client-Hell=
o,
> could solve that - so it comes out of the ticket.

Naturally.  That's why we have ticket session keys.

> That scheme is a bit weird and circular: the server would have to "use"=
 the
> ticket to derive a key that decrypts the age, to then decide if it shou=
ld
> "really use" the ticket for 0-RTT data. That seems pretty convoluted to=
 me
> - could be a fairly complicated security proof.

It's what Kerberos has been doing for decades.  RFC4120 (before that
RFC1510).

> > Type 2.1 - Ticket intended for 0-RTT, does include the ticket age (ma=
ybe
> > > not in the ticket itself, but somewhere in the handshake), can only=
 be
> > used
> > > once.
> >
> > No.  Give advice.  Do not remove these features.
>=20
> I think the can only be used once for 0-RTT needs to be firm. Otherwise
> 0-RTT mode is insecure.

I don't agree: the application may not care.

> > > Type 2.2 - Same as 2.1, but required to be smaller than RPSK in siz=
e, to
> > > prevent self-encryption.
> >
> > I don't grok this.
> >
>=20
> Self-encrypting tickets require STEKs and all of their problems. [...]

Can you elaborate?  (I don't follow TLS WG that closely.  I'm from
KITTEN WG.)

Nico
--=20


From nobody Wed May  3 14:28:40 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 67E7A129B9D for <tls@ietfa.amsl.com>; Wed,  3 May 2017 14:28:38 -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=allcosts-net.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 gtJ0_es6mF2J for <tls@ietfa.amsl.com>; Wed,  3 May 2017 14:28:36 -0700 (PDT)
Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) (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 C5E83129BF8 for <tls@ietf.org>; Wed,  3 May 2017 14:26:50 -0700 (PDT)
Received: by mail-yw0-x234.google.com with SMTP id k11so1135927ywb.1 for <tls@ietf.org>; Wed, 03 May 2017 14:26:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IWufT7w4aMCKdfjcEEeETqOtaxH/0/J2XY2SQm4gfe0=; b=prrM4cNCbJlyRrtFE+ichfsg70jZCxbNXw1rrIQJPALwTy7vRvo9HdHxWxgBsL+mrz 5D59mC8YzfyRE/7IrVH6AP7Ovyb5uf4NPtf2/mDBno9bQcyDz6o4aANzSu9Ye1NAYoE+ hSvrF1XfKLP+C1gP/V5SVh1ggLAbWUZ0yKtiL1KV7GgfFTW72Wgx7l0IVWwGskijn40y F35/5s5ir4X6YxV14+TXzAC50t4F3B6D2l6+fkZo530GIpQHy3zahgf571UyYzCgj5iD b5f3XzXzxqyCo/EVG43BBYzHEmMIjvvbPUWqcYVltm2TsFdXxu6ttJ07P1vX4JZjIjUp gx+g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IWufT7w4aMCKdfjcEEeETqOtaxH/0/J2XY2SQm4gfe0=; b=ONRS+dwQg3yVy6BmVa76wPajAetFyuwDHmVOTxfTNYBjPb7dmBObjHK8Og1cuZuCaL qQK3+Qqhgp8OTKSw6geSV5BKHgMczFHJJAiDdDdMY9Ksx23vbwP4XyFzWgfB0TJfGuH+ bnaBPtY5k+//x0tKC9awDmdqAebkMEWq1leOvxNMOSnPk6vj4eVzyIUo0fiavEOevnrD oqqFXPtyY/v4caoYObGaVfGjcKGUaykrjAsNKS2ibXpSyGw0dFkHCkxFHFyhRc/MqrOJ NVqxYepIQsXJt6kVI9ELTJbb4rBViQM1wPZTQOkW3Gc5XHTNY/P0nT/J6f/gRJfSap/R QaVA==
X-Gm-Message-State: AN3rC/6+2v4eKPW8cXikCpkapvJrnHg/nVhLvINsmgaB7iujBXtGP77z 6WhrRxykbz3h5o+oDBr97FVgDBlIcQ==
X-Received: by 10.129.157.142 with SMTP id u136mr3130349ywg.323.1493846810021;  Wed, 03 May 2017 14:26:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 14:26:49 -0700 (PDT)
In-Reply-To: <20170503212046.GT10188@localhost>
References: <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost> <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com> <20170503193517.GS10188@localhost> <CAAF6GDeJRPB+1JJ39VrrASHZ6-OT5EL-KVmd6Snw1n1h5DKyng@mail.gmail.com> <20170503212046.GT10188@localhost>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 14:26:49 -0700
Message-ID: <CAAF6GDdaVYDU4FZ=Gmh6JBNSWAr+C5irg+9Wu6mBxE9ivv830Q@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c0b68aa75eee3054ea550f7
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/kInbj1C77GlklwmQkr1L2jqeMYE>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 21:28:38 -0000

--94eb2c0b68aa75eee3054ea550f7
Content-Type: text/plain; charset=UTF-8

On Wed, May 3, 2017 at 2:20 PM, Nico Williams <nico@cryptonector.com> wrote:

> It's what Kerberos has been doing for decades.  RFC4120 (before that
> RFC1510).
>

I'll take your word for it!


> > > Type 2.1 - Ticket intended for 0-RTT, does include the ticket age
> (maybe
> > > > not in the ticket itself, but somewhere in the handshake), can only
> be
> > > used
> > > > once.
> > >
> > > No.  Give advice.  Do not remove these features.
> >
> > I think the can only be used once for 0-RTT needs to be firm. Otherwise
> > 0-RTT mode is insecure.
>
> I don't agree: the application may not care.
>

No, it's still insecure ... because it may matter to the application, and
worse still the application owner may not even realize that. The existence
of some rare environments where one can truly, deeply, understand the
idempotency and side-effect problems and fully reason about their
implications does not invalidate that. For security, we must assume the
worst, not hope for the best.

Also: rejecting duplicates is safe in both environments. The main downside
is the cost to operators, but I'm not sympathetic to an argument that costs
should be cut by pushing significant risk downstream.


>
> > > > Type 2.2 - Same as 2.1, but required to be smaller than RPSK in
> size, to
> > > > prevent self-encryption.
> > >
> > > I don't grok this.
> > >
> >
> > Self-encrypting tickets require STEKs and all of their problems. [...]
>
> Can you elaborate?  (I don't follow TLS WG that closely.  I'm from
> KITTEN WG.)
>

Sure ... https://www.ietf.org/mail-archive/web/tls/current/msg23100.html

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 2:20 PM, Nico Williams <span dir=3D"ltr">&lt;<a =
href=3D"mailto:nico@cryptonector.com" target=3D"_blank">nico@cryptonector.c=
om</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-l=
eft-color:rgb(204,204,204);padding-left:1ex">It&#39;s what Kerberos has bee=
n doing for decades.=C2=A0 RFC4120 (before that<br>
RFC1510).<br></blockquote><div>=C2=A0</div><div>I&#39;ll take your word for=
 it!</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-le=
ft-color:rgb(204,204,204);padding-left:1ex"><span class=3D"gmail-">
&gt; &gt; Type 2.1 - Ticket intended for 0-RTT, does include the ticket age=
 (maybe<br>
&gt; &gt; &gt; not in the ticket itself, but somewhere in the handshake), c=
an only be<br>
&gt; &gt; used<br>
&gt; &gt; &gt; once.<br>
&gt; &gt;<br>
&gt; &gt; No.=C2=A0 Give advice.=C2=A0 Do not remove these features.<br>
&gt;<br>
&gt; I think the can only be used once for 0-RTT needs to be firm. Otherwis=
e<br>
&gt; 0-RTT mode is insecure.<br>
<br>
</span>I don&#39;t agree: the application may not care.<br></blockquote><di=
v><br></div><div>No, it&#39;s still insecure ... because it may matter to t=
he application, and worse still the application owner may not even realize =
that. The existence of some rare environments where one can truly, deeply, =
understand the idempotency and side-effect problems and fully reason about =
their implications does not invalidate that. For security, we must assume t=
he worst, not hope for the best.=C2=A0</div><div><br></div><div>Also: rejec=
ting duplicates is safe in both environments. The main downside is the cost=
 to operators, but I&#39;m not sympathetic to an argument that costs should=
 be cut by pushing significant risk downstream.=C2=A0</div><div>=C2=A0</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);=
padding-left:1ex">
<span class=3D"gmail-"><br>
&gt; &gt; &gt; Type 2.2 - Same as 2.1, but required to be smaller than RPSK=
 in size, to<br>
&gt; &gt; &gt; prevent self-encryption.<br>
&gt; &gt;<br>
&gt; &gt; I don&#39;t grok this.<br>
&gt; &gt;<br>
&gt;<br>
</span>&gt; Self-encrypting tickets require STEKs and all of their problems=
. [...]<br>
<br>
Can you elaborate?=C2=A0 (I don&#39;t follow TLS WG that closely.=C2=A0 I&#=
39;m from<br>
KITTEN WG.)<br></blockquote><div><br></div><div>Sure ... <a href=3D"https:/=
/www.ietf.org/mail-archive/web/tls/current/msg23100.html">https://www.ietf.=
org/mail-archive/web/tls/current/msg23100.html</a></div></div><div><br></di=
v>-- <br><div class=3D"gmail_signature">Colm</div>
</div></div>

--94eb2c0b68aa75eee3054ea550f7--


From nobody Wed May  3 15:06:01 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 54F27128D16 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 15:06:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 X0d8KfK6uCa4 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 15:05:58 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1C1EB1293E1 for <tls@ietf.org>; Wed,  3 May 2017 15:04:46 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id F01557A32F1 for <tls@ietf.org>; Wed,  3 May 2017 22:04:45 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAAF6GDfiLtLT5-NZwFaSHmz35MRiNSqSjQt=MmNoQ04vBDPPTg@mail.gmail.com>
Date: Wed, 3 May 2017 18:04:45 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <658E74AE-39BC-4518-B11D-92D7AC7F1BD4@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost> <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com> <7573B494-A1C1-4897-B064-14237B5FB525@dukhovni.org> <CAAF6GDfiLtLT5-NZwFaSHmz35MRiNSqSjQt=MmNoQ04vBDPPTg@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/pJ2W-p0P3tdQ4gCmbzv_O9tmni0>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 22:06:00 -0000

On May 3, 2017, at 4:27 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:

> On Wed, May 3, 2017 at 1:20 PM, Viktor Dukhovni =
<ietf-dane@dukhovni.org> wrote:
>=20
>> The kind of application whose security requirements preclude use of =
RFC 5077
>> session tickets can and should likely also avoid both 0-RTT and =
session
>> resumption entirely.=20
>=20
> I don't agree with this. Why should users of mobile devices, to pick =
one example,
> have to choose between speed and the extra risk of data disclosure for =
their requests
> and passwords?

Their security requirements don't preclude use of RFC 5077 session =
tickets,
they've been using them all along, and will continue to do so for the =
majority
of destinations that will take quite some time to upgrade to TLS 1.3.

As you might recall, I don't agree that STEKs are fundamentally less =
secure
than remote session caches, I rather suspect that sensibly implemented =
STEKs
are safer.

[ I do concede that the current OpenSSL implementation leaves too much =
of the
responsibility of doing STEKs right to applications, and I will =
endeavour to
fix that.  It is not especially difficult to implement a default-on key =
rotation
mechanism. ]

>> Second-guessing the server's design by looking at ticket sizes seems =
rather
>> contrived.
>=20
> It's not a second guess. If the ticket size is smaller than the RPSK, =
then it
> provably can not have been self-encrypted. But I agree that it says =
nothing
> about the server-side security. They might be posting the keys to =
twitter.

As you yourself concede it is not the size that matters.  It is a very =
marginal
indication of the security of the remote session.  The server may wish =
to decorate
the session id with additional data (say which data-centre issued the =
session)
and fail your test, and yet be doing the type of session caching you're =
asking
for.  The client should either trust the server to cache sessions =
correctly (this
would be the default client behaviour in most cases), or it can choose =
to forgo
session re-use.

Feel free to malign bad implementations of STEKs, but the basic =
mechanism is
sound.

--=20
	Viktor.=


From nobody Wed May  3 15:30:56 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C071E129441 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 15:30:54 -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=allcosts-net.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 vhI5q_xgaTQW for <tls@ietfa.amsl.com>; Wed,  3 May 2017 15:30:52 -0700 (PDT)
Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (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 A195012025C for <tls@ietf.org>; Wed,  3 May 2017 15:29:18 -0700 (PDT)
Received: by mail-yw0-x230.google.com with SMTP id k11so1746444ywb.1 for <tls@ietf.org>; Wed, 03 May 2017 15:29:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=G8/PPbhprRJ+83lBsBi2E9N6zUN8kGjRxXQQA+zpryk=; b=X/ldinedzpvlJ83IrHuphwlPj2Ns04+87jjjtyqoddhpYDE+RuOj6Vkcz4u9cm6z1T MVJS0r4pAlizmfjxJzv1XuLo2G0AcKVdssTvB/UMcIQU6AkV6oeHa+OhgLZD/e+TK6Xc WkTNcMuqqRjkXdj6BM48B/c8fyMQAUMMRJjPJaBtb6yq3tiSnyWycy2iEAm0zCsCmGU5 jyqxBMheSFT9TqoaHe09XhPNSVCXIloh+hFXw6FrTFD4hzDqq6Sy8bgWZ7j+C/W+AkVq rHpluYHNF9qhHCbE4X2VKUok2a1AV8vb/5XF4ifXXbvmM8utV3mXoBaNBXPrGDAQwSC9 Bipw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=G8/PPbhprRJ+83lBsBi2E9N6zUN8kGjRxXQQA+zpryk=; b=V4JBpI/AEGJX9xtDMU8+L09J+PnfGCg6JiVB+maohW8r7aP6q/cekcamqG1G5XvEdC 7Vw6FB+iWS1vLKdAWV8xQXpG9l00EG5tbkfwwzO2NyV6G2JN3kFM5ub9RiYOdO8EZe22 f4CdzQ2nqBp3mBFTnwLsiq639swXjQ+ome83IG4voVIrztcwJGDhyA2VcSOZQcYKpekY dapXZ0yYEjOuwOHC15RoPWPlrYywyjdCEkZaNEK6UWAGRRhOW7FNSRcYN+n0M/wMIh9r BeIWUcSGXvA/WogOcd3PBBV0iJl3JwwupQaAbYz03qjWt9+55ge080/lQw4c28hKeiw1 kOHw==
X-Gm-Message-State: AN3rC/6aAqqeKFM/9Uvz+B6LBXCFULei2nBo1apttMoZBUwyIMQ/La78 0WtawqwCQ/OQPmFRUJftZuCgq49xf/vVqXs=
X-Received: by 10.13.238.65 with SMTP id x62mr30765220ywe.122.1493850557553; Wed, 03 May 2017 15:29:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 15:29:16 -0700 (PDT)
In-Reply-To: <658E74AE-39BC-4518-B11D-92D7AC7F1BD4@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost> <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com> <7573B494-A1C1-4897-B064-14237B5FB525@dukhovni.org> <CAAF6GDfiLtLT5-NZwFaSHmz35MRiNSqSjQt=MmNoQ04vBDPPTg@mail.gmail.com> <658E74AE-39BC-4518-B11D-92D7AC7F1BD4@dukhovni.org>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 15:29:16 -0700
Message-ID: <CAAF6GDf-aJEu8Usss7r9m94YXSVgHq8OB9+=i8-uk=Cv_QtrwA@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c034d8cd51a7a054ea62f17
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/rF4p8kYVblc1_dixyy-Apg6F2oc>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 22:30:55 -0000

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

On Wed, May 3, 2017 at 3:04 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

>
> On May 3, 2017, at 4:27 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> wr=
ote:
>
> > On Wed, May 3, 2017 at 1:20 PM, Viktor Dukhovni <ietf-dane@dukhovni.org=
>
> wrote:
> >
> >> The kind of application whose security requirements preclude use of RF=
C
> 5077
> >> session tickets can and should likely also avoid both 0-RTT and sessio=
n
> >> resumption entirely.
> >
> > I don't agree with this. Why should users of mobile devices, to pick on=
e
> example,
> > have to choose between speed and the extra risk of data disclosure for
> their requests
> > and passwords?
>
> Their security requirements don't preclude use of RFC 5077 session ticket=
s,
> they've been using them all along, and will continue to do so for the
> majority
> of destinations that will take quite some time to upgrade to TLS 1.3.
>
> As you might recall, I don't agree that STEKs are fundamentally less secu=
re
> than remote session caches, I rather suspect that sensibly implemented
> STEKs
> are safer.
>

I'm not sure how any of that is relevant. Mobile users, like everyone else,
appreciate speed; they'll want to use 0-RTT. I'm sure they also appreciate
their data being less at risk, so forward secrecy is good for them too. I'm
saying they should be able to get both. Again, you can combine the security
properties of a STEK with a cache if you want, by encrypting the cache
entries the same way you would use a STEK.


>
> [ I do concede that the current OpenSSL implementation leaves too much of
> the
> responsibility of doing STEKs right to applications, and I will endeavour
> to
> fix that.  It is not especially difficult to implement a default-on key
> rotation
> mechanism. ]
>

Just an aside related to that; it can be useful to fuzz ticket lifetimes a
bit so all of the tickets from a STEK don't expire at exactly the same
time. That can lead to a lot of painful renegotiations happening at once.

>> Second-guessing the server's design by looking at ticket sizes seems
> rather
> >> contrived.
> >
> > It's not a second guess. If the ticket size is smaller than the RPSK,
> then it
> > provably can not have been self-encrypted. But I agree that it says
> nothing
> > about the server-side security. They might be posting the keys to
> twitter.
>
> As you yourself concede it is not the size that matters. It is a very
> marginal indication of the security of the remote session. The server may
> wish to decorate

the session id with additional data (say which data-centre issued the
> session)
> and fail your test, and yet be doing the type of session caching you're
> asking
> for.  The client should either trust the server to cache sessions
> correctly (this
> would be the default client behaviour in most cases), or it can choose to
> forgo
> session re-use.
>

True.


> Feel free to malign bad implementations of STEKs, but the basic mechanism
> is
> sound.
>

"sound" goes too far. Pervasive forward secrecy is one of the central
security goals of modern cryptography, some schemes go so far as to bake in
very frequent key agreement and ratcheting. STEKs aren't compatible with
this goal. They may be acceptable operationally today, but I think they
must be borrowed time if the central goal is meaningful.

--=20
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 3:04 PM, Viktor Dukhovni <span dir=3D"ltr">&lt;<=
a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukhov=
ni.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"=
margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;bord=
er-left-color:rgb(204,204,204);padding-left:1ex"><span class=3D"gmail-"><br=
>
On May 3, 2017, at 4:27 PM, Colm MacC=C3=A1rthaigh &lt;<a href=3D"mailto:co=
lm@allcosts.net">colm@allcosts.net</a>&gt; wrote:<br>
<br>
&gt; On Wed, May 3, 2017 at 1:20 PM, Viktor Dukhovni &lt;<a href=3D"mailto:=
ietf-dane@dukhovni.org">ietf-dane@dukhovni.org</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; The kind of application whose security requirements preclude use o=
f RFC 5077<br>
&gt;&gt; session tickets can and should likely also avoid both 0-RTT and se=
ssion<br>
&gt;&gt; resumption entirely.<br>
&gt;<br>
&gt; I don&#39;t agree with this. Why should users of mobile devices, to pi=
ck one example,<br>
&gt; have to choose between speed and the extra risk of data disclosure for=
 their requests<br>
&gt; and passwords?<br>
<br>
</span>Their security requirements don&#39;t preclude use of RFC 5077 sessi=
on tickets,<br>
they&#39;ve been using them all along, and will continue to do so for the m=
ajority<br>
of destinations that will take quite some time to upgrade to TLS 1.3.<br>
<br>
As you might recall, I don&#39;t agree that STEKs are fundamentally less se=
cure<br>
than remote session caches, I rather suspect that sensibly implemented STEK=
s<br>
are safer.<br></blockquote><div><br></div><div>I&#39;m not sure how any of =
that is relevant. Mobile users, like everyone else, appreciate speed; they&=
#39;ll want to use 0-RTT. I&#39;m sure they also appreciate their data bein=
g less at risk, so forward secrecy is good for them too. I&#39;m saying the=
y should be able to get both. Again, you can combine the security propertie=
s of a STEK with a cache if you want, by encrypting the cache entries the s=
ame way you would use a STEK.=C2=A0<br></div><div>=C2=A0</div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1p=
x;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1=
ex">
<br>
[ I do concede that the current OpenSSL implementation leaves too much of t=
he<br>
responsibility of doing STEKs right to applications, and I will endeavour t=
o<br>
fix that.=C2=A0 It is not especially difficult to implement a default-on ke=
y rotation<br>
mechanism. ]<br></blockquote><div><br></div><div>Just an aside related to t=
hat; it can be useful to fuzz ticket lifetimes a bit so all of the tickets =
from a STEK don&#39;t expire at exactly the same time. That can lead to a l=
ot of painful renegotiations happening at once.=C2=A0</div><div><br></div><=
blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l=
eft-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);pa=
dding-left:1ex"><span class=3D"gmail-">
&gt;&gt; Second-guessing the server&#39;s design by looking at ticket sizes=
 seems rather<br>
&gt;&gt; contrived.<br>
&gt;<br>
&gt; It&#39;s not a second guess. If the ticket size is smaller than the RP=
SK, then it<br>
&gt; provably can not have been self-encrypted. But I agree that it says no=
thing<br>
&gt; about the server-side security. They might be posting the keys to twit=
ter.<br>
<br>
</span>As you yourself concede it is not the size that matters. It is a ver=
y marginal=C2=A0indication of the security of the remote session. The serve=
r may wish to decorate</blockquote><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;=
border-left-color:rgb(204,204,204);padding-left:1ex">
the session id with additional data (say which data-centre issued the sessi=
on)<br>
and fail your test, and yet be doing the type of session caching you&#39;re=
 asking<br>
for.=C2=A0 The client should either trust the server to cache sessions corr=
ectly (this<br>
would be the default client behaviour in most cases), or it can choose to f=
orgo<br>
session re-use.<br></blockquote><div><br></div><div>True.</div><div>=C2=A0<=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,2=
04);padding-left:1ex">
Feel free to malign bad implementations of STEKs, but the basic mechanism i=
s<br>
sound.<br></blockquote><div><br></div><div>&quot;sound&quot; goes too far. =
Pervasive forward secrecy is one of the central security goals of modern cr=
yptography, some schemes go so far as to bake in very frequent key agreemen=
t and ratcheting. STEKs aren&#39;t compatible with this goal. They may be a=
cceptable operationally today, but I think they must be borrowed time if th=
e central goal is meaningful.=C2=A0</div></div><div><br></div>-- <br><div c=
lass=3D"gmail_signature">Colm</div>
</div></div>

--94eb2c034d8cd51a7a054ea62f17--


From nobody Wed May  3 15:49:05 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6093B126D74 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 15:49:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.801
X-Spam-Level: 
X-Spam-Status: No, score=-0.801 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 JT45xXn_JERa for <tls@ietfa.amsl.com>; Wed,  3 May 2017 15:49:02 -0700 (PDT)
Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::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 B869F126CD6 for <tls@ietf.org>; Wed,  3 May 2017 15:49:01 -0700 (PDT)
Received: by mail-lf0-x236.google.com with SMTP id t144so1889810lff.1 for <tls@ietf.org>; Wed, 03 May 2017 15:49:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=R3NQrmmQDwSrPnJdZ/nnx5dV87jG/2w/KTNx/FEFQ9Q=; b=b8sGut/Rh3pEFUS5TCg1w1JZVQCUodzwVkizeHjHE2zenrxo+TSavNc4ivWGPzuEtj H8WA6kMVJ0V+IE1Ecj6LOwwj70hu6jx/k04HYIC/L+nY/RR/3arxCt0cwgj+bra7PrgO 1AJysx+XKgqpGtj7bE+I2z/QWzOcj9lmd6NHM7uMCUaFQIHMLCkXFaq1go0jKgox6JiT U2J1iAMQqfpo+xUCnbqh9cV2apcYcEIojOF1yK8+a3u2I/weetSoRIPwdDIbsRNoVsRt w9IUx0SHCqX9/IkJ4OsfomuBrmdlK6TvDfZvRA3GTxSVltU90oMC4ER8Bx2OLBvg4A0P 6MvA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=R3NQrmmQDwSrPnJdZ/nnx5dV87jG/2w/KTNx/FEFQ9Q=; b=KewaxD6DMcGiQlRi/Q2MyU1kNNhCFPFlN4Gn8TuCq3ozH2onqlA23YA/8HQCpt0axL 3x1qQ+2yfDnVBpUS3G1NyVSG74Bpsqnalr+zo2QD87d14WYvuOcmWEsgDrCDD2YqPc6S LmY196Y4Ls0h4uRVwEwd4hZgcNXF+xRBl0mPfhgPCwFudQo1EwP+lxTQuyFRCiwFPttN F4JFi+CM1oqi9JY/0Wkatl60/Oojg19Z9kdmDQl1Xib65Vzrl0UhxxVfsf3YdN+GVHQn dJIBktpoAk0KqVkD9NdgwDijxFp8Ysmi5GSMpieJrt9AT4sWo556yPqHKv/ugGooyfx+ ZTVw==
X-Gm-Message-State: AN3rC/7Kl77g9MLcAvluZKqZAavvaa1H11UBpSz4myNyOEW6FIW8RPgM n+qETbOWjVUY96EsDe7LbgeEKdBzfDjTJp8=
X-Received: by 10.25.76.6 with SMTP id z6mr12600366lfa.172.1493851740057; Wed, 03 May 2017 15:49:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Wed, 3 May 2017 15:48:59 -0700 (PDT)
In-Reply-To: <CAMoSCWaqTUrQC0RLV+xN1HTnpmo2Q_vMmvi3r4CLn4GvMu-Ocw@mail.gmail.com>
References: <CAMoSCWaqTUrQC0RLV+xN1HTnpmo2Q_vMmvi3r4CLn4GvMu-Ocw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 4 May 2017 08:48:59 +1000
Message-ID: <CABkgnnX-PZ-567gNAiwozzerB8_zMtEX46oNHXMXSdgF3D+6Tg@mail.gmail.com>
To: Matt Caswell <frodo@baggins.org>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/DHQ02c3Wm1OsnLvTdFlS6rHw4As>
Subject: Re: [TLS] OpenSSL now at draft-20
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 22:49:03 -0000

On 4 May 2017 at 02:29, Matt Caswell <frodo@baggins.org> wrote:
> FYI, I have just made the necessary updates to bring the OpenSSL
> master branch up to draft-20 compatibility. Please test!!


That's timely.  I just landed -20 support in NSS.  It's on a branch
because we're not switch-hitting and we don't want to upgrade Firefox
just yet.

See https://hg.mozilla.org/projects/nss/shortlog/NSS_TLS13_DRAFT19_BRANCH


From nobody Wed May  3 15:56:11 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE6C9126D74 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 15:56:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.801
X-Spam-Level: 
X-Spam-Status: No, score=-0.801 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 3MljCQLe_PTR for <tls@ietfa.amsl.com>; Wed,  3 May 2017 15:56:08 -0700 (PDT)
Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (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 35FD612426E for <tls@ietf.org>; Wed,  3 May 2017 15:56:08 -0700 (PDT)
Received: by mail-lf0-x235.google.com with SMTP id j1so1011752lfh.2 for <tls@ietf.org>; Wed, 03 May 2017 15:56:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=DROH3iM9RTP92NFo52nQTWpZscqQdDXIdLr67mgRLiw=; b=LLv3W6NLQh5daxZXCGdXgnWcqrfreJji9FwAHjERRpUSpq+AL9SUecRIcqDJ9FYiG/ XYKLewwOTwk7993IoC7H/NTSmy2filPW9qjyCBQIMXpL7gOyTFI2jGV0SExB0woJFrKO 8NoqYQLnweWc/VHvxjhogMCfQmRIlghJlvJf/MdKMPZTh3234h9tMp9ifYbVofmZfHqo UphVeGcAxhoIDcXjWSIIR749OSowK1Z1R/DeqiKQNEB1QCM6KW0TBcsVnEtqkHePwLbd 5W4tNtqFR6mFEmimmktfi3gfYjHahbiXwTJn02g1W6LF5pO9pRydu9yRC7XA5r8JNv7m JKPQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=DROH3iM9RTP92NFo52nQTWpZscqQdDXIdLr67mgRLiw=; b=XzPuU1IL5gOCw53aQsqt/9Ubf4ebB4h6E5uE3F0ACFwS0575VyMn2o28m6unuZ5ZJB q6XJnWOO8EONMwQjl819mb1k8MPWiHyrqB2VAWd0iTYQVp9u2V8NpuTIBtMgLr20Tuzx WH3Ydysvre0AifwcKkxL79hgtJoI/bnjN5Tk3oMIcugDOfWkvOYRasD+55hdErd6yPC1 dWakeizH8AXGXR7lD3sFVfdTmGgy/OMWzUjGDa3sqs9uiP8ckPEdA5PUM84AEgbWn9VY ZooiOFenRVdKMrvFnX0E2l9y+A3BhzhqBOVPl6ayWdCGgEbvUYDiMqaZnZLIITEqzljs iGJA==
X-Gm-Message-State: AN3rC/4wR+8uep7V+2gPgDGM7iVopFDMgVu04Yzs9rztVO9xW+GdwdfP VDBsdCIk4tG0nOs4SCxYONCJoUIBTvM9
X-Received: by 10.46.0.23 with SMTP id 23mr12605853lja.33.1493852166562; Wed, 03 May 2017 15:56:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Wed, 3 May 2017 15:56:05 -0700 (PDT)
In-Reply-To: <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 4 May 2017 08:56:05 +1000
Message-ID: <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: Hannes Tschofenig <hannes.tschofenig@gmx.net>, "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/BlaeLyfh-w1F-7oF2NMrbwUMx7o>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 22:56:10 -0000

On 3 May 2017 at 22:45, Colm MacC=C3=A1rthaigh <colm@allcosts.net> wrote:
> This is easy to say; the TLS layer is the right place. It is not practica=
l
> for applications to defend themselves, especially from timing attacks.

If you care about these attacks as much as it appears, then you can't
reasonably take this position.  We've historically done a lot to
secure applications at a single point, and we're almost at the end of
what we can reasonably do for them at this layer.  We need to think
more hollistically and acknowledge that applications need to take some
responsibility for their own security.


From nobody Wed May  3 16:16:55 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C398127876 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 16:16:53 -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=allcosts-net.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 ymgZPgij4LVc for <tls@ietfa.amsl.com>; Wed,  3 May 2017 16:16:51 -0700 (PDT)
Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (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 3989D12778E for <tls@ietf.org>; Wed,  3 May 2017 16:16:51 -0700 (PDT)
Received: by mail-yw0-x231.google.com with SMTP id k11so2131517ywb.1 for <tls@ietf.org>; Wed, 03 May 2017 16:16:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=t+CKmUbc4qrobXqzCTbHyw0KC+1HMvAKv6hDzSj9pVs=; b=K7Bd8L02jXKGoF/zzAGEmPgtDmyzwzpvAnwdlv2X38XnoUyJNX5yfmZXW1s9Rqg/2d BGucdKey+Cgtge00NRD5V38l67uJR8+A+L0CmumEsKcKyk+JIy3ugaBjQvETUrEfi4R9 HZ2x0Zo7WShl0N4lXDK5f028i55lSbve2nTiXvShNCh+gaml8Fmxl925eV9P/J0jsFqL w4AoxR6ZF9L2Ib0nqyjZSWmTgCy5sauUwTRfZds+SvQvvdpwZqc2woZmWB3yW5gE6YDz pbNd18q/44l5UI/O4F9O/x4oBoeheQHKhv6KVifCNQbVhmqaIii7RZrB+QOjjmScb+j+ QX4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=t+CKmUbc4qrobXqzCTbHyw0KC+1HMvAKv6hDzSj9pVs=; b=gkzyu5IjJ7XywlsZnrL7d8+iWAm0zXDV66/mB8ojzpdZyaJ4NKd3hsN8PpCgRA6ZTR NRQjEl4hPXvO/4Wh80TMSpzT8lrnDQy/yEmqMI60LfyoACCAuNAploR9XNAyiUiWI5Rr 3qsILwGC8EOSdBeFLg+TyC9wWZwwhZD1DHAVwTzH86ceFV3kgDbwhNdnZY4nR9yuwfJ2 AaoWRYKmmLtgEIXSDVH3ITSFUjMhatVIRImalPbo9KGHpFp15yxHiwGrxFdmOuriGTWZ fpZBo6mx5bDGMdZhvgNWHBz+ugwNXARrSNxNrxbkaA7kGlAy0R2h20iSTNGw2wD4lfOH /hFw==
X-Gm-Message-State: AN3rC/7jWjc+3oYaIwr0AiZ9pDtKiZ7Av5hKwI5N9W73d8A1V2KvYIvF 5LCkQRz2TT0BzyVefCTNv5eS7Mlmbw==
X-Received: by 10.129.157.142 with SMTP id u136mr3529194ywg.323.1493853410466;  Wed, 03 May 2017 16:16:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 16:16:49 -0700 (PDT)
In-Reply-To: <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 16:16:49 -0700
Message-ID: <CAAF6GDcnrQwQ7dE59pYV3YFLJD9zsQEqmPrFRKgyxSwj7UFCkA@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Hannes Tschofenig <hannes.tschofenig@gmx.net>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c0b68aae0ee93054ea6d9c7
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Kzl4vyHUvyCC4TsP2LxuDKu14Z8>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 23:16:53 -0000

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

On Wed, May 3, 2017 at 3:56 PM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> On 3 May 2017 at 22:45, Colm MacC=C3=A1rthaigh <colm@allcosts.net> wrote:
> > This is easy to say; the TLS layer is the right place. It is not
> practical
> > for applications to defend themselves, especially from timing attacks.
>
> If you care about these attacks as much as it appears, then you can't
> reasonably take this position.


An analogy may help here. TLS has always offered anti-replay, it is one of
our core security guarantees, and the assumption that it is there is subtly
baked in to many applications.

Suppose we wanted to remove a different security guarantee: integrity
protection/tamper-proofing. Suppose we decided to offer a fast "No MAC"
mode for streamed uploads, it is faster, more stream-y (no need to wait for
each record to be complete), and TLS is really mostly about secrecy. But to
be "safe" we decide that it's only on optionally and sometimes, and we
always have to tell the application which data may have been tampered with.

The application can use its own MACing, or FECing, or whatever, and really
it should have been doing this from the days of plaintext HTTP, right!?
It's all the application's responsibility - we say, they can deal with it
[*]

Except MACing is hard, and they run in to Lucky13 all over again, or just
use MD5 because they don't know any better, and so on.  Or worst of all: a
middle box decides to enable it on the front-end, with no knowledge to the
backend about what's happening.

In my view, this arrangement would plainly be crazy. We wouldn't consider
it. Instead, we provide protection for them using layering principles, and
TLS provides protections that TLS experts are good at.

And yet we do consider all of this for replay. I think it's because
collectively we haven't seen just how hard a problem idempotency and
application-level side-effects are and we are less familiar with the risks.
In the review, I've included 5 real attacks to illustrate that problems are
real. Several of them I can't see how to mitigate them at application
level, and I've been checking with experts on distributed systems. How
would you mitigate the throttling problem (attack 3) or the timing problem
(attack 4) on say a JVM object cache?


> We've historically done a lot to
> secure applications at a single point, and we're almost at the end of
> what we can reasonably do for them at this layer.  We need to think
> more hollistically and acknowledge that applications need to take some
> responsibility for their own security.
>

No we don't. Servers can prevent replay.

--=20
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 3:56 PM, Martin Thomson <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.thomson@=
gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span cl=
ass=3D"">On 3 May 2017 at 22:45, Colm MacC=C3=A1rthaigh &lt;<a href=3D"mail=
to:colm@allcosts.net">colm@allcosts.net</a>&gt; wrote:<br>
&gt; This is easy to say; the TLS layer is the right place. It is not pract=
ical<br>
&gt; for applications to defend themselves, especially from timing attacks.=
<br>
<br>
</span>If you care about these attacks as much as it appears, then you can&=
#39;t<br>
reasonably take this position.=C2=A0 </blockquote><div><br></div><div>An an=
alogy may help here. TLS has always offered anti-replay, it is one of our c=
ore security guarantees, and the assumption that it is there is subtly bake=
d in to many applications.=C2=A0</div><div><br></div><div>Suppose we wanted=
 to remove a different security guarantee: integrity protection/tamper-proo=
fing. Suppose we decided to offer a fast &quot;No MAC&quot; mode for stream=
ed uploads, it is faster, more stream-y (no need to wait for each record to=
 be complete), and TLS is really mostly about secrecy. But to be &quot;safe=
&quot; we decide that it&#39;s only on optionally and sometimes, and we alw=
ays have to tell the application which data may have been tampered with.=C2=
=A0</div><div><br></div><div>The application can use its own MACing, or FEC=
ing, or whatever, and really it should have been doing this from the days o=
f plaintext HTTP, right!? It&#39;s all the application&#39;s responsibility=
 - we say, they can deal with it [*]</div><div><br></div><div>Except MACing=
 is hard, and they run in to Lucky13 all over again, or just use MD5 becaus=
e they don&#39;t know any better, and so on.=C2=A0 Or worst of all: a middl=
e box decides to enable it on the front-end, with no knowledge to the backe=
nd about what&#39;s happening.=C2=A0</div><div><br></div><div>In my view, t=
his arrangement would plainly be crazy. We wouldn&#39;t consider it. Instea=
d, we provide protection for them using layering principles, and TLS provid=
es protections that TLS experts are good at.=C2=A0</div><div><br></div><div=
>And yet we do consider all of this for replay. I think it&#39;s because co=
llectively we haven&#39;t seen just how hard a problem idempotency and appl=
ication-level side-effects are and we are less familiar with the risks. In =
the review, I&#39;ve included 5 real attacks to illustrate that problems ar=
e real. Several of them I can&#39;t see how to mitigate them at application=
 level, and I&#39;ve been checking with experts on distributed systems. How=
 would you mitigate the throttling problem (attack 3) or the timing problem=
 (attack 4) on say a JVM object cache?</div><div>=C2=A0</div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex">We&#39;ve historically done a lot to<br>
secure applications at a single point, and we&#39;re almost at the end of<b=
r>
what we can reasonably do for them at this layer.=C2=A0 We need to think<br=
>
more hollistically and acknowledge that applications need to take some<br>
responsibility for their own security.<br></blockquote><div><br></div><div>=
No we don&#39;t. Servers can prevent replay. =C2=A0</div></div><br>-- <br><=
div class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Colm</div>
</div></div>

--94eb2c0b68aae0ee93054ea6d9c7--


From nobody Wed May  3 16:26:28 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 636A5127873 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 16:26:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 7jCMN0xDWeBN for <tls@ietfa.amsl.com>; Wed,  3 May 2017 16:26:26 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CB21D12778E for <tls@ietf.org>; Wed,  3 May 2017 16:26:25 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id D41557A32F1 for <tls@ietf.org>; Wed,  3 May 2017 23:26:24 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAAF6GDf-aJEu8Usss7r9m94YXSVgHq8OB9+=i8-uk=Cv_QtrwA@mail.gmail.com>
Date: Wed, 3 May 2017 19:26:23 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <8EF519E7-BD1E-4449-A1DF-F89CD3C68760@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost> <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com> <7573B494-A1C1-4897-B064-14237B5FB525@dukhovni.org> <CAAF6GDfiLtLT5-NZwFaSHmz35MRiNSqSjQt=MmNoQ04vBDPPTg@mail.gmail.com> <658E74AE-39BC-4518-B11D-92D7AC7F1BD4@dukhovni.org> <CAAF6GDf-aJEu8Usss7r9m94YXSVgHq8OB9+=i8-uk=Cv_QtrwA@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/W7BXuPsxMhaVhsFfc8M_ct-BzqQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 May 2017 23:26:27 -0000

> On May 3, 2017, at 6:29 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
>=20
> Just an aside related to that; it can be useful to fuzz ticket =
lifetimes a
> bit so all of the tickets from a STEK don't expire at exactly the same =
time.
> That can lead to a lot of painful renegotiations happening at once.

More than "a bit".  In Postfix session tickets have a constant lifetime =
regardless
of whether they were issued at the beginning of end of the current STEKs =
duration
is the STEK encryption key.  This works, because each STEK is retained =
as a
decryption-only key for a second "lifetime" while the next key is =
employed to
encrypt (and decrypt) new sessions.

There is no clustering of session expirations.  The plan is to do the =
same in
the default-on key rotation for OpenSSL.

--=20
	Viktor.


From nobody Wed May  3 17:19:48 2017
Return-Path: <waywardgeek@google.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0E439129407 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 17:19:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.102
X-Spam-Level: 
X-Spam-Status: No, score=-0.102 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] 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 ut_TUjw9kDFF for <tls@ietfa.amsl.com>; Wed,  3 May 2017 17:19:43 -0700 (PDT)
Received: from mail-yb0-x22b.google.com (mail-yb0-x22b.google.com [IPv6:2607:f8b0:4002:c09::22b]) (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 9EDF1128D6F for <tls@ietf.org>; Wed,  3 May 2017 17:19:43 -0700 (PDT)
Received: by mail-yb0-x22b.google.com with SMTP id s22so1310005ybe.3 for <tls@ietf.org>; Wed, 03 May 2017 17:19:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SWKABWe0Dcm8JGFP+mAoB+Ym5a44uw0nORKYy8wOViI=; b=G8Bejpnn19r5LKJ+trUt7U78PCFi1OqUihFPNpMxSDTE9Yi/+ve5vc2MIx+XwNH009 ONWYnEhldJ7BlQR2VYTtMFxslzSLEHKI6asXAAMAfWyWb4WlIHe1NFexpm1NEd6OoTaP 0Mfhy5q0wzUPrhdKJlB7JGMrO062eqrQ0stzMN/b8DRzdfofz2JT+qXI7M2VTrimsjMx RUE8m26gxmms1pquxRCUeYcrY8jwIsC9wXsVrJy9v0F4Qmvdq4Hwvurn7Qd1r7hn8qD7 GJpBaCrc0SijHiY4pUW2EbtCKIpmaaHz0CWJp1qZH8PwN7bS0uMnEWPXUZ+PwYCQzDP/ sOog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SWKABWe0Dcm8JGFP+mAoB+Ym5a44uw0nORKYy8wOViI=; b=kChpTh+2J+n/bgSkL7bpv8AeWAdFjJypDHG8pesDH1vnZ85/PTH0wsJnp3m5Y6i2pK DKjz0U7YS2sOCVD1C/JQaruipTwcQde6Zxr08eI+taDMkJQDRORMQ0woawTVrOnJBpuM gU2+W9cxCWGDpATxCwiCX7YKVFMdycHlcwnJW5TCLD+9XLchuww//ZSEYyPrCdphs1ZK w7jmK/VnAidqpBjTostjfNUQlGCqlj1Co+5YSD/u6MAEGJzA9AydtclsONIwDDUIRXiG 32JnhEWvfaQqSRcl7GJ2w7FF0VvOdZD5RgKqtCAUkGkC7po+KItrrEGRHrVhInqAQv8S M88w==
X-Gm-Message-State: AN3rC/6nEwTPutfhQtfllNUR7suMiZtrXXZrVwW0XT5wzXdABSDJYedd ZNr1szzqGiDYS5xaAIWuVu5s9fsIDOCI
X-Received: by 10.37.117.134 with SMTP id q128mr31398427ybc.170.1493857182656;  Wed, 03 May 2017 17:19:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.13.222.70 with HTTP; Wed, 3 May 2017 17:19:41 -0700 (PDT)
In-Reply-To: <CAAF6GDcnrQwQ7dE59pYV3YFLJD9zsQEqmPrFRKgyxSwj7UFCkA@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com> <CAAF6GDcnrQwQ7dE59pYV3YFLJD9zsQEqmPrFRKgyxSwj7UFCkA@mail.gmail.com>
From: Bill Cox <waywardgeek@google.com>
Date: Wed, 3 May 2017 17:19:41 -0700
Message-ID: <CAH9QtQGPmg2WiQcoknryCXvMPY9y61URjyNhB_4oGENTf3Z+yw@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: Martin Thomson <martin.thomson@gmail.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a114bbbaeb81abe054ea7ba34
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/wMs1A4j8Semj5pF_Wa3FAJUxsA4>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 00:19:45 -0000

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

On Wed, May 3, 2017 at 4:16 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:

>
> No we don't. Servers can prevent replay.
>

Replay prevention looks straight forward with a server-side cache.  This
may not work well for the top 1,000 web sites, but I bet it will work well
for the bottom 1 billion sites.  Personally I think the important thing is
for popular HTTP server software to implement replay protection for TLS 1.3
0-RTT by default.  Admins at literally millions of small companies are
going to want to enable this new 0-RTT hotness.  That part should be made
easy - say one line in a config.  Enabling 0-RTT without replay protection
should be harder.

Bill

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, May 3, 2017 at 4:16 PM, Colm MacC=C3=A1rthaigh <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:colm@allcosts.net" target=3D"_blank">colm@allcosts.net</a>&=
gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div c=
lass=3D"gmail_extra"><div class=3D"gmail_quote"><span class=3D""><div><br><=
/div></span><div>No we don&#39;t. Servers can prevent replay.=C2=A0</div></=
div></div></div></blockquote><div><br></div><div>Replay prevention looks st=
raight forward with a server-side cache.=C2=A0 This may not work well for t=
he top 1,000 web sites, but I bet it will work well for the bottom 1 billio=
n sites.=C2=A0 Personally I think the important thing is for popular HTTP s=
erver software to implement replay protection for TLS 1.3 0-RTT by default.=
=C2=A0 Admins at literally millions of small companies are going to want to=
 enable this new 0-RTT hotness.=C2=A0 That part should be made easy - say o=
ne line in a config.=C2=A0 Enabling 0-RTT without replay protection should =
be harder.</div><div><br></div><div>Bill</div></div></div></div>

--001a114bbbaeb81abe054ea7ba34--


From nobody Wed May  3 17:25:41 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 754FF129423 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 17:25:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 ycL-xpnw8Fks for <tls@ietfa.amsl.com>; Wed,  3 May 2017 17:25:39 -0700 (PDT)
Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (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 0309A129409 for <tls@ietf.org>; Wed,  3 May 2017 17:25:39 -0700 (PDT)
Received: by mail-lf0-x22c.google.com with SMTP id h4so2576667lfj.3 for <tls@ietf.org>; Wed, 03 May 2017 17:25:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=vynZ2gfOoB2Ip/tEb8SehS/1db2MGSXsK4fHalqWWw4=; b=rOkcK6gICVjfXMwIAqRmhYyav2IyZCenm27KmZ4KM0V5v6+qnhdWM3AI6wtL43QolR D1TUfYKjq5dDZ7+pmhT9FuMX+XtmwNiBu8a581rJ7BV2UonVc6y0qH4z4zxa9U8lKob4 r/CpcF/T0MjXfmDBrzI2ll5lnHb1PxQ4rUWneVGx3HyeAQTugRjO/Ndlyig38DrSgbjr Jvbk4loHk+KN6y90GWoEZCd0zpxnHTdhCqIPb8LeEfLTDoDGnIbShBYxr82xF95+REZO iW1DrKoGcCva+k/LpLgQeofM1Xsd8gC1VtC5MmlaKBAhhUsbTSQtlCBMCQHMDV/NV7WI RmQg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=vynZ2gfOoB2Ip/tEb8SehS/1db2MGSXsK4fHalqWWw4=; b=iPN/XZustecCdPdvEFwhpmNk33rY3gmgcHDgz2dQwy1IMtKUiksi8b7au7kZXR2+qB N0QJ1HTZs5J8pZ/uOdbXgC6pzjHQ89a7o3LS41RVpDzLTgrXAkd89e/amohuzo1vT62T OgqnGzID18+gGBC4V8ZRev3CTXFUjjSAPIcMesTTYr3Tgd3Y1GiI0/sIlQoqJTSzx3pm THCcFRPBdbR5jW5NlwBULpKBPzEnOWXc8mTi2wzioenbqu5pQJqi/LTlAa0fLhrTMhys vJuxdBm+i9vdf1jM/pJ2qJCgWOFqxBfh5YT2tRA5RzIfNl23dPFZFHZtVuc9Lx9sWNDF oMEQ==
X-Gm-Message-State: AN3rC/65knP5PoKlUpiCcTFt5LIIu389Injwxd7EK/vj7HPljkjkiVrv 3Selmy/XREOhaFrAHm/8Kppgy3fryw==
X-Received: by 10.25.158.147 with SMTP id h141mr13555646lfe.130.1493857537297;  Wed, 03 May 2017 17:25:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Wed, 3 May 2017 17:25:35 -0700 (PDT)
In-Reply-To: <CAAF6GDcnrQwQ7dE59pYV3YFLJD9zsQEqmPrFRKgyxSwj7UFCkA@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com> <CAAF6GDcnrQwQ7dE59pYV3YFLJD9zsQEqmPrFRKgyxSwj7UFCkA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 4 May 2017 10:25:35 +1000
Message-ID: <CABkgnnV_d6hRaHxsGoFFGPU3rsrPKKy231To-VL9pWidWs04HQ@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: Hannes Tschofenig <hannes.tschofenig@gmx.net>, "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/SY-Fwbxi64IcFexIL3NjUMpvq-0>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 00:25:40 -0000

On 4 May 2017 at 09:16, Colm MacC=C3=A1rthaigh <colm@allcosts.net> wrote:
>> We've historically done a lot to
>> secure applications at a single point, and we're almost at the end of
>> what we can reasonably do for them at this layer.  We need to think
>> more hollistically and acknowledge that applications need to take some
>> responsibility for their own security.
>
> No we don't. Servers can prevent replay.

I was responding to an overly broad statement you made.  In the
discussion you also talk about timing side-channels and other ways in
which information can leak.  Nothing we do at the TLS layer will
prevent those from being created in applications.

Also, it might pay to remember that this is part of a larger context.
Applications routinely retry and replay; if they didn't, users would.


From nobody Wed May  3 17:50:39 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B453B129465 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 17:50:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.101
X-Spam-Level: 
X-Spam-Status: No, score=0.101 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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=allcosts-net.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 UpAZV_rXc5FU for <tls@ietfa.amsl.com>; Wed,  3 May 2017 17:50:36 -0700 (PDT)
Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (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 6ECD21250B8 for <tls@ietf.org>; Wed,  3 May 2017 17:50:36 -0700 (PDT)
Received: by mail-yw0-x22b.google.com with SMTP id 203so2824422ywe.0 for <tls@ietf.org>; Wed, 03 May 2017 17:50:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JVOz+fn6bu9u2DtljW9mpZJFMrXhUtVCtERmztvSf9I=; b=UPHU+B6GXwNwsubt3lUZ26vfPc43m4n2BHxDR10KHQOdqznctrqOgmV3UADBhv8UEr L/8hOCAJTd3KP6HN17NsE8bY0Eg5t7y4AT7KYZgNfd3NlxFPncoZbM2+rvWUsAXRMlgC WvoBcUvyK/Rds298uVqeNNXgjLFVkqydwftEyX3MXjs8XE72AzFOkpj+iOycpsLmWIda 4eGlEOG7aEULFhkYZHk6d1F8uT5cX0V4/dY5vNN2Z+A3TNaHy+n7OW0Cw3RvhKWYG/vU iuWmZxxpCuM7A2ExCcVBRZlHvPKnUHsDo/3za9sKSCvEXIh5ur3zgWWUCjw8m7CGBUIq Sqyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JVOz+fn6bu9u2DtljW9mpZJFMrXhUtVCtERmztvSf9I=; b=Huxds2hvuZa+bpnMBCJDA72LfKJb8EcLOGypmQdugQpRxZrLvHQ/rbauoMjStIxPnM 2KFnp6/yz5Ebjm9Bna2POWQ/DemtdP8JfH8FVJciW0BbgLSFlmA3wsHIU50m1p3mD9yS vaLxgFSkLCZblaBkhU7P6qBHoSDnqNuqbSIewqD29bCHetUJHZGWD+Iqba91wwJo1TZm n6xOWpe/aDH3iri+yRCg1B4+n5UEjgMfob4W4F2+U4fcd4Qzgb2M3wcskQr1MlT3Spdu b+DUupt+TQ2sziGASzNWgblc9wc2bi+NRHh7EvthzsnuyoXIQxqtSaImTNQw6EW45Lw5 P0Vw==
X-Gm-Message-State: AN3rC/4DjmWdc+Nwr9MAztFCKARHCIGdBjGsupn254emrV1GWPzamwOi TLl8chuYMGZNIcGwaXMbfB0FRuqnIA==
X-Received: by 10.129.53.207 with SMTP id c198mr34771903ywa.14.1493859035572;  Wed, 03 May 2017 17:50:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 17:50:34 -0700 (PDT)
In-Reply-To: <CABkgnnV_d6hRaHxsGoFFGPU3rsrPKKy231To-VL9pWidWs04HQ@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com> <CAAF6GDcnrQwQ7dE59pYV3YFLJD9zsQEqmPrFRKgyxSwj7UFCkA@mail.gmail.com> <CABkgnnV_d6hRaHxsGoFFGPU3rsrPKKy231To-VL9pWidWs04HQ@mail.gmail.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 17:50:34 -0700
Message-ID: <CAAF6GDdPt7rkA=6aEB2=u4eAjZ2gAyR_ANDfDCQMCO-BCu2fDQ@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Hannes Tschofenig <hannes.tschofenig@gmx.net>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a1142e7ec2908ee054ea82956
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/HpEbYlmhufEu2m_0JCw4OLZz5TI>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 00:50:38 -0000

--001a1142e7ec2908ee054ea82956
Content-Type: text/plain; charset=UTF-8

On Wed, May 3, 2017 at 5:25 PM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> I was responding to an overly broad statement you made.  In the
> discussion you also talk about timing side-channels and other ways in
> which information can leak.  Nothing we do at the TLS layer will
> prevent those from being created in applications.
>

Sure, but things we're doing at the TLS layer can make it  much worse, as
in this case. I don't think we can make attacks easier.


> Also, it might pay to remember that this is part of a larger context.
> Applications routinely retry and replay; if they didn't, users would.
>

In the larger context, not all HTTP calls are coming from user actions, or
from clients that retry in that way. Some clients need to be careful,
precisely to achieve idempotency or safety. The review details the reasons
why, and also why it is impractical for actors to separate out these cases
and simple "not use" 0-RTT, due to how layers work and systems
interoperate.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 5:25 PM, Martin Thomson <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.thomson@=
gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was re=
sponding to an overly broad statement you made.=C2=A0 In the<br>
discussion you also talk about timing side-channels and other ways in<br>
which information can leak.=C2=A0 Nothing we do at the TLS layer will<br>
prevent those from being created in applications.<br></blockquote><div><br>=
</div><div>Sure, but things we&#39;re doing at the TLS layer can make it =
=C2=A0much worse, as in this case. I don&#39;t think we can make attacks ea=
sier.=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also, it might pay to remember that this is part of a larger context.<br>
Applications routinely retry and replay; if they didn&#39;t, users would.<b=
r></blockquote><div><br></div><div>In the larger context, not all HTTP call=
s are coming from user actions, or from clients that retry in that way. Som=
e clients need to be careful, precisely to achieve idempotency or safety. T=
he review details the reasons why, and also why it is impractical for actor=
s to separate out these cases and simple &quot;not use&quot; 0-RTT, due to =
how layers work and systems interoperate.=C2=A0</div></div><br>-- <br><div =
class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Colm</div>
</div></div>

--001a1142e7ec2908ee054ea82956--


From nobody Wed May  3 17:51:43 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A5431250B8 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 17:51:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 wsnODS5Gmn3E for <tls@ietfa.amsl.com>; Wed,  3 May 2017 17:51:39 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 519DB129477 for <tls@ietf.org>; Wed,  3 May 2017 17:51:39 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 9C2177A32F1 for <tls@ietf.org>; Thu,  4 May 2017 00:51:38 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAAF6GDf-aJEu8Usss7r9m94YXSVgHq8OB9+=i8-uk=Cv_QtrwA@mail.gmail.com>
Date: Wed, 3 May 2017 20:51:37 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <BF1DC9D8-7E39-4415-A9F9-C1C1995B20C5@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost> <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com> <7573B494-A1C1-4897-B064-14237B5FB525@dukhovni.org> <CAAF6GDfiLtLT5-NZwFaSHmz35MRiNSqSjQt=MmNoQ04vBDPPTg@mail.gmail.com> <658E74AE-39BC-4518-B11D-92D7AC7F1BD4@dukhovni.org> <CAAF6GDf-aJEu8Usss7r9m94YXSVgHq8OB9+=i8-uk=Cv_QtrwA@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/gNCMGwVa1t0ckiHZ3CCFJML6yLw>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 00:51:41 -0000

> On May 3, 2017, at 6:29 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
>=20
> Pervasive forward secrecy is one of the central security goals of =
modern
> cryptography,

Sure, given a sensible definition of forward-secrecy.  And near =
instanenous
deletion of session keys is not part of such a definition.

> STEKs aren't compatible with this goal. They may be acceptable =
operationally
> today, but I think they must be borrowed time if the central goal is =
meaningful.

We need to recall what thread-model is behind the desire for =
forward-secrecy.
It is I think not controversial to say that forward is concerned with =
limiting
the damage from end-point (especially server end-point) compromise, in =
which
confidentiality of long-term keys (still held on the endpoint) is lost.

Consider the fact that such compromise is unlikely to be detected and =
remediated
instantaneously.  Indeed not only will the adversary have access for =
some time
to sessions initiated post-compromise, he will also be able to =
impersonate the
real server after the server is "secured" because certificate revocation =
will
take days (or until the certificate expires) to take effect and more =
sessions
can be compromised via MiTM attacks after the keys stolen.

The incremental exposure of some fraction of a hour of sessions shortly =
before
compromise pales in comparison with the much longer post-compromise =
exposure
before the service is again secure.

STEKs are simpler to design and secure than a complex session cache. =
This
simplicity has security benefits.  Properly implemented STEKS have a =
lifetime
that is much shorter than any plausible compromise exposure time window. =
 Given
this, it makes sense to not consider potential STEK compromise as loss =
of forward
secrecy.

Forward secrecy guards against disclosure of truly long-term key =
material, with
a lifetime of weeks to years.  Once we get down to hours or minutes, it =
is quite
sensible to take a coarser view of time, with similar exposure for =
sessions
"just before" and "just after" compromise.

Maximally sensitive traffic can take the penalty of avoiding session =
caching
of any kind.

--=20
	Viktor.=


From nobody Wed May  3 18:03:34 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 19B58129481 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:03:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 j2rO2YzuotSY for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:03:30 -0700 (PDT)
Received: from mail-yb0-x22e.google.com (mail-yb0-x22e.google.com [IPv6:2607:f8b0:4002:c09::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 F3D1012949E for <tls@ietf.org>; Wed,  3 May 2017 18:03:25 -0700 (PDT)
Received: by mail-yb0-x22e.google.com with SMTP id j17so1506998ybj.0 for <tls@ietf.org>; Wed, 03 May 2017 18:03:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=44kaQbixVvo7/LtpJsZPQcc7VO3Zv+kWi1pdc7KUrYg=; b=mTmKZyhxsJnNuMtN61/CnSpmmcN3EtDYISc8n6/XZ7BZrpV7UGscFWDNKES0yD/WHi 5Gha/r6VdpnElLCh3dZpoq19cQlTJICjATn2d4VAAIC1gafHhG7/GLiFijOrmYUfvDj6 CYF25S46Yx3nmSBLfNt19ucHElrhXvg/8Dc7j8OOAJFMRwd0W6ZkRuYausWbhCIbXejh ZBgWDheicMIpXzzT/RQnt6ezc+ESib9lh0HR/hP89PJ3t0oUuIvz2u59Co3hKtewc6dc NA5c2vp0YwNW6dM8qh6f/AWIV7hW+uTV5tkbeqwnZ2TgLHJFvSqGmVkhNoxzxyoKkrog z1eg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=44kaQbixVvo7/LtpJsZPQcc7VO3Zv+kWi1pdc7KUrYg=; b=ePNlfqXOw06D1Ko5onfIc45lVKp6SFAEB0eDllD49NEAcJi5MM96ekHBXnsIVGgbR4 yNT+pqBUcv1y2RLq7YNrcYKM5u+feRq/7tFnWH+9L9HcVXd/dFK1coEyVEuAF3xeqth9 lyUhOP6YIzipNr0DDkBAQqjr++4K5LI6qgwwzPjMF1Z581oXD6/BWr4Vih+oJL1et7Av X5SvUwXWdxLMb/9ayhGoXPr0qNJKhY7FZl8OuSRF8IvAdnUIBlVSTOAzrmBFSk9wZHUC XnB9bZLpEU89tGg3rpUMi1txjc1yyei9C926lRw7FQVrGNrgOJhVeMyh9/ITBqW/Eklu w9nQ==
X-Gm-Message-State: AN3rC/6WkpEdw0/cYwVBtYnk5oo26eTJUKQdbYuwcZizj/JaidaTBDo8 7RT1dOsEr2vF1r7SKAGmjfv+0C05yh1I
X-Received: by 10.37.16.212 with SMTP id 203mr18835545ybq.90.1493859804794; Wed, 03 May 2017 18:03:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 18:03:23 -0700 (PDT)
In-Reply-To: <BF1DC9D8-7E39-4415-A9F9-C1C1995B20C5@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <BCD73E79-0675-4B71-92B4-3226F0BAB597@dukhovni.org> <CAAF6GDdpq8DgLx5Fo6apoTHgwQsbdn6hb=ozi1+JP9VMxPw6sA@mail.gmail.com> <539D071B-7DDD-4820-A9E4-EC178400B7B2@dukhovni.org> <420471d6016a41ecbcdf9562be303f62@ustx2ex-dag1mb1.msg.corp.akamai.com> <17414FC2-15BB-4A03-8673-7F8299E5428E@dukhovni.org> <20170503182955.GR10188@localhost> <CAAF6GDf_5tuU=L8vCv5f1wgwy8NxvDcJb9TjJ+iHcNOqETASoQ@mail.gmail.com> <7573B494-A1C1-4897-B064-14237B5FB525@dukhovni.org> <CAAF6GDfiLtLT5-NZwFaSHmz35MRiNSqSjQt=MmNoQ04vBDPPTg@mail.gmail.com> <658E74AE-39BC-4518-B11D-92D7AC7F1BD4@dukhovni.org> <CAAF6GDf-aJEu8Usss7r9m94YXSVgHq8OB9+=i8-uk=Cv_QtrwA@mail.gmail.com> <BF1DC9D8-7E39-4415-A9F9-C1C1995B20C5@dukhovni.org>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 18:03:23 -0700
Message-ID: <CAAF6GDeAE9DW-8vG++sDT4wA6U4h+w4aTP2pRLWG4Ez3jYP7Ew@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11c0ff04027045054ea857c0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/WoBNOVG27LoMp-kLBUzt5Ph0I8w>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 01:03:32 -0000

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

On Wed, May 3, 2017 at 5:51 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:
>
> > On May 3, 2017, at 6:29 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
> >
> > Pervasive forward secrecy is one of the central security goals of moder=
n
> > cryptography,
>
> Sure, given a sensible definition of forward-secrecy.  And near instaneno=
us
> deletion of session keys is not part of such a definition.
>

I want to re-run DH for every bit transferred! of course I'm kidding, and
take your point. There's a balance to strike.


> > STEKs aren't compatible with this goal. They may be acceptable
> operationally
> > today, but I think they must be borrowed time if the central goal is
> meaningful.
>
> We need to recall what thread-model is behind the desire for
> forward-secrecy.
> It is I think not controversial to say that forward is concerned with
> limiting
> the damage from end-point (especially server end-point) compromise, in
> which
> confidentiality of long-term keys (still held on the endpoint) is lost.
>

In the case of STEKs, the key may also be compromised without compromising
the endpoint. With multiple endpoints, there is usually some kind of
central STEK distribution system to synchronize the keys. And they key may
also be compromised due to weak crypto on the tickets themselves. So we
have to add those too to the threat model. But caches have similar
challenges, which might even be harder.


> Consider the fact that such compromise is unlikely to be detected and
> remediated
> instantaneously.  Indeed not only will the adversary have access for some
> time
> to sessions initiated post-compromise, he will also be able to impersonat=
e
> the
> real server after the server is "secured" because certificate revocation
> will
> take days (or until the certificate expires) to take effect and more
> sessions
> can be compromised via MiTM attacks after the keys stolen.
>
> The incremental exposure of some fraction of a hour of sessions shortly
> before
> compromise pales in comparison with the much longer post-compromise
> exposure
> before the service is again secure.
>
> STEKs are simpler to design and secure than a complex session cache. This
> simplicity has security benefits.  Properly implemented STEKS have a
> lifetime
> that is much shorter than any plausible compromise exposure time window.
> Given
> this, it makes sense to not consider potential STEK compromise as loss of
> forward
> secrecy.
>
> Forward secrecy guards against disclosure of truly long-term key material=
,
> with
> a lifetime of weeks to years.  Once we get down to hours or minutes, it i=
s
> quite
> sensible to take a coarser view of time, with similar exposure for sessio=
ns
> "just before" and "just after" compromise.
>
> Maximally sensitive traffic can take the penalty of avoiding session
> caching
> of any kind.
>

That does all makes sense, it just hasn't really been how TLS is deployed.

--=20
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 5:51 PM, Viktor Dukhovni <span dir=3D"ltr">&lt;<=
a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukhov=
ni.org</a>&gt;</span> wrote:<blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""=
>
&gt; On May 3, 2017, at 6:29 PM, Colm MacC=C3=A1rthaigh &lt;<a href=3D"mail=
to:colm@allcosts.net">colm@allcosts.net</a>&gt; wrote:<br>
&gt;<br>
&gt; Pervasive forward secrecy is one of the central security goals of mode=
rn<br>
&gt; cryptography,<br>
<br>
</span>Sure, given a sensible definition of forward-secrecy.=C2=A0 And near=
 instanenous<br>
deletion of session keys is not part of such a definition.<br></blockquote>=
<div><br></div><div>I want to re-run DH for every bit transferred! of cours=
e I&#39;m kidding, and take your point. There&#39;s a balance to strike.</d=
iv><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">
&gt; STEKs aren&#39;t compatible with this goal. They may be acceptable ope=
rationally<br>
&gt; today, but I think they must be borrowed time if the central goal is m=
eaningful.<br>
<br>
</span>We need to recall what thread-model is behind the desire for forward=
-secrecy.<br>
It is I think not controversial to say that forward is concerned with limit=
ing<br>
the damage from end-point (especially server end-point) compromise, in whic=
h<br>
confidentiality of long-term keys (still held on the endpoint) is lost.<br>=
</blockquote><div><br></div><div>In the case of STEKs, the key may also be =
compromised without compromising the endpoint. With multiple endpoints, the=
re is usually some kind of central STEK distribution system to synchronize =
the keys. And they key may also be compromised due to weak crypto on the ti=
ckets themselves. So we have to add those too to the threat model. But cach=
es have similar challenges, which might even be harder.=C2=A0</div><div>=C2=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
Consider the fact that such compromise is unlikely to be detected and remed=
iated<br>
instantaneously.=C2=A0 Indeed not only will the adversary have access for s=
ome time<br>
to sessions initiated post-compromise, he will also be able to impersonate =
the<br>
real server after the server is &quot;secured&quot; because certificate rev=
ocation will<br>
take days (or until the certificate expires) to take effect and more sessio=
ns<br>
can be compromised via MiTM attacks after the keys stolen.<br>
<br>
The incremental exposure of some fraction of a hour of sessions shortly bef=
ore<br>
compromise pales in comparison with the much longer post-compromise exposur=
e<br>
before the service is again secure.<br>
<br>
STEKs are simpler to design and secure than a complex session cache. This<b=
r>
simplicity has security benefits.=C2=A0 Properly implemented STEKS have a l=
ifetime<br>
that is much shorter than any plausible compromise exposure time window.=C2=
=A0 Given<br>
this, it makes sense to not consider potential STEK compromise as loss of f=
orward<br>
secrecy.<br>
<br>
Forward secrecy guards against disclosure of truly long-term key material, =
with<br>
a lifetime of weeks to years.=C2=A0 Once we get down to hours or minutes, i=
t is quite<br>
sensible to take a coarser view of time, with similar exposure for sessions=
<br>
&quot;just before&quot; and &quot;just after&quot; compromise.<br>
<br>
Maximally sensitive traffic can take the penalty of avoiding session cachin=
g<br>
of any kind.<br></blockquote><div><br></div><div>That does all makes sense,=
 it just hasn&#39;t really been how TLS is deployed. =C2=A0</div><div><br><=
/div></div>-- <br><div class=3D"gmail_signature" data-smartmail=3D"gmail_si=
gnature">Colm</div>
</div></div>

--001a11c0ff04027045054ea857c0--


From nobody Wed May  3 18:11:41 2017
Return-Path: <watsonbladd@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A30A01294F8 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:11:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level: 
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 o00c8rqKYEpQ for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:11:38 -0700 (PDT)
Received: from mail-pf0-x234.google.com (mail-pf0-x234.google.com [IPv6:2607:f8b0:400e:c00::234]) (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 17F591294C4 for <tls@ietf.org>; Wed,  3 May 2017 18:11:38 -0700 (PDT)
Received: by mail-pf0-x234.google.com with SMTP id q20so2875617pfg.0 for <tls@ietf.org>; Wed, 03 May 2017 18:11:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=172l4BVhi6E+KERDjj9RszMquwWgTkDbE6FEo60wqNA=; b=Zjgbz1XLGii2GszHlTUX1aUyfIfEmFr+gfhG5I4MetWSRGSmEjGzTJchDGo0XlhUMQ seI0pHLZI2kqCmAc3pCEdgfgL1o3f5I+FtEvE7jZH7MvPcwq053FOZBDWdBNlZgAelLp nArr53Ljr3Y6fOjXfGx3Z2wXLD3scErsL1C/ndfpObn1crCGUKw9h5kolpdAmIvXWxM1 cYzBpSFDnrqQVy+W1c0Uk+k0CdGUW1U0dbqYD/oREmZeF0DeE/eeCeKg29bYCdUoxBtd jv1UrTi36XuwSf7ZIGI7rBm3WL9LgQm29zqPC2Ug0gBVNAv2kwEaXHmoZmFlBfjfB0i7 IHrg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=172l4BVhi6E+KERDjj9RszMquwWgTkDbE6FEo60wqNA=; b=ql258vS567nk74k/qy1OsBn2NW2YiBcZulWOtHsTZR5SAzWwdmLPwMqGpWGwVRa2xG 9o6DxrZPn4YAGDU00zOh22r/Z80vYzXUa9VVuAb4iSu7lh62phvdm82l6+3iUo50uWwH 0nTLdz3w4OATa6tvDHaTfKLoWx+BV5ZCy7ZMh/e9nGGmHQwzclapnDgO2RyGpFOjew3q UI3LHZorkOccy6NQadGAuXI/EW/dM2B6JGA40Y9VGc3JaeK42XKj5226gpOoVi9UUZ12 yR5vzPKMj0ehJHn/zbF1d8Z9wldtUoF8KT3fr5BZWSsESTMtF3XvRlowwd8JcRS8yclR C1eQ==
X-Gm-Message-State: AN3rC/7T+eW8xhvVCBOwRujJjBRQ9TLu/vCkWSCyiBrdH2Si9ZMwJmaf jj0zDv+CGNOgA64KjnN+a8ITWM5+fQ==
X-Received: by 10.84.137.1 with SMTP id 1mr52980746plm.68.1493860297624; Wed, 03 May 2017 18:11:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.163.12 with HTTP; Wed, 3 May 2017 18:11:36 -0700 (PDT)
In-Reply-To: <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Wed, 3 May 2017 18:11:36 -0700
Message-ID: <CACsn0c=Q94c=Bk-P=FEZOmR6v1odcKfoq3Q89qADjuv1KH4ysg@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>,  "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/939QRdWDSwDr6EaZB9EGLoUUNqY>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 01:11:40 -0000

On Wed, May 3, 2017 at 3:56 PM, Martin Thomson <martin.thomson@gmail.com> w=
rote:
> On 3 May 2017 at 22:45, Colm MacC=C3=A1rthaigh <colm@allcosts.net> wrote:
>> This is easy to say; the TLS layer is the right place. It is not practic=
al
>> for applications to defend themselves, especially from timing attacks.
>
> If you care about these attacks as much as it appears, then you can't
> reasonably take this position.  We've historically done a lot to
> secure applications at a single point, and we're almost at the end of
> what we can reasonably do for them at this layer.  We need to think
> more hollistically and acknowledge that applications need to take some
> responsibility for their own security.

Historically TLS protected against replay attacks. Now it doesn't. An
application that relies on this property which TLS used to guarantee
is now broken. Clearly we could have provided it, we just chose not
to.

>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls



--=20
"Man is born free, but everywhere he is in chains".
--Rousseau.


From nobody Wed May  3 18:15:22 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE8421294C4 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:15:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.801
X-Spam-Level: 
X-Spam-Status: No, score=-0.801 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 jV1GYfa_GGnQ for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:15:19 -0700 (PDT)
Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (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 72C0C1294F8 for <tls@ietf.org>; Wed,  3 May 2017 18:15:19 -0700 (PDT)
Received: by mail-lf0-x229.google.com with SMTP id j1so2010977lfh.2 for <tls@ietf.org>; Wed, 03 May 2017 18:15:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5/1ZPz4QRUO/qR4avIcKS9T94CjuqBqu/FTsuMTUF+k=; b=fXNcQQ98pCZkTeulNrootFNu+e6tQjCAyFOeWA0dRKF8TqU3UsFHkTOuYXkQFvxIz8 edtTwtCu+NwmtpNEW8SkfmwP1m1AvWe7S2u/qbwwmSQh3Wvrmr2fNPI0Bc+cg4mAymAC 8x7mv6nvoC5effghK3bwFfSsE86HMr9bGQs7Dvz9yEjCyigSbOOS9KwrmmDiLVgltj5k tI3ZVeDM3eXmNWtHCCe81Q5iFj48esMt2hfP4mUSyx+tKXR2AExmuKF5VOxFTNVOmUSz igRyXorxLt9Cpy4rg+bUq0CYIhRhtluQKfssET8XXodi+N/8JaRTyX34hJTXUPrSloQN TEng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5/1ZPz4QRUO/qR4avIcKS9T94CjuqBqu/FTsuMTUF+k=; b=p8vUJwuF8oLWCmG+MGNCV4YC9vpPuPKOhq8iPATyEb8RVCRebJkXORn2B9T5+RTPk/ 9cxsPcSvXyz+saFxMXNCYW9prwdUIGWMHG+ReCK25pd4B05aLk70jbfODnIctgg1kbAs TUZqDHQL1S4qHaPS1z3F8h9uowNimI405aaf7R59F5sg/rhInTMK0XZS7NnryCLrYd+O i4mJAmjsT/kdr5zk3i5YwC/MsW2v+yf5oDoIjoNeCcTTFZWLrYihotJmVFF84PbIUdSu jVWjUzA2qtaQ3jHAdAtR8iaUfVe4PezLpA0HyXlBsHfPM+91lHcocjJ9IcDyBVMic2Hb voQQ==
X-Gm-Message-State: AN3rC/6W+5kVcfHOB/bg9h/jBCZRsFSFIAU5/yF8I1/ncvCwYYWkU5My GA3x/D5ZQlaeJg4fUV+q1hn7fYet2g==
X-Received: by 10.25.31.14 with SMTP id f14mr11521326lff.43.1493860517833; Wed, 03 May 2017 18:15:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Wed, 3 May 2017 18:15:16 -0700 (PDT)
In-Reply-To: <CACsn0c=Q94c=Bk-P=FEZOmR6v1odcKfoq3Q89qADjuv1KH4ysg@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com> <CACsn0c=Q94c=Bk-P=FEZOmR6v1odcKfoq3Q89qADjuv1KH4ysg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 4 May 2017 11:15:16 +1000
Message-ID: <CABkgnnURuESnxDsacYDQfmuv1vQx4oevj9Mm2_KHvmOCAmGUEg@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>,  "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/9ijSpjSwtNoHWu86cA6QRbmCaUQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 01:15:21 -0000

On 4 May 2017 at 11:11, Watson Ladd <watsonbladd@gmail.com> wrote:
> Historically TLS protected against replay attacks. Now it doesn't. An
> application that relies on this property which TLS used to guarantee
> is now broken. Clearly we could have provided it, we just chose not
> to.

Let's get the fallacy out of the way.  TLS 1.3 provides protection
against replay attacks, just not if you decide to use 0-RTT.

I realize that there is a real risk that this distinction will be lost
on some, but I can fairly confidently say that it isn't lost on those
who are considering its use in various protocols.  For instance, I've
spoken to someone who is looking at XMPP seriously and the advice
there is pretty close to *don't* use 0-RTT.


From nobody Wed May  3 18:19:25 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9890C127058 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:19:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_20=-0.001] autolearn=ham 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 hw86UwOqieBM for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:19:22 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0E4B8126E3A for <tls@ietf.org>; Wed,  3 May 2017 18:19:22 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 691407A32F1 for <tls@ietf.org>; Thu,  4 May 2017 01:19:21 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CABkgnnURuESnxDsacYDQfmuv1vQx4oevj9Mm2_KHvmOCAmGUEg@mail.gmail.com>
Date: Wed, 3 May 2017 21:19:20 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <032A35F4-006D-4AE0-8C30-A5D0912A7EC9@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com> <CACsn0c=Q94c=Bk-P=FEZOmR6v1odcKfoq3Q89qADjuv1KH4ysg@mail.gmail.com> <CABkgnnURuESnxDsacYDQfmuv1vQx4oevj9Mm2_KHvmOCAmGUEg@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/zp3cbFCda7i2klYQ0SVcxcu25mQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 01:19:23 -0000

> On May 3, 2017, at 9:15 PM, Martin Thomson <martin.thomson@gmail.com> =
wrote:
>=20
> Let's get the fallacy out of the way.  TLS 1.3 provides protection
> against replay attacks, just not if you decide to use 0-RTT.

Amen.

> I realize that there is a real risk that this distinction will be lost
> on some, but I can fairly confidently say that it isn't lost on those
> who are considering its use in various protocols.  For instance, I've
> spoken to someone who is looking at XMPP seriously and the advice
> there is pretty close to *don't* use 0-RTT.

One obvious use case for 0-RTT is DNS queries.  The query protocol is
idempotent, and latency matters.  So for DNS over TLS, 0-RTT would be
a good fit.   TLS session caches are not attractive on the DNS server
given the enormous query volumes, but STEKs would be a good fit.

--=20
	Viktor.


From nobody Wed May  3 18:31:12 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DECC01294FA for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:31:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 31EDIWP0VO_E for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:31:09 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 38D631294EE for <tls@ietf.org>; Wed,  3 May 2017 18:31:09 -0700 (PDT)
Received: from pps.filterd (m0050102.ppops.net [127.0.0.1]) by m0050102.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v441RFRF004981; Thu, 4 May 2017 02:31:04 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=dKrxw8qwaP6NSXFuuuz9wMGOJ+2CLpYPRtZOwf28GZk=; b=ZPaAYOgUtlSr1u2Z+VP9IFSrCm++ZKKZOa7bBMHEXvxXgWYyxPlsXAfFFWxML4u7Tv7n saLIfnD8kE0UtysmbTbsDv5Bf9lUT+eiLnPnQVUgHC0lUwwDcRfyNq/s6TGsmRb3wJmz Vp16WEhxRew45IWE2f1tBjDP7kKxogk/Ay5nPoJpXUlDK3zyW/Y9ENK+UAnak7z4OqJg 6DONv0oLyOtwTbzYTblT4LkaHY7kesUn5Wcm14tEyJsKcc8OQQ7MbeJDfxWC1kGTm5fF nb6VTmHo2CSI1AjWCToyIryhssLiljSFiAATbrrUuFQiR4qjH8tJAXJIXGlbpOr4hAVe uw== 
Received: from prod-mail-ppoint4 ([96.6.114.87]) by m0050102.ppops.net-00190b01. with ESMTP id 2a72my6nsj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 May 2017 02:31:04 +0100
Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v441UpJF008270; Wed, 3 May 2017 21:31:03 -0400
Received: from email.msg.corp.akamai.com ([172.27.25.31]) by prod-mail-ppoint4.akamai.com with ESMTP id 2a72mb39gg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 03 May 2017 21:31:03 -0400
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com (172.27.27.101) by ustx2ex-dag1mb1.msg.corp.akamai.com (172.27.27.101) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Wed, 3 May 2017 20:31:03 -0500
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com ([172.27.6.131]) by ustx2ex-dag1mb1.msg.corp.akamai.com ([172.27.6.131]) with mapi id 15.00.1263.000; Wed, 3 May 2017 20:31:03 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Martin Thomson <martin.thomson@gmail.com>, Watson Ladd <watsonbladd@gmail.com>
CC: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NICDv1l4S8FUWU9Zh5nPuktKHiqKmAgAA6vACAAKqpgIAAJd0AgAABBgD//6+mgA==
Date: Thu, 4 May 2017 01:31:02 +0000
Message-ID: <dc8bcbd9cec54d86bcf704929570bd9d@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com> <CACsn0c=Q94c=Bk-P=FEZOmR6v1odcKfoq3Q89qADjuv1KH4ysg@mail.gmail.com> <CABkgnnURuESnxDsacYDQfmuv1vQx4oevj9Mm2_KHvmOCAmGUEg@mail.gmail.com>
In-Reply-To: <CABkgnnURuESnxDsacYDQfmuv1vQx4oevj9Mm2_KHvmOCAmGUEg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.38.153]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-03_18:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040023
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-03_18:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040022
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/MBh_xFlbqamFjLj8rLai84g9GW4>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 01:31:11 -0000

> Let's get the fallacy out of the way.  TLS 1.3 provides protection agains=
t replay
> attacks, just not if you decide to use 0-RTT.
>=20
> I realize that there is a real risk that this distinction will be lost on=
 some, but I
> can fairly confidently say that it isn't lost on those who are considerin=
g its use
> in various protocols.

Well, for example, Chrome/boringSSL should arguably know better but are tre=
ating it all as one equivalent stream.

Is FF/NSS doing the same thing?

Why?


From nobody Wed May  3 18:36:09 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 21796127058 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:36:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.801
X-Spam-Level: 
X-Spam-Status: No, score=-0.801 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 5RsyFv_zuuOE for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:36:01 -0700 (PDT)
Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (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 4E78E129515 for <tls@ietf.org>; Wed,  3 May 2017 18:35:59 -0700 (PDT)
Received: by mail-lf0-x230.google.com with SMTP id t144so63874lff.1 for <tls@ietf.org>; Wed, 03 May 2017 18:35:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to:cc; bh=tST7UE1EqomTincaZf5jGawFEn5bXkOfnrdATho+AGo=; b=JzpM1Q8wSB0SkQAT9gArMUnQmrrCCEC80xa8dLX+uNv2SW4xlup1sOsAQHAIzemcrC wL0fDrFNbFKJhB1cmQAihRv59jVXDjP2rEAH2KzGmMNtok24dOWNX5lUiquSC8QbJldz owEG5EYiPGr4FiangiV3Vx3EIpimKnUTXwOQE4K8b4MjM0cEmSdLFyT6k3ef+oUgYAZc 7N+AKISdyEbyU0uzXhI3Z+o7PkvKWk7S4LDaqzsWGCD3bxiOIyeIAePhIo/MkyWTtrNw DWboP8EkI3S6ZJlYXqXOKlP52OnxlpnDNvaC3HDeJXdmtazm/eRHumkNOzmf9owT6ul3 0YiA==
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:cc; bh=tST7UE1EqomTincaZf5jGawFEn5bXkOfnrdATho+AGo=; b=gCRXs1mjo+rcEryCZSSIWmHH3wQd1frHgrrkGaTpSzaq/OoZRi5IbR1B881MnnBuuL ZkkIclgDUXy8oAWKL1QOLZyptr7J1pWqt2AE1loApsdcPNtHNTP7Go4bsjzT5K0OCMMN +Q2weo4TG5Efhp9AP5VtK5zeIc0iMvEnOzwWThVFMZSeDn1QN9T0UGgeT14G1R9LTkyx cWAo3cZtKPIJOERs9+qff7TaxopBIV9E/DBjndbHCzngkwJWhwVNzhbejGeo2zhJ7z3x N/ht5DBG/JaWAQML+bMO+it4/6KSrtKgMuNWHw56Tj5ZTDhEcYwbSdGyvX71I6dUxZAi Qy7g==
X-Gm-Message-State: AN3rC/7hdBJ2l0OzI56GHzpNYtIKaQ3PR6quzk8xLb9bcxazNyAYBOV7 Kbq0RoEVj6quOUcRdi09q/1fNLGRFg==
X-Received: by 10.46.19.18 with SMTP id 18mr14617067ljt.103.1493861757504; Wed, 03 May 2017 18:35:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Wed, 3 May 2017 18:35:56 -0700 (PDT)
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 4 May 2017 11:35:56 +1000
Message-ID: <CABkgnnWseFHVLu_Qmn7AkdJVYHGdOAZfPP=Trz_3MbQV5H5Wcw@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Cc: Watson Ladd <watsonbladd@gmail.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/xoSG8Fwr0mLnv91HmDmPVf4O7og>
Subject: [TLS] One stream to rule them all (was Re: Security review of TLS1.3 0-RTT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 01:36:07 -0000

On 4 May 2017 at 11:31, Salz, Rich <rsalz@akamai.com> wrote:
> Well, for example, Chrome/boringSSL should arguably know better but are treating it all as one equivalent stream.
>
> Is FF/NSS doing the same thing?

Yes.

> Why?

Because doing anything else makes it a lot harder for the application.

I realize that you *want* that, but clearly we disagree about the
utility of API hurdles.  Given that the application already took
extraordinary steps to enable 0-RTT, we don't think that adding
artificial hurdles is going to change things.


From nobody Wed May  3 18:39:18 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 16774129481 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:39:17 -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=allcosts-net.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 mkM4AMjxmETU for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:39:15 -0700 (PDT)
Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (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 B87E11294C4 for <tls@ietf.org>; Wed,  3 May 2017 18:39:15 -0700 (PDT)
Received: by mail-yw0-x22b.google.com with SMTP id l18so62147ywh.3 for <tls@ietf.org>; Wed, 03 May 2017 18:39:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=wflEnuMrzE8Rux+k4dNlQquzcpcaTv+dFG59oz+INJo=; b=C7gwIOJ6UL/vZAPGuQaD8nd7zIKxL4vxkkyeGnv5k1esTHRYIVYlgd8wiLxSaOiKQi /mc6VFp7KNuU+OSN/hCv0uwJmyv0yv8ao/VHgFzO92VOWMbHUzxtJr1VU8ljNpDacrey /MxtUbXNqmUTY0j7zQaudCpAaIU+SBUBSz+Rk5Eyusb9tTtomvdeE9W1F4FQ73qYOlhL GQDfB2jID5wK98grmQ3SQBwmpIEYL36fNYniaqg8rr4QuT6Uxicc9LgYaoSDET7TgD8v 0oXQijHPyhByU0Lz8NMhbVm4k/Qns2jbMvRI2F0k4BCIqaCcy4bJNfuTMZ3acSF0ygo0 S2Ug==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=wflEnuMrzE8Rux+k4dNlQquzcpcaTv+dFG59oz+INJo=; b=umud9PH3GjOWgiX3bNPiloh+jjBd2RdTp19ZIXcet1AHqS2+dweIU33OgE3YZhmKOJ hrqMPlC/i1aOo4KAe/dI1VPj3meTJcf5mf8VuLvrn8HXUwHdCXHeQDCEnVN6EcIg1FaP q8UhChOMp8fqWtf65skf/N01eA6bn6cBgoszSDqB8Bv0WOhh104qJEAfS/Q9/MuwWaxQ cTN2qiB76hSGYgnbMGiLk4wReH5xDqGALUwIPJJOJyMzhvBuSQFbExwkwF5xVjYD6NOB gdnVpaB40pY0PAnJewixFxz9jUW6CXNwfPWlFztWs/eLhzxxkM9eRrpuWcG4Tlcy/jWY U1dg==
X-Gm-Message-State: AN3rC/6B/O8Onwq5Os3h1rn39BsvkH+1OygN7qN0XxY0YYEEK7dO/zi3 sfPM4mNevTT7Xfty4P9y83tkRGdiOYqh
X-Received: by 10.129.104.69 with SMTP id d66mr2141540ywc.74.1493861954600; Wed, 03 May 2017 18:39:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 18:39:13 -0700 (PDT)
In-Reply-To: <032A35F4-006D-4AE0-8C30-A5D0912A7EC9@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com> <CACsn0c=Q94c=Bk-P=FEZOmR6v1odcKfoq3Q89qADjuv1KH4ysg@mail.gmail.com> <CABkgnnURuESnxDsacYDQfmuv1vQx4oevj9Mm2_KHvmOCAmGUEg@mail.gmail.com> <032A35F4-006D-4AE0-8C30-A5D0912A7EC9@dukhovni.org>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 18:39:13 -0700
Message-ID: <CAAF6GDfEeJR-8BX5+tXY60VPDDerTDH-YMKbxyzF5xMA6Gd93g@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11490b9a25e481054ea8d7b4
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/uHk5_NRC_OGfnPQHfWTlPEZ7V-k>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 01:39:17 -0000

--001a11490b9a25e481054ea8d7b4
Content-Type: text/plain; charset=UTF-8

On Wed, May 3, 2017 at 6:19 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> One obvious use case for 0-RTT is DNS queries.  The query protocol is
> idempotent, and latency matters.  So for DNS over TLS, 0-RTT would be
> a good fit.   TLS session caches are not attractive on the DNS server
> given the enormous query volumes, but STEKs would be a good fit.
>

As it happens, DNS queries are not idempotent.  Queries have side-effects,
for example Bind9 will rotate an RRset by one increment on each query.
Many providers charge by the DNS query. Many providers throttle DNS queries
(and TLS is intended as a mechanism to help prevent the ordinary spoof
ability of DNS queries).


-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 6:19 PM, Viktor Dukhovni <span dir=3D"ltr">&lt;<=
a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukhov=
ni.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">One obvious =
use case for 0-RTT is DNS queries.=C2=A0 The query protocol is<br>
idempotent, and latency matters.=C2=A0 So for DNS over TLS, 0-RTT would be<=
br>
a good fit.=C2=A0 =C2=A0TLS session caches are not attractive on the DNS se=
rver<br>
given the enormous query volumes, but STEKs would be a good fit.<br></block=
quote><div><br></div><div>As it happens, DNS queries are not idempotent.=C2=
=A0 Queries have side-effects, for example Bind9 will rotate an RRset by on=
e increment on each query.=C2=A0 Many providers charge by the DNS query. Ma=
ny providers throttle DNS queries (and TLS is intended as a mechanism to he=
lp prevent the ordinary spoof ability of DNS queries).=C2=A0</div></div><br=
 clear=3D"all"><div><br></div>-- <br><div class=3D"gmail_signature" data-sm=
artmail=3D"gmail_signature">Colm</div>
</div></div>

--001a11490b9a25e481054ea8d7b4--


From nobody Wed May  3 18:41:11 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A67B12953F for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:41:09 -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=allcosts-net.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 7dZMP92Rwnhq for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:41:08 -0700 (PDT)
Received: from mail-yw0-x233.google.com (mail-yw0-x233.google.com [IPv6:2607:f8b0:4002:c05::233]) (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 6F2B1129530 for <tls@ietf.org>; Wed,  3 May 2017 18:41:07 -0700 (PDT)
Received: by mail-yw0-x233.google.com with SMTP id k11so100308ywb.1 for <tls@ietf.org>; Wed, 03 May 2017 18:41:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hEbV45wtjVSY9Q2kJEpUGljnEK5tLZh+L0hmnc4ntPI=; b=zzKEGYVYRrnrIjb0LbSR8YfG8G+pZwI9tbPtmNzEllGlPont/qa0D+j3udvaTp/3y7 yNBxtBoUIYUpcaxs2lgQ91R1wHg7szrbGu483iDV1qqCP6VajXJHCUN6ZqyFXuSyG8It 9Z9SWNViCBT9yrQsOpMfR45N2jTgrad21KX1qtdC/eaOYds6jJOw3h8RF+GzBUU2SHOf oNf53rbk4ZoWeCF/WJhUof6zqgcLSwuAwuOY8qaG7fip8Q/XUHhEJohkYQbXvUe08w/g hh7+jG5O4/Te2s9v86pg3/oUyDNWWDEdJ4UQpyF5qLFFFH7yFwCQ867WU29OXzHoY7pJ Bxjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hEbV45wtjVSY9Q2kJEpUGljnEK5tLZh+L0hmnc4ntPI=; b=YNDUPG0Q1SaF0DoKb7CjrEhTB9ZM6zPWBKTDeATczipG/Fuc1OVHIYNy89VlFKYsAv S8eB8X6bunoaNK0PxSq7eKjm3R1nc1ceVP9T6r0wQ9Df02D/HcjeroX8Al8sXqXWgK+K o+pbzxG/TlFUXuxuCqvd0iinACmU77elTib6E0K7gL/GvO6TfE1ChT2YICqUw2Gt5r6c Z83FrvzEb1iyJw1izq2LOcLWpltYj0YnwA2X6yWffbPhXRSENZO+6mW8kiCKbPvZn3/q rECwZZOpaYjez5oB002n3VJkDd/0J4vGMcERqJFMpW/UvlYipnyA2XAFwUQ3ob6LzyY4 vpmA==
X-Gm-Message-State: AN3rC/5V792ViHMOHWzgem1dN0LytvtYxH8NsOBKnFTiyg3AQcBs/zu+ Lh8FBcmJZMP7mjyUx1ktS6kOiH4lcQ==
X-Received: by 10.129.105.198 with SMTP id e189mr31851804ywc.296.1493862066704;  Wed, 03 May 2017 18:41:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 18:41:05 -0700 (PDT)
In-Reply-To: <CACsn0c=Q94c=Bk-P=FEZOmR6v1odcKfoq3Q89qADjuv1KH4ysg@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com> <CACsn0c=Q94c=Bk-P=FEZOmR6v1odcKfoq3Q89qADjuv1KH4ysg@mail.gmail.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 18:41:05 -0700
Message-ID: <CAAF6GDdGHvV-qNDRwQgWOzGyP+ggGy3TcwU7ca0MoCkOv7CDfQ@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11471256d49be0054ea8ddac
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/0vsoq8_XRGiO3gXFQwtuEVHvii0>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 01:41:09 -0000

--001a11471256d49be0054ea8ddac
Content-Type: text/plain; charset=UTF-8

On Wed, May 3, 2017 at 6:11 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
>
> Historically TLS protected against replay attacks. Now it doesn't. An
> application that relies on this property which TLS used to guarantee
> is now broken. Clearly we could have provided it, we just chose not
> to.
>

And that choice is insecure. If it's to be kept, I'd suggest renaming the
protocol.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 6:11 PM, Watson Ladd <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:watsonbladd@gmail.com" target=3D"_blank">watsonbladd@gmail.com=
</a>&gt;</span> wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Historically TLS prote=
cted against replay attacks. Now it doesn&#39;t. An<br>
application that relies on this property which TLS used to guarantee<br>
is now broken. Clearly we could have provided it, we just chose not<br>
to.<br></blockquote><div><br></div><div>And that choice is insecure. If it&=
#39;s to be kept, I&#39;d suggest renaming the protocol.=C2=A0</div></div><=
div><br></div>-- <br><div class=3D"gmail_signature" data-smartmail=3D"gmail=
_signature">Colm</div>
</div></div>

--001a11471256d49be0054ea8ddac--


From nobody Wed May  3 18:41:49 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 050A3129530 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:41:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 Xrf-BNY6krmY for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:41:45 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (prod-mail-xrelay06.akamai.com [96.6.114.98]) by ietfa.amsl.com (Postfix) with ESMTP id 5D6D5129576 for <tls@ietf.org>; Wed,  3 May 2017 18:41:42 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 9A013496C2E; Thu,  4 May 2017 01:41:41 +0000 (GMT)
Received: from prod-mail-relay09.akamai.com (prod-mail-relay09.akamai.com [172.27.22.68]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id 84841496C2C; Thu,  4 May 2017 01:41:41 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1493862101; bh=sTV73IfJC68KMjqSFm4oiKshOftpTaD6OHdguWuOO0w=; l=3000; h=To:References:Cc:From:Date:In-Reply-To:From; b=TGFTk6mc3YGMsd8qmZk6N3qeJwrTsgZ9TC5BA8LcZkESkhr5eSJ8yBhrPDpdCT76U 4BV6GKiNnwsg3t21yb7nLK3h4tuwXL9RXkFae5tafPUiU02I4wUh7Cnjkql9PdpOgC mgZViUInPVgMeDtNU245KPcAX42+sG7ihMiu9UHc=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay09.akamai.com (Postfix) with ESMTP id 118E41E0BC; Thu,  4 May 2017 01:41:40 +0000 (GMT)
To: Martin Thomson <martin.thomson@gmail.com>, "Salz, Rich" <rsalz@akamai.com>
References: <CABkgnnWseFHVLu_Qmn7AkdJVYHGdOAZfPP=Trz_3MbQV5H5Wcw@mail.gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <19b9d223-14b1-87d4-1790-891cc9166e12@akamai.com>
Date: Wed, 3 May 2017 20:41:40 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CABkgnnWseFHVLu_Qmn7AkdJVYHGdOAZfPP=Trz_3MbQV5H5Wcw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------85809A1A98C40F6A718D37EF"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/C87oxWRpqpj7X4Hu07dmNt0orVQ>
Subject: Re: [TLS] One stream to rule them all (was Re: Security review of TLS1.3 0-RTT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 01:41:47 -0000

This is a multi-part message in MIME format.
--------------85809A1A98C40F6A718D37EF
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

On 05/03/2017 08:35 PM, Martin Thomson wrote:
> On 4 May 2017 at 11:31, Salz, Rich <rsalz@akamai.com> wrote:
>> Well, for example, Chrome/boringSSL should arguably know better but are treating it all as one equivalent stream.
>>
>> Is FF/NSS doing the same thing?
> Yes.
>
>> Why?
> Because doing anything else makes it a lot harder for the application.
>
> I realize that you *want* that, but clearly we disagree about the
> utility of API hurdles.  Given that the application already took
> extraordinary steps to enable 0-RTT, we don't think that adding
> artificial hurdles is going to change things.
>

A related question is whether NSS wants to be a general-purpose TLS
library, or an HTTP-specific TLS library.  I have mostly come to terms
with the HTTP application profile for 0-RTT saying "combine the streams"
(but still want to see it written down with a proper security analysis
before it gets widespread), but other application profiles might do
different things!  Are you painting yourself into a corner?

-Ben

--------------85809A1A98C40F6A718D37EF
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/03/2017 08:35 PM, Martin Thomson wrote:<br>
    <blockquote
cite="mid:CABkgnnWseFHVLu_Qmn7AkdJVYHGdOAZfPP=Trz_3MbQV5H5Wcw@mail.gmail.com"
      type="cite">
      <pre wrap="">On 4 May 2017 at 11:31, Salz, Rich <a class="moz-txt-link-rfc2396E" href="mailto:rsalz@akamai.com">&lt;rsalz@akamai.com&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Well, for example, Chrome/boringSSL should arguably know better but are treating it all as one equivalent stream.

Is FF/NSS doing the same thing?
</pre>
      </blockquote>
      <pre wrap="">
Yes.

</pre>
      <blockquote type="cite">
        <pre wrap="">Why?
</pre>
      </blockquote>
      <pre wrap="">
Because doing anything else makes it a lot harder for the application.

I realize that you *want* that, but clearly we disagree about the
utility of API hurdles.  Given that the application already took
extraordinary steps to enable 0-RTT, we don't think that adding
artificial hurdles is going to change things.

</pre>
    </blockquote>
    <br>
    A related question is whether NSS wants to be a general-purpose TLS
    library, or an HTTP-specific TLS library.  I have mostly come to
    terms with the HTTP application profile for 0-RTT saying "combine
    the streams" (but still want to see it written down with a proper
    security analysis before it gets widespread), but other application
    profiles might do different things!  Are you painting yourself into
    a corner?<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------85809A1A98C40F6A718D37EF--


From nobody Wed May  3 18:52:07 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E6EF012785F for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:52:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 cwoARu_z2Xso for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:52:03 -0700 (PDT)
Received: from mail-qt0-x22d.google.com (mail-qt0-x22d.google.com [IPv6:2607:f8b0:400d:c0d::22d]) (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 B11BF129486 for <tls@ietf.org>; Wed,  3 May 2017 18:51:59 -0700 (PDT)
Received: by mail-qt0-x22d.google.com with SMTP id m36so309657qtb.0 for <tls@ietf.org>; Wed, 03 May 2017 18:51:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KOPyhFu7GtR/hBlHCZHyQnR0TfMupE7wz4pO5RuBZ/o=; b=PXCj4kV7muLkHz61EDR9kcWzrHRiVt1jE32LNM5BdEO7qUrRwKxTlBvoQRVfc4J3Tn kedW4jLl8yd/HZ6MYUAJ4+iu+53hvONtLVkfff0u2EGxxecG0yqSo/8c3TdpDX6teX35 bSvf3QKMQ/d7obcn0Ga84vlrRtj37gNtzi6+UL+CK7bx6rwxgjbyAxv3BxC9oREpsx8c 6sI3CljnTN1/soWsqDW9txtyAmj8q2uoTAF2EU7LNsKrHnqJ5BlipZfTpmU3YoHdRtks Lse2RwCfYMJx8HJk4b3BUEebWcnC+GqWd1c7rxYDsk5khPpyw/Et/+fUuduNBPwn4Yh5 cgWw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KOPyhFu7GtR/hBlHCZHyQnR0TfMupE7wz4pO5RuBZ/o=; b=cLjgTB6rKyyZTp1bB5EcwXIkpilsPdJ9Xysl12Jg2eDzy3/05e6DWpeM0GWp79YOfE uM+lvRk2cCBxNAQASgmxo1G7RwMA2A1IsS5/+YUxZPYW/mF+4mkBYmmFfFoC4cGbp9jg m3v3P9X9gX0cQLWNN+ToImJ4GoWV/RuNwB2V51pt1FZXXkWGnYRWQ7E+AGFCwGpZ17EC 9+JAWf1LtMk2im1p8/gr4M1xin3b2Oo4iMy/e7Yw7N1YeME3eeoHuKRT6WkbsXBvsXOj 2GhPT60rVRswUovha8kwHxFlGlnWGTV4lahU7h8tO12PePL4ZMiSspv+R1M2YlABAzk7 eTbg==
X-Gm-Message-State: AN3rC/5fGWUeyBK8/IthGN4yhxs2CmnuPvX6qm/UciQjh0GW1I/+4Dyg J4BLWUza28MDMYM4qV2ypdt/aO2vlw==
X-Received: by 10.200.54.2 with SMTP id m2mr32817898qtb.176.1493862718937; Wed, 03 May 2017 18:51:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.168.137 with HTTP; Wed, 3 May 2017 18:51:58 -0700 (PDT)
In-Reply-To: <19b9d223-14b1-87d4-1790-891cc9166e12@akamai.com>
References: <CABkgnnWseFHVLu_Qmn7AkdJVYHGdOAZfPP=Trz_3MbQV5H5Wcw@mail.gmail.com> <19b9d223-14b1-87d4-1790-891cc9166e12@akamai.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 4 May 2017 11:51:58 +1000
Message-ID: <CABkgnnUGTueTUomzjsh5=uVmA_g3h1VO_D3x52JBE7EU_2tn=A@mail.gmail.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: "Salz, Rich" <rsalz@akamai.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/i_KiOtvsxmcbRj22MpslhV9utRI>
Subject: Re: [TLS] One stream to rule them all (was Re: Security review of TLS1.3 0-RTT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 01:52:05 -0000

On 4 May 2017 at 11:41, Benjamin Kaduk <bkaduk@akamai.com> wrote:
> A related question is whether NSS wants to be a general-purpose TLS library,
> or an HTTP-specific TLS library.  I have mostly come to terms with the HTTP
> application profile for 0-RTT saying "combine the streams" (but still want
> to see it written down with a proper security analysis before it gets
> widespread), but other application profiles might do different things!  Are
> you painting yourself into a corner?

Sure, in a multi-dimensional space, corners can appear in the
strangest places.  But given that TLS is streams on both sides, I
can't think of a way that an alternative model would make sense.  It's
definitely the case that an application protocol could be designed to
deal with 0-RTT as a separate stream, but when all they wanted was a
stream abstraction, the idea that there might be an antechamber stream
they have to deal with separately is hard to reason about.

It's harder still when you consider data limits on 0-RTT and the need
to complete the handshake in a timely fashion.  A separate thing could
mean that sending 0-RTT would block handshake completion because the
sender might want to ensure that a complete "thing" was sent in 0-RTT.
Either that or you have to deal with truncation.

If we need another API, it's not impossible to build one, with options
to cause 0-RTT to be routed to it.  I just don't see us needing one
any time soon.


From nobody Wed May  3 18:59:53 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4AB041294EE for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:59:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.5
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5 tests=[BAYES_05=-0.5] autolearn=ham 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 DIxu8dAsIECl for <tls@ietfa.amsl.com>; Wed,  3 May 2017 18:59:49 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB10A129486 for <tls@ietf.org>; Wed,  3 May 2017 18:59:49 -0700 (PDT)
Received: from [10.74.89.181] (unknown [38.86.167.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id BD0A07A32F1 for <tls@ietf.org>; Thu,  4 May 2017 01:59:48 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAAF6GDfEeJR-8BX5+tXY60VPDDerTDH-YMKbxyzF5xMA6Gd93g@mail.gmail.com>
Date: Wed, 3 May 2017 21:59:47 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <3F4F90F1-5446-4183-A972-1074FED7E899@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com> <CACsn0c=Q94c=Bk-P=FEZOmR6v1odcKfoq3Q89qADjuv1KH4ysg@mail.gmail.com> <CABkgnnURuESnxDsacYDQfmuv1vQx4oevj9Mm2_KHvmOCAmGUEg@mail.gmail.com> <032A35F4-006D-4AE0-8C30-A5D0912A7EC9@dukhovni.org> <CAAF6GDfEeJR-8BX5+tXY60VPDDerTDH-YMKbxyzF5xMA6Gd93g@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/rDfZeKcE1fPnu-AU1gfSGdgFNxg>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 01:59:51 -0000

> On May 3, 2017, at 9:39 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
>=20
> As it happens, DNS queries are not idempotent.  Queries have =
side-effects,

This is sufficiently misleading to be false.

> for example Bind9 will rotate an RRset by one increment on each query.

Regardless of who the client is, the "attacker" can rotate the RRset
order by making his own query, no need to impersonate some other client.
And of course randomization of RRs in an RRset is normal.  Some clients
further randomize or re-order the results.

> Many providers charge by the DNS query.

They don't charge the client, which remains unauthenticated.  Hosted
DNS domains may be charged by query volume, but again the attacker
can make his own queries without replaying traffic from some other
client.

> Many providers throttle DNS queries (and TLS is intended as a =
mechanism
> to help prevent the ordinary spoof ability of DNS queries).

Again the client is unauthenticated, throttling is by IP address, =
there's
no need to repeat the same payload, indeed that's less effective since
throttling is biased towards queries for non-existent names, ...

Throttling is mostly for UDP, for lack of BCP-38 implementation.  DNS
over TLS *is* a good candidate for 0-RTT.  [ I would have chosen a more
simple protocol for DNS security than TLS, but given that DNS over TLS
seems to be moving forward, 0-RTT makes sense. ]

--=20
	Viktor.


From nobody Wed May  3 19:15:59 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C015C1296D2 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 19:15:57 -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=allcosts-net.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 dfAxN_iE4Fop for <tls@ietfa.amsl.com>; Wed,  3 May 2017 19:15:56 -0700 (PDT)
Received: from mail-yw0-x235.google.com (mail-yw0-x235.google.com [IPv6:2607:f8b0:4002:c05::235]) (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 3BB7712957A for <tls@ietf.org>; Wed,  3 May 2017 19:15:55 -0700 (PDT)
Received: by mail-yw0-x235.google.com with SMTP id k11so347429ywb.1 for <tls@ietf.org>; Wed, 03 May 2017 19:15:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=xinJljJMz//JmTIGPAhN1rzicU9fW97mdG+i2IFKZ7c=; b=1o6CnvsvTGLX8Xg6SqwZNgMcaR27GkLbNSLi3da2zSiApIeLF5ycipDnHpxJ8Z72F6 n7JViek481o8tnYg8Gwhucf4Fg5qlLJQ9T0nLKbqSqsgw115DVJ1tnleYfPcXfFJjHLn aZ4i7W4yW4mJWcI7/aYcIqOEQCR6Yis6+YgB8fBsm5lIKNg1qmiaBhXZHl4zf6qllz2Q ILAn1uzl3tVGPOTCrGZehoh+vpgiM3rl3oY5cxIdkDOneKlxvo+hqB+YA8WEXWljQakv 9xnW2lMKHowLtOHklP/+AggLQBs0UwqcrbHW4xgO2lplV+RqUCNxVVyNoAfcvpCeQ/jA 9NhQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=xinJljJMz//JmTIGPAhN1rzicU9fW97mdG+i2IFKZ7c=; b=jP5mCi5x6jERx7A/EMN4OqcIjrIwuEfuQKtAToXgo1NDshRBvPn3Ho9+B8Fo4y63wj RQAuXLS3LhpaFzlc1s3hFRgcfRYUXedMO3ocsdefA275KsJ0uCAqcZPVpUd2f+p2DzUd b+ooeJ0/yZ/A2GT2TWqDRdjzFyUEosWU70X4Qx0bmoRu6M3SS/qdGrimXDomSN+vJn7B aEetk8BhJ4ExKkktxrZdsjSs+JtMMmU4egOEkw0HUrQIXufZN4mVkUyKJbGfL9iUzxdJ zEz2GLsFF1nuOuyKu308ebNQ8shNDTIAEQPv5dgPaDe9eZoQvSWy7uP70bySobRBGGOH 7v/w==
X-Gm-Message-State: AN3rC/6kWZ/qcS72vYOGC7FtaNT4pE+oW27Mn99i4yA9OdoyyBBgSfWn mpmIbUKTkWehfXpqSo94cSauS2Mbs/F5
X-Received: by 10.129.152.4 with SMTP id p4mr31852753ywg.1.1493864154174; Wed, 03 May 2017 19:15:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 19:15:52 -0700 (PDT)
In-Reply-To: <3F4F90F1-5446-4183-A972-1074FED7E899@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com> <CACsn0c=Q94c=Bk-P=FEZOmR6v1odcKfoq3Q89qADjuv1KH4ysg@mail.gmail.com> <CABkgnnURuESnxDsacYDQfmuv1vQx4oevj9Mm2_KHvmOCAmGUEg@mail.gmail.com> <032A35F4-006D-4AE0-8C30-A5D0912A7EC9@dukhovni.org> <CAAF6GDfEeJR-8BX5+tXY60VPDDerTDH-YMKbxyzF5xMA6Gd93g@mail.gmail.com> <3F4F90F1-5446-4183-A972-1074FED7E899@dukhovni.org>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 19:15:52 -0700
Message-ID: <CAAF6GDc+tnYiwRHw20C7r3knV2SQaBPXRfYPeGj5QFvfxW8rhQ@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c0bd9ee40d7ee054ea95a32
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/SWbwiQFKHH8m5p6SbbpiI1R3Bmc>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 02:15:58 -0000

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

On Wed, May 3, 2017 at 6:59 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

>
> > On May 3, 2017, at 9:39 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:
> >
> > As it happens, DNS queries are not idempotent.  Queries have
> side-effects,
>
> This is sufficiently misleading to be false.


What I'm trying to get at is that idempotency is hard. Even the simplest
things that seem idempotent often are not. It's really really hard to do a
deep review. And that's if people even know to perform the review.

,<Your next two points are good, just cut for length>

> Many providers throttle DNS queries (and TLS is intended as a mechanism
> > to help prevent the ordinary spoof ability of DNS queries).
>
> Again the client is unauthenticated, throttling is by IP address, there's
> no need to repeat the same payload, indeed that's less effective since
> throttling is biased towards queries for non-existent names, ...
>

It's not always by IP address. Anti-DDOS is much more nuanced in my
experience, often take the QNAME into account.

>
> Throttling is mostly for UDP, for lack of BCP-38 implementation.  DNS
> over TLS *is* a good candidate for 0-RTT.  [ I would have chosen a more
> simple protocol for DNS security than TLS, but given that DNS over TLS
> seems to be moving forward, 0-RTT makes sense. ]
>

+1 to that too!

--=20
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 6:59 PM, Viktor Dukhovni <span dir=3D"ltr">&lt;<=
a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukhov=
ni.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=
=3D""><br>
&gt; On May 3, 2017, at 9:39 PM, Colm MacC=C3=A1rthaigh &lt;<a href=3D"mail=
to:colm@allcosts.net">colm@allcosts.net</a>&gt; wrote:<br>
&gt;<br>
&gt; As it happens, DNS queries are not idempotent.=C2=A0 Queries have side=
-effects,<br>
<br>
</span>This is sufficiently misleading to be false.</blockquote><div><br></=
div><div>What I&#39;m trying to get at is that idempotency is hard. Even th=
e simplest things that seem idempotent often are not. It&#39;s really reall=
y hard to do a deep review. And that&#39;s if people even know to perform t=
he review.=C2=A0</div><div>=C2=A0</div><div>,&lt;Your next two points are g=
ood, just cut for length&gt;</div><div><br></div><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex"><span class=3D"">
&gt; Many providers throttle DNS queries (and TLS is intended as a mechanis=
m<br>
&gt; to help prevent the ordinary spoof ability of DNS queries).<br>
<br>
</span>Again the client is unauthenticated, throttling is by IP address, th=
ere&#39;s<br>
no need to repeat the same payload, indeed that&#39;s less effective since<=
br>
throttling is biased towards queries for non-existent names, ...<br></block=
quote><div><br></div><div>It&#39;s not always by IP address. Anti-DDOS is m=
uch more nuanced in my experience, often take the QNAME into account.=C2=A0=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><br>
Throttling is mostly for UDP, for lack of BCP-38 implementation.=C2=A0 DNS<=
br>
over TLS *is* a good candidate for 0-RTT.=C2=A0 [ I would have chosen a mor=
e<br>
simple protocol for DNS security than TLS, but given that DNS over TLS<br>
seems to be moving forward, 0-RTT makes sense. ]<br></blockquote><div><br><=
/div><div>+1 to that too!=C2=A0</div></div><div><br></div>-- <br><div class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature">Colm</div>
</div></div>

--94eb2c0bd9ee40d7ee054ea95a32--


From nobody Wed May  3 19:29:14 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2CB57128C84 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 19:29:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 W_evbcgXkO61 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 19:29:09 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 19D9C126C3D for <tls@ietf.org>; Wed,  3 May 2017 19:29:09 -0700 (PDT)
Received: from pps.filterd (m0050095.ppops.net [127.0.0.1]) by m0050095.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v442QSQN018692; Thu, 4 May 2017 03:29:06 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=FTQ6x+5QZl97yzHJtOo/UeuayKCnhDpZKJ8dLCn4DGw=; b=KyfASnVpT7QO8TXSemcSwnr5jUY5bd+vGNFNWbeX8vc35XTnJ7YKEhVnyD/bKAlcG3NZ FbNyEsV6VsV4hjUWgkeU95R9HLiLM/y//u6LxdGVYFp6Tv3LgkGmIza/PA+q+PKoMDgc N/dWI5C0YTZdr88hM9JAbBSwj5Jx05y8AG0RzR3fbuWlbipq0USaxVC3badwn3Gzfzmm hkvtbSfG+E6cQxrwwsnCjthrtxVt5rPcuw77KV5gj6vw/hucc5v53UjgaZIksAaMqv9c lQzDkBUhlH+6WEw8hZvbqGD25+x0dP3VGUENVSIObseO1puogE/4qG9S1f9jYn2fiGIB 1w== 
Received: from prod-mail-ppoint3 ([96.6.114.86]) by m0050095.ppops.net-00190b01. with ESMTP id 2a72n97k0d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 May 2017 03:29:05 +0100
Received: from pps.filterd (prod-mail-ppoint3.akamai.com [127.0.0.1]) by prod-mail-ppoint3.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v442Qa5t004730; Wed, 3 May 2017 22:29:04 -0400
Received: from email.msg.corp.akamai.com ([172.27.25.34]) by prod-mail-ppoint3.akamai.com with ESMTP id 2a72mb3d9v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 03 May 2017 22:29:04 -0400
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com (172.27.27.101) by ustx2ex-dag1mb4.msg.corp.akamai.com (172.27.27.104) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Wed, 3 May 2017 21:29:03 -0500
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com ([172.27.6.131]) by ustx2ex-dag1mb1.msg.corp.akamai.com ([172.27.6.131]) with mapi id 15.00.1263.000; Wed, 3 May 2017 21:29:03 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Martin Thomson <martin.thomson@gmail.com>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: One stream to rule them all (was Re: [TLS] Security review of TLS1.3 0-RTT)
Thread-Index: AQHSxHbYw7JncmGtmkWF7ddamAiDoKHjZPGwgAAOTuA=
Date: Thu, 4 May 2017 02:29:02 +0000
Message-ID: <5242af630cb14f29847455c2de6ceb81@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <CABkgnnWseFHVLu_Qmn7AkdJVYHGdOAZfPP=Trz_3MbQV5H5Wcw@mail.gmail.com> <74c5b8f9c44149dda3b26ed833588eed@ustx2ex-dag1mb1.msg.corp.akamai.com>
In-Reply-To: <74c5b8f9c44149dda3b26ed833588eed@ustx2ex-dag1mb1.msg.corp.akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.38.153]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-03_18:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040039
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-03_18:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040039
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/vOSxFiUhExl88CLI6HFSQ4Yc8r8>
Subject: Re: [TLS] One stream to rule them all (was Re: Security review of TLS1.3 0-RTT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 02:29:10 -0000

ID4gQmVjYXVzZSBkb2luZyBhbnl0aGluZyBlbHNlIG1ha2VzIGl0IGEgbG90IGhhcmRlciBmb3Ig
dGhlIGFwcGxpY2F0aW9uLg0KID4NCiA+IEkgcmVhbGl6ZSB0aGF0IHlvdSAqd2FudCogdGhhdCwg
YnV0IGNsZWFybHkgd2UgZGlzYWdyZWUgYWJvdXQgdGhlDQogPiB1dGlsaXR5IG9mIEFQSSBodXJk
bGVzLiAgR2l2ZW4gdGhhdCB0aGUgYXBwbGljYXRpb24gYWxyZWFkeSB0b29rDQogPiBleHRyYW9y
ZGluYXJ5IHN0ZXBzIHRvIGVuYWJsZSAwLVJUVCwgd2UgZG9uJ3QgdGhpbmsgdGhhdCBhZGRpbmcN
CiA+IGFydGlmaWNpYWwgaHVyZGxlcyBpcyBnb2luZyB0byBjaGFuZ2UgdGhpbmdzLg0KIA0KIFRo
YXQncyBraW5kIG9mIGluZmxhbW1hdG9yeS4gIEFwb2xvZ3kgYWNjZXB0ZWQgOikNCiANCiBJIGRv
bid0IHdhbnQgdG8gbWFrZSB0aGluZ3MgaGFyZC4gIEkgd2FudCB0byBtYWtlIHRoZW0gY2xlYXIg
YW5kIG1lcmdpbmcNCiB0d28gc2V0cyBvZiBkYXRhIHdpdGggZGlmZmVyZW50IHNlY3VyaXR5IHBy
b3BlcnRpZXMgZG9lcyBub3Qgc2VlbSBsaWtlIGl0J3MNCiBoZWxwZnVsLg0KDQo=


From nobody Wed May  3 19:32:04 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E0271128C84 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 19:32:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.801
X-Spam-Level: 
X-Spam-Status: No, score=-0.801 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 L_sVkNMs-5R9 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 19:32:01 -0700 (PDT)
Received: from mail-lf0-x233.google.com (mail-lf0-x233.google.com [IPv6:2a00:1450:4010:c07::233]) (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 2EECB129443 for <tls@ietf.org>; Wed,  3 May 2017 19:32:01 -0700 (PDT)
Received: by mail-lf0-x233.google.com with SMTP id h4so435978lfj.3 for <tls@ietf.org>; Wed, 03 May 2017 19:32:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lOAe5EVvMpNjl/VLLWwG0O1LnAppSW2bMDbX0cPJQdw=; b=UE0Rt+sPOyL2GXTnr0YiJLaIgIqbLz3j/lukREyaul9j1AxOJFkIZjK2CkDf7836HQ McWCaunsCJGCAvncy0EoAZTnrRmZ73MRy37XfIlAiyolGptp9W6Oc7Urf2GrT0a9woL3 8tcXhToPRy0oU+a26IZbjuNiRDxH0dW3Iltcv/MDf0Cey1IQV7sMD5ZCjzFPHiVPXTC7 rmN5mEGhnQAD2kAj3oxYmaQXevyNGc+3KXDJKUHFmSFx8kLxgVYIICaIqSmCHqx9W3WC xlg6oVEeUDJdsA69AdGc/VElGmQYEWh9aDvPF8qdYfYwKgFAs01P3Z6l6lMEP+ZTrLBU 1aAA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lOAe5EVvMpNjl/VLLWwG0O1LnAppSW2bMDbX0cPJQdw=; b=m0AmT1U6inyf8wyAK5rFdgpluqRTG8pU3dSWyRL9W5Ld79S3Br6lGa7thWFL4GINS8 gI9s11rGrFBFTxvLJL+b1QKWYRtmlnSgiwBcV4C+96xe0o4pGbNfh3D6rYNkQ6f6LSBR CaYFJDz7pUWNwAlmuo0W7//pYoxKeBV2332oMKMyHkY/kG7QzRFSzzRotBTFtq0bseqv FUxhzGV4Zerdw8+RteQ92yjbNC1FYvjQLqIyejlgLouL7/liDMWBDF28CRNsAsu5++nE RrUPsBRAtNPn35CQzkV42ne1by5PUQGPiw+TeQAlucMbG3tKReVi7yAUz9HjvGotKDI1 xVFg==
X-Gm-Message-State: AN3rC/4fowXVopPh0kEf0lDhwJbT5bxR4EyQy1HtF0+c9QjhFqMXHME6 QzHEWGCB2zc7/X4KYXChS0DklSuVQg==
X-Received: by 10.25.76.6 with SMTP id z6mr12890412lfa.172.1493865119559; Wed, 03 May 2017 19:31:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Wed, 3 May 2017 19:31:58 -0700 (PDT)
In-Reply-To: <5242af630cb14f29847455c2de6ceb81@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <CABkgnnWseFHVLu_Qmn7AkdJVYHGdOAZfPP=Trz_3MbQV5H5Wcw@mail.gmail.com> <74c5b8f9c44149dda3b26ed833588eed@ustx2ex-dag1mb1.msg.corp.akamai.com> <5242af630cb14f29847455c2de6ceb81@ustx2ex-dag1mb1.msg.corp.akamai.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 4 May 2017 12:31:58 +1000
Message-ID: <CABkgnnUuxv1WbwiudOKxkjesrGH+DCJOYqThfUa0t6K0oFSv=A@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/xtQMF8sZa_ETxE1RqaYX-hLGYS8>
Subject: Re: [TLS] One stream to rule them all (was Re: Security review of TLS1.3 0-RTT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 02:32:03 -0000

On 4 May 2017 at 12:29, Salz, Rich <rsalz@akamai.com> wrote:
>  That's kind of inflammatory.  Apology accepted :)

Yep, a bit stronger than ideal, sorry.

>  I don't want to make things hard.  I want to make them clear and merging
>  two sets of data with different security properties does not seem like it's
>  helpful.

A clear delineation of security properties exists, if the handshake is
done, then you are in the clear.  Otherwise, beware.  The separation
of the streams doesn't help if you consider the possibility that 0-RTT
data can be retroactively blessed.

I agree that it's complicated and we'll need to learn more.  I fully
appreciate that you want to be conservative in how to implement this
feature.  As a predominantly client stack with far fewer consumers, I
guess we are taking a few more liberties.  Are we not both entitled to
our own approaches in this regard?


From nobody Wed May  3 19:33:16 2017
Return-Path: <prvs=6297ec0264=uri@ll.mit.edu>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E94B128C84 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 19:33:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.3
X-Spam-Level: 
X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham 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 5CnCSRwpXoFN for <tls@ietfa.amsl.com>; Wed,  3 May 2017 19:33:13 -0700 (PDT)
Received: from llmx2.ll.mit.edu (LLMX2.LL.MIT.EDU [129.55.12.48]) by ietfa.amsl.com (Postfix) with ESMTP id 022CA129A90 for <tls@ietf.org>; Wed,  3 May 2017 19:33:05 -0700 (PDT)
Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by llmx2.ll.mit.edu (unknown) with ESMTP id v442X34U030351; Wed, 3 May 2017 22:33:03 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: Watson Ladd <watsonbladd@gmail.com>
CC: =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NiXcHbVvPnEkesiQuNcCSyO6Hil+WAgAA6vACAAKqpgIAAJd0AgAAIPYCAAA6EAA==
Date: Thu, 4 May 2017 02:33:02 +0000
Message-ID: <B2532E14-6EB9-4F0E-85C3-5CAC14B3B3AA@ll.mit.edu>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <cb518e35-c214-d11d-a068-c454b2e7ea6a@gmx.net> <CAAF6GDfQ+YXV4gvhBOOZKC=wtYhxQUy1_2_M+dgfbdL25pppiQ@mail.gmail.com> <CABkgnnUwTe627vY=hoLTRv1qmFQLf8ba64X8xHwYdtw7WYn5jw@mail.gmail.com> <CACsn0c=Q94c=Bk-P=FEZOmR6v1odcKfoq3Q89qADjuv1KH4ysg@mail.gmail.com> <CAAF6GDdGHvV-qNDRwQgWOzGyP+ggGy3TcwU7ca0MoCkOv7CDfQ@mail.gmail.com>
In-Reply-To: <CAAF6GDdGHvV-qNDRwQgWOzGyP+ggGy3TcwU7ca0MoCkOv7CDfQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Content-Type: multipart/signed; boundary="Apple-Mail-E992D020-D956-491A-BB2F-2E513EF0EC57"; protocol="application/pkcs7-signature"; micalg=sha1
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-03_18:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040039
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ObuqLvwqeFdJaDoG6RnUEGqcBkg>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 02:33:15 -0000

--Apple-Mail-E992D020-D956-491A-BB2F-2E513EF0EC57
Content-Type: multipart/alternative;
	boundary=Apple-Mail-8DD54393-47B1-4796-9E7A-125D8A3A6218
Content-Transfer-Encoding: 7bit


--Apple-Mail-8DD54393-47B1-4796-9E7A-125D8A3A6218
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: base64

Q2hvc2Ugbm90IHRvIHByb3ZpZGUgcmVwbGF5IHByb3RlY3Rpb24/ISBJIGhhdmUgdG8gYWdyZWUg
d2l0aCBDb2xtIC0gaXQgZG9lc24ndCBzb3VuZCBnb29kLiANCg0KQ2FyZSB0byBqdXN0aWZ5Pw0K
DQpQLlMuIENhcmUgdG8gbmFtZSAoYW5vdGhlciA6KSBvbmUgc2VjdXJpdHktcmVsYXRlZCBwcm90
b2NvbCB0aGF0IGRvZXNuJ3QgcHJvdmlkZSByZXBsYXkgcHJvdGVjdGlvbj8NCg0KUmVnYXJkcywN
ClVyaQ0KDQpTZW50IGZyb20gbXkgaVBob25lDQoNCj4gT24gTWF5IDMsIDIwMTcsIGF0IDIxOjQy
LCBDb2xtIE1hY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19fX19fX19fX19fX19fX19fX19fX19fX19fPC9zcGFuPjxicj48c3Bh
bj5UTFMgbWFpbGluZyBsaXN0PC9zcGFuPjxicj48c3Bhbj48YSBocmVmPSJtYWlsdG86VExTQGll
dGYub3JnIj5UTFNAaWV0Zi5vcmc8L2E+PC9zcGFuPjxicj48c3Bhbj48YSBocmVmPSJodHRwczov
L3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL3RscyI+aHR0cHM6Ly93d3cuaWV0Zi5vcmcv
bWFpbG1hbi9saXN0aW5mby90bHM8L2E+PC9zcGFuPjxicj48L2Rpdj48L2Jsb2NrcXVvdGU+PC9i
b2R5PjwvaHRtbD4=

--Apple-Mail-8DD54393-47B1-4796-9E7A-125D8A3A6218--

--Apple-Mail-E992D020-D956-491A-BB2F-2E513EF0EC57
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIINeDCCA4Mw
ggJroAMCAQICAQEwDQYJKoZIhvcNAQEFBQAwVDELMAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBM
aW5jb2xuIExhYm9yYXRvcnkxDDAKBgNVBAsTA1BLSTEWMBQGA1UEAxMNTUlUTEwgUm9vdCBDQTAe
Fw0wODA5MjMxMjAwMDBaFw0yOTEyMzEyMzU5NTlaMFQxCzAJBgNVBAYTAlVTMR8wHQYDVQQKExZN
SVQgTGluY29sbiBMYWJvcmF0b3J5MQwwCgYDVQQLEwNQS0kxFjAUBgNVBAMTDU1JVExMIFJvb3Qg
Q0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDFTikXWLImsvmtir9cEAqD3eQJMBMb
sHDQ0YWkQnUDdeyvpQgir3/VUkE6ALAOqtWwArWVHDL+WSsfM+ShuIyvXDONDbxJH/2yDmQByasy
oFhtzfTaq3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wNQS0kxEzARBgNVBAMTCk1JVExM
IENBLTMCChp0xCAAAAAArQMwCQYFKw4DAhoFAKCCAT8wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEH
ATAcBgkqhkiG9w0BCQUxDxcNMTcwNTA0MDIzMzAyWjAjBgkqhkiG9w0BCQQxFgQUzlPxtkhXOYGO
WxlMM6vsy/5D9PYwbgYJKwYBBAGCNxAEMWEwXzBRMQswCQYDVQQGEwJVUzEfMB0GA1UEChMWTUlU
IExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJMRMwEQYDVQQDEwpNSVRMTCBDQS0zAgoa
dMQgAAAAAK0DMHAGCyqGSIb3DQEJEAILMWGgXzBRMQswCQYDVQQGEwJVUzEfMB0GA1UEChMWTUlU
IExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJMRMwEQYDVQQDEwpNSVRMTCBDQS0zAgoa
dMQgAAAAAK0DMA0GCSqGSIb3DQEBAQUABIIBACbBosUImZ75MnII1O+o5vQGEOJsOVrI/yquiej9
IrPMHzsatNfMHbte9LDpoXe6+s7oSUs4/objlPm2QPZNFMBx9SOSNfKX+4yuMTozHXlxTShX4xOG
YHPvzhgB04w3MB2Qrni+b5YvJq3hfqDAb2tWtviSd4oA4WZ8t/yrvW3TZdGDDOrcWSw7FJA/kW43
oFBGt9BUbMguZ6AKX30q/i11bRxAzlJoHVCgPKeMD9kImQKJf2+vduRqfu0lGim9RXb6DePIY/G0
HyOAH3moj5inQ4OVYBwaDOeQciDOwCGZJxkSd2NWz2zFo210ogIG7dXeEX+6mSNm8Cy+lEhUKwIA
AAAAAAA=

--Apple-Mail-E992D020-D956-491A-BB2F-2E513EF0EC57--


From nobody Wed May  3 20:14:06 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 19C45129AD0 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 20:14:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] 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 L7c8_Ax-c5Yi for <tls@ietfa.amsl.com>; Wed,  3 May 2017 20:14:02 -0700 (PDT)
Received: from mail-yb0-x233.google.com (mail-yb0-x233.google.com [IPv6:2607:f8b0:4002:c09::233]) (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 8FC4412957A for <tls@ietf.org>; Wed,  3 May 2017 20:14:02 -0700 (PDT)
Received: by mail-yb0-x233.google.com with SMTP id s22so366154ybe.3 for <tls@ietf.org>; Wed, 03 May 2017 20:14:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Vn3o0v18ecwI5+ze5Yz2dBaJ3/57+Ku6idXxEk1x9Nk=; b=cQcBK/09tAsfz9b2F3UfjZvLIG3HCmL6bySyF5NAdKqA52rKLqH32M3Tv1sM2oSGvd Ci6V32fJriA5vAOQepj13mtEI7kw59fpzYJVDmcGg3f1G260KvpvVsW+qRZAS/q19emt h4Z5BWE3VZdtlyQeACF+iE2InWG1dyp0FfW1Y8wOL6aH4JQFu7nWcXWTfaONpbQL1yXm L+T5oO36M96oJVuW5HKiwTy4OQSqrSYbvmkaWdsVcyIPLzfg0VHW7N2S/eTwUaemCXm5 d7j1CgDZEeIG5OrqUME0+C7oT8KaNfECU/Je6JSywaBi8wJzomsiNXMu7FGFLR3ynKjP bP/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Vn3o0v18ecwI5+ze5Yz2dBaJ3/57+Ku6idXxEk1x9Nk=; b=KaV9tVQK1mCwnNlyVM6kZmCten91o0cfevE1+Fy+xOnYI+QspKNDuqkwAS2WlxDMJm L45wblneymvG5xMwB6ZR1wXdifxM1/IukuNNBoZQ5lMWXxcgSNfXq4UQ3Ji5Ls4LGj9l OBjh5Tk92U6SdqYjJebwljiOb5TlR2GoRBpvCbn7MDCvJfbo9yWeK9+AhcbmrNVDgLxX 7vwbAphBxSHW1U6YVFJ3qfhEaEr+NZ+jejcy8UCcfM9p5NseLKuYmXQ7sNWDW3uw3b3s oUdCPYTlqw7NIOgeMUQCivv8/JSNLP3jnOfycsr8N3YWRLdmB6uC32aTs2dyGSQrYoYS vjNQ==
X-Gm-Message-State: AN3rC/7quo4E5KROFjsLdUYQDWuAIa7F8/UPja4mm40Y7RiXGO+R1BDO NQ5FaXqS8e/HsdAFf1y94zjlAPNDXbIyKSE=
X-Received: by 10.37.174.24 with SMTP id a24mr32678532ybj.50.1493867641771; Wed, 03 May 2017 20:14:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Wed, 3 May 2017 20:13:20 -0700 (PDT)
In-Reply-To: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 3 May 2017 20:13:20 -0700
Message-ID: <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=f403045da3582136b7054eaa2ae9
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/BMwp3MJ_UfdyjKTIBIMWmbs8h64>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 03:14:05 -0000

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

[Deliberately responding to the OP rather than to anyone in particular]

Hi folks,

I'm seeing a lot of back and forth about general philosophy and the
wisdom of 0-RTT but I think it would be useful if we focused on what
changes, if any, we need to make to the draft.

I made some proposals yesterday
(https://www.ietf.org/mail-archive/web/tls/current/msg23088.html).

Specifically:
1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
both session-cache and strike register styles and the merits of each.

2. Document 0-RTT greasing in draft-ietf-tls-grease

3. Adopt PR#448 (or some variant) so that session-id style implementations
provide PFS.

4. I would add to this that we recommend that proxy/CDN implementations
signal which data is 0-RTT and which is 1-RTT to the back-end (this was in
Colm's original message).

Based on Colm's response, I think these largely hits the points he made
in his original message.

There's already a PR for #3 and I'll have PRs for #1 and #4 tomorrow.
What would be most helpful to me as Editor would be if people could review
these PRs and/or suggest other specific changes that we should make
to the document.

Thanks,
-Ekr




On Tue, May 2, 2017 at 7:44 AM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:

> On Sunday at the TLS:DIV workshop I presented a summary of findings of a
> security review we did on TLS1.3 0-RTT, as part of implementing 1.3 in s2=
n.
> Thanks to feedback in the room I've now tightened up the findings from th=
e
> review and posted them as an issue on the draft GitHub repo:
>
> https://github.com/tlswg/tls13-spec/issues/1001
>
> I'll summarize the summary: Naturally the focus was on forward secrecy an=
d
> replay. On forward secrecy the main finding was that it's not necessary t=
o
> trade off Forward Secrecy and 0-RTT. A single-use session cache can provi=
de
> it, and with the modification that ekr has created in
> https://github.com/tlswg/tls13-spec/pull/998 , such a cache works for
> both pre-auth and post-auth tickets, and it allows clients to build up
> pools of meaningfully distinct tickets.
>
> There's also an observation there that it should really be that clients
> "MUST" use tickets only once. Any re-use likely discloses the obfuscated
> ticket age, which is intended to be secret. Right now it's a "SHOULD".
>
> On replay, the main finding is that what's in the draft is not workably
> secure, and the review includes 5 different attacks against 0-RTT data to
> illustrate that. Attacks 1 and 2 show that the kind of replay permitted b=
y
> the draft is very different from the kind of replay permitted by dkg's
> existing downgrade-and-retry attack. I also go over why it very very
> difficult to many applications to achieve that idempotency, and why one
> idempotency pattern actually relies on non-replayable messages.
>
> Attack 3 shows that idempotency is not sufficient, applications must also
> be free of measurable side-effects, which is not practical.  Attack 4 sho=
ws
> that 0-RTT breaks a common security mechanism: spoofing-resistant
> throttles. Attack 5 shows that 0-RTT replay-ability enables an additional
> form of traffic analysis.
>
> The recommendation in the review is that implementations "MUST" prevent
> replays of 0-RTT section, with some additional discussion about why the
> existing advice is unlikely to be followed, and why consistent
> interoperability matters here.
>
> Unfortunately, I wasn't aware until Friday that this review would be
> coming so late in the TLD1.3 draft process, and my apologies for that. I =
am
> now planning to attend the future WG in-person meetings and look forward =
to
> seeing many of you there.
>
> --
> Colm
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

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

<div dir=3D"ltr">[Deliberately responding to the OP rather than to anyone i=
n particular]<div><br></div><div>Hi folks,</div><div><br></div><div>I&#39;m=
 seeing a lot of back and forth about general philosophy and the</div><div>=
wisdom of 0-RTT but I think it would be useful if we focused on what</div><=
div>changes, if any, we need to make to the draft.=C2=A0</div><div><br></di=
v><div>I made some proposals yesterday=C2=A0</div><div>(<a href=3D"https://=
www.ietf.org/mail-archive/web/tls/current/msg23088.html">https://www.ietf.o=
rg/mail-archive/web/tls/current/msg23088.html</a>).</div><div><br></div><di=
v>Specifically:</div><div>1. A SHOULD-level requirement for server-side 0-R=
TT defense, explaining</div><div>both session-cache and strike register sty=
les and the merits of each.</div><div><br></div><div>2. Document 0-RTT grea=
sing in draft-ietf-tls-grease<br></div><div><br></div><div>3. Adopt PR#448 =
(or some variant) so that session-id style implementations</div><div>provid=
e PFS.</div><div><br></div><div>4. I would add to this that we recommend th=
at proxy/CDN implementations</div><div>signal which data is 0-RTT and which=
 is 1-RTT to the back-end (this was in</div><div>Colm&#39;s original messag=
e).</div><div><br></div><div>Based on Colm&#39;s response, I think these la=
rgely hits the points he made</div><div>in his original message.</div><div>=
<br></div><div>There&#39;s already a PR for #3 and I&#39;ll have PRs for #1=
 and #4 tomorrow.<br></div><div>What would be most helpful to me as Editor =
would be if people could review</div><div>these PRs and/or suggest other sp=
ecific changes that we should make</div><div>to the document.</div><div><br=
></div><div>Thanks,</div><div>-Ekr</div><div><br></div><div><br></div><div>=
<br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">O=
n Tue, May 2, 2017 at 7:44 AM, Colm MacC=C3=A1rthaigh <span dir=3D"ltr">&lt=
;<a href=3D"mailto:colm@allcosts.net" target=3D"_blank">colm@allcosts.net</=
a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">On =
Sunday at the TLS:DIV workshop I presented a summary of findings of a secur=
ity review we did on TLS1.3 0-RTT, as part of implementing 1.3 in s2n. Than=
ks to feedback in the room I&#39;ve now tightened up the findings from the =
review and posted them as an issue on the draft GitHub repo:<div><br></div>=
<div><a href=3D"https://github.com/tlswg/tls13-spec/issues/1001" target=3D"=
_blank">https://github.com/tlswg/<wbr>tls13-spec/issues/1001</a><br></div><=
div><br></div><div>I&#39;ll summarize the summary: Naturally the focus was =
on forward secrecy and replay. On forward secrecy the main finding was that=
 it&#39;s not necessary to trade off Forward Secrecy and 0-RTT. A single-us=
e session cache can provide it, and with the modification that ekr has crea=
ted in=C2=A0<a href=3D"https://github.com/tlswg/tls13-spec/pull/998" target=
=3D"_blank">https://github.com/tlswg/tl<wbr>s13-spec/pull/998</a> , such a =
cache works for both pre-auth and post-auth tickets, and it allows clients =
to build up pools of meaningfully distinct tickets.</div><div><br></div><di=
v>There&#39;s also an observation there that it should really be that clien=
ts &quot;MUST&quot; use tickets only once. Any re-use likely discloses the =
obfuscated ticket age, which is intended to be secret. Right now it&#39;s a=
 &quot;SHOULD&quot;.=C2=A0</div><div><br></div><div>On replay, the main fin=
ding is that what&#39;s in the draft is not workably secure, and the review=
 includes 5 different attacks against 0-RTT data to illustrate that. Attack=
s 1 and 2 show that the kind of replay permitted by the draft is very diffe=
rent from the kind of replay permitted by dkg&#39;s existing downgrade-and-=
retry attack. I also go over why it very very difficult to many application=
s to achieve that idempotency, and why one idempotency pattern actually rel=
ies on non-replayable messages.=C2=A0</div><div><br></div><div>Attack 3 sho=
ws that idempotency is not sufficient, applications must also be free of me=
asurable side-effects, which is not practical.=C2=A0 Attack 4 shows that 0-=
RTT breaks a common security mechanism: spoofing-resistant throttles. Attac=
k 5 shows that 0-RTT replay-ability enables an additional form of traffic a=
nalysis.=C2=A0</div><div><br></div><div>The recommendation in the review is=
 that implementations &quot;MUST&quot; prevent replays of 0-RTT section, wi=
th some additional discussion about why the existing advice is unlikely to =
be followed, and why consistent interoperability matters here.=C2=A0</div><=
div><br></div><div>Unfortunately, I wasn&#39;t aware until Friday that this=
 review would be coming so late in the TLD1.3 draft process, and my apologi=
es for that. I am now planning to attend the future WG in-person meetings a=
nd look forward to seeing many of you there.=C2=A0</div><span class=3D"HOEn=
Zb"><font color=3D"#888888"><div><div><div><br></div>-- <br><div class=3D"m=
_7306152499528679592gmail-m_-622221206948237266gmail_signature">Colm</div>
</div></div></font></span></div>
<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br></blockquote></div><br></div>

--f403045da3582136b7054eaa2ae9--


From nobody Wed May  3 20:15:35 2017
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC23212957A for <tls@ietfa.amsl.com>; Wed,  3 May 2017 20:15:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.302
X-Spam-Level: 
X-Spam-Status: No, score=-2.302 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 xMs7BRnwVDBq for <tls@ietfa.amsl.com>; Wed,  3 May 2017 20:15:31 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 47072129AB6 for <tls@ietf.org>; Wed,  3 May 2017 20:15:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1493867731; x=1525403731; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=jRQ2DZdVnCWZFemllj8OeWZ6TlZef8O5xXjHxqmZH1I=; b=cSvUIU3/6ni4N6/Ehn3db11ShX6G3j8QxUmkgIpinrmdO/znhFG9xZP3 c/to/2U4AX1eUOfyQ4h+nhIzGp248se7yH4VBfE2xfmKNRAwG9lwFaIQ4 hSyrXtUU59P9TL5z1dgygs2GQMfQdg05pVQZGYXOD0BXLYd+6ylA0GNv6 uQhhRqyxhwYJFp9kfNLlywvo2NptUTPrA0WNdt6mFYbjnu7FdbfTEa7Pq 3emTFTE1aB55EaAWt9PoQpQMBirB5ofU3yRctGM/7Fdqkurh6QYjN0Esb xuSTkm+lEBrRrqHyx38PZa5rkmYx2YOwGg8CfVw9BE5ddlQI+eECaAPo6 A==;
X-IronPort-AV: E=Sophos;i="5.38,286,1491220800"; d="scan'208";a="152801708"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 10.6.3.2 - Outgoing - Outgoing
Received: from uxcn13-tdc-a.uoa.auckland.ac.nz ([10.6.3.2]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 04 May 2017 15:15:19 +1200
Received: from uxcn13-tdc-d.UoA.auckland.ac.nz (10.6.3.5) by uxcn13-tdc-a.UoA.auckland.ac.nz (10.6.3.22) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 4 May 2017 15:15:18 +1200
Received: from uxcn13-tdc-d.UoA.auckland.ac.nz ([fe80::6929:c5b:e4d6:fd92]) by uxcn13-tdc-d.UoA.auckland.ac.nz ([fe80::6929:c5b:e4d6:fd92%14]) with mapi id 15.00.1263.000; Thu, 4 May 2017 15:15:18 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Nico Williams <nico@cryptonector.com>
CC: Benjamin Kaduk <bkaduk@akamai.com>, TLS WG <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NPTAGYfwrCc0yRmMInbVKyjKHghKSAgAABiQCAAAKfgIAAA3MAgAAEtgCAAAIuAIAABAyAgAEfkNP//4MDgIACSLpH
Date: Thu, 4 May 2017 03:15:18 +0000
Message-ID: <1493867699216.865@cs.auckland.ac.nz>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <C29356B3-6D71-4088-9AB3-4954327F1E7B@dukhovni.org> <20170502173905.GC10188@localhost> <CAAF6GDeYc5o=eeeyV6HhK9vrLngB-Y=Ed5BdedrE8h2-py4oAw@mail.gmail.com> <20170502180049.GE10188@localhost> <CAAF6GDecd=x-Ob_eO1vSWr6cb6jAeyHBx7zf6cpX=GfxBosfLQ@mail.gmail.com> <20170502182529.GG10188@localhost> <d325ae84-ad24-859d-50a7-825dbabe3b24@akamai.com> <1493768953994.69753@cs.auckland.ac.nz>,<20170503042150.GM10188@localhost>
In-Reply-To: <20170503042150.GM10188@localhost>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [130.216.158.4]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/AI9g8gvmggj4O6BWn7xs5ziOwVk>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 03:15:34 -0000

Nico Williams <nico@cryptonector.com> writes:=0A=
=0A=
>Yeah, but a non-persistent clock is fine if the client can learn time from=
=0A=
>the server (and keep a different offset from system time to every server i=
f=0A=
>need be, learning system time from one of them, or from NTP, or whatever).=
=0A=
=0A=
In many cases neither the server nor the client have clocks.  They also don=
't=0A=
have much provision for keeping track of persistent state across devices.=
=0A=
=0A=
Overall though it's a bit of a moot point because it's unlikely these devic=
es=0A=
will ever do TLS 1.3 (it's going to be enough of a pain eventually moving t=
hem=0A=
to 1.2), I was just pointing out that you can't assume the presence of a=0A=
clock.  It may be perfectly OK to assume that anything that'll ever do 1.3=
=0A=
also has an accurate(ish) time source available.=0A=
=0A=
Peter.=0A=


From nobody Wed May  3 20:20:13 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BFC89129B35 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 20:20:11 -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=allcosts-net.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 oZKQByRIo_Qz for <tls@ietfa.amsl.com>; Wed,  3 May 2017 20:20:07 -0700 (PDT)
Received: from mail-yw0-x22d.google.com (mail-yw0-x22d.google.com [IPv6:2607:f8b0:4002:c05::22d]) (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 2CA33129B49 for <tls@ietf.org>; Wed,  3 May 2017 20:20:04 -0700 (PDT)
Received: by mail-yw0-x22d.google.com with SMTP id l135so757450ywb.2 for <tls@ietf.org>; Wed, 03 May 2017 20:20:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oiUGpUVhN9wNUXuC/QjBPphv0odOOLgsOthkPcXelm8=; b=n/fYSEbaljIa9l/QL3CpT692qbSgi7ydaeiQYj2WixVmdEhkOXMBQqEZnqU4kx5RrH 3s3UuBemNxmvaQMyt0+oKjUGJkEcP8JuGc7lg+LNWGW5ic1qLlK2vEu/NcadMZnmkmJw KCVbF6z1IvmGFIa/Cf0bHYKXkU+ZeCDmuasSipBf0gtxX5o0Sc1aqB1t9VKCR6HWuDde XfIjpvwbUM2/oo5Vb6LPSERAn4AqwhyHBKTxuTX4W8ElrfwMvvUWOg6m884FpjfVjgQ8 HgucwHeMVB6Ague5dWbaa2OUjRXjIP43uSxcgUR5AAsPPm5adM/ki8PiVF9FWitCFVOJ pang==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oiUGpUVhN9wNUXuC/QjBPphv0odOOLgsOthkPcXelm8=; b=jP2Pk4uGh2pAc5JvHz1COHTq4gbj/CVIvVP/vHKKo3W8XASjqwM+A+wT8eSmWW85Wf U7OCFAIRfq4lKBSOtoLFM18Zik0wAEBdNhvt3PeB6OI24tEPwyeoOTVQwXfGAIk4ZwI+ 5hvY/Eu0AbvqPneVISS6qmFTo3DcCcXzXwBKd+rrS+MMH6bqKAKXG5XVvd5k0v1fxTQh p/gI5Alkt/lgjg9pMf2MQiDRyqMRosWxbuyMM9IikAuCfOjwl2MwqrXMYVfBAZtiwdhz WpRmg16RBHxrJJ7vKwBdI21N2REej8jtV2oKbEMfI4iI0o8aqonxFWts3K4qvyWNkW7E cq+g==
X-Gm-Message-State: AN3rC/5R/b1/MjyBcZvgZie5/puCQcZ8UjSOE6sSTbJjyrcK/OM0Dacf ISoZ9U1oUSxnPWvSey//CyT+XJn+U7NbFsc=
X-Received: by 10.129.56.11 with SMTP id f11mr35154964ywa.241.1493868003328; Wed, 03 May 2017 20:20:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 20:20:02 -0700 (PDT)
In-Reply-To: <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 20:20:02 -0700
Message-ID: <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11483b10ae33ad054eaa3f63
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/QCqE3kub2byKjTu6dz8pzaw8Zvg>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 03:20:12 -0000

--001a11483b10ae33ad054eaa3f63
Content-Type: text/plain; charset=UTF-8

On Wed, May 3, 2017 at 8:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:

> I made some proposals yesterday
> (https://www.ietf.org/mail-archive/web/tls/current/msg23088.html).
>
> Specifically:
> 1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
> both session-cache and strike register styles and the merits of each.
>
> 2. Document 0-RTT greasing in draft-ietf-tls-grease
>
> 3. Adopt PR#448 (or some variant) so that session-id style implementations
> provide PFS.
>
> 4. I would add to this that we recommend that proxy/CDN implementations
> signal which data is 0-RTT and which is 1-RTT to the back-end (this was in
> Colm's original message).
>

This all sounds great to me. I'm not sure that we need (4.) if we have
(1.).  I think with (1.) - recombobulating to a single stream might even be
best overall, to reduce application complexity, and it seems to be what
most implementors are actually doing.

I know that leaves the DKG attack, but from a client and servers
perspective that attack is basically identical to a server timeout, and
it's something that systems likely have some fault tolerance around. It's
not /new/ broken-ness.


> Based on Colm's response, I think these largely hits the points he made
> in his original message.
>
> There's already a PR for #3 and I'll have PRs for #1 and #4 tomorrow.
> What would be most helpful to me as Editor would be if people could review
> these PRs and/or suggest other specific changes that we should make
> to the document.
>

Will do! Many thanks.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 8:13 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a =
href=3D"mailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> =
wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,=
204,204);padding-left:1ex"><div dir=3D"ltr">I made some proposals yesterday=
=C2=A0<br><div>(<a href=3D"https://www.ietf.org/mail-archive/web/tls/curren=
t/msg23088.html" target=3D"_blank">https://www.ietf.org/mail-<wbr>archive/w=
eb/tls/current/<wbr>msg23088.html</a>).</div><div><br></div><div>Specifical=
ly:</div><div>1. A SHOULD-level requirement for server-side 0-RTT defense, =
explaining</div><div>both session-cache and strike register styles and the =
merits of each.</div><div><br></div><div>2. Document 0-RTT greasing in draf=
t-ietf-tls-grease<br></div><div><br></div><div>3. Adopt PR#448 (or some var=
iant) so that session-id style implementations</div><div>provide PFS.</div>=
<div><br></div><div>4. I would add to this that we recommend that proxy/CDN=
 implementations</div><div>signal which data is 0-RTT and which is 1-RTT to=
 the back-end (this was in</div><div>Colm&#39;s original message).</div></d=
iv></blockquote><div><br></div><div>This all sounds great to me. I&#39;m no=
t sure that we need (4.) if we have (1.).=C2=A0 I think with (1.) - recombo=
bulating to a single stream might even be best overall, to reduce applicati=
on complexity, and it seems to be what most implementors are actually doing=
. =C2=A0</div><div><br></div><div>I know that leaves the DKG attack, but fr=
om a client and servers perspective that attack is basically identical to a=
 server timeout, and it&#39;s something that systems likely have some fault=
 tolerance around. It&#39;s not /new/ broken-ness.=C2=A0</div><div>=C2=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,20=
4);padding-left:1ex"><div dir=3D"ltr"><div>Based on Colm&#39;s response, I =
think these largely hits the points he made</div><div>in his original messa=
ge.</div><div><br></div><div>There&#39;s already a PR for #3 and I&#39;ll h=
ave PRs for #1 and #4 tomorrow.<br></div><div>What would be most helpful to=
 me as Editor would be if people could review</div><div>these PRs and/or su=
ggest other specific changes that we should make</div><div>to the document.=
</div></div></blockquote><div><br></div><div>Will do! Many thanks.=C2=A0</d=
iv></div><div><br></div>-- <br><div class=3D"gmail_signature">Colm</div>
</div></div>

--001a11483b10ae33ad054eaa3f63--


From nobody Wed May  3 20:22:21 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 383E9129B4B for <tls@ietfa.amsl.com>; Wed,  3 May 2017 20:22:19 -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 uxGYfEaDLzSb for <tls@ietfa.amsl.com>; Wed,  3 May 2017 20:22:17 -0700 (PDT)
Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (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 D39B1129B3A for <tls@ietf.org>; Wed,  3 May 2017 20:22:14 -0700 (PDT)
Received: by mail-yw0-x22b.google.com with SMTP id k11so784353ywb.1 for <tls@ietf.org>; Wed, 03 May 2017 20:22:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RIkMMAvNFCA/GPP9zstjWOY0dV1zV7VRS+Utw2Gzmw8=; b=DKYFLPf6U9qZ7eUhRylWyAiN8DjdVGHYGmQtsDtyJxUYS7XaAetmnVbqf21pPsuOf5 LBK4gwbeKEb2yrBfQbre3i2G4niDnO5BtOhPP3rYfft3VJxy23K+xSBAzuMTtpBKgt4l 8/cdGC3gulNdbp7Eka1okHzbxu8MRWDSM+LOKhsfr0AjigE15k1n4Bbx0clNUD+8iO7M B6Va2eX03c4dGOPYycd4NPeX8tXgA/ol6rKtlAZKYJ7iTnBkoxPj0ncdW0WstV4DqF1C Go2GmXlz3e4o+BGcclLeHZpCRSRx4LdKzr9uNn/NkXo4FkOaCRdhSoEW6Wd7UAFP6znZ w2nQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RIkMMAvNFCA/GPP9zstjWOY0dV1zV7VRS+Utw2Gzmw8=; b=KBB9QE+fmUPL54Jj64m+4e+DFf2/3uiZ0hwl8EGktTWHlzf21BeldQEzRDJM4VIb60 xjtJ9irv5ZiPxtwV/pbppe8onuC1WhKkMr8+9aOD2HFYPKVAFiETN+HdAbwLy+NYHRJh FGfEfNpyxMtjKV/IZCUk1UkmPA4YARUj6PR7fx/A6SYoYXQ+3QPiXJ28mF+DNRNbiPZm DBjLCpn+b9qQV2jDchaNZ+mvOQKFMKwcZxvX72P2bg1YZipjXHyeBVtl9hyOqWrB0NOs oyuJ/MSAXlrXAOLTC7gA7jdvpIfzzIcPjwBhqn4t2TCTmqfTF1/FBpsZp6OR3afNFpud 3s1A==
X-Gm-Message-State: AN3rC/4xjHoEhYEZQM7h2OZK2dVQYRB7qOrDYKOYoxETa8oWORVPzO60 rrEVOvid4CLX1u2OpYqNpbjmg14wuzvV
X-Received: by 10.129.146.78 with SMTP id j75mr5283078ywg.3.1493868134193; Wed, 03 May 2017 20:22:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Wed, 3 May 2017 20:21:33 -0700 (PDT)
In-Reply-To: <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 3 May 2017 20:21:33 -0700
Message-ID: <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c0935047af524054eaa471f
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Q-eJdlzFhJq9_DqMxqpCfK7yDmw>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 03:22:19 -0000

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

On Wed, May 3, 2017 at 8:20 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net> =
wrote:

>
>
> On Wed, May 3, 2017 at 8:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>
>> I made some proposals yesterday
>> (https://www.ietf.org/mail-archive/web/tls/current/msg23088.html).
>>
>> Specifically:
>> 1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
>> both session-cache and strike register styles and the merits of each.
>>
>> 2. Document 0-RTT greasing in draft-ietf-tls-grease
>>
>> 3. Adopt PR#448 (or some variant) so that session-id style implementatio=
ns
>> provide PFS.
>>
>> 4. I would add to this that we recommend that proxy/CDN implementations
>> signal which data is 0-RTT and which is 1-RTT to the back-end (this was =
in
>> Colm's original message).
>>
>
> This all sounds great to me. I'm not sure that we need (4.) if we have
> (1.).  I think with (1.) - recombobulating to a single stream might even =
be
> best overall, to reduce application complexity, and it seems to be what
> most implementors are actually doing.
>
> I know that leaves the DKG attack, but from a client and servers
> perspective that attack is basically identical to a server timeout, and
> it's something that systems likely have some fault tolerance around. It's
> not /new/ broken-ness.
>

Heh. Always happy to do less writing.

Thanks,
-Ekr


>
>
>> Based on Colm's response, I think these largely hits the points he made
>> in his original message.
>>
>> There's already a PR for #3 and I'll have PRs for #1 and #4 tomorrow.
>> What would be most helpful to me as Editor would be if people could revi=
ew
>> these PRs and/or suggest other specific changes that we should make
>> to the document.
>>
>
> Will do! Many thanks.
>
> --
> Colm
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 8:20 PM, Colm MacC=C3=A1rthaigh <span dir=3D"ltr=
">&lt;<a href=3D"mailto:colm@allcosts.net" target=3D"_blank">colm@allcosts.=
net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr=
"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"><span>On We=
d, May 3, 2017 at 8:13 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> wrote:<br=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);=
padding-left:1ex"><div dir=3D"ltr">I made some proposals yesterday=C2=A0<br=
><div>(<a href=3D"https://www.ietf.org/mail-archive/web/tls/current/msg2308=
8.html" target=3D"_blank">https://www.ietf.org/mail-arc<wbr>hive/web/tls/cu=
rrent/msg23088.<wbr>html</a>).</div><div><br></div><div>Specifically:</div>=
<div>1. A SHOULD-level requirement for server-side 0-RTT defense, explainin=
g</div><div>both session-cache and strike register styles and the merits of=
 each.</div><div><br></div><div>2. Document 0-RTT greasing in draft-ietf-tl=
s-grease<br></div><div><br></div><div>3. Adopt PR#448 (or some variant) so =
that session-id style implementations</div><div>provide PFS.</div><div><br>=
</div><div>4. I would add to this that we recommend that proxy/CDN implemen=
tations</div><div>signal which data is 0-RTT and which is 1-RTT to the back=
-end (this was in</div><div>Colm&#39;s original message).</div></div></bloc=
kquote><div><br></div></span><div>This all sounds great to me. I&#39;m not =
sure that we need (4.) if we have (1.).=C2=A0 I think with (1.) - recombobu=
lating to a single stream might even be best overall, to reduce application=
 complexity, and it seems to be what most implementors are actually doing. =
=C2=A0</div><div><br></div><div>I know that leaves the DKG attack, but from=
 a client and servers perspective that attack is basically identical to a s=
erver timeout, and it&#39;s something that systems likely have some fault t=
olerance around. It&#39;s not /new/ broken-ness.=C2=A0</div></div></div></d=
iv></blockquote><div><br></div><div>Heh. Always happy to do less writing.</=
div><div><br></div><div>Thanks,</div><div>-Ekr</div><div>=C2=A0</div><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div c=
lass=3D"gmail_quote"><span><div>=C2=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-styl=
e:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir=3D"lt=
r"><div>Based on Colm&#39;s response, I think these largely hits the points=
 he made</div><div>in his original message.</div><div><br></div><div>There&=
#39;s already a PR for #3 and I&#39;ll have PRs for #1 and #4 tomorrow.<br>=
</div><div>What would be most helpful to me as Editor would be if people co=
uld review</div><div>these PRs and/or suggest other specific changes that w=
e should make</div><div>to the document.</div></div></blockquote><div><br><=
/div></span><div>Will do! Many thanks.=C2=A0</div></div><span class=3D"m_-1=
370507084357442124HOEnZb"><font color=3D"#888888"><div><br></div>-- <br><di=
v class=3D"m_-1370507084357442124m_-5492341075848643464gmail_signature">Col=
m</div>
</font></span></div></div>
</blockquote></div><br></div></div>

--94eb2c0935047af524054eaa471f--


From nobody Wed May  3 21:00:08 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 990FB129B43 for <tls@ietfa.amsl.com>; Wed,  3 May 2017 21:00:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 WEX66cfB2C9T for <tls@ietfa.amsl.com>; Wed,  3 May 2017 21:00:05 -0700 (PDT)
Received: from mail-yb0-x229.google.com (mail-yb0-x229.google.com [IPv6:2607:f8b0:4002:c09::229]) (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 879DE129B49 for <tls@ietf.org>; Wed,  3 May 2017 21:00:04 -0700 (PDT)
Received: by mail-yb0-x229.google.com with SMTP id j17so531264ybj.0 for <tls@ietf.org>; Wed, 03 May 2017 21:00:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=K+wVRFo4enygCnauWyVnN7ZlriT3ogmd9XfpyjKBqKY=; b=iWbNQ0imCgPrTGCQ7YpOWv4OBN+a0x+s3mCJcuSOiaFn8PvLiHGO28UZQ/WW5Hkm3z fkuC6nXLVJ4ZY4byPiz3MG2hOhoIwQrXk8zVT3KIApDavrmLS10FJUk8EwV8RRMeP5Q9 zOBP46InFlNql733zBh0kiJcyHCqHGS0fFmp1GXILT8lq9mXXHnBSBEoTsbvioWdWHxR IEwCYjUW0IQROPwsPAQIkxgXPlnxcOu0wUosUUr5D89emvmxEVP7jpoL7gCTn+UOxNY9 pfT1CvgWUyYzimSt1t7uaqNT95xS7yz7tijKPqz0ig/AlFXQZwPC0CDyxP+q7S4s0XJh Z0SQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=K+wVRFo4enygCnauWyVnN7ZlriT3ogmd9XfpyjKBqKY=; b=O8JbNByCKjsiOnvc2U3Btz6bu/sGDkRqN8cnVP96tKshwB74Cp9PCx19T90EeAmQQj fpT0Io8nzYzI0Avv4hqQr8DzIbOUYsDqW8lz/TTDiMrx/o18iAEpj4cCWSX9Wdeewx1v 92vupxlrAkkePzJiTenwb9Pg8z3EoNdCWQfz3/YTIgtDIgpgkLptxqJinFP3ImviyLA4 dS8y6LszKSkq0CslEEnviBjNjTy2swbfLMemFfuYSj9FGYwVN+i+ojo7POnSDpSRSxst dfCoAfXCjD8AJqkvZ+4diKsvs2itI8OIfAHhcvInB2HEjR3tL7ZdINGn4qTmbRmwoLiF Ym8Q==
X-Gm-Message-State: AN3rC/5F2DwHAOnrtWyd87NvkaqAchWz/2Zbuc40zcw7EuEOMW1sx0Qm 5cDCCtpzzwTCgT55t9SV7Rlf4PfMgg==
X-Received: by 10.37.163.195 with SMTP id e61mr17541221ybi.13.1493870403582; Wed, 03 May 2017 21:00:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 3 May 2017 21:00:03 -0700 (PDT)
In-Reply-To: <CABkgnnUuxv1WbwiudOKxkjesrGH+DCJOYqThfUa0t6K0oFSv=A@mail.gmail.com>
References: <CABkgnnWseFHVLu_Qmn7AkdJVYHGdOAZfPP=Trz_3MbQV5H5Wcw@mail.gmail.com> <74c5b8f9c44149dda3b26ed833588eed@ustx2ex-dag1mb1.msg.corp.akamai.com> <5242af630cb14f29847455c2de6ceb81@ustx2ex-dag1mb1.msg.corp.akamai.com> <CABkgnnUuxv1WbwiudOKxkjesrGH+DCJOYqThfUa0t6K0oFSv=A@mail.gmail.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 3 May 2017 21:00:03 -0700
Message-ID: <CAAF6GDfDfkTTGWKt68quJ5jhr7sV_LuAa5A2jC+OY_wOZWn8Kw@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: "Salz, Rich" <rsalz@akamai.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=f403045c05f8bf315a054eaaced7
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/_Rz_5huUZr5LF7EhKu2xna-G9Ig>
Subject: Re: [TLS] One stream to rule them all (was Re: Security review of TLS1.3 0-RTT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 04:00:08 -0000

--f403045c05f8bf315a054eaaced7
Content-Type: text/plain; charset=UTF-8

On Wed, May 3, 2017 at 7:31 PM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> A clear delineation of security properties exists, if the handshake is
> done, then you are in the clear.  Otherwise, beware.  The separation
> of the streams doesn't help if you consider the possibility that 0-RTT
> data can be retroactively blessed.
>
> I agree that it's complicated and we'll need to learn more.  I fully
> appreciate that you want to be conservative in how to implement this
> feature.  As a predominantly client stack with far fewer consumers, I
> guess we are taking a few more liberties.  Are we not both entitled to
> our own approaches in this regard?
>

I just wanted to chime in on this thread too and this:

I think that single-stream is the way to go .. if servers prevent 0-RTT
replays.  That does leave the DKG attack, but I think that's ok. That might
seem like a contradictory view from me, so here's my nuanced take:

* The DKG attack is real and does cause the client to repeat a request.

* It's basically impossible for the server to do anything about it. The
ticket isn't re-used, so clever tricks like CloudFlare's X- header don't
work here. I thought for a while that the server could maybe fingerprint
the plaintext, but even that doesn't work, because a client might repeat it
intentionally.

* Thankfully this doesn't have to be a show-stopper. The failure mode is, I
think, identical to  existing time outs.  The client knows that the request
may have succeeded, or may have failed. At that point it's up to the client
what to do. Browsers retry, makes sense for them. Other clients don't, good
for them. But they get to choose; and it's compatible with today's
behavior.  From the server's perspective, the same is true - the server
knows that the original client may not have received any response, because
that connection fails.

* So in broad terms, existing client and server behavior should cover us
here; all of this happens when connections time out today - and an attacker
can already cause that to happen. It's not a big ecosystem change to the
layering we have already.

* If the above logic holds; then the whole "needs a profile" stuff and
signaling early data and application data to applications separately is
needless complexity IMO. Probably more harm than good, and seems to be
getting ignored anyway.




>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>



-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra">On Wed, May 3, 2017 at 7:31=
 PM, Martin Thomson <span dir=3D"ltr">&lt;<a href=3D"mailto:martin.thomson@=
gmail.com" target=3D"_blank">martin.thomson@gmail.com</a>&gt;</span> wrote:=
<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A clear delin=
eation of security properties exists, if the handshake is<br>
done, then you are in the clear.=C2=A0 Otherwise, beware.=C2=A0 The separat=
ion<br>
of the streams doesn&#39;t help if you consider the possibility that 0-RTT<=
br>
data can be retroactively blessed.<br>
<br>
I agree that it&#39;s complicated and we&#39;ll need to learn more.=C2=A0 I=
 fully<br>
appreciate that you want to be conservative in how to implement this<br>
feature.=C2=A0 As a predominantly client stack with far fewer consumers, I<=
br>
guess we are taking a few more liberties.=C2=A0 Are we not both entitled to=
<br>
our own approaches in this regard?<br></blockquote><div><br></div><div>I ju=
st wanted to chime in on this thread too and this:</div><div><br></div><div=
>I think that single-stream is the way to go .. if servers prevent 0-RTT re=
plays.=C2=A0 That does leave the DKG attack, but I think that&#39;s ok. Tha=
t might seem like a contradictory view from me, so here&#39;s my nuanced ta=
ke:</div><div><br></div><div>* The DKG attack is real and does cause the cl=
ient to repeat a request.</div><div><br></div><div>* It&#39;s basically imp=
ossible for the server to do anything about it. The ticket isn&#39;t re-use=
d, so clever tricks like CloudFlare&#39;s X- header don&#39;t work here. I =
thought for a while that the server could maybe fingerprint the plaintext, =
but even that doesn&#39;t work, because a client might repeat it intentiona=
lly.</div><div><br></div><div>* Thankfully this doesn&#39;t have to be a sh=
ow-stopper. The failure mode is, I think, identical to =C2=A0existing time =
outs.=C2=A0 The client knows that the request may have succeeded, or may ha=
ve failed. At that point it&#39;s up to the client what to do. Browsers ret=
ry, makes sense for them. Other clients don&#39;t, good for them. But they =
get to choose; and it&#39;s compatible with today&#39;s behavior.=C2=A0 Fro=
m the server&#39;s perspective, the same is true - the server knows that th=
e original client may not have received any response, because that connecti=
on fails.=C2=A0</div><div><br></div><div>* So in broad terms, existing clie=
nt and server behavior should cover us here; all of this happens when conne=
ctions time out today - and an attacker can already cause that to happen. I=
t&#39;s not a big ecosystem change to the layering we have already.=C2=A0</=
div><div><br></div><div>* If the above logic holds; then the whole &quot;ne=
eds a profile&quot; stuff and signaling early data and application data to =
applications separately is needless complexity IMO. Probably more harm than=
 good, and seems to be getting ignored anyway.=C2=A0</div><div><br></div><d=
iv><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5"><br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Colm</div=
>
</div></div>

--f403045c05f8bf315a054eaaced7--


From nobody Thu May  4 02:34:38 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A2A5129329 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 02:34:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 VuZVjZUQDWkp for <tls@ietfa.amsl.com>; Thu,  4 May 2017 02:34:35 -0700 (PDT)
Received: from welho-filter1.welho.com (welho-filter1.welho.com [83.102.41.23]) by ietfa.amsl.com (Postfix) with ESMTP id 9A0C5129549 for <tls@ietf.org>; Thu,  4 May 2017 02:34:34 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter1.welho.com (Postfix) with ESMTP id ADBB06010E; Thu,  4 May 2017 12:34:31 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter1.welho.com [::ffff:83.102.41.23]) (amavisd-new, port 10024) with ESMTP id Uz8V2FTmWJ5y; Thu,  4 May 2017 12:34:31 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 35A3527B; Thu,  4 May 2017 12:34:31 +0300 (EEST)
Date: Thu, 4 May 2017 12:34:30 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Colm =?utf-8?Q?MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170504093429.GA31781@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/alezMRfnRwV4vceWo5QJJfjsW4Q>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 09:34:37 -0000

On Tue, May 02, 2017 at 07:44:35AM -0700, Colm MacCÃ¡rthaigh wrote:
> On Sunday at the TLS:DIV workshop I presented a summary of findings of a
> security review we did on TLS1.3 0-RTT, as part of implementing 1.3 in s2n.
> Thanks to feedback in the room I've now tightened up the findings from the
> review and posted them as an issue on the draft GitHub repo:
> 
> https://github.com/tlswg/tls13-spec/issues/1001

What I didn't see in the summary, but I think might be relevant in
relation to 0-RTT:

There is a thing called 0-RTT exporter, which are exporter values
available during 0-RTT transmission.

If the server uses 0-RTT exporter and doesn't enforce non-replay, the
value grossly fails to be "nonce", which means it is likely unsafe to
use for authentication.

Unfortunately, there are protocols that are already discussing the
use of TLS 1.3 0-RTT exporter, and switching to "full" exporter.
Unfortunately, the easiest way is not to switch, which means the
possibly weak 0-RTT exporter will be used for authenticating even
non-replayable data.



-Ilari


From nobody Thu May  4 05:35:47 2017
Return-Path: <daniel.migault@ericsson.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9DF73129406 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 05:35:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Level: 
X-Spam-Status: No, score=-2.301 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham 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 554h37L2zdDw for <tls@ietfa.amsl.com>; Thu,  4 May 2017 05:35:43 -0700 (PDT)
Received: from usplmg20.ericsson.net (usplmg20.ericsson.net [198.24.6.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8BE71120727 for <tls@ietf.org>; Thu,  4 May 2017 05:35:41 -0700 (PDT)
X-AuditID: c618062d-481ff70000000cf0-e5-590b331609ed
Received: from EUSAAHC006.ericsson.se (Unknown_Domain [147.117.188.90]) by usplmg20.ericsson.net (Symantec Mail Security) with SMTP id C1.BE.03312.6133B095; Thu,  4 May 2017 15:56:41 +0200 (CEST)
Received: from EUSAAMB107.ericsson.se ([147.117.188.124]) by EUSAAHC006.ericsson.se ([147.117.188.90]) with mapi id 14.03.0339.000; Thu, 4 May 2017 08:35:37 -0400
From: Daniel Migault <daniel.migault@ericsson.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
CC: "<tls@ietf.org>" <tls@ietf.org>
Thread-Topic: [TLS] AD review of draft-ietf-tls-ecdhe-psk-aead-02
Thread-Index: AQHSwqifdV6hw9ZNAEegoZnX4YzRJKHgiZKAgACnaQCAAu6ScA==
Date: Thu, 4 May 2017 12:35:36 +0000
Message-ID: <2DD56D786E600F45AC6BDE7DA4E8A8C118BD82E2@eusaamb107.ericsson.se>
References: <CAHbuEH51dg46EfS6PxiZC0BB8RG0-Vj-WXSPPTCqbZdiMLHZBA@mail.gmail.com> <CADZyTkkyVC3_YnrniVscQETwP6bgduCMHpSiVNnGPqzz9dtgUg@mail.gmail.com> <05FBCFBA-93BE-4314-830D-65528F6BAED9@gmail.com>
In-Reply-To: <05FBCFBA-93BE-4314-830D-65528F6BAED9@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [147.117.188.11]
Content-Type: multipart/alternative; boundary="_000_2DD56D786E600F45AC6BDE7DA4E8A8C118BD82E2eusaamb107erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpnkeLIzCtJLcpLzFFi42KZXLonSlfSmDvSYNEtC4uGnfkWn853MTow eeycdZfdY8mSn0wBTFFcNimpOZllqUX6dglcGf8uPWEr+JVX0XtiHmsD44/sLkZODgkBE4kZ W9+ydTFycQgJHGWUuHaskxnCWcYo8XTHKWaQKjYBI4m2Q/3sILaIgIXEmuZvbCA2s4CyxOR/ d8DiwgIOEjev7GOCqHGUWHf1GFS9k8Syxg+sIDaLgIrE+68zwWp4BXwlVu27zAqx7BSjxNfG J2ANnAK2Eh8Ov2YBsRkFxCS+n1rDBLFMXOLWk/lMEGcLSCzZc54ZwhaVePn4HyuErSTx8fd8 doj6fIneW0dZIJYJSpyc+YRlAqPILCSjZiEpm4WkbBYjB1BcU2L9Ln2IEkWJKd0P2SFsDYnW OXPZkcUXMLKvYuQoLS7IyU03MtjECIyeYxJsujsY70/3PMQowMGoxMO7QIorUog1say4MvcQ owQHs5IIr780d6QQb0piZVVqUX58UWlOavEhRmkOFiVx3gnnL0QICaQnlqRmp6YWpBbBZJk4 OKUaGI+9eW4/YTvz3M7a27lXSxrPKN0tPZ9p1tei4CxwZ1685S+dCYqFh52XW271Svx5qtWT 6/fKqbE3zS/cnHkxvH8171Xl9lVFWTW3zEobu0Sbdj10XG308hUj1+XE0KSXM9o/vE92zDK+ VNi+9d7mrTyd2w4GblqxncvixKG5LaW8J/4tkTllwazEUpyRaKjFXFScCAAQc/2NmgIAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/lK02t9HafKD_k4wyf4QMgJa75qA>
Subject: Re: [TLS] AD review of draft-ietf-tls-ecdhe-psk-aead-02
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 12:35:45 -0000

--_000_2DD56D786E600F45AC6BDE7DA4E8A8C118BD82E2eusaamb107erics_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SGksDQoNCk9vcHMsIEkgbWlzc2VkIHlvdXIgZW1haWwuIHRoZSB2ZXJzaW9uIDAzIGhhcyBiZWVu
IHN1Ym1pdHRlZC4gRm9yIHNvbWUgcmVhc29uIG15IGVtYWlsIGFkZHJlc3MgaXMgbm90IGluIHRo
ZSBkYXRhYmFzZSwgc28gaXQgaGFzIHRvIGJlIGNvb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: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6EEC120727 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 05:41:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.223
X-Spam-Level: 
X-Spam-Status: No, score=-4.223 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 6u7MS4fLFZ6C for <tls@ietfa.amsl.com>; Thu,  4 May 2017 05:41:30 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B165E126BF6 for <tls@ietf.org>; Thu,  4 May 2017 05:41:29 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5062DBDD4 for <tls@ietf.org>; Thu,  4 May 2017 12:41:29 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5062DBDD4
Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=hkario@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 5062DBDD4
Received: from pintsize.usersys.redhat.com (dhcp-0-115.brq.redhat.com [10.34.0.115]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1613C7E2C0 for <tls@ietf.org>; Thu,  4 May 2017 12:41:29 +0000 (UTC)
From: Hubert Kario <hkario@redhat.com>
To: tls@ietf.org
Date: Thu, 04 May 2017 14:41:22 +0200
Message-ID: <4372384.YAPbqjqF3g@pintsize.usersys.redhat.com>
In-Reply-To: <F7262846-0E93-4780-B051-8DB1253ADCE5@sn3rd.com>
References: <F7262846-0E93-4780-B051-8DB1253ADCE5@sn3rd.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart6763987.6lAOXSEbUL"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 04 May 2017 12:41:29 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/D8dLhazuWypkL_TqAfwzftFdqSg>
Subject: Re: [TLS] WG review of draft-ietf-tls-rfc4492bis
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 12:41:32 -0000

--nextPart6763987.6lAOXSEbUL
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

On Tuesday, 11 April 2017 15:09:04 CEST Sean Turner wrote:
> All,
>=20
> draft-ietf-tls-rfc4492bis has been revised since it left the WG and we ag=
ree
> with Yoav=E2=80=99s statement at the mic in Chicago that the WG should re=
view the
> changes before we ask Kathleen (our newly appointed AD) to continue
> progressing the draft.  Please review the differences from the -12 version
> that went through WGLC and the latest version [0] and let us know by
> 20170426 whether there is anything that would stop progression of the
> draft.

I know I am late with the review, but I'd like to ask two questions:

 1. In table 2, the "key authorised for use in digital signatures" was=20
    removed.
    Does that mean that key usage extension in X.509 certificates should be=
=20
    ignored?
 2. Given that RFC7919 is already accepted, standards track document,=20
    shouldn't "NamedCurve" references be renamed to "NamedGroup" (e.g. in=20
    Section 5.5.1.)

=2D-=20
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech Republic
--nextPart6763987.6lAOXSEbUL
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJZCyFyAAoJEJKo0bgB0vX18XMP/0Hhy+rRxjHSf6Sj3YJOneT4
Yqmnj01Z6e/O+qyQgKBc2eCagFi22wp2Pv8SnKZsOeRwOyAGnt1D3AqKBwSQi2e2
OheNvb8JlsKezuJ2NuQFrmLYlwwVBhME73CdnbbBNAnFK+kcv5luK+KnGawo8UXx
nIWBQ8uBmH8rMVjfPXJd3O9peaSmaLeV9jDPtAs8QZx47RyxSmHcAkP20iYtOC9J
Fgs7wOw8XW8emD3kSzZjVFWbC3M3AMfIpuqy3tcYSSx40Cgj6+bHECo9UNbTe/5k
4fFEMT2kGTWYFpDps9GSbISHPCa7ACwqPZSmCcBSzx39VnTXdV5IvJINUWDjtdOH
PAxEq3ZQWtc8WMmt0NlCioDHgg5QzC4mw760GQdr++vhAUDgshaXgj+F2JbzS53k
5EKm/3syD4typ/FVlrdCdzFk18mI1XFbw/ttgcivu2lD5lAlK4O4mVJBfTTAj15I
HZinVz2q9zwFX39MWl+VhBbsUQRnmDFBN66NRvkzv0iHnmbyHypK3tfcN5Hobzkx
sk37zPFfZ4qi8tnXAzX7Ce81io04GPg9wePg6rbePsg9TZdQOW6JySUWK6W+g6x2
4HoKi4qIdZp41YXuFPdElpmZfB+C4EQ5epOpizwiCFR4hjpnz4SUj4ElAKH3REYY
9rEfpijqBE5941qwgg6A
=5M/x
-----END PGP SIGNATURE-----

--nextPart6763987.6lAOXSEbUL--


From nobody Thu May  4 06:09:16 2017
Return-Path: <kathleen.moriarty.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4711C12762F for <tls@ietfa.amsl.com>; Thu,  4 May 2017 06:09:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 hw1eT5TnLlgz for <tls@ietfa.amsl.com>; Thu,  4 May 2017 06:09:13 -0700 (PDT)
Received: from mail-qt0-x231.google.com (mail-qt0-x231.google.com [IPv6:2607:f8b0:400d:c0d::231]) (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 6DD2112711E for <tls@ietf.org>; Thu,  4 May 2017 06:09:11 -0700 (PDT)
Received: by mail-qt0-x231.google.com with SMTP id m36so9419955qtb.0 for <tls@ietf.org>; Thu, 04 May 2017 06:09:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QjvsJam5eznxkA9bSB8wN4kQa6DAi+FFkipANMx3HGc=; b=c/S88EHQTX0hdRr3gqmpj7DqMxd+Rs7CvSyTUpPx2Hm9UIe1AzDb96ChBdX5nB3KYU gDeCievOSi4Ih77BOa1L3voxScQu0klsOKPi0iLXqBeeFHthLCKM7Lz2Lr7GeNlYX/K4 RZDEi7/JjQstfqBWTO6ZzJajYdrhieBEM/yLkf0ktU+7fBRwapsmTvtv76vrEKiv6vVm nRMGS05E9aQdAL9tIKCvtmVr+NO0Yyy9xKcwSKFNB/RnbmTMFhOJan1qC2lfEzmoFt2L U63WMaQSw8RcqIDr/VnEKokF0+rF8y+B0WWxasR8bb0dZQvf7wPDxOXl7tpHhVU5liKD EFgA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QjvsJam5eznxkA9bSB8wN4kQa6DAi+FFkipANMx3HGc=; b=aglxvjrTBH3les3Gy2BXcFNF51zLCkifNafkg5TxrbP0LaXRq4I3dIBUTWStbbUo/G rzyl8ajqmasiuq+hLfWK1ppLj4IaA0qGgzGI1Rn+qVX3kZxqP5Gz4CXqIZrRw9WkJ6cj WrNJdC3fHXFLKZWBu3WeZD9stXbDsHYJWI9x/MbWoMqUpB7PDCDt1qwzFxsUNnsLqrZY 2Gt8TsldvuhG4ylEgvM9RSEkSh/nfL9A1CAfwZEZ7ZHLbg5/7uZ2GofezYsOu14oJf2u aIw1KPzmZbH6YBqhQe6mC/wuikf2M9YHPiFFtCUy3Ge3HFj/8QFOOTpzn0prnpJZjD3V oLdw==
X-Gm-Message-State: AN3rC/601rG2Oh2GoaM0bBKiAFAAUrrt4Esy57vyWKWQ8Ia8l5noyPDw TK/wJjDR8xDrOw==
X-Received: by 10.200.53.54 with SMTP id y51mr40820515qtb.45.1493903350541; Thu, 04 May 2017 06:09:10 -0700 (PDT)
Received: from [192.168.1.13] (209-6-124-204.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com. [209.6.124.204]) by smtp.gmail.com with ESMTPSA id c64sm1403923qka.63.2017.05.04.06.09.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 May 2017 06:09:09 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (1.0)
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
X-Mailer: iPhone Mail (14D27)
In-Reply-To: <4372384.YAPbqjqF3g@pintsize.usersys.redhat.com>
Date: Thu, 4 May 2017 09:09:09 -0400
Cc: tls@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <04081892-66A1-4459-875D-0C147A5826F0@gmail.com>
References: <F7262846-0E93-4780-B051-8DB1253ADCE5@sn3rd.com> <4372384.YAPbqjqF3g@pintsize.usersys.redhat.com>
To: Hubert Kario <hkario@redhat.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Uz0LiPvxk17Itza1DdwvSrbhIs4>
Subject: Re: [TLS] WG review of draft-ietf-tls-rfc4492bis
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 13:09:15 -0000

I haven't approved it yet as I noticed there was no response (that I saw) to=
 Alexey's comment and no change in the draft as a result of his comments.

I'll wait in responses for these 2 items.

Thank you,
Kathleen=20

Sent from my iPhone

> On May 4, 2017, at 8:41 AM, Hubert Kario <hkario@redhat.com> wrote:
>=20
>> On Tuesday, 11 April 2017 15:09:04 CEST Sean Turner wrote:
>> All,
>>=20
>> draft-ietf-tls-rfc4492bis has been revised since it left the WG and we ag=
ree
>> with Yoav=E2=80=99s statement at the mic in Chicago that the WG should re=
view the
>> changes before we ask Kathleen (our newly appointed AD) to continue
>> progressing the draft.  Please review the differences from the -12 versio=
n
>> that went through WGLC and the latest version [0] and let us know by
>> 20170426 whether there is anything that would stop progression of the
>> draft.
>=20
> I know I am late with the review, but I'd like to ask two questions:
>=20
> 1. In table 2, the "key authorised for use in digital signatures" was=20
>    removed.
>    Does that mean that key usage extension in X.509 certificates should be=
=20
>    ignored?
> 2. Given that RFC7919 is already accepted, standards track document,=20
>    shouldn't "NamedCurve" references be renamed to "NamedGroup" (e.g. in=20=

>    Section 5.5.1.)
>=20
> --=20
> Regards,
> Hubert Kario
> Senior Quality Engineer, QE BaseOS Security team
> Web: www.cz.redhat.com
> Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech Republic
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls


From nobody Thu May  4 06:26:16 2017
Return-Path: <nrooney@gsma.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 66E9D129406 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 06:26:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.702
X-Spam-Level: 
X-Spam-Status: No, score=-4.702 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gsmasso.onmicrosoft.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 SVUb55OgTqNS for <tls@ietfa.amsl.com>; Thu,  4 May 2017 06:26:13 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10050.outbound.protection.outlook.com [40.107.1.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 79EBC128B4E for <tls@ietf.org>; Thu,  4 May 2017 06:26:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=GSMASSO.onmicrosoft.com; s=selector1-gsma-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=gSFFg3Iibkp2HeeFXPitT21gVGB6cjTpj7OE7Mn2UUA=; b=sTvU8lRlVsi5frSTWUPDPvrH6yGyTSVzFt/UBp2LA6Ljy0ZPDUD8ylxht1avj53EvT84haQmrr39Lbjgfl6ydviUtbdUPe3d+Yfz0ZK/fcKfUVdir4Uy/MCFTLWBPXI1x1wKrw2dHFyXdcLbe5ONIXqpBru7DWKH9vhr3QgcdEM=
Received: from AM2PR04MB0802.eurprd04.prod.outlook.com (10.160.56.28) by AM3PR04MB1362.eurprd04.prod.outlook.com (10.163.185.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12; Thu, 4 May 2017 13:26:02 +0000
Received: from AM2PR04MB0802.eurprd04.prod.outlook.com ([fe80::c094:3686:6937:5c6a]) by AM2PR04MB0802.eurprd04.prod.outlook.com ([fe80::c094:3686:6937:5c6a%15]) with mapi id 15.01.1075.010; Thu, 4 May 2017 13:26:02 +0000
From: Natasha Rooney <nrooney@gsma.com>
To: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: trusted_ca_keys
Thread-Index: AQHSwDDGEZlexoCE1UeM9rJfM1WBYQ==
Date: Thu, 4 May 2017 13:26:02 +0000
Message-ID: <E6DC2D6B-3F1A-497C-A1FA-35541495A57D@gsma.com>
References: <A9124993-22C2-4D1A-827D-C63925B762F2@gsma.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-mailer: Apple Mail (2.3273)
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=gsma.com;
x-originating-ip: [62.189.0.100]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM3PR04MB1362; 7:Bm4/A9cdSuCgzInY/P3YTv77KlyNA2xmJj3+ZRUQmDPPMKOqAS/DX56x39YshI8dv6wpkgrbbpZhY/9QVBwSW1le/VjUn2U238+oAyzULbhv4CJFbt3zT/WAllKRya96ghAKbws88pfnopYtthTW8VKEff4Z49vWS5xGoicryRxrzWfdG68B73LNK+i8iXqjFUAywWzLQ5asaqOACoY/kOUTxYjsQP5UeermaGVkib6Wv07gOO3McDWanCLhj4VJdxrjYr89dCqoavEpVsmtzoVc/S6ZJlEoT+ztqwAkIlrTugnC6RKbEIDC//5/9aZAp/usO1o2gQAWJ4B9hSs+MA==
x-ms-office365-filtering-correlation-id: 54f95a52-4a78-43e5-6571-08d492f11c5b
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:AM3PR04MB1362; 
x-microsoft-antispam-prvs: <AM3PR04MB1362E055424CD84241795941C3EA0@AM3PR04MB1362.eurprd04.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(6041248)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123560025)(6072148); SRVR:AM3PR04MB1362; BCL:0; PCL:0; RULEID:; SRVR:AM3PR04MB1362; 
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39410400002)(39400400002)(39450400003)(39850400002)(39840400002)(53754006)(3846002)(33656002)(6116002)(102836003)(50226002)(8936002)(53936002)(305945005)(99286003)(82746002)(5660300001)(1730700003)(7116003)(81166006)(5640700003)(8676002)(38730400002)(2501003)(110136004)(3280700002)(83716003)(5890100001)(6512007)(478600001)(86362001)(2906002)(5250100002)(36756003)(6436002)(76176999)(66066001)(50986999)(6486002)(25786009)(2351001)(6916009)(3660700001)(6506006)(189998001)(7736002)(2900100001)(57306001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB1362; H:AM2PR04MB0802.eurprd04.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <CA418DEA9D18704A925D48CD324687A7@eurprd04.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: gsma.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2017 13:26:02.3975 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72a4ff82-fec3-469d-aafb-ac8276216699
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB1362
X-MS-Exchange-CrossPremises-AuthAs: Internal
X-MS-Exchange-CrossPremises-AuthMechanism: 04
X-MS-Exchange-CrossPremises-AuthSource: AM2PR04MB0802.eurprd04.prod.outlook.com
X-MS-Exchange-CrossPremises-TransportTrafficType: Email
X-MS-Exchange-CrossPremises-TransportTrafficSubType: 
X-MS-Exchange-CrossPremises-SCL: 1
X-MS-Exchange-CrossPremises-messagesource: StoreDriver
X-MS-Exchange-CrossPremises-BCC: "Ajay S. Rambocus" <arambocus@gsma.com>
X-MS-Exchange-CrossPremises-originalclientipaddress: 62.189.0.100
X-MS-Exchange-CrossPremises-transporttraffictype: Email
X-MS-Exchange-CrossPremises-transporttrafficsubtype: 
X-MS-Exchange-CrossPremises-avstamp-service: 1.0
X-MS-Exchange-CrossPremises-disclaimer-hash: 78ca8040c6722e32c2f5b0a45bf37e74b9409d645a53be96aa19958e0cee0f00
X-MS-Exchange-CrossPremises-antispam-scancontext: DIR:Originating; SFV:NSPM; SKIP:0; 
X-MS-Exchange-CrossPremises-processed-by-journaling: Journal Agent
X-OrganizationHeadersPreserved: AM3PR04MB1362.eurprd04.prod.outlook.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/1yuUTayoRccR_Yl7WLbKBG3NI_w>
Subject: [TLS] trusted_ca_keys
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 13:26:15 -0000

SGkgYWxsIQ0KDQpBcG9sb2dpZXMgZm9yIHRoZSBvZGQgYW5kIHBvdGVudGlhbGx5IHNpbGx5IHF1
ZXN0aW9uLiBHU01BIGFyZSB3b3JraW5nIG9uIGZ1dHVyZSBTSU0gc3BlY2lmaWNhdGlvbnMgd2hp
Y2ggdXNlIFRMUyBhbmQgcHJldmlvdXNseSB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2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B3D651294F5 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 06:43:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.002
X-Spam-Level: 
X-Spam-Status: No, score=-0.002 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 e9xtrA5xHeCJ for <tls@ietfa.amsl.com>; Thu,  4 May 2017 06:43:30 -0700 (PDT)
Received: from welho-filter4.welho.com (welho-filter4.welho.com [83.102.41.26]) by ietfa.amsl.com (Postfix) with ESMTP id AA1A51294A3 for <tls@ietf.org>; Thu,  4 May 2017 06:43:30 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id B4BE621344; Thu,  4 May 2017 16:43:29 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id wU0zOE_-fkLq; Thu,  4 May 2017 16:43:29 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 7C475C4; Thu,  4 May 2017 16:43:29 +0300 (EEST)
Date: Thu, 4 May 2017 16:43:28 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Natasha Rooney <nrooney@gsma.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170504134328.GA32403@LK-Perkele-V2.elisa-laajakaista.fi>
References: <A9124993-22C2-4D1A-827D-C63925B762F2@gsma.com> <E6DC2D6B-3F1A-497C-A1FA-35541495A57D@gsma.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <E6DC2D6B-3F1A-497C-A1FA-35541495A57D@gsma.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/dz4vp3sinQblPhweR091pf-1f00>
Subject: Re: [TLS] trusted_ca_keys
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 13:43:33 -0000

On Thu, May 04, 2017 at 01:26:02PM +0000, Natasha Rooney wrote:
> 
> GSMA are working on future SIM specifications which use TLS and
> previously included the trusted_ca_keys to allow a client to
> inform a server which particular key(s) from a CA it is
> supporting. In TLS 1.3 the â€˜trusted_ca_keysâ€™ extension is no
> longer used. It does have the â€œcertificate_authorityâ€� extension
> however, but it seems to only identify the CA organisation by its
> DistinguishedName. If the CA supports multiple keys â€“ how can a
> client point a particular cert/key of that CA?*

The certificate should have its own DN, use that.

This doesn't fully solve designating by key, as multiple issuing
CAs can share a key.


-Ilari


From nobody Thu May  4 06:45:31 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AA71E12954D for <tls@ietfa.amsl.com>; Thu,  4 May 2017 06:45:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 AlW3tFipQPXW for <tls@ietfa.amsl.com>; Thu,  4 May 2017 06:45:28 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F8AE1294F5 for <tls@ietf.org>; Thu,  4 May 2017 06:45:28 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v44Dfwen004416; Thu, 4 May 2017 14:45:22 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=uV1a8RAH1VJeXdWBbuGvZc86GdiPx+/6SKg0SbCeack=; b=CcqomGnHfoW//DLHi+lIOm1DJgBNN5aEZU+/8Rt5oSOXEHcwiHAoqZFBlhEtiA9QjMbc Rw6JnYK3gclT6JQPmxtb70dcFCjkR4HDtVBRFkH4Dy19B5hqoCLWVClEmYzMFHgOwFvF Tt9wHjVCJBY+lh/jfra7O4LULLla3burj0WEUNj8/hUWofZlo5/6EG9cMsRovI54nqd3 eNuVLN5ZW/hl7DJ/SXcUYHQMX3EHjegzN7+etSru0OvG5lJY+jPaeCRf0xvCF5gvOvgz CXpjLBmRrq8AB9Yks5ugPW7Mycs2NXHnYfo5GpORlEC6S6/6ImzMqizPc/ZSjvQzu6Pa Mg== 
Received: from prod-mail-ppoint2 (a184-51-33-19.deploy.static.akamaitechnologies.com [184.51.33.19] (may be forged)) by m0050096.ppops.net-00190b01. with ESMTP id 2a7v2s2n6c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 May 2017 14:45:22 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v44DfVEN005515; Thu, 4 May 2017 09:45:22 -0400
Received: from email.msg.corp.akamai.com ([172.27.25.34]) by prod-mail-ppoint2.akamai.com with ESMTP id 2a72m93c2s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 04 May 2017 09:45:21 -0400
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com (172.27.27.101) by ustx2ex-dag1mb4.msg.corp.akamai.com (172.27.27.104) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 4 May 2017 08:45:20 -0500
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com ([172.27.6.131]) by ustx2ex-dag1mb1.msg.corp.akamai.com ([172.27.6.131]) with mapi id 15.00.1263.000; Thu, 4 May 2017 08:45:20 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>, Natasha Rooney <nrooney@gsma.com>
CC: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] trusted_ca_keys
Thread-Index: AQHSwDDGEZlexoCE1UeM9rJfM1WBYaHkjEIA//+sgoA=
Date: Thu, 4 May 2017 13:45:20 +0000
Message-ID: <6741eaa623234de19e859c453d5475cf@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <A9124993-22C2-4D1A-827D-C63925B762F2@gsma.com> <E6DC2D6B-3F1A-497C-A1FA-35541495A57D@gsma.com> <20170504134328.GA32403@LK-Perkele-V2.elisa-laajakaista.fi>
In-Reply-To: <20170504134328.GA32403@LK-Perkele-V2.elisa-laajakaista.fi>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.40.50]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-04_08:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040217
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-04_08:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040217
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/MK-f2o9oql6uwZTw-0CbpjDpLzc>
Subject: Re: [TLS] trusted_ca_keys
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 13:45:29 -0000

PiBUaGUgY2VydGlmaWNhdGUgc2hvdWxkIGhhdmUgaXRzIG93biBETiwgdXNlIHRoYXQuDQoNClNo
ZSdzIHNheWluZyB0aGF0IGl0ICpkb2Vzbid0LioNCg0KU3ViamVjdEROIGlzIG5vdCB1bmlxdWUu
ICBJc3N1ZXJETi9TZXJpYWwgaXMgdW5pcXVlLCBidXQgdGhpcyBleHRlbnNpb24gdXNlIHRoYXQu
DQo=


From nobody Thu May  4 07:20:50 2017
Return-Path: <internet-drafts@ietf.org>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 250EA129B09; Thu,  4 May 2017 07:20:47 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: tls@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.50.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149390764711.4760.11317435926109130055@ietfa.amsl.com>
Date: Thu, 04 May 2017 07:20:47 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/wbJv2ICKCLE0lncpA1qsjGC2MaQ>
Subject: [TLS] I-D Action: draft-ietf-tls-ecdhe-psk-aead-03.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 14:20:47 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Transport Layer Security of the IETF.

        Title           : ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)
        Authors         : John Mattsson
                          Daniel Migault
	Filename        : draft-ietf-tls-ecdhe-psk-aead-03.txt
	Pages           : 7
	Date            : 2017-05-04

Abstract:
   This document defines several new cipher suites for the Transport
   Layer Security (TLS) protocol.  The cipher suites are all based on
   the Ephemeral Elliptic Curve Diffie-Hellman with Pre-Shared Key
   (ECDHE_PSK) key exchange together with the Authenticated Encryption
   with Associated Data (AEAD) algorithms AES-GCM and AES-CCM.  PSK
   provides light and efficient authentication, ECDHE provides perfect
   forward secrecy, and AES-GCM and AES-CCM provides encryption and
   integrity protection.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-03
https://datatracker.ietf.org/doc/html/draft-ietf-tls-ecdhe-psk-aead-03

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-tls-ecdhe-psk-aead-03


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Thu May  4 07:50:55 2017
Return-Path: <mrex@sap.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 42C3C129B66 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 07:50:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.022
X-Spam-Level: 
X-Spam-Status: No, score=-5.022 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham 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 OTqvHrdXKDy9 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 07:50:51 -0700 (PDT)
Received: from smtpde02.smtp.sap-ag.de (smtpde02.smtp.sap-ag.de [155.56.68.140]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 619E9129B26 for <tls@ietf.org>; Thu,  4 May 2017 07:50:50 -0700 (PDT)
Received: from mail07.wdf.sap.corp (mail04.sap.corp [194.39.131.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtpde02.smtp.sap-ag.de (Postfix) with ESMTPS id 3wJdHr2Kzxz26RW; Thu,  4 May 2017 16:50:48 +0200 (CEST)
X-purgate-ID: 152705::1493909448-00003836-71BDAEA0/0/0
X-purgate-size: 1271
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate-type: clean
X-SAP-SPAM-Status: clean
Received: from ld9781.wdf.sap.corp (ld9781.wdf.sap.corp [10.21.82.193]) by mail07.wdf.sap.corp (Postfix) with ESMTP id 3wJdHq5pC9zGp3K; Thu,  4 May 2017 16:50:47 +0200 (CEST)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id BC07B1A69D; Thu,  4 May 2017 16:50:47 +0200 (CEST)
In-Reply-To: <6741eaa623234de19e859c453d5475cf@ustx2ex-dag1mb1.msg.corp.akamai.com>
To: "Salz, Rich" <rsalz@akamai.com>
Date: Thu, 4 May 2017 16:50:47 +0200 (CEST)
CC: Ilari Liusvaara <ilariliusvaara@welho.com>,  Natasha Rooney <nrooney@gsma.com>, "tls@ietf.org" <tls@ietf.org>
Reply-To: mrex@sap.com
X-Mailer: ELM [version 2.4ME+ PL125 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20170504145047.BC07B1A69D@ld9781.wdf.sap.corp>
From: mrex@sap.com (Martin Rex)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/BfWMgGjzVxo2vnLIrKiz1TEOa9I>
Subject: Re: [TLS] trusted_ca_keys
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 14:50:53 -0000

Salz, Rich wrote:
>
>> The certificate should have its own DN, use that.
> 
> She's saying that it *doesn't.*
> 
> SubjectDN is not unique.  IssuerDN/Serial is unique, but this extension use that.

SubjectDN of a *Certificate Authority* **MUST** be unique.

There is some wording in PKIX and X.509 which creates the impression
that a CA could be re-using the same Subject DName with different keys,
but such an interpretation is a formally provable defect of the PKIX
specification.

Creating a certificate chain *MUST* be possible on the issuer name->
subject name chaining alone.  Support for chaining by subjectKeyId
is truely *OPTIONAL* based on the requirements in the specification,
so reuse of the same DName with a different key would break certificate
chaining (and verification) that is performed on the issuer->subject
chain alone and is therefore prohibited.

Support for the SubjectKeyIdentifier and AuthorityKeyIdentifier
X.509v3 extensions is explicitly just *RECOMMENDED* and can therefore
be absent from a perfectly PKIX-conforming minimum requirements RP.
PKIX-conforming CA MUST NOT break minimum-requirements RPs, e.g.
by creating/issuing CA certificates with identical subject names but
different public keys. 

-Martin


From nobody Thu May  4 07:53:27 2017
Return-Path: <sean@sn3rd.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02953128616 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 07:53:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sn3rd.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 qWP7y2_z0VvE for <tls@ietfa.amsl.com>; Thu,  4 May 2017 07:53:24 -0700 (PDT)
Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com [IPv6:2607:f8b0:400d:c09::22c]) (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 6EF911205D3 for <tls@ietf.org>; Thu,  4 May 2017 07:53:21 -0700 (PDT)
Received: by mail-qk0-x22c.google.com with SMTP id q1so12839998qkd.2 for <tls@ietf.org>; Thu, 04 May 2017 07:53:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sn3rd.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xh9XHqkoi4ZtzqbGSeG0FmiEjsCmkyO/y0j2A+YugSs=; b=Heiry1BFZgsEj6TnyksiuBzxveGNF/iv1+f3K/4RuduIAMqZuAsKO9adKdx/VO4dUd 6wPvtQUiGw1o2gB/q8ZfnOZ6OGoNVelfZueGEaxKDfM2BqIWfTV6EW4NIWsOiVsjNB71 uLdJDZHxSorhjcug8vTtdRBtnOv1XjWwaM5OE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xh9XHqkoi4ZtzqbGSeG0FmiEjsCmkyO/y0j2A+YugSs=; b=tX1YxObKjLzryiwFSAQ2l9EnDNKfkE49tCpvcPLfVz/RSu3dpLwV570fpPrv+Zt1uR 9JJjHRGx7J4xQsUpqrUpZyHpqvk9t7kigoPAi5mgxh+Ng7qOr1vf1pI8sAp5IoAuwVfb sr6TjUK3NdjMU1CiJ99WTqmBEBzPpAHaYb8GOGn39pNO/pstO3CAhYeBiR62vQNmJ8pZ oTHU/FR4nGZq+5a7a+bxRJ4ZgMXvLetXzvDp5yUCI/b+7HOUMTKIRuoPYUQNQ5/6Yoy0 aG1ETnGbRsB1s/fUbusFpwU5e/ay1PvpriXNzn5mz5OB9ndFkWU/tYMMc3NPyhM5xIOT cUcg==
X-Gm-Message-State: AODbwcCWH8EetcgL2MmJY8qFVPMDUpK74fqkcSkGnh48ATxPA9HhAHf2 DmnUJtvNuaafjw==
X-Received: by 10.55.188.70 with SMTP id m67mr8293542qkf.128.1493909600592; Thu, 04 May 2017 07:53:20 -0700 (PDT)
Received: from [172.16.0.18] ([96.231.219.90]) by smtp.gmail.com with ESMTPSA id 36sm1612582qtz.16.2017.05.04.07.53.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 May 2017 07:53:19 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Sean Turner <sean@sn3rd.com>
In-Reply-To: <4372384.YAPbqjqF3g@pintsize.usersys.redhat.com>
Date: Thu, 4 May 2017 10:53:18 -0400
Cc: tls@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <54C90C99-A5F5-4710-9727-E2E628A30BC3@sn3rd.com>
References: <F7262846-0E93-4780-B051-8DB1253ADCE5@sn3rd.com> <4372384.YAPbqjqF3g@pintsize.usersys.redhat.com>
To: Hubert Kario <hkario@redhat.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/--PAsPYQ0-NHoWKUF7wBKVyfaLQ>
Subject: Re: [TLS] WG review of draft-ietf-tls-rfc4492bis
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 14:53:26 -0000

> On May 4, 2017, at 08:41, Hubert Kario <hkario@redhat.com> wrote:
>=20
> On Tuesday, 11 April 2017 15:09:04 CEST Sean Turner wrote:
>> All,
>>=20
>> draft-ietf-tls-rfc4492bis has been revised since it left the WG and =
we agree
>> with Yoav=E2=80=99s statement at the mic in Chicago that the WG =
should review the
>> changes before we ask Kathleen (our newly appointed AD) to continue
>> progressing the draft.  Please review the differences from the -12 =
version
>> that went through WGLC and the latest version [0] and let us know by
>> 20170426 whether there is anything that would stop progression of the
>> draft.
>=20
> I know I am late with the review, but I'd like to ask two questions:
>=20
> 1. In table 2, the "key authorised for use in digital signatures" was=20=

>    removed.
>    Does that mean that key usage extension in X.509 certificates =
should be=20
>    ignored?

No it does not. There were changes to the table, but s2.2 is still there =
and that=E2=80=99s where it says =E2=80=9C=E2=80=A6 MUST contain an RSA =
public key authorized for signing ..."

> 2. Given that RFC7919 is already accepted, standards track document,=20=

>    shouldn't "NamedCurve" references be renamed to "NamedGroup" (e.g. =
in=20
>    Section 5.5.1.)

It=E2=80=99s either a replace or note the name change (i.e., in my mind =
this is a style thing).  The 1st paragraph of s5.1.1 notes them;

   RFC 4492 defined 25 different curves in the NamedCurve registry
  (now renamed the "Supported Groups" registry, although the enumeration
  below is still named NamedCurve) for use in TLS.

spt=


From nobody Thu May  4 07:58:21 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5E6A01274D0 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 07:58:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 HI9HYXCM0RSt for <tls@ietfa.amsl.com>; Thu,  4 May 2017 07:58:19 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 121EA126B71 for <tls@ietf.org>; Thu,  4 May 2017 07:58:14 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v44Ev0Si022137; Thu, 4 May 2017 15:58:10 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=xc5SIF2xmlRMhn0Kf4CeChy2t7q4uuMaIBwwzhHHP2g=; b=adHMjH69uYl0o3AP6eEy6BM2un3mX5Lootch90aCo+O+AGqi/r/Nu1lc0Qn6AiIa4XON nmY5RMGH9MCIEV73tDDylZ3SBkVim2QebJCmnol9YOLAjmDYx+9NEMRhMZumOdu1HRk9 ugC4CV2mmDh4ElswVRaARFgruyfZteGYIkOa3hhF2iCsH541A/QxB6ZZDDblMIzeub/R eUoYCG3iQ3YZfB7J5zTH9Lpz9PBM7AV0YyW5hYezhnqLaHhxJuPnuiEpBSD+s6ptDVSI +WwYmMkgAZeEErKumXbRw3u452HNAPAxrSiiL6FkWdam4GCVQeZY6/cfw+DcjgJLOl4F Aw== 
Received: from prod-mail-ppoint4 ([96.6.114.87]) by m0050096.ppops.net-00190b01. with ESMTP id 2a7v2s337d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 May 2017 15:58:09 +0100
Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v44Eu2xI003747; Thu, 4 May 2017 10:58:08 -0400
Received: from email.msg.corp.akamai.com ([172.27.25.33]) by prod-mail-ppoint4.akamai.com with ESMTP id 2a72mb50cj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 04 May 2017 10:58:08 -0400
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com (172.27.27.101) by ustx2ex-dag1mb6.msg.corp.akamai.com (172.27.27.107) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 4 May 2017 07:58:07 -0700
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com ([172.27.6.131]) by ustx2ex-dag1mb1.msg.corp.akamai.com ([172.27.6.131]) with mapi id 15.00.1263.000; Thu, 4 May 2017 09:58:07 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: "mrex@sap.com" <mrex@sap.com>
CC: Ilari Liusvaara <ilariliusvaara@welho.com>, Natasha Rooney <nrooney@gsma.com>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] trusted_ca_keys
Thread-Index: AQHSwDDGEZlexoCE1UeM9rJfM1WBYaHkjEIA//+sgoCAAGZMgP//rT/A
Date: Thu, 4 May 2017 14:58:07 +0000
Message-ID: <0e083a98c13f4caba8e0302735d5333f@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <6741eaa623234de19e859c453d5475cf@ustx2ex-dag1mb1.msg.corp.akamai.com> <20170504145047.BC07B1A69D@ld9781.wdf.sap.corp>
In-Reply-To: <20170504145047.BC07B1A69D@ld9781.wdf.sap.corp>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.36.26]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-04_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040237
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-04_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040237
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/tNlBwECXl5a4gQ5rPi0VnWzoXfM>
Subject: Re: [TLS] trusted_ca_keys
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 14:58:20 -0000

> There is some wording in PKIX and X.509 which creates the impression that=
 a
> CA could be re-using the same Subject DName with different keys, but such
> an interpretation is a formally provable defect of the PKIX specification=
.

Any links you can point to?

I don't see how CA1 issuing a sub-ca for "... CN=3Dfred" can globally preve=
nt CA2 from issuing a sub-ca with the exact same DN.  Can you explain what =
I am missing?


From nobody Thu May  4 08:16:41 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B94BF12EAA5 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:16:39 -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, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 WVvw-fUHZXcf for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:16:37 -0700 (PDT)
Received: from welho-filter1.welho.com (welho-filter1.welho.com [83.102.41.23]) by ietfa.amsl.com (Postfix) with ESMTP id C1BB1129BC6 for <tls@ietf.org>; Thu,  4 May 2017 08:16:35 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter1.welho.com (Postfix) with ESMTP id C384E5FF81; Thu,  4 May 2017 18:16:34 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter1.welho.com [::ffff:83.102.41.23]) (amavisd-new, port 10024) with ESMTP id 1H95NlT7hiBH; Thu,  4 May 2017 18:16:34 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 880862313; Thu,  4 May 2017 18:16:34 +0300 (EEST)
Date: Thu, 4 May 2017 18:16:33 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: "Salz, Rich" <rsalz@akamai.com>
Cc: "mrex@sap.com" <mrex@sap.com>, Natasha Rooney <nrooney@gsma.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170504151633.GA32574@LK-Perkele-V2.elisa-laajakaista.fi>
References: <6741eaa623234de19e859c453d5475cf@ustx2ex-dag1mb1.msg.corp.akamai.com> <20170504145047.BC07B1A69D@ld9781.wdf.sap.corp> <0e083a98c13f4caba8e0302735d5333f@ustx2ex-dag1mb1.msg.corp.akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <0e083a98c13f4caba8e0302735d5333f@ustx2ex-dag1mb1.msg.corp.akamai.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/-xccrMdCn7xLqVk8gK91IPZaiTU>
Subject: Re: [TLS] trusted_ca_keys
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 15:16:40 -0000

On Thu, May 04, 2017 at 02:58:07PM +0000, Salz, Rich wrote:
> > There is some wording in PKIX and X.509 which creates the impression
> > that a CA could be re-using the same Subject DName with different keys,
> > but such an interpretation is a formally provable defect of the PKIX
> > specification.
> 
> Any links you can point to?
> 
> I don't see how CA1 issuing a sub-ca for "... CN=fred" can globally
> prevent CA2 from issuing a sub-ca with the exact same DN.  Can you
> explain what I am missing?


The organization info (O, L, ST, C, etc...) is supposed to differ in
that case (CN is just one field of DN), rendering the full DNs
distinct.


-Ilari


From nobody Thu May  4 08:19:42 2017
Return-Path: <mrex@sap.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AB0DD1200ED for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:19:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.421
X-Spam-Level: 
X-Spam-Status: No, score=-6.421 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=ham 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 JP1uL9jafzUy for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:19:38 -0700 (PDT)
Received: from smtpde01.smtp.sap-ag.de (smtpde01.smtp.sap-ag.de [155.56.68.170]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 61F46129B60 for <tls@ietf.org>; Thu,  4 May 2017 08:19:36 -0700 (PDT)
Received: from mail07.wdf.sap.corp (mail04.sap.corp [194.39.131.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtpde01.smtp.sap-ag.de (Postfix) with ESMTPS id 3wJdx26WQ8z1HhQ; Thu,  4 May 2017 17:19:34 +0200 (CEST)
X-purgate-ID: 152705::1493911174-00003836-A5C95ED9/0/0
X-purgate-size: 1874
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate-type: clean
X-SAP-SPAM-Status: clean
Received: from ld9781.wdf.sap.corp (ld9781.wdf.sap.corp [10.21.82.193]) by mail07.wdf.sap.corp (Postfix) with ESMTP id 3wJdx24HKhzGqKK; Thu,  4 May 2017 17:19:34 +0200 (CEST)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id 8DA691A69D; Thu,  4 May 2017 17:19:34 +0200 (CEST)
In-Reply-To: <0e083a98c13f4caba8e0302735d5333f@ustx2ex-dag1mb1.msg.corp.akamai.com>
To: "Salz, Rich" <rsalz@akamai.com>
Date: Thu, 4 May 2017 17:19:34 +0200 (CEST)
CC: "mrex@sap.com" <mrex@sap.com>, Ilari Liusvaara <ilariliusvaara@welho.com>,  Natasha Rooney <nrooney@gsma.com>, "tls@ietf.org" <tls@ietf.org>
Reply-To: mrex@sap.com
X-Mailer: ELM [version 2.4ME+ PL125 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20170504151934.8DA691A69D@ld9781.wdf.sap.corp>
From: mrex@sap.com (Martin Rex)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/tWO3THOMkQwJlZTUyre5x99rIFI>
Subject: Re: [TLS] trusted_ca_keys
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 15:19:41 -0000

Salz, Rich wrote:
[ Charset windows-1252 unsupported, converting... ]
> > There is some wording in PKIX and X.509 which creates the impression that a
> > CA could be re-using the same Subject DName with different keys, but such
> > an interpretation is a formally provable defect of the PKIX specification.
> 
> Any links you can point to?
> 
> I don't see how CA1 issuing a sub-ca for "... CN=fred" can globally prevent CA2 from issuing a sub-ca with the exact same DN.  Can you explain what I am missing?
 
Such an action will create two mutually exclusive PKIs, PKIs that
are *NOT* allowed to ever be bridged.  Bridging them or would open security
problem in the design of CRL processing rules for a collision
of distinct subCA names, because those rules say that a signature on
a CRL is valid, if the CRL signer cert can be verified under the same
root as the CA.


PKIX (rfc5280) about AuthorityKeyIdentifier X.509v3 extension:

https://tools.ietf.org/html/rfc5280#section-4.2.1.1

   The keyIdentifier field of the authorityKeyIdentifier extension MUST
   be included in all certificates generated by conforming CAs to
   facilitate certification path construction.

While it is a requirement for conforming CAs to place AuthorityKeyIdentifiers
into issued certificates, using it for building or verifying certificate
chains by RPs is purely optional "faciliate".

If re-using the same CA DName for certs with different keys would be allowed,
then chain building and chain verifying would become *DESPERATELY* dependent
on support *AND* use of AuthorityKeyIdentifier->SubjectKeyIdentifier.

-Martin


PS:

Coincidentally, this also implies that "self-issued" (rather than self-signed)
certificates are a "myth".  While they can be created technically, they are
*ALWAYS* in violation of requirements of the specification(s).  


From nobody Thu May  4 08:25:24 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D8742129B8D for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:25:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 UYF7rLFfPuMM for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:25:23 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DE5A01293D8 for <tls@ietf.org>; Thu,  4 May 2017 08:25:13 -0700 (PDT)
Received: from pps.filterd (m0050093.ppops.net [127.0.0.1]) by m0050093.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v44FMEj1023219; Thu, 4 May 2017 16:25:07 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=aRWpvZhcmCin7NrZ3iXv9+j+QNX9kfTXNOHX9Lv2ivM=; b=CKF3qskYvGXIWYRCDGecYsTsZOOocWKCp8hW6TQuFEwFcTy8/dWT2uN9+IxkpDeQUdW+ U6WVQAalVjIMV44OWFrq14p3KiZZFt6DvcBY307uwWi9jaZtzYAGQbPHiUCZSwEXi+1q afsGKA7wX2tnEJnuo0Yq6BW93hKqFkOZD24PAlLTAQlZ+Y6mXuCVd6MTd3Q2ca0ZLYrR hpiw+kbC6aPnI2Af2rPHcT9cD1IiTkQrSirYK/ki75/x6kqz19DJk5ThYCm7TGc827Ck UEFuHPxS5OcB5I2aGPhWkfUi2rvBgLiZqN7k1qrA4AJ2j9LpWEnx0HCheSvjn0VIm8iy FA== 
Received: from prod-mail-ppoint1 (a184-51-33-18.deploy.static.akamaitechnologies.com [184.51.33.18] (may be forged)) by m0050093.ppops.net-00190b01. with ESMTP id 2a7v1skpvs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 May 2017 16:25:06 +0100
Received: from pps.filterd (prod-mail-ppoint1.akamai.com [127.0.0.1]) by prod-mail-ppoint1.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v44FKpqG023427; Thu, 4 May 2017 11:25:05 -0400
Received: from email.msg.corp.akamai.com ([172.27.25.31]) by prod-mail-ppoint1.akamai.com with ESMTP id 2a72m93k18-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 04 May 2017 11:25:05 -0400
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com (172.27.27.101) by ustx2ex-dag1mb1.msg.corp.akamai.com (172.27.27.101) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 4 May 2017 10:25:04 -0500
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com ([172.27.6.131]) by ustx2ex-dag1mb1.msg.corp.akamai.com ([172.27.6.131]) with mapi id 15.00.1263.000; Thu, 4 May 2017 10:25:04 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: "ilariliusvaara@welho.com" <ilariliusvaara@welho.com>
CC: "mrex@sap.com" <mrex@sap.com>, Natasha Rooney <nrooney@gsma.com>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] trusted_ca_keys
Thread-Index: AQHSwDDGEZlexoCE1UeM9rJfM1WBYaHkjEIA//+sgoCAAGZMgP//rT/AgABZ9ID//65jcA==
Date: Thu, 4 May 2017 15:25:03 +0000
Message-ID: <73e04e3ff7de42659c8bae6b5e6f92c8@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <6741eaa623234de19e859c453d5475cf@ustx2ex-dag1mb1.msg.corp.akamai.com> <20170504145047.BC07B1A69D@ld9781.wdf.sap.corp> <0e083a98c13f4caba8e0302735d5333f@ustx2ex-dag1mb1.msg.corp.akamai.com> <20170504151633.GA32574@LK-Perkele-V2.elisa-laajakaista.fi>
In-Reply-To: <20170504151633.GA32574@LK-Perkele-V2.elisa-laajakaista.fi>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.36.26]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-04_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040239
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-04_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040239
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/vCGiBDa3M4bAa8fUvtKHaPFc7bU>
Subject: Re: [TLS] trusted_ca_keys
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 15:25:24 -0000

PiBUaGUgb3JnYW5pemF0aW9uIGluZm8gKE8sIEwsIFNULCBDLCBldGMuLi4pIGlzIHN1cHBvc2Vk
IHRvIGRpZmZlciBpbiB0aGF0IGNhc2UgKENODQo+IGlzIGp1c3Qgb25lIGZpZWxkIG9mIEROKSwg
cmVuZGVyaW5nIHRoZSBmdWxsIEROcyBkaXN0aW5jdC4NCg0KQnV0IHdoZXJlIGFuZCBob3cgaXMg
dGhhdCBlbmZvcmNlZCwgb3IgZW5mb3JjZWFibGU/ICBBZ2FpbiwgYW55IGxpbmtzIHRvIHNob3cg
SSdtIHdyb25nPw0K


From nobody Thu May  4 08:27:06 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7366212EA93 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:27:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 ewjSBztD7PXS for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:27:04 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 63515129AC4 for <tls@ietf.org>; Thu,  4 May 2017 08:27:04 -0700 (PDT)
Received: from pps.filterd (m0050093.ppops.net [127.0.0.1]) by m0050093.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v44FMEBq023208; Thu, 4 May 2017 16:27:01 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=A41LY6gUjvYh2Sr31RMi5BvBe2PX7SOye0hJwE0ZbFs=; b=d36llAL7dzcFi3mwUR+rg/AaOBD7Sj07jR0gEyKOlYnu513HwK28G1uY1kt80+sTNma8 k71Hlrt3lX5HcUWjQEhZ79Rr2HdBlo8JYR7sWVHYQwESo6FBGsY+dpxEnQ4HUICaFW3U bj4fM0voAFGMChXXZORWyx5EhCaf4+Fd9GUMIp9Hn5P2WQgPTvnFgNCsMJYwxLbpAm1T IwGXHmOUllsf/K5AA0jKqBTx6sL5cbIjWLJ1zOYMHHfcIETRx1IBLXGSNwZ6COiAu7Qq I6vnNaTSIswVvcvWg2nJW5puectlCNIAoSAwPHsefHBbDKGK9G0heUC4As5Va926a26U 9A== 
Received: from prod-mail-ppoint4 ([96.6.114.87]) by m0050093.ppops.net-00190b01. with ESMTP id 2a7v1skq7w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 May 2017 16:27:00 +0100
Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v44FQ39W023621; Thu, 4 May 2017 11:26:59 -0400
Received: from email.msg.corp.akamai.com ([172.27.25.30]) by prod-mail-ppoint4.akamai.com with ESMTP id 2a72mb53ad-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 04 May 2017 11:26:59 -0400
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com (172.27.27.101) by ustx2ex-dag1mb3.msg.corp.akamai.com (172.27.27.103) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 4 May 2017 10:26:59 -0500
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com ([172.27.6.131]) by ustx2ex-dag1mb1.msg.corp.akamai.com ([172.27.6.131]) with mapi id 15.00.1263.000; Thu, 4 May 2017 10:26:59 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: "mrex@sap.com" <mrex@sap.com>
CC: Ilari Liusvaara <ilariliusvaara@welho.com>, Natasha Rooney <nrooney@gsma.com>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] trusted_ca_keys
Thread-Index: AQHSwDDGEZlexoCE1UeM9rJfM1WBYaHkjEIA//+sgoCAAGZMgP//rT/AgABazAD//64PAA==
Date: Thu, 4 May 2017 15:26:58 +0000
Message-ID: <0cdc6045867f4d429c5dae1dd01f909a@ustx2ex-dag1mb1.msg.corp.akamai.com>
References: <0e083a98c13f4caba8e0302735d5333f@ustx2ex-dag1mb1.msg.corp.akamai.com> <20170504151934.8DA691A69D@ld9781.wdf.sap.corp>
In-Reply-To: <20170504151934.8DA691A69D@ld9781.wdf.sap.corp>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.36.26]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-04_10:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040239
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-04_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040239
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Obn_tlKnydqF8F1Y_ptsaFXpb5U>
Subject: Re: [TLS] trusted_ca_keys
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 15:27:05 -0000

> If re-using the same CA DName for certs with different keys would be
> allowed, then chain building and chain verifying would become
> *DESPERATELY* dependent on support *AND* use of
> AuthorityKeyIdentifier->SubjectKeyIdentifier.

Or, it could use subject/issuer.  Or it could try all the matching CA DName=
 certs it has.


From nobody Thu May  4 08:31:22 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC72C129496 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:31:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level: 
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=ham 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 cFwQrKA7flMb for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:31:18 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9227D12EAAD for <tls@ietf.org>; Thu,  4 May 2017 08:31:12 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id C4FCD7A32F1 for <tls@ietf.org>; Thu,  4 May 2017 15:31:11 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <0e083a98c13f4caba8e0302735d5333f@ustx2ex-dag1mb1.msg.corp.akamai.com>
Date: Thu, 4 May 2017 11:31:10 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <A306E611-E551-41CB-8BAA-13BE21A74B49@dukhovni.org>
References: <6741eaa623234de19e859c453d5475cf@ustx2ex-dag1mb1.msg.corp.akamai.com> <20170504145047.BC07B1A69D@ld9781.wdf.sap.corp> <0e083a98c13f4caba8e0302735d5333f@ustx2ex-dag1mb1.msg.corp.akamai.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/TkX4lrP9ebhciBxYQz1kvj6NIug>
Subject: Re: [TLS] trusted_ca_keys
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 15:31:21 -0000

> On May 4, 2017, at 10:58 AM, Salz, Rich <rsalz@akamai.com> wrote:
>=20
> I don't see how CA1 issuing a sub-ca for "... CN=3Dfred" can globally =
prevent CA2 from issuing a sub-ca with the exact same DN. Can you =
explain what I am missing?

You forgot that all the CA certificates are of course published in the =
global X.500
directory.  And it is of course not possible for two CAs to have the =
same directory
DN.  [ DNs in the global directory are of necessity distinct. ]

:-)

Apologies for sending this as SMTP email over IP, with any luck it'll =
still make
it to your X.400 mailbox via a suitable IP<->X.25 connected gateway.

--=20
	Viktor.

P.S.  I've found one brave SMTP server out there whose TLS certificate =
took a
bold minimalist departure from PKIX.  Note the null subject, issuer and =
lack
of subjectAltNames.  This works just fine with DANE for SMTP, but could =
give
some peers a bit of indigestion.  The server administrator demonstrates =
a clear
understanding of what's essential in a DANE 3 1 1 certificate for SMTP =
(with
perhaps a "let anyone who can't deal with it fix their system" =
attitude):

Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: c3:26:2b:13:ca:b1:36:72
        Signature Algorithm: sha256WithRSAEncryption
        Issuer:=20
        Validity
            Not Before: Jul 27 14:59:59 2014 GMT
            Not After : Nov 27 14:59:59 3013 GMT
        Subject:=20
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
            RSA Public Key: (4096 bit)
                Modulus (4096 bit): ...
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Subject Key Identifier:=20
                =
98:C6:9B:D5:20:5C:1D:A8:31:39:BD:78:11:37:FF:BD:AD:5B:BD:59
            X509v3 Authority Key Identifier:=20
                =
keyid:98:C6:9B:D5:20:5C:1D:A8:31:39:BD:78:11:37:FF:BD:AD:5B:BD:59

            X509v3 Basic Constraints:=20
                CA:TRUE
    Signature Algorithm: sha256WithRSAEncryption
        ...
-----BEGIN CERTIFICATE-----
MIIE1TCCAr2gAwIBAgIJAMMmKxPKsTZyMA0GCSqGSIb3DQEBCwUAMAAwIBcNMTQw
NzI3MTQ1OTU5WhgPMzAxMzExMjcxNDU5NTlaMAAwggIiMA0GCSqGSIb3DQEBAQUA
A4ICDwAwggIKAoICAQC200I1aOkqnrr48PS/MLULQM0QSyCUqvzo07G4Fcwkun+V
tYWS6dWXcNP9s8mRutWFXcZtmIvDs3l0p0HG9N8UU7uQIXJxuuJWAwoLqdvVktOQ
WE7rpItRgNtfVibPmyaoLkLfVBSGTh+tspxXVBZ6OSWjs5CX63CSBCcQtv2ecE+y
AuL6bZDr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w91TMz
U72xY7YY4yDGUCrxCVBdiGl2kTihwUdxCRJ1baAXcq3meEAY0wQEcDq/dEUMSHp7
/gr9/8uu94VQ+uIjc4dU6oB+yV/agD+vBDpY2EskdVigxZQKuI5iFX4+2kGoooAb
xkMDriyM/MeD3zjfuBLSrMEQtGZ1d8ilb0kWxCcEwv5SpO9ihiUA584C501syGCD
H0y62RuD2sxdv4k3BKeFYt5NLE7QE8TNgVFKsAdTlW9Cni4yEnscwcM=3D
-----END CERTIFICATE-----



From nobody Thu May  4 08:32:17 2017
Return-Path: <mrex@sap.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 89C5112EAB2 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:31:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.421
X-Spam-Level: 
X-Spam-Status: No, score=-6.421 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=ham 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 fcGLXDnXbmAb for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:31:58 -0700 (PDT)
Received: from smtpde01.smtp.sap-ag.de (smtpde01.smtp.sap-ag.de [155.56.68.170]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AA3C812EAAE for <tls@ietf.org>; Thu,  4 May 2017 08:31:56 -0700 (PDT)
Received: from mail07.wdf.sap.corp (mail04.sap.corp [194.39.131.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtpde01.smtp.sap-ag.de (Postfix) with ESMTPS id 3wJfCG6lrGz1J0V; Thu,  4 May 2017 17:31:54 +0200 (CEST)
X-purgate-ID: 152705::1493911914-0000521C-ED8D7563/0/0
X-purgate-size: 577
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate-type: clean
X-SAP-SPAM-Status: clean
Received: from ld9781.wdf.sap.corp (ld9781.wdf.sap.corp [10.21.82.193]) by mail07.wdf.sap.corp (Postfix) with ESMTP id 3wJfCG4Vl1zGp8r; Thu,  4 May 2017 17:31:54 +0200 (CEST)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id 947AE1A69D; Thu,  4 May 2017 17:31:54 +0200 (CEST)
In-Reply-To: <73e04e3ff7de42659c8bae6b5e6f92c8@ustx2ex-dag1mb1.msg.corp.akamai.com>
To: "Salz, Rich" <rsalz@akamai.com>
Date: Thu, 4 May 2017 17:31:54 +0200 (CEST)
CC: "ilariliusvaara@welho.com" <ilariliusvaara@welho.com>,  "mrex@sap.com" <mrex@sap.com>, Natasha Rooney <nrooney@gsma.com>,  "tls@ietf.org" <tls@ietf.org>
Reply-To: mrex@sap.com
X-Mailer: ELM [version 2.4ME+ PL125 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20170504153154.947AE1A69D@ld9781.wdf.sap.corp>
From: mrex@sap.com (Martin Rex)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/G7Is31QoxApjDzkNHNHUEis__6s>
Subject: Re: [TLS] trusted_ca_keys
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 15:32:00 -0000

Salz, Rich wrote:
[ Charset UTF-8 unsupported, converting... ]
> > The organization info (O, L, ST, C, etc...) is supposed to differ in that case (CN
> > is just one field of DN), rendering the full DNs distinct.
> 
> But where and how is that enforced, or enforceable?  Again, any links to show I'm wrong?
 

In theory: using  Directory Name  SubjectNameConstraints to enforce
a hierarchical Naming on all Subject Names and one single hierarchy
of CAs.

(Just that this doesn't work for dozens of independent PKIs environments
 like the SSLiverse...)

-Martin


From nobody Thu May  4 08:38:57 2017
Return-Path: <mackermann@bcbsm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 49C11127863 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:38:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.092
X-Spam-Level: 
X-Spam-Status: No, score=-4.092 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=bcbsm.onmicrosoft.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 EZBK1EA_8fNW for <tls@ietfa.amsl.com>; Thu,  4 May 2017 08:38:53 -0700 (PDT)
Received: from mx.z120.zixworks.com (bcbsm.zixworks.com [199.30.235.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 27CDA124D37 for <tls@ietf.org>; Thu,  4 May 2017 08:38:52 -0700 (PDT)
Received: from 127.0.0.1 (ZixVPM [127.0.0.1]) by Outbound.z120.zixworks.com (Proprietary) with SMTP id 2904EC17C9 for <tls@ietf.org>; Thu,  4 May 2017 10:38:52 -0500 (CDT)
Received: from imsva2.bcbsm.com (unknown [12.107.172.81]) by mx.z120.zixworks.com (Proprietary) with SMTP id 69285C15A8; Thu,  4 May 2017 10:38:51 -0500 (CDT)
Received: from imsva2.bcbsm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 327A1FE06F; Thu,  4 May 2017 11:38:51 -0400 (EDT)
Received: from imsva2.bcbsm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F35FBFE071; Thu,  4 May 2017 11:38:50 -0400 (EDT)
Received: from NAM03-CO1-obe.outbound.protection.outlook.com (unknown [216.32.181.21]) by imsva2.bcbsm.com (Postfix) with ESMTPS; Thu,  4 May 2017 11:38:50 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bcbsm.onmicrosoft.com;  s=selector1-bcbsm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=xyI+2FPFZlhGju3PMxaGViRee60VA95OT82zvTajd84=; b=Oa8ZIEtFBPOnVFJLxDDJn7x3xV2T3qQ9bgfWekgMxtUT5aIz8pn1oCD5/1Ws4euPU0s2AMS78i6eDsU+pjcerySx9ahSze1QDyRdeHufc+P50SFU4yj46/wJ6qE4KSsJfhlYHIYpo54CCR7CD2K6dDcF95XX2Xk1C3cDsSGCqgI=
Received: from CY4PR14MB1368.namprd14.prod.outlook.com (10.172.158.148) by CY4PR14MB1365.namprd14.prod.outlook.com (10.172.158.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Thu, 4 May 2017 15:38:47 +0000
Received: from CY4PR14MB1368.namprd14.prod.outlook.com ([10.172.158.148]) by CY4PR14MB1368.namprd14.prod.outlook.com ([10.172.158.148]) with mapi id 15.01.1047.023; Thu, 4 May 2017 15:38:47 +0000
From: "Ackermann, Michael" <MAckermann@bcbsm.com>
To: "Salz, Rich" <rsalz@akamai.com>, "mrex@sap.com" <mrex@sap.com>
CC: Natasha Rooney <nrooney@gsma.com>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] trusted_ca_keys
Thread-Index: AQHSwDDGEZlexoCE1UeM9rJfM1WBYaHkOHAAgAAAhQCAABJKgIAAAgyAgAALQRA=
Date: Thu, 4 May 2017 15:38:47 +0000
Message-ID: <CY4PR14MB13684F421B91756DDD8E9ABED7EA0@CY4PR14MB1368.namprd14.prod.outlook.com>
References: <6741eaa623234de19e859c453d5475cf@ustx2ex-dag1mb1.msg.corp.akamai.com> <20170504145047.BC07B1A69D@ld9781.wdf.sap.corp> <0e083a98c13f4caba8e0302735d5333f@ustx2ex-dag1mb1.msg.corp.akamai.com>
In-Reply-To: <0e083a98c13f4caba8e0302735d5333f@ustx2ex-dag1mb1.msg.corp.akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: akamai.com; dkim=none (message not signed) header.d=none;akamai.com; dmarc=none action=none header.from=bcbsm.com;
x-originating-ip: [167.242.122.83]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; CY4PR14MB1365; 7:3HmwbhMMwwTuWQjpNBKhFB7gvQJnYsdqjUOtv5zgFL+Fa6LyNDh/YmNVOx2nhZgHP7JFM0hCa/0xjzZrZ9orOaN/CP2EO3fANNWXh8iDWwmYRvG4Do4iZRtWq9lzI0MciC70nffs6KrcRLY0emcueC1R5XiIauoOdMmW//CPOhiqBQxGWeYLsW00WOA8x0efq5JeiAC7mhOYKsCvfXXVTrM/JV9ACYN2HsR9Yh9W/0eR0NnhVyQQMLw+uqCOhn2s/En07pxYMW26xeHlPHRrRryUvZI0EBxVfqvkrJj9la94ugQct0jnxYKx0CayGPx94E0FBgs68M7OZspi2qqGfg==; 20:CrgkIgsBD5nKVLkhUf8zg4FESKOKqKN/VJEe8BbczBQlUlehT6bnLf/ogME+p2ZueK53HITxDdC3rM3JuLEDA3qHjH2xBoibj2rj7KD6AvA2U2JWeXjbt5ZpwCRIHTCNgvptPusb8ykWk0HOI4HiklcS+d2iKdOQyFOG6Z3qziQ=
x-ms-office365-filtering-correlation-id: 1305f9d9-4422-473c-0947-08d49303a7dd
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:CY4PR14MB1365; 
x-microsoft-antispam-prvs: <CY4PR14MB13659FFD692F8233F3154D38D7EA0@CY4PR14MB1365.namprd14.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(55761251573089);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123560025)(20161123562025)(20161123555025)(20161123564025)(6072148); SRVR:CY4PR14MB1365; BCL:0; PCL:0; RULEID:; SRVR:CY4PR14MB1365; 
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39450400003)(39400400002)(39830400002)(39410400002)(377454003)(13464003)(229853002)(102836003)(3846002)(6116002)(305945005)(7736002)(4326008)(189998001)(2501003)(8936002)(33656002)(86362001)(8676002)(2950100002)(77096006)(7696004)(508600001)(38730400002)(74316002)(80792005)(81166006)(2906002)(6306002)(54906002)(9686003)(99286003)(3660700001)(2900100001)(3280700002)(66066001)(6436002)(53936002)(6506006)(8656002)(25786009)(50986999)(76176999)(53546009)(54356999)(55016002)(8666007)(122556002)(5660300001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR14MB1365; H:CY4PR14MB1368.namprd14.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: bcbsm.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2017 15:38:47.5177 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 6f56d3fa-5682-4261-b169-bc0d615da17c
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR14MB1365
X-TM-AS-GCONF: 00
X-VPM-HOST: vmvpm02.z120.zixworks.com
X-VPM-GROUP-ID: 944392e4-464d-488c-aca2-fb8176a72f28
X-VPM-MSG-ID: 37abb110-b7e4-4116-90a6-87b09e12ea0d
X-VPM-ENC-REGIME: Plaintext
X-VPM-IS-HYBRID: 0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/xZdoHfK2CmvO_BHl7-Suxy3nAOE>
Subject: Re: [TLS] trusted_ca_keys
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 15:38:55 -0000

Feel better Jason=21 =20

-----Original Message-----
From: TLS =5Bmailto:tls-bounces=40ietf.org=5D On Behalf Of Salz, Rich
Sent: Thursday, May 4, 2017 10:58 AM
To: mrex=40sap.com
Cc: Natasha Rooney <nrooney=40gsma.com>; tls=40ietf.org
Subject: Re: =5BTLS=5D trusted_ca_keys

> There is some wording in PKIX and X.509 which creates the impression=20
> that a CA could be re-using the same Subject DName with different=20
> keys, but such an interpretation is a formally provable defect of the =
PKIX specification.

Any links you can point to?

I don't see how CA1 issuing a sub-ca for =22... CN=3Dfred=22 can globally =
prevent CA2 from issuing a sub-ca with the exact same DN.  Can you explain =
what I am missing?

_______________________________________________
TLS mailing list
TLS=40ietf.org
https://www.ietf.org/mailman/listinfo/tls


The information contained in this communication is highly confidential and =
is intended solely for the use of the individual(s) to whom this =
communication is directed. If you are not the intended recipient, you are =
hereby notified that any viewing, copying, disclosure or distribution of =
this information is prohibited. Please notify the sender, by electronic =
mail or telephone, of any unintended receipt and delete the original =
message without making any copies.
=20
 Blue Cross Blue Shield of Michigan and Blue Care Network of Michigan are =
nonprofit corporations and independent licensees of the Blue Cross and =
Blue Shield Association.


From nobody Thu May  4 09:41:07 2017
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id D2F67129AB2; Thu,  4 May 2017 09:41:05 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.50.0
Auto-Submitted: auto-generated
Precedence: bulk
CC: draft-ietf-tls-ecdhe-psk-aead@ietf.org, Kathleen.Moriarty.ietf@gmail.com,  Joseph Salowey <joe@salowey.net>, tls@ietf.org, joe@salowey.net, tls-chairs@ietf.org
Reply-To: ietf@ietf.org
Sender: <iesg-secretary@ietf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-ID: <149391606578.6842.3727373203321848879.idtracker@ietfa.amsl.com>
Date: Thu, 04 May 2017 09:41:05 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/axlIeQ7ZDEXiR_q8lsA1GaJ_T-o>
Subject: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 16:41:06 -0000

The IESG has received a request from the Transport Layer Security WG
(tls) to consider the following document:
- 'ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
   Security (TLS)'
  <draft-ietf-tls-ecdhe-psk-aead-03.txt> as Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action. Please send substantive comments to the
ietf@ietf.org mailing lists by 2017-05-18. Exceptionally, comments may be
sent to iesg@ietf.org instead. In either case, please retain the
beginning of the Subject line to allow automated sorting.

Abstract


   This document defines several new cipher suites for the Transport
   Layer Security (TLS) protocol.  The cipher suites are all based on
   the Ephemeral Elliptic Curve Diffie-Hellman with Pre-Shared Key
   (ECDHE_PSK) key exchange together with the Authenticated Encryption
   with Associated Data (AEAD) algorithms AES-GCM and AES-CCM.  PSK
   provides light and efficient authentication, ECDHE provides perfect
   forward secrecy, and AES-GCM and AES-CCM provides encryption and
   integrity protection.




The file can be obtained via
https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/

IESG discussion can be tracked via
https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/ballot/


No IPR declarations have been submitted directly on this I-D.





From nobody Thu May  4 10:07:45 2017
Return-Path: <Andrei.Popov@microsoft.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 696431286CA for <tls@ietfa.amsl.com>; Thu,  4 May 2017 10:07:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.022
X-Spam-Level: 
X-Spam-Status: No, score=-2.022 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 y6J644IjW7td for <tls@ietfa.amsl.com>; Thu,  4 May 2017 10:07:41 -0700 (PDT)
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0101.outbound.protection.outlook.com [104.47.38.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 26A5E129436 for <tls@ietf.org>; Thu,  4 May 2017 10:07:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wZJKOBUctrk6pVbHt6cKvJthI/Z5/2gJOQcM/coj9vQ=; b=JRS8/XCSNUn59u5nFuNdPIppfa57YEVELlVQonJmHB90JPKKYGYZlMEfDYWE9kF8iQHstfyt8NDyoWqq3rWSuW4eJ9SfwdyUyGNYOojRHbgm3Cadvrkpkb+lNwr95sF5B5uc4RLx2qE9GkvLTHse0ogbPNIVQ08htvKuZqt8VqQ=
Received: from DM2PR21MB0091.namprd21.prod.outlook.com (10.161.141.14) by DM2PR21MB0091.namprd21.prod.outlook.com (10.161.141.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.4; Thu, 4 May 2017 17:07:38 +0000
Received: from DM2PR21MB0091.namprd21.prod.outlook.com ([10.161.141.14]) by DM2PR21MB0091.namprd21.prod.outlook.com ([10.161.141.14]) with mapi id 15.01.1084.001; Thu, 4 May 2017 17:07:38 +0000
From: Andrei Popov <Andrei.Popov@microsoft.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>, =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>
CC: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NLuoeRqJY1j061PhdwGwZhyaHj7JsAgAB3F+A=
Date: Thu, 4 May 2017 17:07:37 +0000
Message-ID: <DM2PR21MB0091595CE3B5D3B8EE7D3EFC8CEA0@DM2PR21MB0091.namprd21.prod.outlook.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <20170504093429.GA31781@LK-Perkele-V2.elisa-laajakaista.fi>
In-Reply-To: <20170504093429.GA31781@LK-Perkele-V2.elisa-laajakaista.fi>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: welho.com; dkim=none (message not signed) header.d=none;welho.com; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [2001:4898:80e8:6::4ca]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM2PR21MB0091; 7:wRbOVIka6NFAIpu0BmxNo3B6gpdC/mHoiIeGgE+L0bJkAbhOlCh93fHaZJQG5+L+Tg0Jy5yUKfRhTjqmGJo7iB5/80KJgdCMMs7nyYD8c9PMMBWKQevBt/8K17E/MYCU8JfSbhj0g2XOna2ismH+SX6wMFyCS+xLa619ydGHBNzSRPsj5cucBwXOsXVe0u8+jxKdpbWrNhYkBFywrZSMrOovEM1Y0NLnjFsmKJ+7tVVmsyR2xsOtKuHsE2z2pvz0Os1HSZMgNfQ2GWmoqGB/9GikqOdUV2/enn9K33aTCXYTZcNjeOEt3BAnFRTNscfpuoNRqHu0/bOIBKhzguU4lmPTtcoP70COe6lDcZf+0dI=
x-ms-office365-filtering-correlation-id: f6b496d1-5d13-4c50-1eb2-08d493101109
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);  SRVR:DM2PR21MB0091; 
x-microsoft-antispam-prvs: <DM2PR21MB009190BF9192D7E8E21B07248CEA0@DM2PR21MB0091.namprd21.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(278428928389397)(192374486261705)(189930954265078)(219752817060721);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(6055026)(61426038)(61427038)(6041248)(20161123564025)(20161123560025)(20161123558100)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148); SRVR:DM2PR21MB0091; BCL:0; PCL:0; RULEID:; SRVR:DM2PR21MB0091; 
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39450400003)(39840400002)(39860400002)(39400400002)(39850400002)(39410400002)(13464003)(24454002)(377454003)(77096006)(6506006)(6436002)(99286003)(7736002)(6306002)(55016002)(81166006)(8676002)(74316002)(229853002)(3280700002)(122556002)(8936002)(189998001)(305945005)(53936002)(9686003)(38730400002)(4326008)(3660700001)(2900100001)(53546009)(25786009)(15650500001)(33656002)(54356999)(76176999)(50986999)(86362001)(7696004)(86612001)(575784001)(5660300001)(478600001)(2906002)(10290500003)(2950100002)(102836003)(10090500001)(5005710100001)(6116002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR21MB0091; H:DM2PR21MB0091.namprd21.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2017 17:07:37.8771 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR21MB0091
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/0Y9IyPh26D0nnQjRD1hY4C3V-8c>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 17:07:43 -0000

SU1ITyB3aGF0IHdlIGhhdmUgaXMgYSBmYWNpbGl0eSBpbiBUTFMgMS4zIHRoYXQ6DQoxLiBSZXF1
aXJlcyBleHRyYW9yZGluYXJ5IGVmZm9ydCBvbiB0aGUgc2VydmVyIHNpZGUg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29tJTdDNTFkNzczOWQ2ZjQzNDExMDhhY2IwOGQ0OTJkMGNkOGYlN0M3MmY5ODhi
Zjg2ZjE0MWFmOTFhYjJkN2NkMDExZGI0NyU3QzElN0MwJTdDNjM2Mjk0ODcyODgyMDY3ODY4JnNk
YXRhPXNnbndtM3Y3amZqTGVXSFpWNzd6d3BjaGZ6Z3k4NUFTS2VLWVl4RVF4c3MlM0QmcmVzZXJ2
ZWQ9MA0K


From nobody Thu May  4 10:59:45 2017
Return-Path: <ynir.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 750AB129AFF for <tls@ietfa.amsl.com>; Thu,  4 May 2017 10:59:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 U1BWKLW_Aem1 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 10:59:40 -0700 (PDT)
Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (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 B0673129B10 for <tls@ietf.org>; Thu,  4 May 2017 10:59:34 -0700 (PDT)
Received: by mail-wm0-x244.google.com with SMTP id y10so4994577wmh.0 for <tls@ietf.org>; Thu, 04 May 2017 10:59:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=l7VduV8yKNCf3M8Ukg6YyMR8KXTsbdkbdw3INilq/C0=; b=DVpuSlk8uRXCZ4j3G0gkkxukzfjwwV6TkR72sfmEoh1sTslNLUs9D+h66iIqFZvwun Tb3apGeMDnszGAkvsC1HAeqtR8mVHEtkvSwf2ZAs1+Zts52eIk6I3IAx/W7WoygcLMkC cfpOoqWaYQEgIkjuED8Oq9c1FBlGkJ0hGMfCnXVl5QauGODaXar9JaQi1Xf0HX58OX7t F2UG8sjixzA8tmR7WCV03sNM+nPwmPJdemnUJgaBWrpRorDWj+rhNziqcWPtHR0QFODU 9KZC8ZajKaf4veBmwTUuK9AHccW9K1HN6m4751eLLGnJMNidSObK2+T5fznIWdjnsXnD V3Og==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=l7VduV8yKNCf3M8Ukg6YyMR8KXTsbdkbdw3INilq/C0=; b=fpy3OSOwWZTbBjZTfvkqZ7yAaWnWPYHxAkjOZ0n1SOBvAIR/0NoBFf/5C/mZHPw/Ki dWjLW7+eP57IEgVfHDvey5wWw51rxXmPAPu+auwZsmB2bZRlbJj5m9DFwKfGCFtRvL59 qwpK77keDbnGSWWiKL/9r86zv9bPgmYw8pfBkRygARj1gV/ikk3v/BbPzZoQ5scZkk82 StEV5YXI+GX9iRN5I36mRcMyxXagrmp7Mp+AqBbQaHLaiXfR0BgacRLuqnmK5qtZvPt3 nsseMjRyOE+QC7oa0r+15cGc6GUezr/J60MBP/Vv48KU3Chx3t+jkh4w0+YL+nMSOIqh kgkg==
X-Gm-Message-State: AN3rC/45X5sOgi/RlHJ9tQ84BGG0Pmlwf+Pqb4RK+D4LtQoJatuaCEPq QG/XBNUhE2UnxQ==
X-Received: by 10.80.174.230 with SMTP id f35mr31035333edd.157.1493920773264;  Thu, 04 May 2017 10:59:33 -0700 (PDT)
Received: from [192.168.1.18] ([46.120.57.147]) by smtp.gmail.com with ESMTPSA id s42sm781687edb.22.2017.05.04.10.59.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 May 2017 10:59:32 -0700 (PDT)
From: Yoav Nir <ynir.ietf@gmail.com>
Message-Id: <73E0FBFC-34E4-4897-BE04-CD51728FE9BF@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_4344694C-3500-4DC7-8CFF-BCC09D7BCB03"; protocol="application/pgp-signature"; micalg=pgp-sha512
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Thu, 4 May 2017 20:59:29 +0300
In-Reply-To: <04081892-66A1-4459-875D-0C147A5826F0@gmail.com>
Cc: Hubert Kario <hkario@redhat.com>, tls@ietf.org
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
References: <F7262846-0E93-4780-B051-8DB1253ADCE5@sn3rd.com> <4372384.YAPbqjqF3g@pintsize.usersys.redhat.com> <04081892-66A1-4459-875D-0C147A5826F0@gmail.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/q9K_EvqA5H5WAVrkR6I3a69JDTk>
Subject: Re: [TLS] WG review of draft-ietf-tls-rfc4492bis
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 17:59:42 -0000

--Apple-Mail=_4344694C-3500-4DC7-8CFF-BCC09D7BCB03
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_D4E44B37-8B0A-4794-86B9-B394E279BE94"


--Apple-Mail=_D4E44B37-8B0A-4794-86B9-B394E279BE94
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On 4 May 2017, at 16:09, Kathleen Moriarty =
<kathleen.moriarty.ietf@gmail.com> wrote:
>=20
> I haven't approved it yet as I noticed there was no response (that I =
saw) to Alexey's comment and no change in the draft as a result of his =
comments.


You mean these comments?
https://mailarchive.ietf.org/arch/msg/tls/MFs8aGEZsr-1P7o4_CB-VjxXRg0 =
<https://mailarchive.ietf.org/arch/msg/tls/MFs8aGEZsr-1P7o4_CB-VjxXRg0>

I=E2=80=99ll quote them here:

> 0) There is some general awkwardness in text talking about allowed =
points
> formats, considering that only uncompressed form is now allowed. I =
don't
> have recommendations about improving text, other than the following:
>=20
> If no future formats are expected, it feels almost better to recommend
> against inclusion of the Point formats extension, as lack of it means
> uncompressed format anyway.
So this was addressed in draft -16:

OLD:
      Implementations of this document MUST support the
   uncompressed format for all of their supported curves, and MUST NOT
   support other formats for curves defined in this specification.  For
   backwards compatibility purposes, the point format list extension
   MUST still be included, and contain exactly one value: the
   uncompressed point format (0).

NEW:
      Implementations of this document MUST support the
   uncompressed format for all of their supported curves, and MUST NOT
   support other formats for curves defined in this specification.  For
   backwards compatibility purposes, the point format list extension MAY
   still be included, and contain exactly one value: the uncompressed
   point format (0).  RFC 4492 <https://tools.ietf.org/html/rfc4492> =
specified that if this extension is
   missing, it means that only the uncompressed point format is
   supported, so interoperability with implementations that support the
   uncompressed format should work with or without the extension.


> 1) In Section 2.3, last paragraph: Does this paragraph apply only to =
2.3
> or does it also apply to 2.1 and 2.2? If the latter, then it needs to =
be
> moved to section 2.

The content of the last paragraph was moved to a new section:
2.4 =
<https://tools.ietf.org/html/draft-ietf-tls-rfc4492bis-16#section-2.4>.  =
Algorithms in Certificate Chains

   This specification does not impose restrictions on signature schemes
   used anywhere in the certificate chain.  The previous version of this
   document required the signatures to match, but this restriction,
   originating in previous TLS versions is lifted here as it had been in
   RFC 5246 <https://tools.ietf.org/html/rfc5246>.

>=20
> 2) In Section 6:
>=20
>    Server implementations SHOULD support all of the following cipher
>    suites, and client implementations SHOULD support at least one of
>    them:
>=20
>    o  TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
>    o  TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
>    o  TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
>    o  TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
>=20
> GCM ciphers are not listed in the table earlier in the same section. =
They
> are defined in RFC 5289. This document doesn't have any reference to =
RFC
> 5289 and GCM ciphers are not discussed anywhere else in the document.

Seems like I missed this one.

Yoav



--Apple-Mail=_D4E44B37-8B0A-4794-86B9-B394E279BE94
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 4 May 2017, at 16:09, Kathleen Moriarty &lt;<a =
href=3D"mailto:kathleen.moriarty.ietf@gmail.com" =
class=3D"">kathleen.moriarty.ietf@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">I =
haven't approved it yet as I noticed there was no response (that I saw) =
to Alexey's comment and no change in the draft as a result of his =
comments.<br class=3D""></div></div></blockquote><div><br =
class=3D""></div></div><br class=3D""><div class=3D"">You mean these =
comments? &nbsp;</div><div class=3D""><a =
href=3D"https://mailarchive.ietf.org/arch/msg/tls/MFs8aGEZsr-1P7o4_CB-VjxX=
Rg0" =
class=3D"">https://mailarchive.ietf.org/arch/msg/tls/MFs8aGEZsr-1P7o4_CB-V=
jxXRg0</a></div><div class=3D""><br class=3D""></div><div =
class=3D"">I=E2=80=99ll quote them here:</div><div class=3D""><br =
class=3D""></div><div class=3D""><pre class=3D"wordwrap" =
style=3D"box-sizing: border-box; overflow: auto; padding: 0px; =
margin-top: 0px; margin-bottom: 10px; line-height: 1.42857143; =
word-break: normal; word-wrap: normal; color: rgb(51, 51, 51); =
background-color: white; border: 0px none black; border-top-left-radius: =
4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; =
border-bottom-left-radius: 4px; white-space: =
pre-wrap;"></pre></div><blockquote type=3D"cite" class=3D""><div =
class=3D""><pre class=3D"wordwrap" style=3D"box-sizing: border-box; =
overflow: auto; padding: 0px; margin-top: 0px; margin-bottom: 10px; =
line-height: 1.42857143; word-break: normal; word-wrap: normal; color: =
rgb(51, 51, 51); background-color: white; border: 0px none black; =
border-top-left-radius: 4px; border-top-right-radius: 4px; =
border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; =
white-space: pre-wrap;"><font face=3D"Helvetica" class=3D"">0) There is =
some general awkwardness in text talking about allowed points
formats, considering that only uncompressed form is now allowed. I don't
have recommendations about improving text, other than the following:

If no future formats are expected, it feels almost better to recommend
against inclusion of the Point formats extension, as lack of it means
uncompressed format anyway.
</font></pre></div></blockquote><div class=3D"">So this was addressed in =
draft -16:</div><div class=3D""><br class=3D""></div><div =
class=3D"">OLD:</div><div class=3D""><pre class=3D"newpage" =
style=3D"font-size: 13.333333015441895px; margin-top: 0px; =
margin-bottom: 0px; break-before: page;">      Implementations of this =
document MUST support the
   uncompressed format for all of their supported curves, and MUST NOT
   support other formats for curves defined in this specification.  For
   backwards compatibility purposes, the point format list extension
   MUST still be included, and contain exactly one value: the
   uncompressed point format (0).</pre><div class=3D""><br =
class=3D""></div></div><div class=3D"">NEW:</div><div class=3D""><pre =
class=3D"newpage" style=3D"font-size: 13.333333015441895px; margin-top: =
0px; margin-bottom: 0px; break-before: page;">      Implementations of =
this document MUST support the
   uncompressed format for all of their supported curves, and MUST NOT
   support other formats for curves defined in this specification.  For
   backwards compatibility purposes, the point format list extension MAY
   still be included, and contain exactly one value: the uncompressed
   point format (0).  <a href=3D"https://tools.ietf.org/html/rfc4492" =
class=3D"">RFC 4492</a> specified that if this extension is
   missing, it means that only the uncompressed point format is
   supported, so interoperability with implementations that support the
   uncompressed format should work with or without the extension.
</pre></div><div class=3D""><br class=3D""></div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><pre =
class=3D"wordwrap" style=3D"box-sizing: border-box; overflow: auto; =
padding: 0px; margin-top: 0px; margin-bottom: 10px; line-height: =
1.42857143; word-break: normal; word-wrap: normal; color: rgb(51, 51, =
51); background-color: white; border: 0px none black; =
border-top-left-radius: 4px; border-top-right-radius: 4px; =
border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; =
white-space: pre-wrap;"><font face=3D"Helvetica" class=3D"">1) In =
Section 2.3, last paragraph: Does this paragraph apply only to 2.3
or does it also apply to 2.1 and 2.2? If the latter, then it needs to be
moved to section 2.
</font></pre></div></blockquote><div class=3D""><br class=3D""></div>The =
content of the last paragraph was moved to a new section:<div =
class=3D""><pre class=3D"newpage" style=3D"font-size: =
13.333333015441895px; margin-top: 0px; margin-bottom: 0px; break-before: =
page;"><span class=3D"h3" style=3D"line-height: 0pt; display: inline; =
font-size: 1em; font-weight: bold;"><h3 style=3D"line-height: 0pt; =
display: inline; font-size: 1em;" class=3D""><a class=3D"selflink" =
name=3D"section-2.4" =
href=3D"https://tools.ietf.org/html/draft-ietf-tls-rfc4492bis-16#section-2=
.4" style=3D"color: black; text-decoration: none;">2.4</a>.  Algorithms =
in Certificate Chains</h3></span>

   This specification does not impose restrictions on signature schemes
   used anywhere in the certificate chain.  The previous version of this
   document required the signatures to match, but this restriction,
   originating in previous TLS versions is lifted here as it had been in
   <a href=3D"https://tools.ietf.org/html/rfc5246" class=3D"">RFC =
5246</a>.</pre><div class=3D""><br class=3D""></div><blockquote =
type=3D"cite" class=3D""><div class=3D""><pre class=3D"wordwrap" =
style=3D"box-sizing: border-box; overflow: auto; padding: 0px; =
margin-top: 0px; margin-bottom: 10px; line-height: 1.42857143; =
word-break: normal; word-wrap: normal; color: rgb(51, 51, 51); =
background-color: white; border: 0px none black; border-top-left-radius: =
4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; =
border-bottom-left-radius: 4px; white-space: pre-wrap;"><font =
face=3D"Helvetica" class=3D"">
2) In Section 6:

   Server implementations SHOULD support all of the following cipher
   suites, and client implementations SHOULD support at least one of
   them:

   o  TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
   o  TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
   o  TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
   o  TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256

GCM ciphers are not listed in the table earlier in the same section. =
They
are defined in RFC 5289. This document doesn't have any reference to RFC
5289 and GCM ciphers are not discussed anywhere else in the document.
</font></pre></div></blockquote><div class=3D""><br class=3D""></div>Seems=
 like I missed this one.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Yoav</div><div class=3D""><br class=3D""><div class=3D""><br =
class=3D""></div></div></body></html>=

--Apple-Mail=_D4E44B37-8B0A-4794-86B9-B394E279BE94--

--Apple-Mail=_4344694C-3500-4DC7-8CFF-BCC09D7BCB03
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJZC2wBAAoJELhJCxUKWMyZWQsH/2xxeUtOOSrTYQkHn0WCOknB
rRMjJlFoEk/vptdT+xe5cEIHoeUEhkGoJAkj4oadbKB0rp0A3YaVYV3Zm+2xAPNp
kmeD/xLI1HePiSkvVzws7TRS0nMplxLpmR4YL+O15FHT/yuI4rPZs43PhRXwHgQ/
ZJiH194IfsZjEB4VPuoCG11Q9fvF3QceCOnAgI41WXOmqV+uzhj15nnMkHLKL1Lw
YHK5gGbko4x9pDsJFLN2vFJbot4MrIdXOhRab6FeUHmdqLKyzIglMHtuACEj2YxM
j9BR4adVNx+jeKYhpMawD0BGWQ8s/QvUd6wb4viS2N9oBN6wealHRkHOhcDJTD0=
=7tvH
-----END PGP SIGNATURE-----

--Apple-Mail=_4344694C-3500-4DC7-8CFF-BCC09D7BCB03--


From nobody Thu May  4 11:03:35 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 13A7F12944E for <tls@ietfa.amsl.com>; Thu,  4 May 2017 11:03:34 -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=allcosts-net.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 tVx4zJC15A92 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 11:03:32 -0700 (PDT)
Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (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 8E48E1293FF for <tls@ietf.org>; Thu,  4 May 2017 11:03:14 -0700 (PDT)
Received: by mail-yw0-x22c.google.com with SMTP id l18so10567175ywh.3 for <tls@ietf.org>; Thu, 04 May 2017 11:03:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=W4Dg0Ok1PYkoNQR6zErEBrajX08svtMcIenOHNO9SRw=; b=JfPBgh6qQG4C76IjDCZx6P9N2BYsQm/OULUksIikqCk+XyN1pMhJw/0UXo39MQ8HnU DrmV3H5YQz/IBBHR1OJ8gPgIgLeKAc32KF6HpXNp/v9KzTtLx60VzU5qUGomeA3G0xaP wj/5pmkWoupeq9+CI3WY32r4p4T8aJ6f6zOjmAnbwG+Arz1rjp22KMNveaTBK4t49u8T rf4qNhCv7kyjSP9TV8LLIlIzDOvggUsL2DiNzWZQK6Mu2aLB0ndwvFSB/imTQCskgdqi BUq9aAfYxlCvt0bEH+cEHitjn/LE7IWea+5LXdDX/kA4Qas7L/YaCRCkt1CF0tE+GxZz 1yog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=W4Dg0Ok1PYkoNQR6zErEBrajX08svtMcIenOHNO9SRw=; b=YZS7XqYXI0L9PIy9Vm/iH52kv7ys220/2VGEPhK0QSUsZIVXraVI4M8PRe51Lvj/xJ 5w1BbVc/WGQILQcVObL0rCsBu01RiH7Tx+NWslYRsmcDri6oxHv3ciwIfXjSPO0e4Owc okTx+fOhQvvn9vSDVRweUhci8z7+JQYXnmC4x3vL19YmJbGjBSbudnPdzHEdRB4XHpiO DSwf5zfxuulQ/CkJCLpZtU1WbW6dyqXFm/6jVqI6DIo3133NHeMINH9bxtDuBA88fNrS P+IBPnKBrIszBWEnxET+VK7LhsQprS8Cz9AJ/ELyRQrZqI848h+uSdH3EdByz6FQUkN5 fOSQ==
X-Gm-Message-State: AN3rC/5oANAxMQz9bpxUsczqsmREF0HCOI2iV2LeZ4KEj0sL+kslUs/4 593NVzovFqcAc7U4r7rKf0WBYtGaew==
X-Received: by 10.13.238.65 with SMTP id x62mr34378346ywe.122.1493920993863; Thu, 04 May 2017 11:03:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Thu, 4 May 2017 11:03:12 -0700 (PDT)
In-Reply-To: <DM2PR21MB0091595CE3B5D3B8EE7D3EFC8CEA0@DM2PR21MB0091.namprd21.prod.outlook.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <20170504093429.GA31781@LK-Perkele-V2.elisa-laajakaista.fi> <DM2PR21MB0091595CE3B5D3B8EE7D3EFC8CEA0@DM2PR21MB0091.namprd21.prod.outlook.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Thu, 4 May 2017 11:03:12 -0700
Message-ID: <CAAF6GDcEVvyRpHg4HsOo+mGysSjo1rePSByEkR6=8Bbfe2dK9g@mail.gmail.com>
To: Andrei Popov <Andrei.Popov@microsoft.com>
Cc: Ilari Liusvaara <ilariliusvaara@welho.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c034d8c297c44054eb696fb
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ZHSmG8W1olal1DRqAetleCvITf4>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 18:03:34 -0000

--94eb2c034d8c297c44054eb696fb
Content-Type: text/plain; charset=UTF-8

On Thu, May 4, 2017 at 10:07 AM, Andrei Popov <Andrei.Popov@microsoft.com>
wrote:

> IMHO what we have is a facility in TLS 1.3 that:
> 1. Requires extraordinary effort on the server side to mitigate replay
> (for all but the smallest deployments);
> 2. Offers no way for the client to determine whether the server is
> mitigating replay (before replay becomes possible);
>

I'm less worried about these problems. There's a nice property that the
operators of large deployments tend to also be technically sophisticated. I
don't think we'll have a problem implementing a single use cache, strike
register, we have similar systems for other services, at higher volumes.
It's a cost of being big, and that's ok.

It will be possible to tell whether a service permits replays; by trying
them. If the service permits them, that's a pretty clear CVE, and the usual
incentives work as well as they usually do.


> 3. Is trivial to enable on the client and improves connection latency;
> 4. Eliminates a nonce that other protocols (used to) rely on.
>
> While it is true that there are cases where this facility is beneficial,
> there is no doubt that it will be widely misused, in both applications and
> protocols.
>

This doesn't need to be an anchor around the neck of the whole feature.
0-RTT is still an awesome speed benefit - if servers prevent replays, I
think we have a very good balance.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, May 4, 2017 at 10:07 AM, Andrei Popov <span dir=3D"ltr">&lt;<a =
href=3D"mailto:Andrei.Popov@microsoft.com" target=3D"_blank">Andrei.Popov@m=
icrosoft.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">IMHO w=
hat we have is a facility in TLS 1.3 that:<br>
1. Requires extraordinary effort on the server side to mitigate replay (for=
 all but the smallest deployments);<br>
2. Offers no way for the client to determine whether the server is mitigati=
ng replay (before replay becomes possible);<br></blockquote><div><br></div>=
<div>I&#39;m less worried about these problems. There&#39;s a nice property=
 that the operators of large deployments tend to also be technically sophis=
ticated. I don&#39;t think we&#39;ll have a problem implementing a single u=
se cache, strike register, we have similar systems for other services, at h=
igher volumes.=C2=A0 It&#39;s a cost of being big, and that&#39;s ok.=C2=A0=
</div><div><br></div><div>It will be possible to tell whether a service per=
mits replays; by trying them. If the service permits them, that&#39;s a pre=
tty clear CVE, and the usual incentives work as well as they usually do. =
=C2=A0</div><div>=C2=A0=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3. Is trivial to enable on the client and improves connection latency;<br>
4. Eliminates a nonce that other protocols (used to) rely on.<br>
<br>
While it is true that there are cases where this facility is beneficial, th=
ere is no doubt that it will be widely misused, in both applications and pr=
otocols.<br></blockquote><div><br></div><div>This doesn&#39;t need to be an=
 anchor around the neck of the whole feature. 0-RTT is still an awesome spe=
ed benefit - if servers prevent replays, I think we have a very good balanc=
e.</div><div><br></div></div>-- <br><div class=3D"gmail_signature" data-sma=
rtmail=3D"gmail_signature">Colm</div>
</div></div>

--94eb2c034d8c297c44054eb696fb--


From nobody Thu May  4 11:22:51 2017
Return-Path: <Andrei.Popov@microsoft.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F0282128799 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 11:22:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 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_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 2KfYvAch9DiV for <tls@ietfa.amsl.com>; Thu,  4 May 2017 11:22:48 -0700 (PDT)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0138.outbound.protection.outlook.com [104.47.37.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5C5D712706D for <tls@ietf.org>; Thu,  4 May 2017 11:22:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=EA4bUQRz3keZkigIP3amUXGtUCjWXYA4L+9SZpB6NH0=; b=Zbhw3JzhGbLLwk4kr6dUwFl3Jd3QafIb6prjSdqxc6YJQcx3/GqolM1QJJOebc9CzprUKiwvWaIWHq2zVQ20F3v7aWFfkmHHRUExHxBmaE+Tm7nafzTDal2VjSpXCSwSe9FlSG8AlzRxQmheHo89Yf6JS83kp+FZFnViN8Gau6A=
Received: from DM2PR21MB0091.namprd21.prod.outlook.com (10.161.141.14) by DM2PR21MB0090.namprd21.prod.outlook.com (10.161.141.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.4; Thu, 4 May 2017 18:22:43 +0000
Received: from DM2PR21MB0091.namprd21.prod.outlook.com ([10.161.141.14]) by DM2PR21MB0091.namprd21.prod.outlook.com ([10.161.141.14]) with mapi id 15.01.1084.001; Thu, 4 May 2017 18:22:42 +0000
From: Andrei Popov <Andrei.Popov@microsoft.com>
To: =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>
CC: Ilari Liusvaara <ilariliusvaara@welho.com>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NLuoeRqJY1j061PhdwGwZhyaHj7JsAgAB3F+CAABcKAIAABEKg
Date: Thu, 4 May 2017 18:22:42 +0000
Message-ID: <DM2PR21MB00917F892A1331090F3EC6E78CEA0@DM2PR21MB0091.namprd21.prod.outlook.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <20170504093429.GA31781@LK-Perkele-V2.elisa-laajakaista.fi> <DM2PR21MB0091595CE3B5D3B8EE7D3EFC8CEA0@DM2PR21MB0091.namprd21.prod.outlook.com> <CAAF6GDcEVvyRpHg4HsOo+mGysSjo1rePSByEkR6=8Bbfe2dK9g@mail.gmail.com>
In-Reply-To: <CAAF6GDcEVvyRpHg4HsOo+mGysSjo1rePSByEkR6=8Bbfe2dK9g@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: allcosts.net; dkim=none (message not signed) header.d=none; allcosts.net; dmarc=none action=none header.from=microsoft.com; 
x-originating-ip: [2001:4898:80e8:6::4ca]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM2PR21MB0090; 7:OukgYKBOSfi8x1Iz0oeN4IgawHgaw7Txbbc6pYjZPlpqxBwaWqwKecGgOOpmwC42C7VSl5vgGUHQwmaU+DvuDhN0/745jPidWjXSDauDcXyZCWWZ0xkoYZS13lUTOimgFs3z3DCAmF8YGjes6ivB1a+Cwr1YICth11wmpk13MJWfd2kEJZAplylyNuWSDuv6HRz+m88drNpwbmSp3sgnyiMTh/EX6B0qdwlCJuHJEZnzSYgQ5HHOzwUcLTLFJ5u6wzcUbwOHHmTesnnWpRKdg7pGlMgBTzuzZuOGPbs2UqRXJaWYXYebygPxkGrE5YiNWoXOfclkx3EQu8Oys5POjnMkcbFwp4fSrTpm7Flv1Pk=
x-ms-office365-filtering-correlation-id: 3a27e2b7-122d-4323-2a17-08d4931a8e18
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081)(201702281549075); SRVR:DM2PR21MB0090; 
x-microsoft-antispam-prvs: <DM2PR21MB009062EE4988A35767B612E08CEA0@DM2PR21MB0090.namprd21.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(192374486261705)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(6055026)(61426038)(61427038)(6041248)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123558100)(6072148); SRVR:DM2PR21MB0090; BCL:0; PCL:0; RULEID:; SRVR:DM2PR21MB0090; 
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39450400003)(39840400002)(39410400002)(39400400002)(39850400002)(39860400002)(5005710100001)(5660300001)(3660700001)(10090500001)(2950100002)(77096006)(7696004)(74316002)(53936002)(6306002)(122556002)(54896002)(54906002)(55016002)(3280700002)(2900100001)(6916009)(9686003)(99286003)(25786009)(10290500003)(8676002)(8936002)(6436002)(6506006)(81166006)(7736002)(189998001)(478600001)(86612001)(38730400002)(790700001)(110136004)(4326008)(102836003)(6116002)(229853002)(33656002)(54356999)(2906002)(558084003)(50986999)(93886004)(86362001)(76176999); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR21MB0090; H:DM2PR21MB0091.namprd21.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DM2PR21MB00917F892A1331090F3EC6E78CEA0DM2PR21MB0091namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2017 18:22:42.5461 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR21MB0090
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/whkMGof_-3Q6gNBZCxrnIq4g8Og>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 18:22:50 -0000

--_000_DM2PR21MB00917F892A1331090F3EC6E78CEA0DM2PR21MB0091namp_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

ICAqICAgSSBkb24ndCB0aGluayB3ZSdsbCBoYXZlIGEgcHJvYmxlbSBpbXBsZW1lbnRpbmcgYSBz
aW5nbGUgdXNlIGNhY2hlLCBzdHJpa2UgcmVnaXN0ZXIsIHdlIGhhdmUgc2ltaWxhciBzeXN0ZW1z
IGZvciBvdGhlciBzZXJ2aWNlcywgYXQgaGlnaGVyIHZvbHVtZXMuDQrigKYgYW5kIHRoZXNlIHRo
aW5ncyB3b3JrIGFjcm9zcyBnZW9ncmFwaGljYWxseSBkaXN0cmlidXRlZCBkYXRhY2VudGVycywg
d2l0aG91dCBuZWdhdGluZyB0aGUgbGF0ZW5jeSBiZW5lZml0cyBvZiAwLVJUVD8NCg0KQ2hlZXJz
LA0KDQpBbmRyZWkNCg==

--_000_DM2PR21MB00917F892A1331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Fz
cz0iTXNvTm9ybWFsIj48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwi
PkFuZHJlaTxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4N
Cg==

--_000_DM2PR21MB00917F892A1331090F3EC6E78CEA0DM2PR21MB0091namp_--


From nobody Thu May  4 11:26:34 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F377E12947B for <tls@ietfa.amsl.com>; Thu,  4 May 2017 11:26:31 -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=allcosts-net.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 HZHW-GZk50RK for <tls@ietfa.amsl.com>; Thu,  4 May 2017 11:26:30 -0700 (PDT)
Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (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 96816129B45 for <tls@ietf.org>; Thu,  4 May 2017 11:26:29 -0700 (PDT)
Received: by mail-yw0-x229.google.com with SMTP id l135so10857100ywb.2 for <tls@ietf.org>; Thu, 04 May 2017 11:26:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=WIb0TP/0Iw5+7GdujM+0r+TUsHeQ3ImEzG5cRn3TA/A=; b=EZHJlSa0vwsXrMst4gmdKB5Ivoyg5BggIN4/jvZE/V7cSyJ9vsJZmHdNPPzlsWnjif cD7wK8hJHqEibzu2VV/R4RKN4lLsn/TY36vfReFlM1DovPHC9P4tt3YP0QrwM1rHCITb clv20sVP96G4LW6vqN+sr6DyDwkEf6ghUfqV6qT24D5SkXluIyccdNL5Lk66tq14g9r1 mdrZlal0JTDdffBjgZoE543WWjxxKu7Ir2wrdML9oSwIdyaohUo1bBpcNQMI1L17VnqF TJhXkMK/JHtFJK8VQ5xEVc8HX3GkaNbvqFsDlN1+0NuPTZgsAajvpdJcRGcWRrAyG7eR vhzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WIb0TP/0Iw5+7GdujM+0r+TUsHeQ3ImEzG5cRn3TA/A=; b=fCAZJapTV5S3AqYcW1pXncOk1ZQ7XEBJD6B7A935+U0WFkI7s3t3IrHbisTNMmBNsG +/PBfouPJi95h1j4hQ2iI6gyz+f6JMZ80XD7jSaNfRgSwVhpXANq3CAg9Qmp1L56EYTT Tkq/v9+XrbgGPzCYCIrqSX55W6DcSpYVTzco65RuNNuWyYERMH+tgIN0Tpx5v8UHVB2P W14tEJxhFcSuK+f3bNimKjKdhYC7xbH3d034QDbsUKHhLBS8cu/VgBZIp9JhRoz7OBJP hkR32GKVfuHzvDjASzH1iqA3HNmkVKYDtHe+YiQctieHp5opcvPHKXk62g21CPfGUtUO 69Fw==
X-Gm-Message-State: AN3rC/4cWiWUGbx14T36mZpfnZ+7WYsAbJ3/aJjmsKc+h/KGDP46VJBX pj4vUUee3+2Uvuw86AIgRaj2NcSu9Q==
X-Received: by 10.129.104.69 with SMTP id d66mr5479415ywc.74.1493922388943; Thu, 04 May 2017 11:26:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Thu, 4 May 2017 11:26:27 -0700 (PDT)
In-Reply-To: <DM2PR21MB00917F892A1331090F3EC6E78CEA0@DM2PR21MB0091.namprd21.prod.outlook.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <20170504093429.GA31781@LK-Perkele-V2.elisa-laajakaista.fi> <DM2PR21MB0091595CE3B5D3B8EE7D3EFC8CEA0@DM2PR21MB0091.namprd21.prod.outlook.com> <CAAF6GDcEVvyRpHg4HsOo+mGysSjo1rePSByEkR6=8Bbfe2dK9g@mail.gmail.com> <DM2PR21MB00917F892A1331090F3EC6E78CEA0@DM2PR21MB0091.namprd21.prod.outlook.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Thu, 4 May 2017 11:26:27 -0700
Message-ID: <CAAF6GDcHJC6ROe4Y3sCUzXJoERn3eC8_wmS10Zz2hBXRbmUTqg@mail.gmail.com>
To: Andrei Popov <Andrei.Popov@microsoft.com>
Cc: Ilari Liusvaara <ilariliusvaara@welho.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11490b9a50c28b054eb6e9ad
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/_IkZ-ugu5P8xV61dCrLUda9Otrk>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 18:26:32 -0000

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

On Thu, May 4, 2017 at 11:22 AM, Andrei Popov <Andrei.Popov@microsoft.com>
wrote:

>
>    - I don't think we'll have a problem implementing a single use cache,
>    strike register, we have similar systems for other services, at higher
>    volumes.
>
> =E2=80=A6 and these things work across geographically distributed datacen=
ters,
> without negating the latency benefits of 0-RTT?
>

They won't work across geographically distributed data centers, no, but I
don't think that's a significant problem. Providers already work hard to
maximize user affinity to a data center for other operational reasons;
re-routing is relatively rare and quickly repaired by issuing a new ticket.

--=20
Colm

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

<div dir=3D"ltr">On Thu, May 4, 2017 at 11:22 AM, Andrei Popov <span dir=3D=
"ltr">&lt;<a href=3D"mailto:Andrei.Popov@microsoft.com" target=3D"_blank">A=
ndrei.Popov@microsoft.com</a>&gt;</span> wrote:<br><div class=3D"gmail_extr=
a"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"m_-850231284121274750WordSection1">
<div><span class=3D"">
<ul style=3D"margin-top:0in" type=3D"disc">
<li class=3D"m_-850231284121274750MsoListParagraph" style=3D"margin-left:0i=
n">I don&#39;t think we&#39;ll have a problem implementing a single use cac=
he, strike register, we have similar systems for other services, at higher =
volumes.=C2=A0<u></u><u></u></li></ul>
</span><p class=3D"MsoNormal">=E2=80=A6 and these things work across geogra=
phically distributed datacenters, without negating the latency benefits of =
0-RTT?</p></div></div></div></blockquote><div><br></div><div>They won&#39;t=
 work across geographically distributed data centers, no, but I don&#39;t t=
hink that&#39;s a significant problem. Providers already work hard to maxim=
ize user affinity to a data center for other operational reasons; re-routin=
g is relatively rare and quickly repaired by issuing a new ticket.=C2=A0</d=
iv><div><br></div></div>-- <br><div class=3D"gmail_signature" data-smartmai=
l=3D"gmail_signature">Colm</div>
</div></div>

--001a11490b9a50c28b054eb6e9ad--


From nobody Thu May  4 11:29:36 2017
Return-Path: <Andrei.Popov@microsoft.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8ED6A129B6C for <tls@ietfa.amsl.com>; Thu,  4 May 2017 11:29:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 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_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 1XKprPWa8K2y for <tls@ietfa.amsl.com>; Thu,  4 May 2017 11:29:33 -0700 (PDT)
Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0098.outbound.protection.outlook.com [104.47.41.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD7B312949F for <tls@ietf.org>; Thu,  4 May 2017 11:29:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=/2hVOhktpBadCDeNjFYI6ZalQKJTWeR+vZxdUXJFt40=; b=J+culFLKazwHlwONglShZpz4Uoa1uvT/HyK228yGRYSSmugUYkVki3o9Jn7EDIHXNldRV9dA+HK8ZPTSf5a+G/CYD8PN3O6Yddynmp63pFMrkJBs8iTuPNIrbyf8OhAjM6gg+YHTTXr8TUT/YVrTaqmLRqr8la8ODNAQI2Qtung=
Received: from DM2PR21MB0091.namprd21.prod.outlook.com (10.161.141.14) by DM2PR21MB0092.namprd21.prod.outlook.com (10.161.141.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.4; Thu, 4 May 2017 18:29:30 +0000
Received: from DM2PR21MB0091.namprd21.prod.outlook.com ([10.161.141.14]) by DM2PR21MB0091.namprd21.prod.outlook.com ([10.161.141.14]) with mapi id 15.01.1084.001; Thu, 4 May 2017 18:29:30 +0000
From: Andrei Popov <Andrei.Popov@microsoft.com>
To: =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>
CC: Ilari Liusvaara <ilariliusvaara@welho.com>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NLuoeRqJY1j061PhdwGwZhyaHj7JsAgAB3F+CAABcKAIAABEKggAACPYCAAAAt4A==
Date: Thu, 4 May 2017 18:29:30 +0000
Message-ID: <DM2PR21MB0091C3CCC015ABFE1904EF008CEA0@DM2PR21MB0091.namprd21.prod.outlook.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <20170504093429.GA31781@LK-Perkele-V2.elisa-laajakaista.fi> <DM2PR21MB0091595CE3B5D3B8EE7D3EFC8CEA0@DM2PR21MB0091.namprd21.prod.outlook.com> <CAAF6GDcEVvyRpHg4HsOo+mGysSjo1rePSByEkR6=8Bbfe2dK9g@mail.gmail.com> <DM2PR21MB00917F892A1331090F3EC6E78CEA0@DM2PR21MB0091.namprd21.prod.outlook.com> <CAAF6GDcHJC6ROe4Y3sCUzXJoERn3eC8_wmS10Zz2hBXRbmUTqg@mail.gmail.com>
In-Reply-To: <CAAF6GDcHJC6ROe4Y3sCUzXJoERn3eC8_wmS10Zz2hBXRbmUTqg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: allcosts.net; dkim=none (message not signed) header.d=none; allcosts.net; dmarc=none action=none header.from=microsoft.com; 
x-originating-ip: [2001:4898:80e8:6::4ca]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM2PR21MB0092; 7:Aj7CYRW4Ty23rGmoeoF5nem+nVQY0Phwfvnw9LLzD+bPQ/rjXzeUnt24eZzICd9Nx7J5dwIbru5wDDnnGB0qZ73Razft0gMIkB/hUBTw1sqjhx/QaceF0ADH/AsHMqLRJVQHp3qlNhf9UPmj1YX/MU0/VxxOBtahzYpxmWFB47beHlwDKGisueJb+Dz9V2a2IYQjWMJRUBBug1zNXXcKQHHhA73AdKHlVniKVnY6ManQPGA6IODJR2Rc9X7kh+JhLgDKb7LykzaITQE1c/ccmt5CKU9oTr5S7ZqIcz+3pl0MCQxqVINOLkG631yWA/vz2a/111KCX1bNTxRB5f3Ggv8mGFpcX4pzZFnPvumtBBY=
x-ms-office365-filtering-correlation-id: f3dd1c71-fd22-4464-69ed-08d4931b8128
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);  SRVR:DM2PR21MB0092; 
x-microsoft-antispam-prvs: <DM2PR21MB0092FA6C533C6496A6DE41DF8CEA0@DM2PR21MB0092.namprd21.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(192374486261705)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041248)(20161123562025)(20161123555025)(20161123560025)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148); SRVR:DM2PR21MB0092; BCL:0; PCL:0; RULEID:; SRVR:DM2PR21MB0092; 
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39840400002)(39850400002)(39450400003)(39860400002)(39400400002)(39410400002)(3280700002)(55016002)(122556002)(53936002)(99286003)(54906002)(558084003)(38730400002)(2906002)(110136004)(4326008)(3660700001)(478600001)(25786009)(9686003)(2900100001)(6306002)(10290500003)(54896002)(102836003)(77096006)(6436002)(33656002)(6916009)(6506006)(229853002)(5005710100001)(74316002)(790700001)(5660300001)(2950100002)(10090500001)(93886004)(7696004)(86612001)(86362001)(8936002)(81166006)(54356999)(189998001)(50986999)(76176999)(8676002)(7736002)(6116002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR21MB0092; H:DM2PR21MB0091.namprd21.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DM2PR21MB0091C3CCC015ABFE1904EF008CEA0DM2PR21MB0091namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2017 18:29:30.4960 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR21MB0092
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/azyG2JGV_9u9sZgZWJ9oyi4PKUs>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 18:29:35 -0000

--_000_DM2PR21MB0091C3CCC015ABFE1904EF008CEA0DM2PR21MB0091namp_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

ICAqICAgUHJvdmlkZXJzIGFscmVhZHkgd29yayBoYXJkIHRvIG1heGltaXplIHVzZXIgYWZmaW5p
dHkgdG8gYSBkYXRhIGNlbnRlciBmb3Igb3RoZXIgb3BlcmF0aW9uYWwgcmVhc29uczsgcmUtcm91
dGluZyBpcyByZWxhdGl2ZWx5IHJhcmUgYW5kIHF1aWNrbHkgcmVwYWlyZWQgYnkgaXNzdWluZyBh
IG5ldyB0aWNrZXQuDQpVbmRlcnN0b29kLCBidXQgaXNu4oCZdCBhbiBhdHRhY2tlciBnb2luZyB0
byBiZSBhYmxlIHRvIHJlLXJvdXRlIGF0IHdpbGw/DQo=

--_000_DM2PR21MB0091C3CCC015ABFE1904EF008CEA0DM2PR21MB0091namp_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZm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dWlja2x5IHJlcGFpcmVkIGJ5IGlzc3VpbmcgYSBuZXcgdGlja2V0LiZuYnNw
OzxvOnA+PC9vOnA+PC9saT48L3VsPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+VW5kZXJzdG9vZCwg
YnV0IGlzbuKAmXQgYW4gYXR0YWNrZXIgZ29pbmcgdG8gYmUgYWJsZSB0byByZS1yb3V0ZSBhdCB3
aWxsPzxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8L2JvZHk+DQo8L2h0bWw+DQo=

--_000_DM2PR21MB0091C3CCC015ABFE1904EF008CEA0DM2PR21MB0091namp_--


From nobody Thu May  4 11:32:56 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F07A129B52 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 11:32:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 Hhm4befWulBg for <tls@ietfa.amsl.com>; Thu,  4 May 2017 11:32:51 -0700 (PDT)
Received: from mail-yb0-x22d.google.com (mail-yb0-x22d.google.com [IPv6:2607:f8b0:4002:c09::22d]) (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 824E31293EC for <tls@ietf.org>; Thu,  4 May 2017 11:32:50 -0700 (PDT)
Received: by mail-yb0-x22d.google.com with SMTP id p143so5685235yba.2 for <tls@ietf.org>; Thu, 04 May 2017 11:32:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=iouLOTqgPhgS8Xy0uD3rwkV1kI+PBZ5rZVtdxYZXD5s=; b=qbG/h1SG/dTE5qnmourTaK7XvR9r218goX+VSFN8hYf1Sv757foEb3SP+vCaz28izI oU3Aj9Ig+ly7B3ZZ5dQo50yEPP9OQCS5M738zu4vJSdl+ipvOeNrfRs1TdAxZJZk9a6K u46YShm+36ekMBn+m9mHjOnasC0MNyQj9Je5KXefuJgLjGCHjdxqeSuNn9g76UjE+6dJ Rzk1xwqJcSUYFth9uR2ALN5xgu8kwjPJJRL62qftf97JalmNirrmlFHYZfyVh4hv9DWj R67VqR9Bnthq8cHID6joU1xVE8iq70SXtgpaVBvIiX70NAvqpEsLKl73Y7XVODuUFSr6 q8Ow==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=iouLOTqgPhgS8Xy0uD3rwkV1kI+PBZ5rZVtdxYZXD5s=; b=Mp5NaPpPhkFnNzqQyCe5q0NOLYJF0oX75frLKCqLKNCHaRsRlXcg46SX/pEdFoIos5 MaFfb+OPwZZxOenx9Ji6jM12QK6Lpex9CORtqhH7tnhQS75aoR6BxT4RmpIDSOpBnKdz VY7652v0UKrU91jqtBFN793AxZFkzD1uCQOga/V7fyU7hY0mKFDxsVbK8RQDD4cWkVJV mZfOg8umPpRO+rWTgfYksuA8IFMYKSaPUykDqRQqWYNWdoKlpYHf5FYlapuPliXoc8Qe yonXJ6BLebw1i1rAQYf6dzG9FhRkNx8vs6j2RGE29fRkJIfk5qTJ67RBcmQ5YDpCDdAf xKnQ==
X-Gm-Message-State: AN3rC/4YKNAYvjY5kTB/Crk3qNmxTjwVlvv4ptXNcDkCzV5+XvHBraBh P83khwfEIIKMqhFDv4uJSeZ7JJ0Ghw==
X-Received: by 10.37.16.212 with SMTP id 203mr22355576ybq.90.1493922769727; Thu, 04 May 2017 11:32:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Thu, 4 May 2017 11:32:48 -0700 (PDT)
In-Reply-To: <DM2PR21MB0091C3CCC015ABFE1904EF008CEA0@DM2PR21MB0091.namprd21.prod.outlook.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <20170504093429.GA31781@LK-Perkele-V2.elisa-laajakaista.fi> <DM2PR21MB0091595CE3B5D3B8EE7D3EFC8CEA0@DM2PR21MB0091.namprd21.prod.outlook.com> <CAAF6GDcEVvyRpHg4HsOo+mGysSjo1rePSByEkR6=8Bbfe2dK9g@mail.gmail.com> <DM2PR21MB00917F892A1331090F3EC6E78CEA0@DM2PR21MB0091.namprd21.prod.outlook.com> <CAAF6GDcHJC6ROe4Y3sCUzXJoERn3eC8_wmS10Zz2hBXRbmUTqg@mail.gmail.com> <DM2PR21MB0091C3CCC015ABFE1904EF008CEA0@DM2PR21MB0091.namprd21.prod.outlook.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Thu, 4 May 2017 11:32:48 -0700
Message-ID: <CAAF6GDdh3_=N5=xSMiKxVzp0UzCm_vh6d_ZyC7ZfsDD651=_YQ@mail.gmail.com>
To: Andrei Popov <Andrei.Popov@microsoft.com>
Cc: Ilari Liusvaara <ilariliusvaara@welho.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11c0ff0403289d054eb7008d
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/in-a_xPnKP2FJ8gzxmjJGA5fkFo>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 18:32:53 -0000

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

On Thu, May 4, 2017 at 11:29 AM, Andrei Popov <Andrei.Popov@microsoft.com>
wrote:

>
>    - Providers already work hard to maximize user affinity to a data
>    center for other operational reasons; re-routing is relatively rare an=
d
>    quickly repaired by issuing a new ticket.
>
> Understood, but isn=E2=80=99t an attacker going to be able to re-route at=
 will?
>

Yes, but I don't see the significance.  If the attacker reroutes the user,
or replays a ticket, to a different data center - the ticket won't work,
it'll degrade gracefully to a regular connection.  Of course the attacker
succeeded in slowing the user down, but that's possible anyway.

Maybe you're thinking of a strike register that shares a global namespace?
That would be an implementation error; tickets should be scoped to the
location they are issued from, and checked against its strike register (or
not used at all).

--=20
Colm

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

<div dir=3D"ltr">On Thu, May 4, 2017 at 11:29 AM, Andrei Popov <span dir=3D=
"ltr">&lt;<a href=3D"mailto:Andrei.Popov@microsoft.com" target=3D"_blank">A=
ndrei.Popov@microsoft.com</a>&gt;</span> wrote:<br><div class=3D"gmail_extr=
a"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"m_-7612855791652027183WordSection1"><span class=3D"">
<ul style=3D"margin-top:0in" type=3D"disc">
<li class=3D"m_-7612855791652027183MsoListParagraph" style=3D"margin-left:0=
in">Providers already work hard to maximize user affinity to a data center =
for other operational reasons; re-routing is relatively rare and quickly re=
paired by issuing a new ticket.=C2=A0<u></u><u></u></li></ul>
</span><p class=3D"MsoNormal">Understood, but isn=E2=80=99t an attacker goi=
ng to be able to re-route at will?</p></div></div></blockquote><div><br></d=
iv><div>Yes, but I don&#39;t see the significance.=C2=A0 If the attacker re=
routes the user, or replays a ticket, to a different data center - the tick=
et won&#39;t work, it&#39;ll degrade gracefully to a regular connection.=C2=
=A0 Of course the attacker succeeded in slowing the user down, but that&#39=
;s possible anyway.=C2=A0</div><div><br></div><div>Maybe you&#39;re thinkin=
g of a strike register that shares a global namespace? That would be an imp=
lementation error; tickets should be scoped to the location they are issued=
 from, and checked against its strike register (or not used at all).=C2=A0<=
/div></div><div><br></div>-- <br><div class=3D"gmail_signature" data-smartm=
ail=3D"gmail_signature">Colm</div>
</div></div>

--001a11c0ff0403289d054eb7008d--


From nobody Thu May  4 12:03:18 2017
Return-Path: <Andrei.Popov@microsoft.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D8289129516 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 12:03:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.021
X-Spam-Level: 
X-Spam-Status: No, score=-2.021 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 rklGg-aJGaoU for <tls@ietfa.amsl.com>; Thu,  4 May 2017 12:03:15 -0700 (PDT)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0136.outbound.protection.outlook.com [104.47.36.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6E1FF128D69 for <tls@ietf.org>; Thu,  4 May 2017 12:03:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=KIKBZ2G3EzmiK3XsRtLNrMji3gOHbjgAJXsEwXwEhFM=; b=H5PqL4etTPDqQ22ZW8lY3u+dncqyqLmBaIQuk8XFQf01TUjbjAaYKtRhJ0YRFUIrc8bbhyUn22/30MGYK0EUyp7pX86dRz/YFlz+ZDernnlbmMxrfsOktNePxa899LzQ3IxzXdPI5On5IVLFUUvQddI2v1lgqUEXE43hxvvFP5M=
Received: from DM2PR21MB0091.namprd21.prod.outlook.com (10.161.141.14) by DM2PR21MB0091.namprd21.prod.outlook.com (10.161.141.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.4; Thu, 4 May 2017 19:03:11 +0000
Received: from DM2PR21MB0091.namprd21.prod.outlook.com ([10.161.141.14]) by DM2PR21MB0091.namprd21.prod.outlook.com ([10.161.141.14]) with mapi id 15.01.1084.001; Thu, 4 May 2017 19:03:11 +0000
From: Andrei Popov <Andrei.Popov@microsoft.com>
To: =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>
CC: Ilari Liusvaara <ilariliusvaara@welho.com>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NLuoeRqJY1j061PhdwGwZhyaHj7JsAgAB3F+CAABcKAIAABEKggAACPYCAAAAt4IAAAZoAgAAGKVA=
Date: Thu, 4 May 2017 19:03:11 +0000
Message-ID: <DM2PR21MB0091A1AAF51428FBF96CECBD8CEA0@DM2PR21MB0091.namprd21.prod.outlook.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <20170504093429.GA31781@LK-Perkele-V2.elisa-laajakaista.fi> <DM2PR21MB0091595CE3B5D3B8EE7D3EFC8CEA0@DM2PR21MB0091.namprd21.prod.outlook.com> <CAAF6GDcEVvyRpHg4HsOo+mGysSjo1rePSByEkR6=8Bbfe2dK9g@mail.gmail.com> <DM2PR21MB00917F892A1331090F3EC6E78CEA0@DM2PR21MB0091.namprd21.prod.outlook.com> <CAAF6GDcHJC6ROe4Y3sCUzXJoERn3eC8_wmS10Zz2hBXRbmUTqg@mail.gmail.com> <DM2PR21MB0091C3CCC015ABFE1904EF008CEA0@DM2PR21MB0091.namprd21.prod.outlook.com> <CAAF6GDdh3_=N5=xSMiKxVzp0UzCm_vh6d_ZyC7ZfsDD651=_YQ@mail.gmail.com>
In-Reply-To: <CAAF6GDdh3_=N5=xSMiKxVzp0UzCm_vh6d_ZyC7ZfsDD651=_YQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: allcosts.net; dkim=none (message not signed) header.d=none; allcosts.net; dmarc=none action=none header.from=microsoft.com; 
x-originating-ip: [2001:4898:80e8:6::4ca]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM2PR21MB0091; 7:UnhgywGVvhWbbc6roXkZxgYTqmEVm+zV1GJgh06Llgw4M/h4Ns3E19MjU9GPLKPttCv1y7peKIXw0ELQWTHVD3T1Wt94B4Jt3SYbXyL9wCFPgM5gqKwZRwpSq9J+vvRiRu7R+WhPPUrgy+EBWlKo1yYyADzs/iCZL74eiGi/XR/3nH55TnT3YfCXKGJ5XHFhD28RkkGh7lDsDd9W1qkJgE9d2dUy8q8v9R+sOxyRwU55Q65aEDOvKRLtHgE1mR49lLTMTkxfLZwAMJ41rnhRveefZm5UE1Za32Bto8MJXtBIlUdL7ci1hfTmiSZeTnvLKLIKSisx75P5PGDGzdmpwCLfKyFmABtpcr6FxP+mCmM=
x-ms-office365-filtering-correlation-id: c61905b0-8dc5-44db-e0f0-08d4932035f1
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);  SRVR:DM2PR21MB0091; 
x-microsoft-antispam-prvs: <DM2PR21MB009122C9F595C9005C73DC808CEA0@DM2PR21MB0091.namprd21.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(192374486261705)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123555025)(20161123564025)(6072148); SRVR:DM2PR21MB0091; BCL:0; PCL:0; RULEID:; SRVR:DM2PR21MB0091; 
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39450400003)(39840400002)(39860400002)(39410400002)(39400400002)(39850400002)(24454002)(377454003)(6506006)(77096006)(6306002)(54896002)(6436002)(7736002)(55016002)(54906002)(8676002)(81166006)(99286003)(74316002)(3280700002)(122556002)(8936002)(189998001)(53936002)(93886004)(7110500001)(110136004)(19609705001)(229853002)(3660700001)(9686003)(4326008)(38730400002)(2900100001)(236005)(53546009)(25786009)(15650500001)(2420400007)(86362001)(33656002)(76176999)(50986999)(54356999)(7696004)(86612001)(5660300001)(478600001)(2906002)(10290500003)(10710500007)(6916009)(2950100002)(790700001)(102836003)(10090500001)(5005710100001)(6116002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR21MB0091; H:DM2PR21MB0091.namprd21.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DM2PR21MB0091A1AAF51428FBF96CECBD8CEA0DM2PR21MB0091namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2017 19:03:11.7381 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR21MB0091
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/PAJSaEDxYqSN8Ya0f4jjMG_x1I4>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 19:03:17 -0000

--_000_DM2PR21MB0091A1AAF51428FBF96CECBD8CEA0DM2PR21MB0091namp_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SW5kZWVkLCBhc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YnV0IHRoYXQncyBwb3NzaWJsZSBhbnl3YXkuJm5ic3A7PG86cD48L286cD48L3A+DQo8L2Rpdj4N
CjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCjwvZGl2
Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPk1heWJlIHlvdSdyZSB0aGlua2luZyBvZiBh
IHN0cmlrZSByZWdpc3RlciB0aGF0IHNoYXJlcyBhIGdsb2JhbCBuYW1lc3BhY2U/IFRoYXQgd291
bGQgYmUgYW4gaW1wbGVtZW50YXRpb24gZXJyb3I7IHRpY2tldHMgc2hvdWxkIGJlIHNjb3BlZCB0
byB0aGUgbG9jYXRpb24gdGhleSBhcmUgaXNzdWVkIGZyb20sIGFuZCBjaGVja2VkIGFnYWluc3Qg
aXRzIHN0cmlrZSByZWdpc3RlciAob3Igbm90IHVzZWQgYXQgYWxsKS4mbmJzcDs8bzpwPjwvbzpw
PjwvcD4NCjwvZGl2Pg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4m
bmJzcDs8L286cD48L3A+DQo8L2Rpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPi0tIDxvOnA+PC9v
OnA+PC9wPg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPkNvbG08bzpwPjwvbzpwPjwvcD4N
CjwvZGl2Pg0KPC9kaXY+DQo8L2Rpdj4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K

--_000_DM2PR21MB0091A1AAF51428FBF96CECBD8CEA0DM2PR21MB0091namp_--


From nobody Thu May  4 12:12:53 2017
Return-Path: <nygren@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E431E126D73 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 12:12:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.699
X-Spam-Level: 
X-Spam-Status: No, score=-1.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 OaQFcjYdrAow for <tls@ietfa.amsl.com>; Thu,  4 May 2017 12:12:50 -0700 (PDT)
Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::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 E6A7B12947B for <tls@ietf.org>; Thu,  4 May 2017 12:12:42 -0700 (PDT)
Received: by mail-qt0-x22a.google.com with SMTP id m91so18137145qte.3 for <tls@ietf.org>; Thu, 04 May 2017 12:12:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=eZQxW9/fLz0Bpo5D0LyMqqRPjuFsDcwK58y7mwaNrdk=; b=PCIwNxQoRsepugiXS6UtMbx6zkSKTXVJeSJHb/4ey2VnPZO87lS1F/l7ThuVoGyx03 MsV/eYoZbmeYttys4slcLdx8LolDxve27YDfSPnBROyKzzTBJfEfynmnBtADSmOxa8ts UpfAfgAWVkwGuGiRelKD8jxOBcpmDN0Xf6Y2rQr7fSc+R05L2vjfvSR+M1Hdfkke2uL9 LIflqHZ8r2ubX6hEU02YExDy0Y4klV6Gnt+AUJFB4SxrYXAczUvYKcRRMpiVT954ZAjP VaedX4WEnQ/7c1z3TvmPvKp/skLOk7P56JBHPYbNb09MJOuuraG9zS3xUf40zBBLSuPj 3t4A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=eZQxW9/fLz0Bpo5D0LyMqqRPjuFsDcwK58y7mwaNrdk=; b=fCoyMX07kwHrBdLZF8sWzj9h5Cqph8VWwdwYMRfA8CHFEJUq7S1co5oDC3GZY2cuLX ZFAnuXcGWtrrniypHnU/faDKD6TQTnCiNGoug0+EdxJZ4rluP5IG+xs/uAgXfGFgI4MY r8KzoMetMEevdVBnNnia5njMcfoaNo9aVjYNyOQAArwqx4hRYYr4guNRFiSTYOkTfM55 tvyooxkWug6CCtW70Z+jKwWcr/i3/UqYAn4K0xelFKxGL8231S6+DV5lHtDn+RtTxwh2 0ZrcQuelpYIeaaxqIFSEJPFoFiFGWTQwbFbYYqRGszems2yGeNru7IV4u6XHjBwqL70h kGbQ==
X-Gm-Message-State: AN3rC/4ZBx+CtYPpqL8wWDZJO0H+X9MRojCTpXTOX0uHBemQ4475887v XB2vmFjhldQ8/36IfvrVOj+x+wDsRsZB
X-Received: by 10.237.36.17 with SMTP id r17mr37165225qtc.44.1493925162125; Thu, 04 May 2017 12:12:42 -0700 (PDT)
MIME-Version: 1.0
Sender: nygren@gmail.com
Received: by 10.12.172.151 with HTTP; Thu, 4 May 2017 12:12:41 -0700 (PDT)
In-Reply-To: <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com>
From: Erik Nygren <erik+ietf@nygren.org>
Date: Thu, 4 May 2017 15:12:41 -0400
X-Google-Sender-Auth: RwRJPC3rUEzKLpA26DtrG6C4TzM
Message-ID: <CAKC-DJhYSCrsXQZS0SMB7ebSTYM49U+dv5iSXx5MSAv4pthabg@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>,  "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11405cbe9c11a1054eb78e55
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/krVdITvAhLbMOPYA8KDjBvyoklI>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 19:12:52 -0000

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

On Wed, May 3, 2017 at 11:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:

>
> 1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
> both session-cache and strike register styles and the merits of each.
>

I don't believe this is technically viable for the large-scale server
operators most interested in 0-RTT.  Having session ticket reuse across
clusters is a requirement for performance, especially in cases such as
moving load between clusters.  In the cross-cluster case, neither session
caches nor strike registers are possible in the time-frames that are
interesting and relevant to 0-RTT (as strong consistency between clusters
has inherent latency that isn't possible in the 0-RTT time-frames).

I fear having a "SHOULD" requirement here is one that will be widely
ignored.

Anything stateful here defeats the purpose of session tickets and is also
far too vulnerable to DDoS attacks to be useful, especially when trying to
scale up
to large clusters.

Many of the discussions I've been in seem to have concluded that we should
always be assuming that 0-RTT data can and will be replayed, and
applications
and application protocols need to design and use it carefully, accordingly.

Some of these mechanisms (timestamps, strike registers, etc)
are useful for servers protecting themselves from DDoS attacks
but aren't useful against an adversary trying to actively exploit replays.


4. I would add to this that we recommend that proxy/CDN implementations
> signal which data is 0-RTT and which is 1-RTT to the back-end (this was i=
n
> Colm's original message).
>

I'm not entirely sure what back-ends are going to do here.  By the time
they gain visibility into this it is too late.

As some of us have been saying for awhile, we need to assume that 0-RTT
data is replayable and require application protocols and clients
implementing those protocols to define when and when it is not safe to
use.  For example, if exporters from 0RTT are not safe to use, we should
make that super-clear that this is not a safe use of 0RTT.

In the HTTP case, Patrick McManus has pointed out that many
application-layer clients will retry/replay non-idempotent POST operations
regardless even over 1RTT (and if the app doesn't, the user will just click
reload).  The best defense against these classes of issues is for
end-to-end application semantics rather than trying to provide properties
at the session  layer.

        Erik




> On Tue, May 2, 2017 at 7:44 AM, Colm MacC=C3=A1rthaigh <colm@allcosts.net=
>
> wrote:
>
>> On Sunday at the TLS:DIV workshop I presented a summary of findings of a
>> security review we did on TLS1.3 0-RTT, as part of implementing 1.3 in s=
2n.
>> Thanks to feedback in the room I've now tightened up the findings from t=
he
>> review and posted them as an issue on the draft GitHub repo:
>>
>> https://github.com/tlswg/tls13-spec/issues/1001
>>
>> I'll summarize the summary: Naturally the focus was on forward secrecy
>> and replay. On forward secrecy the main finding was that it's not necess=
ary
>> to trade off Forward Secrecy and 0-RTT. A single-use session cache can
>> provide it, and with the modification that ekr has created in
>> https://github.com/tlswg/tls13-spec/pull/998 , such a cache works for
>> both pre-auth and post-auth tickets, and it allows clients to build up
>> pools of meaningfully distinct tickets.
>>
>> There's also an observation there that it should really be that clients
>> "MUST" use tickets only once. Any re-use likely discloses the obfuscated
>> ticket age, which is intended to be secret. Right now it's a "SHOULD".
>>
>> On replay, the main finding is that what's in the draft is not workably
>> secure, and the review includes 5 different attacks against 0-RTT data t=
o
>> illustrate that. Attacks 1 and 2 show that the kind of replay permitted =
by
>> the draft is very different from the kind of replay permitted by dkg's
>> existing downgrade-and-retry attack. I also go over why it very very
>> difficult to many applications to achieve that idempotency, and why one
>> idempotency pattern actually relies on non-replayable messages.
>>
>> Attack 3 shows that idempotency is not sufficient, applications must als=
o
>> be free of measurable side-effects, which is not practical.  Attack 4 sh=
ows
>> that 0-RTT breaks a common security mechanism: spoofing-resistant
>> throttles. Attack 5 shows that 0-RTT replay-ability enables an additiona=
l
>> form of traffic analysis.
>>
>> The recommendation in the review is that implementations "MUST" prevent
>> replays of 0-RTT section, with some additional discussion about why the
>> existing advice is unlikely to be followed, and why consistent
>> interoperability matters here.
>>
>> Unfortunately, I wasn't aware until Friday that this review would be
>> coming so late in the TLD1.3 draft process, and my apologies for that. I=
 am
>> now planning to attend the future WG in-person meetings and look forward=
 to
>> seeing many of you there.
>>
>> --
>> Colm
>>
>> _______________________________________________
>> TLS mailing list
>> TLS@ietf.org
>> https://www.ietf.org/mailman/listinfo/tls
>>
>>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, May 3, 2017 at 11:13 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a href=3D=
"mailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> wrote:<=
br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><br><=
div>1. A SHOULD-level requirement for server-side 0-RTT defense, explaining=
</div><div>both session-cache and strike register styles and the merits of =
each.</div></div></blockquote><div><br></div><div>I don&#39;t believe this =
is technically viable for the large-scale server operators most interested =
in 0-RTT.=C2=A0 Having session ticket reuse across clusters is a requiremen=
t for performance, especially in cases such as moving load between clusters=
.=C2=A0 In the cross-cluster case, neither session caches nor strike regist=
ers are possible in the time-frames that are interesting and relevant to 0-=
RTT (as strong consistency between clusters has inherent latency that isn&#=
39;t possible in the 0-RTT time-frames).<br></div><br><div>I fear having a =
&quot;SHOULD&quot; requirement here is one that will be widely ignored.<br>=
<br><div>Anything stateful here defeats the purpose of session tickets and =
is also<br></div><div>far too vulnerable to DDoS attacks to be useful, espe=
cially when trying to scale up<br></div>to large clusters.<br><br></div><di=
v>Many of the discussions I&#39;ve been in seem to have concluded that we s=
hould <br></div><div>always be assuming that 0-RTT data can and will be rep=
layed, and applications <br>and application protocols need to design and us=
e it carefully, accordingly.<br></div><div><br></div><div>Some of these mec=
hanisms (timestamps, strike registers, etc) <br>are useful for servers prot=
ecting themselves from DDoS attacks<br></div><div>but aren&#39;t useful aga=
inst an adversary trying to actively exploit replays.<br></div><div>=C2=A0<=
/div><br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=3D"gm=
ail_extra"><div>4. I would add to this that we recommend that proxy/CDN imp=
lementations</div><div>signal which data is 0-RTT and which is 1-RTT to the=
 back-end (this was in</div><div>Colm&#39;s original message).</div></div><=
/blockquote><div><br></div><div>I&#39;m not entirely sure what back-ends ar=
e going to do here.=C2=A0 By the time they gain visibility into this it is =
too late.<br></div><div>=C2=A0</div><div>As some of us have been saying for=
 awhile, we need to assume that 0-RTT data is replayable and require applic=
ation protocols and clients implementing those protocols to define when and=
 when it is not safe to use.=C2=A0 For example, if exporters from 0RTT are =
not safe to use, we should make that super-clear that this is not a safe us=
e of 0RTT.<br></div><div><br></div><div>In the HTTP case, Patrick McManus h=
as pointed out that many application-layer clients will retry/replay non-id=
empotent POST operations regardless even over 1RTT (and if the app doesn&#3=
9;t, the user will just click reload).=C2=A0 The best defense against these=
 classes of issues is for end-to-end application semantics rather than tryi=
ng to provide properties at the session=C2=A0 layer.<br><br></div><div>=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Erik<br></div><div><br></div><div><=
br>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0p=
x 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=
=3D"gmail_extra"><div class=3D"gmail_quote"><div><div class=3D"gmail-h5">On=
 Tue, May 2, 2017 at 7:44 AM, Colm MacC=C3=A1rthaigh <span dir=3D"ltr">&lt;=
<a href=3D"mailto:colm@allcosts.net" target=3D"_blank">colm@allcosts.net</a=
>&gt;</span> wrote:<br></div></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><div><div class=3D"gmail-h5"><div dir=3D"ltr">On Sunday at the T=
LS:DIV workshop I presented a summary of findings of a security review we d=
id on TLS1.3 0-RTT, as part of implementing 1.3 in s2n. Thanks to feedback =
in the room I&#39;ve now tightened up the findings from the review and post=
ed them as an issue on the draft GitHub repo:<div><br></div><div><a href=3D=
"https://github.com/tlswg/tls13-spec/issues/1001" target=3D"_blank">https:/=
/github.com/tlswg/tls13<wbr>-spec/issues/1001</a><br></div><div><br></div><=
div>I&#39;ll summarize the summary: Naturally the focus was on forward secr=
ecy and replay. On forward secrecy the main finding was that it&#39;s not n=
ecessary to trade off Forward Secrecy and 0-RTT. A single-use session cache=
 can provide it, and with the modification that ekr has created in=C2=A0<a =
href=3D"https://github.com/tlswg/tls13-spec/pull/998" target=3D"_blank">htt=
ps://github.com/tlswg/tl<wbr>s13-spec/pull/998</a> , such a cache works for=
 both pre-auth and post-auth tickets, and it allows clients to build up poo=
ls of meaningfully distinct tickets.</div><div><br></div><div>There&#39;s a=
lso an observation there that it should really be that clients &quot;MUST&q=
uot; use tickets only once. Any re-use likely discloses the obfuscated tick=
et age, which is intended to be secret. Right now it&#39;s a &quot;SHOULD&q=
uot;.=C2=A0</div><div><br></div><div>On replay, the main finding is that wh=
at&#39;s in the draft is not workably secure, and the review includes 5 dif=
ferent attacks against 0-RTT data to illustrate that. Attacks 1 and 2 show =
that the kind of replay permitted by the draft is very different from the k=
ind of replay permitted by dkg&#39;s existing downgrade-and-retry attack. I=
 also go over why it very very difficult to many applications to achieve th=
at idempotency, and why one idempotency pattern actually relies on non-repl=
ayable messages.=C2=A0</div><div><br></div><div>Attack 3 shows that idempot=
ency is not sufficient, applications must also be free of measurable side-e=
ffects, which is not practical.=C2=A0 Attack 4 shows that 0-RTT breaks a co=
mmon security mechanism: spoofing-resistant throttles. Attack 5 shows that =
0-RTT replay-ability enables an additional form of traffic analysis.=C2=A0<=
/div><div><br></div><div>The recommendation in the review is that implement=
ations &quot;MUST&quot; prevent replays of 0-RTT section, with some additio=
nal discussion about why the existing advice is unlikely to be followed, an=
d why consistent interoperability matters here.=C2=A0</div><div><br></div><=
div>Unfortunately, I wasn&#39;t aware until Friday that this review would b=
e coming so late in the TLD1.3 draft process, and my apologies for that. I =
am now planning to attend the future WG in-person meetings and look forward=
 to seeing many of you there.=C2=A0</div><span class=3D"gmail-m_16057339413=
45309149HOEnZb"><font color=3D"#888888"><div><div><div><br></div>-- <br><di=
v class=3D"gmail-m_1605733941345309149m_7306152499528679592gmail-m_-6222212=
06948237266gmail_signature">Colm</div>
</div></div></font></span></div>
<br></div></div><span class=3D"gmail-">______________________________<wbr>_=
________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/tls</a><br>
<br></span></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br></blockquote></div><br></div></div>

--001a11405cbe9c11a1054eb78e55--


From nobody Thu May  4 12:40:04 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51A74129B19 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 12:40:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.401
X-Spam-Level: 
X-Spam-Status: No, score=-2.401 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 apqVus7EP5pp for <tls@ietfa.amsl.com>; Thu,  4 May 2017 12:39:58 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0C272126B7F for <tls@ietf.org>; Thu,  4 May 2017 12:39:58 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id AF56BA004921; Thu,  4 May 2017 12:39:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=c3DqVJd7hzo7rf ZzQ0tP32je9q4=; b=QAmuKFBIV/M4j7+y4QlRR3pUb6KAdb2GptB7e82vju5VZU hyfS47rfG3tFTtHW41RTkJd6bEP0j9qYQG6GVMpnDhG41Y9Q/dP0Dv1bJQIPiR6u TJUizqM3idyNBaVZGlEiqaHzqZSGGGXNbyFiRBFX56916vwb5bdJm1LoYqfRc=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPSA id 3E7B7A004920; Thu,  4 May 2017 12:39:57 -0700 (PDT)
Date: Thu, 4 May 2017 14:39:54 -0500
From: Nico Williams <nico@cryptonector.com>
To: Erik Nygren <erik+ietf@nygren.org>
Cc: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170504193953.GU10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAKC-DJhYSCrsXQZS0SMB7ebSTYM49U+dv5iSXx5MSAv4pthabg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAKC-DJhYSCrsXQZS0SMB7ebSTYM49U+dv5iSXx5MSAv4pthabg@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/HrQVXFj7M7L4RpJpgTfmpLRJLPw>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 19:40:02 -0000

On Thu, May 04, 2017 at 03:12:41PM -0400, Erik Nygren wrote:
> On Wed, May 3, 2017 at 11:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> > 1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
> > both session-cache and strike register styles and the merits of each.

The SHOULD should say that the server-side needs to apply a replay cache
OR fallback onto a full exchange when the 0-rtt data payload involves a
non-idempotent operation.

> I don't believe this is technically viable for the large-scale server
> operators most interested in 0-RTT.  Having session ticket reuse across
> clusters is a requirement for performance, especially in cases such as
> moving load between clusters.  In the cross-cluster case, neither session
> caches nor strike registers are possible in the time-frames that are
> interesting and relevant to 0-RTT (as strong consistency between clusters
> has inherent latency that isn't possible in the 0-RTT time-frames).

Making the SHOULD be about non-idempotent 0-rtt payloads is sufficient.

That is, if you're GETting something and the server correctly makes GET
idempotent, then you can accept 0-rtt without any replay cache checking.

A POST, on the other hand, should get the fallback-to-full-handshake
treatment.  (And, indeed, the application should not even bother with a
0-rtt POST.)

> I fear having a "SHOULD" requirement here is one that will be widely
> ignored.

It should not be ignored as to non-idempotent operations though!

> Anything stateful here defeats the purpose of session tickets [...]

Right.

> Many of the discussions I've been in seem to have concluded that we
> should always be assuming that 0-RTT data can and will be replayed,
> and applications and application protocols need to design and use it
> carefully, accordingly.

Correct.  See the above text about idempotency.

Nico
-- 


From nobody Thu May  4 12:44:12 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D385128C83 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 12:44:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.802
X-Spam-Level: 
X-Spam-Status: No, score=-0.802 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 Ywo-cYgs-4fh for <tls@ietfa.amsl.com>; Thu,  4 May 2017 12:44:08 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (prod-mail-xrelay06.akamai.com [96.6.114.98]) by ietfa.amsl.com (Postfix) with ESMTP id C71ED1294CD for <tls@ietf.org>; Thu,  4 May 2017 12:44:08 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 8088A496C3D; Thu,  4 May 2017 19:44:07 +0000 (GMT)
Received: from prod-mail-relay09.akamai.com (prod-mail-relay09.akamai.com [172.27.22.68]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id 60AD0496C1D; Thu,  4 May 2017 19:44:07 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1493927047; bh=gaZZt3zAgpNT64ofrB9pcNMbO16OydigWYxIvQXYgiA=; l=3376; h=To:References:Cc:From:Date:In-Reply-To:From; b=IgkArkoZePI5cT+gwKylFnYtJiKETqnOgAI/+7G3xti6ckUS5dCjemVG47WhTt9NL YiTIsFYTZwJVvacCW6X8hK+xtqWObqSjLeQhPxDY584cwEPjYUB/8/PxLVfVHqM3fR Fye5VLVxYD4ex4DpWG9+6ZBu+1flcgdpuVxwu6sU=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay09.akamai.com (Postfix) with ESMTP id A232F1E103; Thu,  4 May 2017 19:44:06 +0000 (GMT)
To: Nico Williams <nico@cryptonector.com>, Erik Nygren <erik+ietf@nygren.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAKC-DJhYSCrsXQZS0SMB7ebSTYM49U+dv5iSXx5MSAv4pthabg@mail.gmail.com> <20170504193953.GU10188@localhost>
Cc: "tls@ietf.org" <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <1fdbaf5f-e425-2c8a-04a1-ac6dae8daa59@akamai.com>
Date: Thu, 4 May 2017 14:44:06 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170504193953.GU10188@localhost>
Content-Type: multipart/alternative; boundary="------------1D0E1C8D501B80B56FB84865"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/xY6Q-gRHfkMRDMxk1bA43Xj9U5s>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 19:44:10 -0000

This is a multi-part message in MIME format.
--------------1D0E1C8D501B80B56FB84865
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

On 05/04/2017 02:39 PM, Nico Williams wrote:
> On Thu, May 04, 2017 at 03:12:41PM -0400, Erik Nygren wrote:
>> On Wed, May 3, 2017 at 11:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>>> 1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
>>> both session-cache and strike register styles and the merits of each.
> The SHOULD should say that the server-side needs to apply a replay cache
> OR fallback onto a full exchange when the 0-rtt data payload involves a
> non-idempotent operation.

You seem confused on this key point.  The server commits to accepting or
rejecting *all* early data, *before* it can look inside and see what it
is (in particular, whether or not it is idempotent).

>
>> Many of the discussions I've been in seem to have concluded that we
>> should always be assuming that 0-RTT data can and will be replayed,
>> and applications and application protocols need to design and use it
>> carefully, accordingly.
> Correct.  See the above text about idempotency.
>
>

Which is why we (try to) make such a big deal about having an
application profile -- to write down what is actually idempotent.

-Ben

--------------1D0E1C8D501B80B56FB84865
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/04/2017 02:39 PM, Nico Williams wrote:<br>
    <blockquote cite="mid:20170504193953.GU10188@localhost" type="cite">
      <pre wrap="">On Thu, May 04, 2017 at 03:12:41PM -0400, Erik Nygren wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On Wed, May 3, 2017 at 11:13 PM, Eric Rescorla <a class="moz-txt-link-rfc2396E" href="mailto:ekr@rtfm.com">&lt;ekr@rtfm.com&gt;</a> wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
both session-cache and strike register styles and the merits of each.
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">
The SHOULD should say that the server-side needs to apply a replay cache
OR fallback onto a full exchange when the 0-rtt data payload involves a
non-idempotent operation.
</pre>
    </blockquote>
    <br>
    You seem confused on this key point.  The server commits to
    accepting or rejecting *all* early data, *before* it can look inside
    and see what it is (in particular, whether or not it is idempotent).<br>
    <br>
    <blockquote cite="mid:20170504193953.GU10188@localhost" type="cite">
      <pre wrap="">
</pre>
      <br>
      <blockquote type="cite">
        <pre wrap="">Many of the discussions I've been in seem to have concluded that we
should always be assuming that 0-RTT data can and will be replayed,
and applications and application protocols need to design and use it
carefully, accordingly.
</pre>
      </blockquote>
      <pre wrap="">
Correct.  See the above text about idempotency.


</pre>
    </blockquote>
    <br>
    Which is why we (try to) make such a big deal about having an
    application profile -- to write down what is actually idempotent.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------1D0E1C8D501B80B56FB84865--


From nobody Thu May  4 12:49:30 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2C34C129A8E for <tls@ietfa.amsl.com>; Thu,  4 May 2017 12:49:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.401
X-Spam-Level: 
X-Spam-Status: No, score=-2.401 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 emrs02iY7m2O for <tls@ietfa.amsl.com>; Thu,  4 May 2017 12:49:27 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9A09F129B19 for <tls@ietf.org>; Thu,  4 May 2017 12:49:23 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id 42A94A00491B; Thu,  4 May 2017 12:49:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=pE2E6hurBdNMLp rMTm5mdcNMVIM=; b=OEPwWpNMDeLzQlsraXxXkohrpFerkxoe4XIyznlwX8HI9p 6C6ikfWRn4hLgm/gcNw9GtLhEjM/iAwnBt/O33b6YSYfS+lGTG01mLLT8qKvK7/P mkFQQx+s+cVA8Pb8LWKbOp5Ac3VMvHjkmbUbb90IGOilJDoH8uxeG3Rrn5MVw=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPSA id E084CA00491C; Thu,  4 May 2017 12:49:22 -0700 (PDT)
Date: Thu, 4 May 2017 14:49:20 -0500
From: Nico Williams <nico@cryptonector.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Erik Nygren <erik+ietf@nygren.org>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170504194919.GV10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAKC-DJhYSCrsXQZS0SMB7ebSTYM49U+dv5iSXx5MSAv4pthabg@mail.gmail.com> <20170504193953.GU10188@localhost> <1fdbaf5f-e425-2c8a-04a1-ac6dae8daa59@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1fdbaf5f-e425-2c8a-04a1-ac6dae8daa59@akamai.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/fG2kCBJKdnQCR61kUJnxEvXzKRM>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 19:49:29 -0000

On Thu, May 04, 2017 at 02:44:06PM -0500, Benjamin Kaduk wrote:
> On 05/04/2017 02:39 PM, Nico Williams wrote:
> > On Thu, May 04, 2017 at 03:12:41PM -0400, Erik Nygren wrote:
> >> On Wed, May 3, 2017 at 11:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> >>> 1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
> >>> both session-cache and strike register styles and the merits of each.
> > The SHOULD should say that the server-side needs to apply a replay cache
> > OR fallback onto a full exchange when the 0-rtt data payload involves a
> > non-idempotent operation.
> 
> You seem confused on this key point.  The server commits to accepting or
> rejecting *all* early data, *before* it can look inside and see what it
> is (in particular, whether or not it is idempotent).

Sure, that's fine.  You could run an HTTP server that only accepts
HEADs, GETs, maybe DELETEs, and accepts 0-rtt and have the client send
all POSTs and such to a different HTTP server.

> > [...]
> 
> Which is why we (try to) make such a big deal about having an
> application profile -- to write down what is actually idempotent.

It's one good reason, but we were doing that ages ago, before 0-rtt was
ever proposed.  (Well, Kerberos has a 0-rtt scheme, with very little
guidance on this point...)

Nico
-- 


From nobody Thu May  4 13:01:09 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C62D1294CD for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:01:08 -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, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 nxENPEGFu1rf for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:01:06 -0700 (PDT)
Received: from welho-filter4.welho.com (welho-filter4.welho.com [83.102.41.26]) by ietfa.amsl.com (Postfix) with ESMTP id 1ABF81294E0 for <tls@ietf.org>; Thu,  4 May 2017 13:01:06 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id 7FEF5214FF; Thu,  4 May 2017 23:01:04 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id DuGKM5IGesyb; Thu,  4 May 2017 23:01:03 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 5604EC4; Thu,  4 May 2017 23:01:03 +0300 (EEST)
Date: Thu, 4 May 2017 23:01:02 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Erik Nygren <erik+ietf@nygren.org>
Cc: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170504200102.GA8268@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAKC-DJhYSCrsXQZS0SMB7ebSTYM49U+dv5iSXx5MSAv4pthabg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAKC-DJhYSCrsXQZS0SMB7ebSTYM49U+dv5iSXx5MSAv4pthabg@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/8SO9htxNXfdKBN2i-5gTIE5llwc>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 20:01:08 -0000

On Thu, May 04, 2017 at 03:12:41PM -0400, Erik Nygren wrote:
> On Wed, May 3, 2017 at 11:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> 
> >
> > 1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
> > both session-cache and strike register styles and the merits of each.
> >

> Many of the discussions I've been in seem to have concluded that we should
> always be assuming that 0-RTT data can and will be replayed, and
> applications
> and application protocols need to design and use it carefully, accordingly.

The problem is, the amount of replays is so great even non-idempotency
that is normally of no consequence becomes a major problem. It isn't one
or two or three replays, it could be _millions_ of replays.

Almost nothing is idempotent enough, unless extremely carefully designed,
and very few things are.

There are loads of GET endpoints there that don't have any wild non-
idempotent behaviour, but still aren't idempotent enough.




-Ilari


From nobody Thu May  4 13:10:15 2017
Return-Path: <kathleen.moriarty.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C32E7129A8E for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:10:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 xwQNjxAMbeTZ for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:10:13 -0700 (PDT)
Received: from mail-pg0-x22a.google.com (mail-pg0-x22a.google.com [IPv6:2607:f8b0:400e:c05::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 ECCB8129687 for <tls@ietf.org>; Thu,  4 May 2017 13:10:11 -0700 (PDT)
Received: by mail-pg0-x22a.google.com with SMTP id q4so6211007pga.3 for <tls@ietf.org>; Thu, 04 May 2017 13:10:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7pr8r9bHH2z/KBLnyE7T4a0+pvEden0hTeAEY9q1BL4=; b=ipg6xh8JZdmeqGT8dF5lVGtfMrqhr/5iLedQUXwV103CM4dISbjOlJSCE4kkO3ED3K h8Lx156342KJYQUh15kva1HT3G5JxbKhwQrRl4IZc511ndvKLuuSjilkeSQw5RqMVwlD ZYFLFN2sZVg3r3RbrwWIPM9CUl1ZD2zYGWjgiPUzgoVhHa95ddQ6vnwAsAHYoMBVfNy1 E5mRxRJqSu0RNgwBTdUHraFlIUQqvLNydyqEgA9Bav6AdNPDUN5QO5QcCRXuD/SCpY42 3TZhAgP3xvOmPBr3MIb8Px4flyS0lDcs/UtlVn92mkKMk06vE+rQC/OgsoDBp/fIoeLg V/dA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=7pr8r9bHH2z/KBLnyE7T4a0+pvEden0hTeAEY9q1BL4=; b=GsuCyKinUEFo/m36ElfH3O3A44nxXS0BjIt4Bw6DfCVfKslq6peaoSLsfcV2ONJh0Y 4sKc1QGK7PSBu98gfXolt9cU9lT2bdvtqaxcKy0EbcgauuCvH2VbgduFdwBc9UaKNyQQ 7iwRdeLg6Tn7gWwdFq/w6AXgVxLlCBF+6PWM+5A6tsR1K+Eem/PUH79ygklH9EKyDltQ jZbcIEXc9Z0Vh0QKHuQ1OUT73CURUXPwVreFzmi8+PB1GI5Eph+VPo1dOQUmIScyTIy6 BigF0EABV27a1gmpn/+jZebexNRXAiugSv2m5lF8VJrcMjnNEgejtCwY/uUwUy25+2zb Yuew==
X-Gm-Message-State: AN3rC/4k9vvhetNKVAvkmd3BmYoAL2o65/2O6nohbhe8R6vpfhcWCkuJ dDwWoRoEt04z3OMl/W5CHV5Mvsckqg==
X-Received: by 10.84.241.133 with SMTP id b5mr4890948pll.107.1493928611400; Thu, 04 May 2017 13:10:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.185.143 with HTTP; Thu, 4 May 2017 13:09:30 -0700 (PDT)
In-Reply-To: <73E0FBFC-34E4-4897-BE04-CD51728FE9BF@gmail.com>
References: <F7262846-0E93-4780-B051-8DB1253ADCE5@sn3rd.com> <4372384.YAPbqjqF3g@pintsize.usersys.redhat.com> <04081892-66A1-4459-875D-0C147A5826F0@gmail.com> <73E0FBFC-34E4-4897-BE04-CD51728FE9BF@gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Date: Thu, 4 May 2017 16:09:30 -0400
Message-ID: <CAHbuEH5zXt-sNeHrqh7MFev9bjRpNWefuZ18um-SFD7EAxTFUw@mail.gmail.com>
To: Yoav Nir <ynir.ietf@gmail.com>
Cc: Hubert Kario <hkario@redhat.com>, "<tls@ietf.org>" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/9KeF4GD46Bo2dE6evS-qmBu52Lw>
Subject: Re: [TLS] WG review of draft-ietf-tls-rfc4492bis
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 20:10:15 -0000

Yoav,

On Thu, May 4, 2017 at 1:59 PM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>
> On 4 May 2017, at 16:09, Kathleen Moriarty
> <kathleen.moriarty.ietf@gmail.com> wrote:
>
> I haven't approved it yet as I noticed there was no response (that I saw)=
 to
> Alexey's comment and no change in the draft as a result of his comments.
>
>
>
> You mean these comments?
> https://mailarchive.ietf.org/arch/msg/tls/MFs8aGEZsr-1P7o4_CB-VjxXRg0
>
> I=E2=80=99ll quote them here:
>
> 0) There is some general awkwardness in text talking about allowed points
> formats, considering that only uncompressed form is now allowed. I don't
> have recommendations about improving text, other than the following:
>
> If no future formats are expected, it feels almost better to recommend
> against inclusion of the Point formats extension, as lack of it means
> uncompressed format anyway.
>
> So this was addressed in draft -16:
>
> OLD:
>
>       Implementations of this document MUST support the
>    uncompressed format for all of their supported curves, and MUST NOT
>    support other formats for curves defined in this specification.  For
>    backwards compatibility purposes, the point format list extension
>    MUST still be included, and contain exactly one value: the
>    uncompressed point format (0).
>
>
> NEW:
>
>       Implementations of this document MUST support the
>    uncompressed format for all of their supported curves, and MUST NOT
>    support other formats for curves defined in this specification.  For
>    backwards compatibility purposes, the point format list extension MAY
>    still be included, and contain exactly one value: the uncompressed
>    point format (0).  RFC 4492 specified that if this extension is
>    missing, it means that only the uncompressed point format is
>    supported, so interoperability with implementations that support the
>    uncompressed format should work with or without the extension.
>
>
>
> 1) In Section 2.3, last paragraph: Does this paragraph apply only to 2.3
> or does it also apply to 2.1 and 2.2? If the latter, then it needs to be
> moved to section 2.
>
>
> The content of the last paragraph was moved to a new section:
>
> 2.4.  Algorithms in Certificate Chains
>
>    This specification does not impose restrictions on signature schemes
>    used anywhere in the certificate chain.  The previous version of this
>    document required the signatures to match, but this restriction,
>    originating in previous TLS versions is lifted here as it had been in
>    RFC 5246.
>
>
>
> 2) In Section 6:
>
>    Server implementations SHOULD support all of the following cipher
>    suites, and client implementations SHOULD support at least one of
>    them:
>
>    o  TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
>    o  TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
>    o  TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
>    o  TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
>
> GCM ciphers are not listed in the table earlier in the same section. They
> are defined in RFC 5289. This document doesn't have any reference to RFC
> 5289 and GCM ciphers are not discussed anywhere else in the document.
>
>
> Seems like I missed this one.

Thanks, let me know when the update is ready.

>
> Yoav
>
>



--=20

Best regards,
Kathleen


From nobody Thu May  4 13:11:59 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 185BF126C3D for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:11:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.3
X-Spam-Level: 
X-Spam-Status: No, score=-4.3 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 PvYneebG1vNA for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:11:56 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 435C0129502 for <tls@ietf.org>; Thu,  4 May 2017 13:11:56 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id D3D28A00491D; Thu,  4 May 2017 13:11:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=I4ZZ7IhC95T31r QGyzIN69QtoE8=; b=fCJHrtKXJyP8A28LryKZtBvsmsDNh+74hFj+RrMHroosF6 5giZFrE9Gdw9vDfX3JD+O1qo/EtJ+uiQabdLYuQ65v94Cc58m4FzlSZXMJv/g7aH 2NAwYyV1qNWSFaKpbdvEiiML5+wmG2qyECtMEKTMCsl7ahiLoFQs+QPXfNETY=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPSA id 709C6A00491C; Thu,  4 May 2017 13:11:55 -0700 (PDT)
Date: Thu, 4 May 2017 15:11:52 -0500
From: Nico Williams <nico@cryptonector.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: Erik Nygren <erik+ietf@nygren.org>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170504201152.GW10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAKC-DJhYSCrsXQZS0SMB7ebSTYM49U+dv5iSXx5MSAv4pthabg@mail.gmail.com> <20170504200102.GA8268@LK-Perkele-V2.elisa-laajakaista.fi>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20170504200102.GA8268@LK-Perkele-V2.elisa-laajakaista.fi>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/rrxaKGqvTbrWWGb4b5xSa-syXIw>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 20:11:57 -0000

On Thu, May 04, 2017 at 11:01:02PM +0300, Ilari Liusvaara wrote:
> On Thu, May 04, 2017 at 03:12:41PM -0400, Erik Nygren wrote:
> > On Wed, May 3, 2017 at 11:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> > > 1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
> > > both session-cache and strike register styles and the merits of each.
> 
> > Many of the discussions I've been in seem to have concluded that we should
> > always be assuming that 0-RTT data can and will be replayed, and
> > applications and application protocols need to design and use it
> > carefully, accordingly.
> 
> The problem is, the amount of replays is so great even non-idempotency
> that is normally of no consequence becomes a major problem. It isn't one
> or two or three replays, it could be _millions_ of replays.

Adaptive fallback to full handshakes.

> Almost nothing is idempotent enough, unless extremely carefully designed,
> and very few things are.

GETs of static data are.

> There are loads of GET endpoints there that don't have any wild non-
> idempotent behaviour, but still aren't idempotent enough.

Yes, this is true.  But the idea is that one should not enable 0-rtt for
servers that have such behavior.

Nico
-- 


From nobody Thu May  4 13:14:13 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8949D129687 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:14:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.401
X-Spam-Level: 
X-Spam-Status: No, score=-2.401 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 3wEFl9yE7W6x for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:14:10 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 17F361292F4 for <tls@ietf.org>; Thu,  4 May 2017 13:14:10 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id BFEC5A00491D; Thu,  4 May 2017 13:14:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=XisJPIL6m/xzuK Yw76dwSpGyt6Q=; b=Rr8KmpmF/fIvh+yGePjXqrw6F1/DDp/aIeuEFEWDRWMsQ4 52tLWNoqNllT2buYw8GZ7jOANN+15NDLuHWYGR5LjqnkkkQC2+lD6ZRgmutYUOnL egESTS1OLdm/RfjfC5KYbSRRLQoA7IsC/E9NSiDsBOBzeICgSDBAqQJYpo8U0=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPSA id 57FFFA00491B; Thu,  4 May 2017 13:14:09 -0700 (PDT)
Date: Thu, 4 May 2017 15:14:06 -0500
From: Nico Williams <nico@cryptonector.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Erik Nygren <erik+ietf@nygren.org>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170504201406.GX10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAKC-DJhYSCrsXQZS0SMB7ebSTYM49U+dv5iSXx5MSAv4pthabg@mail.gmail.com> <20170504193953.GU10188@localhost> <1fdbaf5f-e425-2c8a-04a1-ac6dae8daa59@akamai.com> <20170504194919.GV10188@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20170504194919.GV10188@localhost>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ePWjHpP9f9NExL1VBO2jw0RQf6o>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 20:14:12 -0000

On Thu, May 04, 2017 at 02:49:20PM -0500, Nico Williams wrote:
> On Thu, May 04, 2017 at 02:44:06PM -0500, Benjamin Kaduk wrote:
> > On 05/04/2017 02:39 PM, Nico Williams wrote:
> > > The SHOULD should say that the server-side needs to apply a replay cache
> > > OR fallback onto a full exchange when the 0-rtt data payload involves a
> > > non-idempotent operation.
> > 
> > You seem confused on this key point.  The server commits to accepting or
> > rejecting *all* early data, *before* it can look inside and see what it
> > is (in particular, whether or not it is idempotent).
> 
> Sure, that's fine.  You could run an HTTP server that only accepts
> HEADs, GETs, maybe DELETEs, and accepts 0-rtt and have the client send
> all POSTs and such to a different HTTP server.

Also, a server could accept all sorts of 0-rtt data and at the
application-layer cause extra round-trips and force the client to
re-request.  Not all existing application protocols will support that,
naturally.  For HTTP... maybe a redirect?

Nico
-- 


From nobody Thu May  4 13:21:50 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 354E7129789 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:21:48 -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=allcosts-net.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 w34Pt-jsJ-iR for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:21:47 -0700 (PDT)
Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (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 4686E129B70 for <tls@ietf.org>; Thu,  4 May 2017 13:21:44 -0700 (PDT)
Received: by mail-yw0-x229.google.com with SMTP id l18so12403777ywh.3 for <tls@ietf.org>; Thu, 04 May 2017 13:21:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=M5QDYnwAD2hUuEBPBTLxA4r2xT6jIPSl/2vYF14Lcr0=; b=2LjW6BpMofoVezCFOqbwmfnUZAUufwyG4gGsQoTc/7MwdUl3QssxN+zWMkCG6P/8TO 4iynQyiLAvblzhDT0womoNR4/sZP7Bn7nmG0B3l5LRMAoyLwVzmsHIDeCqKy6QKppGRO BiSuwayxP1QIcXvxkTJ4+HWo0+aQvTRezVMQvXAvzEVYRzVrjHez+Q91ut77yS1um/JS O8QY5tHDO9Wj7lkBicYAYU3I2ygpE03E2xKxYH11jRPOTdccB0wOH0gq/7odhT4FNTQq zBF2+71YyJ4AluEFWAyinnZzXaP9KXqxISscOVbQQ6doBh31/r0B+izJCnyqKYIffKxX mNhA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=M5QDYnwAD2hUuEBPBTLxA4r2xT6jIPSl/2vYF14Lcr0=; b=hMQ9ZsG/zIddyrB97h/CmajQc1JLHKuM927vyPKXULkxYY9I5LGDgayitgd+hq4HyK 5v/+sC6Ss7HhK4D0m0IK9HwrRUEtkSkjqZCEFXpgv7GXQLGHHNzohDD1qru6tgGpB4vp yaLI0Dl1rfOKJu5mRoGeax4r6ZqzAHhvO/pldflzk9Vip33zA49fZE5ByJn7bbZNvHT0 Lk2h5EhivTSlabRksB4qJYxT7hV5RYRHgr0scwLf1Ixj50yksRGT0CBLurhRoUMMi+BK 7Hyr2OM+8cGZnufYT+tPOEWuOsURKphjpOO42jXfaE8Kc8Z+vdn8F1HiAi20jB8viToy DLAw==
X-Gm-Message-State: AN3rC/5EmfmDZ5Kniee3HNZ0UypdLoR9FnVjAc60KEh8FSO3UfsbgY/G 1VJp6TeXzkbko7EevhxktMhht1KD+w==
X-Received: by 10.129.157.142 with SMTP id u136mr8008067ywg.323.1493929303554;  Thu, 04 May 2017 13:21:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Thu, 4 May 2017 13:21:43 -0700 (PDT)
In-Reply-To: <20170504193953.GU10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAKC-DJhYSCrsXQZS0SMB7ebSTYM49U+dv5iSXx5MSAv4pthabg@mail.gmail.com> <20170504193953.GU10188@localhost>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Thu, 4 May 2017 13:21:43 -0700
Message-ID: <CAAF6GDcH8q0MwA2bzFjGkRBDD3qV=LWWQPpLF=oHBXn0k1kWpg@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: Erik Nygren <erik+ietf@nygren.org>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c0b68aa7565c8054eb88549
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/yFiVxWujw-DOgel1OpafjwtzzzU>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 20:21:48 -0000

--94eb2c0b68aa7565c8054eb88549
Content-Type: text/plain; charset=UTF-8

On Thu, May 4, 2017 at 12:39 PM, Nico Williams <nico@cryptonector.com>
wrote:

> The SHOULD should say that the server-side needs to apply a replay cache
> OR fallback onto a full exchange when the 0-rtt data payload involves a
> non-idempotent operation.
>

I don't mean to be dismissive with this but TLS stands for "Transport Layer
Security". The transport layer just isn't aware of what the operations are,
and whether then can be idempotent (99% of the time, the answer is "no").
Only the application can tell, but this violation of layers is what leads
to so many problems. I don't think it's workable.


-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, May 4, 2017 at 12:39 PM, Nico Williams <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:nico@cryptonector.com" target=3D"_blank">nico@cryptonector.=
com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The SHOULD shou=
ld say that the server-side needs to apply a replay cache<br>
OR fallback onto a full exchange when the 0-rtt data payload involves a<br>
non-idempotent operation.<br></blockquote><div><br></div><div>I don&#39;t m=
ean to be dismissive with this but TLS stands for &quot;Transport Layer Sec=
urity&quot;. The transport layer just isn&#39;t aware of what the operation=
s are, and whether then can be idempotent (99% of the time, the answer is &=
quot;no&quot;). Only the application can tell, but this violation of layers=
 is what leads to so many problems. I don&#39;t think it&#39;s workable.=C2=
=A0</div><div><br></div></div><div><br></div>-- <br><div class=3D"gmail_sig=
nature" data-smartmail=3D"gmail_signature">Colm</div>
</div></div>

--94eb2c0b68aa7565c8054eb88549--


From nobody Thu May  4 13:24:36 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6D7F6126E64 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:24:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 EqNVv-lxSK6Y for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:24:32 -0700 (PDT)
Received: from mail-yb0-x230.google.com (mail-yb0-x230.google.com [IPv6:2607:f8b0:4002:c09::230]) (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 B87E6126BF0 for <tls@ietf.org>; Thu,  4 May 2017 13:24:32 -0700 (PDT)
Received: by mail-yb0-x230.google.com with SMTP id j17so6472961ybj.0 for <tls@ietf.org>; Thu, 04 May 2017 13:24:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JdbXZ+ThKPEX41Eob92wCgRKk6gg/6a5Wuzg+v58hWk=; b=T+pz2GMI4UQtmZh3zROrq1mAwVHEa4Xx3yx7YVg8EEqF41DUQ1ZeCUAES2vt7A4VXJ c5GK90aGZGCmN+SXsy5pi/akxm9krhCgtqqg8CU1r4WeZeDRkiqnL9FSHr9/oJdjJr6p Gx72gwnWuoDVKFVUtWC1nF0oNIzLCabFMq5y+4OxSmNYFR+BD31ZTM4F5+yG6OMwAF4C OE8cBRAbRC2c3rc725vRD3IQBwSUvJ6p8cD7ohwpN7lTZ+maFcEotXNkvAppSp+nSaML 6C0zGj1DpwCnDhFMhFczJDbW9GtgN534VSHsV3nuHZEJTRUm0Z/xiujREo7TrMaUrxUo W52w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JdbXZ+ThKPEX41Eob92wCgRKk6gg/6a5Wuzg+v58hWk=; b=DL6UbU3sYEOZzfVR7wMjmr0GQMROPeNaydRtfXF2uri0H4yMPCN0YObUa9tjkhJBkA vSSCUEm0E+XYhEqZ8vuaJL0E67o/3VQDuZXux0SiMa1iIjaklF0A6Ze6km4rMzgOXhVw AuPTQHzlc1dMC/1+vbrFkZC37F3gTdh2GBeMvIiWjY9ZB8PQ//WdnOgIhlQbvf6Xd43C G0b/luzVPTTrLCcSnGWfkJ4ZFM151HV6XpnQSOy6xl+HeB5eDGFKtCSSRoJB3nmYmxvw HYcfySDMFUXOeWGIZ3kFUaAN4R5infMpUnQ0qI6wamXvEKKSin+5cRxPp8FUpYiV3FkB HVtQ==
X-Gm-Message-State: AN3rC/5DIX9gJevcLOQ7fYq3ngSlzZKqcbWU6w96LduItHcasZTK80sx +E7FWXXUGKZq7bCPBeALj59RM1xKmL+S
X-Received: by 10.37.203.78 with SMTP id b75mr34983429ybg.19.1493929471891; Thu, 04 May 2017 13:24:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Thu, 4 May 2017 13:24:30 -0700 (PDT)
In-Reply-To: <CAKC-DJhYSCrsXQZS0SMB7ebSTYM49U+dv5iSXx5MSAv4pthabg@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAKC-DJhYSCrsXQZS0SMB7ebSTYM49U+dv5iSXx5MSAv4pthabg@mail.gmail.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Thu, 4 May 2017 13:24:30 -0700
Message-ID: <CAAF6GDeNBZJNgGTBryLiiiti7B2Nf56rZ0aKOneNei3NNqB=wg@mail.gmail.com>
To: Erik Nygren <erik+ietf@nygren.org>
Cc: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c05b1d27dff6f054eb88fdc
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/CI-vQ6kiH28l3TeQM_PAzGdKd14>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 20:24:34 -0000

--94eb2c05b1d27dff6f054eb88fdc
Content-Type: text/plain; charset=UTF-8

On Thu, May 4, 2017 at 12:12 PM, Erik Nygren <erik+ietf@nygren.org> wrote:

> On Wed, May 3, 2017 at 11:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>
>>
>> 1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
>> both session-cache and strike register styles and the merits of each.
>>
>
> I don't believe this is technically viable for the large-scale server
> operators most interested in 0-RTT.
>

I think it is (and work at one of the biggest) ... but if even it weren't,
that would just imply that we can't have 0-RTT at all, not that it's ok to
ship an insecure version.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, May 4, 2017 at 12:12 PM, Erik Nygren <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:erik+ietf@nygren.org" target=3D"_blank">erik+ietf@nygren.org<=
/a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><d=
iv class=3D"gmail_extra"><div class=3D"gmail_quote"><span class=3D"">On Wed=
, May 3, 2017 at 11:13 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> wrote:<br=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><br><di=
v>1. A SHOULD-level requirement for server-side 0-RTT defense, explaining</=
div><div>both session-cache and strike register styles and the merits of ea=
ch.</div></div></blockquote><div><br></div></span><div>I don&#39;t believe =
this is technically viable for the large-scale server operators most intere=
sted in 0-RTT.</div></div></div></div></blockquote><div><br></div><div>I th=
ink it is (and work at one of the biggest) ... but if even it weren&#39;t, =
that would just imply that we can&#39;t have 0-RTT at all, not that it&#39;=
s ok to ship an insecure version.</div></div><div><br></div>-- <br><div cla=
ss=3D"gmail_signature" data-smartmail=3D"gmail_signature">Colm</div>
</div></div>

--94eb2c05b1d27dff6f054eb88fdc--


From nobody Thu May  4 13:26:58 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9E53F1270A3 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:26:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.3
X-Spam-Level: 
X-Spam-Status: No, score=-4.3 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 dSFu8GJn6r1Z for <tls@ietfa.amsl.com>; Thu,  4 May 2017 13:26:55 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7DE25126BF0 for <tls@ietf.org>; Thu,  4 May 2017 13:26:55 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id 09C35A00491C; Thu,  4 May 2017 13:26:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to:content-transfer-encoding; s= cryptonector.com; bh=/3uL9atTJkt8jiTwQ3nQsRu8oCA=; b=Arwc1HrbR/p 1KJnxjqmA7z2iF3dbgw/6HeULrlqKs9hRV8yzMIE/AwpB4XyVuX/0jk7E8qWznSm WYYP2NysZ7lXsPuj5FFJR1a3FdWaIoQWugNvj7K4+7jNs4TVC+Q8u5NMd5FbNMxs n0sgv04MMb1xbgBUr2LBHNP5dRHOIt8k=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPSA id 9CA71A00491B; Thu,  4 May 2017 13:26:54 -0700 (PDT)
Date: Thu, 4 May 2017 15:26:52 -0500
From: Nico Williams <nico@cryptonector.com>
To: Colm =?iso-8859-1?Q?MacC=E1rthaigh?= <colm@allcosts.net>
Cc: Erik Nygren <erik+ietf@nygren.org>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170504202651.GY10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAKC-DJhYSCrsXQZS0SMB7ebSTYM49U+dv5iSXx5MSAv4pthabg@mail.gmail.com> <20170504193953.GU10188@localhost> <CAAF6GDcH8q0MwA2bzFjGkRBDD3qV=LWWQPpLF=oHBXn0k1kWpg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <CAAF6GDcH8q0MwA2bzFjGkRBDD3qV=LWWQPpLF=oHBXn0k1kWpg@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/930UbRqYK-bVkE4QO09WjQEN62s>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 20:26:57 -0000

On Thu, May 04, 2017 at 01:21:43PM -0700, Colm MacC=E1rthaigh wrote:
> On Thu, May 4, 2017 at 12:39 PM, Nico Williams <nico@cryptonector.com>
> wrote:
> > The SHOULD should say that the server-side needs to apply a replay ca=
che
> > OR fallback onto a full exchange when the 0-rtt data payload involves=
 a
> > non-idempotent operation.
>=20
> I don't mean to be dismissive with this but TLS stands for "Transport L=
ayer
> Security". The transport layer just isn't aware of what the operations =
are,
> and whether then can be idempotent (99% of the time, the answer is "no"=
).
> Only the application can tell, but this violation of layers is what lea=
ds
> to so many problems. I don't think it's workable.

I don't mean to be dismissive, but it doesn't matter what "TLS" stands
for.  It does what we make it do via Standards Action at the IETF.  We
follow our rules for everything to do with development of Internet
Standards and publication of Experimental, Informational and BCP RFCs.

We have a process.  If you don't like what we're doing, you can voice
your opinion.  If you don't like the outcome of consensus calls and/or
IESG decisions, you can appeal those.

Thanks,

Nico
--=20


From nobody Thu May  4 14:14:04 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 460A2126DC2 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 14:14:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] 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 icpw53XWhPHz for <tls@ietfa.amsl.com>; Thu,  4 May 2017 14:14:01 -0700 (PDT)
Received: from mail-yb0-x233.google.com (mail-yb0-x233.google.com [IPv6:2607:f8b0:4002:c09::233]) (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 08A7D126E64 for <tls@ietf.org>; Thu,  4 May 2017 14:14:01 -0700 (PDT)
Received: by mail-yb0-x233.google.com with SMTP id 8so6754763ybw.1 for <tls@ietf.org>; Thu, 04 May 2017 14:14:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vNe7Kc04+iyoc/NcRKimLum+JLDYJQVxfUrqlZHf1F8=; b=buJNIYqXbRAidwsUbh9oS8DgZaSYBs4ASuDDI20Z5pm27u0oNw7vG3nJlHptGfkrqS u5J5bjwOKsM0Apc78WlOXT4DwSKdQ82Vw67T0Aw8m7cH4/G3FLFom84IcwN6Ue7lff53 gB+2zET0PuMWoqiPvP38QwnIL+tA0qUf9cl/dUgLUHYcY0Ftvgmg4FuY9Omh5SP7cmsa 1qVkN6z5DMQ299I0fexIy3Wux2YgyoZzefhNGptftyXRKBpMC12ubTPaRByb/0H08DYj gwZnmoV9EFliMDFbfmEFpSXUf1Er5PfCAHPwF3acHZFIqlttYKGtC9BB8gmd+wYw+9MN Figw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vNe7Kc04+iyoc/NcRKimLum+JLDYJQVxfUrqlZHf1F8=; b=LFmI8lw5Q77uFLCnPUFVR9Eenvk76NW73YAMbiph9r83PiSPfzbv3vXa5is6JLkQBP cia2dV36Pd7VFydYch9fpNH12hOHfloB6Y5M+5/4bTKmQSzXBC+znUI0iutIQO2Ef8i1 vQSVJV2ru/9PDn39D1p/hI2mwPsc4b/VZPMwpfPLBgjwVZ7odlJJSt9/NVgFvHxUuB+H x2MZvBgwxzDsaRFmKCwAgHNRf499SXRxM+5q4k7YNLCX4pvY85qm5WNCe3mbgdv2VMNC HO2RaJRMZ6c2zzpr5DTozpzzgNskBdPmd5UBeRCk6+xoIbjPsOLBDt+rms8uVzdx8pTS Y6sw==
X-Gm-Message-State: AN3rC/7fsxi2aPy9uTLIHVC5pBgLmLGB4VLtXvZz+wMFzu4Y6M5yUaIy 4/vKOXH8M0fmE+ZjOJhNTf2gmdMS/4gKPtU=
X-Received: by 10.37.174.24 with SMTP id a24mr36492941ybj.50.1493932440282; Thu, 04 May 2017 14:14:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Thu, 4 May 2017 14:13:19 -0700 (PDT)
In-Reply-To: <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 4 May 2017 14:13:19 -0700
Message-ID: <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=f403045da3586bfdc2054eb94035
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/DLR4hFCWoVHYV-HK-u5osZ6JAaQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 21:14:03 -0000

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

As promised:
https://github.com/tlswg/tls13-spec/pull/1005

Note: I may have to do a little post-landing cleanup, but I wanted to get
people's senses of the text ASAP.

Comments welcome.
-Ekr


On Wed, May 3, 2017 at 8:21 PM, Eric Rescorla <ekr@rtfm.com> wrote:

>
>
> On Wed, May 3, 2017 at 8:20 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net=
>
> wrote:
>
>>
>>
>> On Wed, May 3, 2017 at 8:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>>
>>> I made some proposals yesterday
>>> (https://www.ietf.org/mail-archive/web/tls/current/msg23088.html).
>>>
>>> Specifically:
>>> 1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
>>> both session-cache and strike register styles and the merits of each.
>>>
>>> 2. Document 0-RTT greasing in draft-ietf-tls-grease
>>>
>>> 3. Adopt PR#448 (or some variant) so that session-id style
>>> implementations
>>> provide PFS.
>>>
>>> 4. I would add to this that we recommend that proxy/CDN implementations
>>> signal which data is 0-RTT and which is 1-RTT to the back-end (this was
>>> in
>>> Colm's original message).
>>>
>>
>> This all sounds great to me. I'm not sure that we need (4.) if we have
>> (1.).  I think with (1.) - recombobulating to a single stream might even=
 be
>> best overall, to reduce application complexity, and it seems to be what
>> most implementors are actually doing.
>>
>> I know that leaves the DKG attack, but from a client and servers
>> perspective that attack is basically identical to a server timeout, and
>> it's something that systems likely have some fault tolerance around. It'=
s
>> not /new/ broken-ness.
>>
>
> Heh. Always happy to do less writing.
>
> Thanks,
> -Ekr
>
>
>>
>>
>>> Based on Colm's response, I think these largely hits the points he made
>>> in his original message.
>>>
>>> There's already a PR for #3 and I'll have PRs for #1 and #4 tomorrow.
>>> What would be most helpful to me as Editor would be if people could
>>> review
>>> these PRs and/or suggest other specific changes that we should make
>>> to the document.
>>>
>>
>> Will do! Many thanks.
>>
>> --
>> Colm
>>
>
>

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

<div dir=3D"ltr">As promised:<div><a href=3D"https://github.com/tlswg/tls13=
-spec/pull/1005">https://github.com/tlswg/tls13-spec/pull/1005</a><br></div=
><div><br></div><div>Note: I may have to do a little post-landing cleanup, =
but I wanted to get</div><div>people&#39;s senses of the text ASAP.</div><d=
iv><br></div><div>Comments welcome.</div><div>-Ekr<br></div><div><br></div>=
</div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, May=
 3, 2017 at 8:21 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a href=3D"mailto:=
ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> wrote:<br><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex"><div dir=3D"ltr"><br><div class=3D"gmail_extra"><=
br><div class=3D"gmail_quote"><span class=3D"">On Wed, May 3, 2017 at 8:20 =
PM, Colm MacC=C3=A1rthaigh <span dir=3D"ltr">&lt;<a href=3D"mailto:colm@all=
costs.net" target=3D"_blank">colm@allcosts.net</a>&gt;</span> wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex"><div dir=3D"ltr"><br><div class=3D"gmail_extra"=
><br><div class=3D"gmail_quote"><span>On Wed, May 3, 2017 at 8:13 PM, Eric =
Rescorla <span dir=3D"ltr">&lt;<a href=3D"mailto:ekr@rtfm.com" target=3D"_b=
lank">ekr@rtfm.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-styl=
e:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir=3D"lt=
r">I made some proposals yesterday=C2=A0<br><div>(<a href=3D"https://www.ie=
tf.org/mail-archive/web/tls/current/msg23088.html" target=3D"_blank">https:=
//www.ietf.org/mail-arc<wbr>hive/web/tls/current/msg23088.<wbr>html</a>).</=
div><div><br></div><div>Specifically:</div><div>1. A SHOULD-level requireme=
nt for server-side 0-RTT defense, explaining</div><div>both session-cache a=
nd strike register styles and the merits of each.</div><div><br></div><div>=
2. Document 0-RTT greasing in draft-ietf-tls-grease<br></div><div><br></div=
><div>3. Adopt PR#448 (or some variant) so that session-id style implementa=
tions</div><div>provide PFS.</div><div><br></div><div>4. I would add to thi=
s that we recommend that proxy/CDN implementations</div><div>signal which d=
ata is 0-RTT and which is 1-RTT to the back-end (this was in</div><div>Colm=
&#39;s original message).</div></div></blockquote><div><br></div></span><di=
v>This all sounds great to me. I&#39;m not sure that we need (4.) if we hav=
e (1.).=C2=A0 I think with (1.) - recombobulating to a single stream might =
even be best overall, to reduce application complexity, and it seems to be =
what most implementors are actually doing. =C2=A0</div><div><br></div><div>=
I know that leaves the DKG attack, but from a client and servers perspectiv=
e that attack is basically identical to a server timeout, and it&#39;s some=
thing that systems likely have some fault tolerance around. It&#39;s not /n=
ew/ broken-ness.=C2=A0</div></div></div></div></blockquote><div><br></div><=
/span><div>Heh. Always happy to do less writing.</div><div><br></div><div>T=
hanks,</div><div>-Ekr</div><span class=3D""><div>=C2=A0</div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"=
gmail_quote"><span><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;=
border-left-color:rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>=
Based on Colm&#39;s response, I think these largely hits the points he made=
</div><div>in his original message.</div><div><br></div><div>There&#39;s al=
ready a PR for #3 and I&#39;ll have PRs for #1 and #4 tomorrow.<br></div><d=
iv>What would be most helpful to me as Editor would be if people could revi=
ew</div><div>these PRs and/or suggest other specific changes that we should=
 make</div><div>to the document.</div></div></blockquote><div><br></div></s=
pan><div>Will do! Many thanks.=C2=A0</div></div><span class=3D"m_8556917220=
203124506m_-1370507084357442124HOEnZb"><font color=3D"#888888"><div><br></d=
iv>-- <br><div class=3D"m_8556917220203124506m_-1370507084357442124m_-54923=
41075848643464gmail_signature">Colm</div>
</font></span></div></div>
</blockquote></span></div><br></div></div>
</blockquote></div><br></div>

--f403045da3586bfdc2054eb94035--


From nobody Thu May  4 14:28:11 2017
Return-Path: <prvs=62970e18b2=knekritz@fb.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B9A7129502 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 14:28:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.731
X-Spam-Level: 
X-Spam-Status: No, score=-0.731 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, HTTPS_HTTP_MISMATCH=1.989, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=fb.com header.b=i5SITW9i; dkim=pass (1024-bit key) header.d=fb.onmicrosoft.com header.b=Wi34fq3q
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 tOJQaIL_DDQJ for <tls@ietfa.amsl.com>; Thu,  4 May 2017 14:28:06 -0700 (PDT)
Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F151F120227 for <tls@ietf.org>; Thu,  4 May 2017 14:28:02 -0700 (PDT)
Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v44LLbC5002692; Thu, 4 May 2017 14:28:02 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=facebook; bh=td62ue6J0SwwlKoF8CX8Nu1535C/2Wji8UkjmLR5g4o=; b=i5SITW9ixw7VqCDxUgbE/mftR+gEbuF+CPG+GepkUCAXu1c61KB5RnUdXlKWw+QIX7M4 CTyDc6HCbQWwbZQ/EGx3QM9/WgSYXJugTDGhPyJ/y7QfC/A0ITcQ5rj9zoPjQfrXfXr5 3GLrNbrnBK+ltoKrFaCrwRFoTceGqHiFlzw= 
Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2a87hw17ff-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 04 May 2017 14:28:02 -0700
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (192.168.183.28) by o365-in.thefacebook.com (192.168.177.31) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 4 May 2017 17:28:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;  bh=td62ue6J0SwwlKoF8CX8Nu1535C/2Wji8UkjmLR5g4o=; b=Wi34fq3qAJWdwPRLZAoYDwrv/H2RGsTmMvBPvTFQFIdvsOCE08sszi/h1t2DYDihOLcxYIVWhFJGNN1H2sq6mGusI9wrWcHYJr53mpai8iUYkTWqkR1HvwJU+6DCzTRKtf/y8bkcVIh861qOW7fK5/jLctfFb6A8/ScqSs+RgWI=
Received: from MWHPR15MB1182.namprd15.prod.outlook.com (10.175.2.136) by MWHPR15MB1182.namprd15.prod.outlook.com (10.175.2.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12; Thu, 4 May 2017 21:27:41 +0000
Received: from MWHPR15MB1182.namprd15.prod.outlook.com ([10.175.2.136]) by MWHPR15MB1182.namprd15.prod.outlook.com ([10.175.2.136]) with mapi id 15.01.1061.022; Thu, 4 May 2017 21:27:41 +0000
From: Kyle Nekritz <knekritz@fb.com>
To: Eric Rescorla <ekr@rtfm.com>, =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>
CC: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NWfzhsEfLgEUy3mG3N+R1DLqHjghwAgADwDPA=
Date: Thu, 4 May 2017 21:27:40 +0000
Message-ID: <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com>
In-Reply-To: <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: rtfm.com; dkim=none (message not signed) header.d=none;rtfm.com; dmarc=none action=none header.from=fb.com;
x-originating-ip: [2620:10d:c091:200::2:713]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; MWHPR15MB1182; 7:8WEyvmxt2v4Ya/ize5sYdnD8KgGgzmSSPSUrTSA9FTZMAfxpOSaNnQ63xbfleFZKZAexoApnrES/bwfbUMNnE2IpkNoA5LQYvS6pNbqIXdSwjprOc6y/ZO+W2Dm2edN55qSL7wiuKtGrMpJgeQuDgQjynZmYVp0ikoeHE9650qgdBa0wUbP/tXEtVyYGfXsmCSTIqcmCuNFISBadfdPjkX3eDL8cDNsIKAHIAVSTuWTN4fL1apWditu6mQghw7ZD33+EtG0nnWXEs+sfN54uIBLw4yc9S0Rux0nLN8wmYSoaUc6orBxKw8oovYVOAeKs2DeMhd1igB9opcxnKYdzzA==; 20:lgXoAxRWfX7nhKU+3T/06jKdh1lhU/3lgOnLXerrrMzvaaPIgeDT6Pqo/Kn1mAug2QJlWVLpteMNsK+X+6213Q6dNfDXR6Z7lv8TM7fFffrgvgwRsL8XMOzjHZikmxX7xBAYeUpo9508vPcKESVY52SCiNO4XGBnzbHR4XNqpOQ=
x-ms-office365-filtering-correlation-id: 22953d3b-4a0b-4b07-a784-08d493346555
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:MWHPR15MB1182; 
x-microsoft-antispam-prvs: <MWHPR15MB11826E1244BF153E23D3333AAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(278428928389397)(166708455590820)(192374486261705)(21748063052155)(10436049006162);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(6041248)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123564025)(6072148); SRVR:MWHPR15MB1182; BCL:0; PCL:0; RULEID:; SRVR:MWHPR15MB1182; 
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39850400002)(39400400002)(39410400002)(39450400003)(39840400002)(24454002)(377454003)(2906002)(77096006)(3660700001)(53546009)(3280700002)(25786009)(54356999)(86362001)(76176999)(50986999)(19609705001)(4326008)(38730400002)(189998001)(6246003)(6506006)(55016002)(99286003)(33656002)(7110500001)(6306002)(6436002)(606005)(53936002)(54896002)(9686003)(7696004)(7906003)(236005)(74316002)(2950100002)(2900100001)(8936002)(7736002)(102836003)(5660300001)(6116002)(15650500001)(122556002)(81166006)(478600001)(2420400007)(8676002)(229853002); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR15MB1182; H:MWHPR15MB1182.namprd15.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_MWHPR15MB11825419AF296AE7EC26F3BDAFEA0MWHPR15MB1182namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2017 21:27:41.0654 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR15MB1182
X-OriginatorOrg: fb.com
X-Proofpoint-Spam-Reason: safe
X-FB-Internal: Safe
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-04_14:, , signatures=0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/a_mBamgUiMkbCGPzMQm_7LuJy1o>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 21:28:10 -0000

--_000_MWHPR15MB11825419AF296AE7EC26F3BDAFEA0MWHPR15MB1182namp_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

PiAxLiBBIFNIT1VMRC1sZXZlbCByZXF1aXJlbWVudCBmb3Igc2VydmVyLXNpZGUgMC1SVFQgZGVm
ZW5zZSwgZXhwbGFpbmluZyBib3RoIHNlc3Np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VW5mb3J0dW5hdGVseSwgSSB3YXNuJ3QgYXdhcmUgdW50aWwgRnJpZGF5IHRoYXQgdGhpcyBy
ZXZpZXcgd291bGQgYmUgY29taW5nIHNvIGxhdGUgaW4gdGhlIFRMRDEuMyBkcmFmdCBwcm9jZXNz
LCBhbmQgbXkgYXBvbG9naWVzIGZvciB0aGF0LiBJIGFtIG5vdyBwbGFubmluZyB0byBhdHRlbmQg
dGhlIGZ1dHVyZSBXRyBpbi1wZXJzb24gbWVldGluZ3MgYW5kIGxvb2sgZm9yd2FyZCB0byBzZWVp
bmcgbWFueSBvZiB5b3UgdGhlcmUuDQoNCi0tDQpDb2xtDQoNCl9fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fDQpUTFMgbWFpbGluZyBsaXN0DQpUTFNAaWV0Zi5v
cmc8bWFpbHRvOlRMU0BpZXRmLm9yZz4NCmh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlz
dGluZm8vdGxzPGh0dHBzOi8vdXJsZGVmZW5zZS5wcm9vZnBvaW50LmNvbS92Mi91cmw/dT1odHRw
cy0zQV9fd3d3LmlldGYub3JnX21haWxtYW5fbGlzdGluZm9fdGxzJmQ9RHdNRmFRJmM9NVZEMFJU
dE5sVGgzeWNkNDFiM01VdyZyPWwyajRCamtPMExjM3U0Q0gyejdqUHcmbT1fMkJFQ2Y5T2ZXMXIx
YVJXckxfcFNiUWVLTXNoeU9tMk5JVldGNEdHQkkwJnM9NkdJb2NHelc2d1BLNEVBbHFETElpck52
c3VRajdnV2hZR19PelJPUjJxWSZlPT4NCg0K

--_000_MWHPR15MB11825419AF296AE7EC26F3BDAFEA0MWHPR15MB1182namp_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWN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0zQV9fd3d3LmlldGYub3JnX21haWxtYW5f
bGlzdGluZm9fdGxzJmFtcDtkPUR3TUZhUSZhbXA7Yz01VkQwUlR0TmxUaDN5Y2Q0MWIzTVV3JmFt
cDtyPWwyajRCamtPMExjM3U0Q0gyejdqUHcmYW1wO209XzJCRUNmOU9mVzFyMWFSV3JMX3BTYlFl
S01zaHlPbTJOSVZXRjRHR0JJMCZhbXA7cz02R0lvY0d6VzZ3UEs0RUFscURMSWlyTnZzdVFqN2dX
aFlHX096Uk9SMnFZJmFtcDtlPSIgdGFyZ2V0PSJfYmxhbmsiPmh0dHBzOi8vd3d3LmlldGYub3Jn
L21haWxtYW4vbGlzdGluZm8vdGxzPC9hPjxvOnA+PC9vOnA+PC9wPg0KPC9ibG9ja3F1b3RlPg0K
PC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJzcDs8L286cD48L3A+
DQo8L2Rpdj4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K

--_000_MWHPR15MB11825419AF296AE7EC26F3BDAFEA0MWHPR15MB1182namp_--


From nobody Thu May  4 14:38:10 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4AACF12945C for <tls@ietfa.amsl.com>; Thu,  4 May 2017 14:38:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.09
X-Spam-Level: 
X-Spam-Status: No, score=0.09 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=1.989, RCVD_IN_DNSWL_NONE=-0.0001] 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 w09FisWzODXv for <tls@ietfa.amsl.com>; Thu,  4 May 2017 14:38:05 -0700 (PDT)
Received: from mail-yb0-x22d.google.com (mail-yb0-x22d.google.com [IPv6:2607:f8b0:4002:c09::22d]) (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 05AD5129535 for <tls@ietf.org>; Thu,  4 May 2017 14:38:02 -0700 (PDT)
Received: by mail-yb0-x22d.google.com with SMTP id 8so6882934ybw.1 for <tls@ietf.org>; Thu, 04 May 2017 14:38:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+Q4ZSrJauuFd9kzBMnNSqC8jGbh+rclSoBPQ7jP3x+Q=; b=l2jci7hb865ihEFr1BPWyjqQmSgih3PCm7JGo87c7yWlLUknIFubYD8SoXvJ9sSbWx WgoqDHCBPSjm2Rbu8gx3pMTYT/icG1aurD1JOvujuoALpq8rjUZJPwytWOZvxzGuIWIj o8zgiKhUtWSWXI7O3kEbDtdoQVnHr5xgCCvRyKXrwUrUjItP7mF/l4MNnOa6lEYFvsbA dyI3B71TzDp1gdF8272Lm09ReXb+XbmO4VABhVZSrfXAwbiOqZKYhyAFeRO/AiXtiMxc Q7222Tk8H5b36erytor4HIyfguhcJW5iyiQI+onX/CRyG0bOibyBeELFw7Xn33PJ1Wmw 1izA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+Q4ZSrJauuFd9kzBMnNSqC8jGbh+rclSoBPQ7jP3x+Q=; b=odeSwu/SEfBe53A4FMQ+iuI/mYkbK9Asis2OcyA6J2ZbgST3pO1kN5DUtR0Ow9FXQy rHkqEsrNDRqOe8DypR8t2raCHA+nC4Q/zlgOdFxhLxQDpy6YfAsy2XbLPu2d4dlc0Ac6 8JBaWJh2AvY3pxjd348qJzibX6rPUu1PQ+PNDcONqiMbPvapJfpAy2n9QfN03FDv4LDy mLl+7EkBqwAb/8Ad2gkU8Fhy++ani+103FWwW7L/pAo8w7A5TNsZEl2+G9y7LatfbDsZ h6ZqF45rZdlNYpdffNcno5qyHk1rrrSOFQl0a5VMVobTIhk4wMerbbOc6OAIRxsxb2xw 5gnA==
X-Gm-Message-State: AN3rC/6ObHeoSfsQKo84JG6kjv8X7d6iexEV3A8Qn6bklaGsnqYXnhNN 90+z1JADUEiNXBhgEHV+QUgsIeYg2g==
X-Received: by 10.37.174.24 with SMTP id a24mr36578484ybj.50.1493933881200; Thu, 04 May 2017 14:38:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Thu, 4 May 2017 14:37:20 -0700 (PDT)
In-Reply-To: <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 4 May 2017 14:37:20 -0700
Message-ID: <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com>
To: Kyle Nekritz <knekritz@fb.com>
Cc: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>,  "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=f403045da3584e9e8f054eb996ad
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ePtERgfTwYEo5vRQbUd0_fsd5to>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 21:38:09 -0000

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

On Thu, May 4, 2017 at 2:27 PM, Kyle Nekritz <knekritz@fb.com> wrote:

> > 1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
> both session-cache and strike register styles and the merits of each.
>
>
>
> First, a point of clarification, I think two issues have been conflated i=
n
> this long thread:
>
> 1) Servers rejecting replayed 0-RTT data (using a single use session
> cache/strike register/replay cache/some other method)
>
>
>
> There are definitely cases (i.e. application profiles) where this should
> be done. I think a general case HTTPS server is one. But I don=E2=80=99t =
think this
> is strictly necessary across the board (for every application using 0-RTT
> at all). DNS was brought up earlier in this thread as an example of a
> protocol that is likely quite workable without extra measures to prevent
> replay.
>
>
>
> We already state =E2=80=9CProtocols MUST NOT use 0-RTT data without a pro=
file that
> defines its use.=E2=80=9D. We could also describe methods that may be use=
d to
> provide further replay protection. But I don=E2=80=99t think it=E2=80=99s=
 appropriate to
> make a blanket requirement that *all* application protocols should requir=
e
> it.
>
>
>
> I also consider it quite misleading to say TLS 1.3 is insecure without
> such a recommendation. Uses of TLS can be insecure, that does not mean th=
e
> protocol itself is. It=E2=80=99s insecure to use TLS without properly
> authenticating the server. Some users of TLS do not do this correctly. I=
=E2=80=99d
> actually argue that it is easier to mess this up than it is to mess up a
> 0-RTT deployment (and it can result in worse consequences). That doesn=E2=
=80=99t
> mean we should require a particular method of authentication, for all use=
s
> of TLS.
>

I think this is basically right. In the PR I just posted, I spent most of
my time describing the
mechanisms and used a SHOULD-level requirement to do one of the mechanisms.
I think there's a bunch of room to wordsmith the requirement. Perhaps we
say:

- You can't do 0-RTT without an application profile
- Absent the application profile saying otherwise you SHOULD/MUST do one of
these mitigations?


2) Preventing clients from sending 0-RTT data multiple times (on separate
> connections) using the same PSK (for forward secrecy reasons)
>
>
>
> I think this should be allowed. Otherwise, clients will not be able to
> retry 0-RTT requests that fail due to an unknown network error prior to
> receiving a NST (if they are out of cached PSKs). I=E2=80=99d expect the =
need for
> these retries to be larger with 0-RTT data, particularly when 0-RTT data =
is
> sent without even a transport roundtrip (in the case of TFO or QUIC).
> Servers are definitely not required to accept multiple 0-RTT connections
> using the same PSK, but I don=E2=80=99t think clients should be banned fr=
om
> attempting.
>

I agree, and the PR I provided doesn't attempt to do so.


> 4. I would add to this that we recommend that proxy/CDN implementations
> signal which data is 0-RTT and which is 1-RTT to the back-end (this was i=
n
> Colm's original message).
>
>
>
> I=E2=80=99m not sure that the TLS 1.3 spec is the right place to make
> recommendations for this. I can see several reasonable approaches here, f=
or
> example:
>
> - Adding some kind of application level annotation (for example an HTTP
> header)
>
> - Robustly preventing replay on the 0-RTT hop
>
> - Sending proxied early data with a different TLS ContentType, etc.
>
> I don=E2=80=99t see a need to specifically endorse any particular method =
here.
>

I think Colm has also agreed we shouldn't do this and it's not in my PR.


>
>
>
> There was also a point brought up about the use of ticket_age without
> 0-RTT. I=E2=80=99m not aware of any use for ticket_age other than 0-RTT r=
eplay
> protection. I believe that ticket_age is sent with all PSKs mostly out of
> convenience/consistency. I don=E2=80=99t really have an objection to the =
current
> method, but I also wouldn=E2=80=99t be opposed to moving the ticket age t=
o the
> early data extension, so that it is only sent along with 0-RTT data.
>

I would be OK with this as well. It does seem slightly more elegant.




> It also seems a little under-specified what implementations unable to
> compute a reasonable ticket age should send (for example in the case of a
> device without a real time clock,
>

Right. I have been basically assuming that you can't really do TLS without
a real-time clock, but maybe that's wrong?



> or with an external PSK).
>

This actually is well-specified (though maybe wrong)
"For identities established externally an obfuscated_ticket_age of 0 SHOULD
be used, and servers MUST ignore the value."
https://tlswg.github.io/tls13-spec/#pre-shared-key-extension

-Ekr


> *From:* TLS [mailto:tls-bounces@ietf.org] *On Behalf Of *Eric Rescorla
> *Sent:* Wednesday, May 3, 2017 11:13 PM
> *To:* Colm MacC=C3=A1rthaigh <colm@allcosts.net>
> *Cc:* tls@ietf.org
> *Subject:* Re: [TLS] Security review of TLS1.3 0-RTT
>
>
>
> [Deliberately responding to the OP rather than to anyone in particular]
>
>
>
> Hi folks,
>
>
>
> I'm seeing a lot of back and forth about general philosophy and the
>
> wisdom of 0-RTT but I think it would be useful if we focused on what
>
> changes, if any, we need to make to the draft.
>
>
>
> I made some proposals yesterday
>
> (https://www.ietf.org/mail-archive/web/tls/current/msg23088.html
> <https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__www.ietf.org_mail=
-2Darchive_web_tls_current_msg23088.html&d=3DDwMFaQ&c=3D5VD0RTtNlTh3ycd41b3=
MUw&r=3Dl2j4BjkO0Lc3u4CH2z7jPw&m=3D_2BECf9OfW1r1aRWrL_pSbQeKMshyOm2NIVWF4GG=
BI0&s=3DXgHbUwT6upAsOin4T6P8ePs8i0ZFsnD-_BNvueeq83E&e=3D>
> ).
>
>
>
> Specifically:
>
> 1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
>
> both session-cache and strike register styles and the merits of each.
>
>
>
> 2. Document 0-RTT greasing in draft-ietf-tls-grease
>
>
>
> 3. Adopt PR#448 (or some variant) so that session-id style implementation=
s
>
> provide PFS.
>
>
>
> 4. I would add to this that we recommend that proxy/CDN implementations
>
> signal which data is 0-RTT and which is 1-RTT to the back-end (this was i=
n
>
> Colm's original message).
>
>
>
> Based on Colm's response, I think these largely hits the points he made
>
> in his original message.
>
>
>
> There's already a PR for #3 and I'll have PRs for #1 and #4 tomorrow.
>
> What would be most helpful to me as Editor would be if people could revie=
w
>
> these PRs and/or suggest other specific changes that we should make
>
> to the document.
>
>
>
> Thanks,
>
> -Ekr
>
>
>
>
>
>
>
>
>
> On Tue, May 2, 2017 at 7:44 AM, Colm MacC=C3=A1rthaigh <colm@allcosts.net=
>
> wrote:
>
> On Sunday at the TLS:DIV workshop I presented a summary of findings of a
> security review we did on TLS1.3 0-RTT, as part of implementing 1.3 in s2=
n.
> Thanks to feedback in the room I've now tightened up the findings from th=
e
> review and posted them as an issue on the draft GitHub repo:
>
>
>
> https://github.com/tlswg/tls13-spec/issues/1001
>
>
>
> I'll summarize the summary: Naturally the focus was on forward secrecy an=
d
> replay. On forward secrecy the main finding was that it's not necessary t=
o
> trade off Forward Secrecy and 0-RTT. A single-use session cache can provi=
de
> it, and with the modification that ekr has created in
> https://github.com/tlswg/tls13-spec/pull/998 , such a cache works for
> both pre-auth and post-auth tickets, and it allows clients to build up
> pools of meaningfully distinct tickets.
>
>
>
> There's also an observation there that it should really be that clients
> "MUST" use tickets only once. Any re-use likely discloses the obfuscated
> ticket age, which is intended to be secret. Right now it's a "SHOULD".
>
>
>
> On replay, the main finding is that what's in the draft is not workably
> secure, and the review includes 5 different attacks against 0-RTT data to
> illustrate that. Attacks 1 and 2 show that the kind of replay permitted b=
y
> the draft is very different from the kind of replay permitted by dkg's
> existing downgrade-and-retry attack. I also go over why it very very
> difficult to many applications to achieve that idempotency, and why one
> idempotency pattern actually relies on non-replayable messages.
>
>
>
> Attack 3 shows that idempotency is not sufficient, applications must also
> be free of measurable side-effects, which is not practical.  Attack 4 sho=
ws
> that 0-RTT breaks a common security mechanism: spoofing-resistant
> throttles. Attack 5 shows that 0-RTT replay-ability enables an additional
> form of traffic analysis.
>
>
>
> The recommendation in the review is that implementations "MUST" prevent
> replays of 0-RTT section, with some additional discussion about why the
> existing advice is unlikely to be followed, and why consistent
> interoperability matters here.
>
>
>
> Unfortunately, I wasn't aware until Friday that this review would be
> coming so late in the TLD1.3 draft process, and my apologies for that. I =
am
> now planning to attend the future WG in-person meetings and look forward =
to
> seeing many of you there.
>
>
>
> --
>
> Colm
>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
> <https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__www.ietf.org_mail=
man_listinfo_tls&d=3DDwMFaQ&c=3D5VD0RTtNlTh3ycd41b3MUw&r=3Dl2j4BjkO0Lc3u4CH=
2z7jPw&m=3D_2BECf9OfW1r1aRWrL_pSbQeKMshyOm2NIVWF4GGBI0&s=3D6GIocGzW6wPK4EAl=
qDLIirNvsuQj7gWhYG_OzROR2qY&e=3D>
>
>
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, May 4, 2017 at 2:27 PM, Kyle Nekritz <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:knekritz@fb.com" target=3D"_blank">knekritz@fb.com</a>&gt;</s=
pan> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0p=
x 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang=3D"EN-US">
<div class=3D"gmail-m_6768796029072055788WordSection1"><span class=3D"gmail=
-">
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">&gt; 1. A SHOULD-level requirement for server-side 0-RTT defense,=
 explaining both session-cache and strike register styles and the merits of=
 each.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif"><u></u>=C2=A0<u></u></span></p>
</span><p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:cal=
ibri,sans-serif">First, a point of clarification, I think two issues have b=
een conflated in this long thread:<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">1) Servers rejecting replayed 0-RTT data (using a single use sess=
ion cache/strike register/replay cache/some other method)<u></u><u></u></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">There are definitely cases (i.e. application profiles) where this=
 should be done. I think a general case HTTPS server is one. But I don=E2=
=80=99t think this is strictly necessary across
 the board (for every application using 0-RTT at all). DNS was brought up e=
arlier in this thread as an example of a protocol that is likely quite work=
able without extra measures to prevent replay.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">We already state =E2=80=9CProtocols MUST NOT use 0-RTT data witho=
ut a profile that defines its use.=E2=80=9D. We could also describe methods=
 that may be used to provide further replay protection.
 But I don=E2=80=99t think it=E2=80=99s appropriate to make a blanket requi=
rement that *all* application protocols should require it.<u></u><u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">I also consider it quite misleading to say TLS 1.3 is insecure wi=
thout such a recommendation. Uses of TLS can be insecure, that does not mea=
n the protocol itself is. It=E2=80=99s insecure
 to use TLS without properly authenticating the server. Some users of TLS d=
o not do this correctly. I=E2=80=99d actually argue that it is easier to me=
ss this up than it is to mess up a 0-RTT deployment (and it can result in w=
orse consequences). That doesn=E2=80=99t mean we
 should require a particular method of authentication, for all uses of TLS.=
</span></p></div></div></blockquote><div><br></div><div>I think this is bas=
ically right. In the PR I just posted, I spent most of my time describing t=
he</div><div>mechanisms and used a SHOULD-level requirement to do one of th=
e mechanisms.</div><div>I think there&#39;s a bunch of room to wordsmith th=
e requirement. Perhaps we say:</div><div><br></div><div>- You can&#39;t do =
0-RTT without an application profile</div><div>- Absent the application pro=
file saying otherwise you SHOULD/MUST do one of these mitigations?</div><di=
v><br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex=
"><div lang=3D"EN-US"><div class=3D"gmail-m_6768796029072055788WordSection1=
">
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">2) Preventing clients from sending 0-RTT data multiple times (on =
separate connections) using the same PSK (for forward secrecy reasons)<u></=
u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">I think this should be allowed. Otherwise, clients will not be ab=
le to retry 0-RTT requests that fail due to an unknown network error prior =
to receiving a NST (if they are
 out of cached PSKs). I=E2=80=99d expect the need for these retries to be l=
arger with 0-RTT data, particularly when 0-RTT data is sent without even a =
transport roundtrip (in the case of TFO or QUIC). Servers are definitely no=
t required to accept multiple 0-RTT connections
 using the same PSK, but I don=E2=80=99t think clients should be banned fro=
m attempting.</span></p></div></div></blockquote><div>=C2=A0</div><div>I ag=
ree, and the PR I provided doesn&#39;t attempt to do so.</div><div><br></di=
v><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lan=
g=3D"EN-US"><div class=3D"gmail-m_6768796029072055788WordSection1"><span cl=
ass=3D"gmail-">
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">&gt; 4. I would add to this that we recommend that proxy/CDN impl=
ementations signal which data is 0-RTT and which is 1-RTT to the back-end (=
this was in Colm&#39;s original message).<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif"><u></u>=C2=A0<u></u></span></p>
</span><p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:cal=
ibri,sans-serif">I=E2=80=99m not sure that the TLS 1.3 spec is the right pl=
ace to make recommendations for this. I can see several reasonable approach=
es here, for example:<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">- Adding some kind of application level annotation (for example a=
n HTTP header)<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">- Robustly preventing replay on the 0-RTT hop<u></u><u></u></span=
></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">- Sending proxied early data with a different TLS ContentType, et=
c.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">I don=E2=80=99t see a need to specifically endorse any particular=
 method here.</span></p></div></div></blockquote><div><br></div><div>I thin=
k Colm has also agreed we shouldn&#39;t do this and it&#39;s not in my PR.<=
/div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div =
lang=3D"EN-US"><div class=3D"gmail-m_6768796029072055788WordSection1"><p cl=
ass=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sans-se=
rif"><u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">There was also a point brought up about the use of ticket_age wit=
hout 0-RTT. I=E2=80=99m not aware of any use for ticket_age other than 0-RT=
T replay protection. I believe that ticket_age
 is sent with all PSKs mostly out of convenience/consistency. I don=E2=80=
=99t really have an objection to the current method, but I also wouldn=E2=
=80=99t be opposed to moving the ticket age to the early data extension, so=
 that it is only sent along with 0-RTT data.</span></p></div></div></blockq=
uote><div><br></div><div>I would be OK with this as well. It does seem slig=
htly more elegant.</div><div><br></div><div><br></div><div>=C2=A0<br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex"><div lang=3D"EN-US"><div =
class=3D"gmail-m_6768796029072055788WordSection1"><p class=3D"MsoNormal"><s=
pan style=3D"font-size:11pt;font-family:calibri,sans-serif">
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">It also seems a little under-specified what implementations unabl=
e to compute a reasonable ticket age should send (for example in the case o=
f a device without a real time clock,</span></p></div></div></blockquote><d=
iv><br></div><div>Right. I have been basically assuming that you can&#39;t =
really do TLS without a real-time clock, but maybe that&#39;s wrong?</div><=
div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex"><div lang=3D"EN-US"><div class=3D"gmail-m_6768796029072055788WordSect=
ion1"><p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:cali=
bri,sans-serif">
 or with an external PSK).</span></p></div></div></blockquote><div><br></di=
v><div>This actually is well-specified (though maybe wrong)</div><div>&quot=
;For identities established externally an obfuscated_ticket_age of 0 SHOULD=
 be used, and servers MUST ignore the value.&quot;</div><div><a href=3D"htt=
ps://tlswg.github.io/tls13-spec/#pre-shared-key-extension">https://tlswg.gi=
thub.io/tls13-spec/#pre-shared-key-extension</a><br></div><div><br></div><d=
iv>-Ekr</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex"><div lang=3D"EN-US"><div class=3D"gmail-m_6768796029072055788WordSecti=
on1"><p class=3D"MsoNormal"></p>
<span></span>
<p class=3D"MsoNormal"><b><span style=3D"font-size:11pt;font-family:calibri=
,sans-serif">From:</span></b><span style=3D"font-size:11pt;font-family:cali=
bri,sans-serif"> TLS [mailto:<a href=3D"mailto:tls-bounces@ietf.org" target=
=3D"_blank">tls-bounces@ietf.org</a>]
<b>On Behalf Of </b>Eric Rescorla<br>
<b>Sent:</b> Wednesday, May 3, 2017 11:13 PM<br>
<b>To:</b> Colm MacC=C3=A1rthaigh &lt;<a href=3D"mailto:colm@allcosts.net" =
target=3D"_blank">colm@allcosts.net</a>&gt;<br>
<b>Cc:</b> <a href=3D"mailto:tls@ietf.org" target=3D"_blank">tls@ietf.org</=
a><br>
<b>Subject:</b> Re: [TLS] Security review of TLS1.3 0-RTT<u></u><u></u></sp=
an></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">[Deliberately responding to the OP rather than to an=
yone in particular]<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Hi folks,<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I&#39;m seeing a lot of back and forth about general=
 philosophy and the<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">wisdom of 0-RTT but I think it would be useful if we=
 focused on what<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">changes, if any, we need to make to the draft.=C2=A0=
<u></u><u></u></p>
</div><span class=3D"gmail-">
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I made some proposals yesterday=C2=A0<u></u><u></u><=
/p>
</div>
<div>
<p class=3D"MsoNormal">(<a href=3D"https://urldefense.proofpoint.com/v2/url=
?u=3Dhttps-3A__www.ietf.org_mail-2Darchive_web_tls_current_msg23088.html&am=
p;d=3DDwMFaQ&amp;c=3D5VD0RTtNlTh3ycd41b3MUw&amp;r=3Dl2j4BjkO0Lc3u4CH2z7jPw&=
amp;m=3D_2BECf9OfW1r1aRWrL_pSbQeKMshyOm2NIVWF4GGBI0&amp;s=3DXgHbUwT6upAsOin=
4T6P8ePs8i0ZFsnD-_BNvueeq83E&amp;e=3D" target=3D"_blank">https://www.ietf.o=
rg/mail-<wbr>archive/web/tls/current/<wbr>msg23088.html</a>).<u></u><u></u>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Specifically:<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">1. A SHOULD-level requirement for server-side 0-RTT =
defense, explaining<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">both session-cache and strike register styles and th=
e merits of each.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">2. Document 0-RTT greasing in draft-ietf-tls-grease<=
u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">3. Adopt PR#448 (or some variant) so that session-id=
 style implementations<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">provide PFS.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">4. I would add to this that we recommend that proxy/=
CDN implementations<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">signal which data is 0-RTT and which is 1-RTT to the=
 back-end (this was in<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Colm&#39;s original message).<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</span><div>
<p class=3D"MsoNormal">Based on Colm&#39;s response, I think these largely =
hits the points he made<u></u><u></u></p>
</div><span class=3D"gmail-">
<div>
<p class=3D"MsoNormal">in his original message.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">There&#39;s already a PR for #3 and I&#39;ll have PR=
s for #1 and #4 tomorrow.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">What would be most helpful to me as Editor would be =
if people could review<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">these PRs and/or suggest other specific changes that=
 we should make<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">to the document.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</span><div>
<p class=3D"MsoNormal">Thanks,<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">-Ekr<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">On Tue, May 2, 2017 at 7:44 AM, Colm MacC=C3=A1rthai=
gh &lt;<a href=3D"mailto:colm@allcosts.net" target=3D"_blank">colm@allcosts=
.net</a>&gt; wrote:<u></u><u></u></p>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin:5pt 0i=
n 5pt 4.8pt">
<div>
<p class=3D"MsoNormal">On Sunday at the TLS:DIV workshop I presented a summ=
ary of findings of a security review we did on TLS1.3 0-RTT, as part of imp=
lementing 1.3 in s2n. Thanks to feedback in the room I&#39;ve now tightened=
 up the findings from the review and posted
 them as an issue on the draft GitHub repo:<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><a href=3D"https://github.com/tlswg/tls13-spec/issue=
s/1001" target=3D"_blank">https://github.com/tlswg/<wbr>tls13-spec/issues/1=
001</a><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I&#39;ll summarize the summary: Naturally the focus =
was on forward secrecy and replay. On forward secrecy the main finding was =
that it&#39;s not necessary to trade off Forward Secrecy and 0-RTT. A singl=
e-use session cache can provide it, and with
 the modification that ekr has created in=C2=A0<a href=3D"https://github.co=
m/tlswg/tls13-spec/pull/998" target=3D"_blank">https://github.com/tlswg/<wb=
r>tls13-spec/pull/998</a> , such a cache works for both pre-auth and post-a=
uth tickets, and it allows clients to build up
 pools of meaningfully distinct tickets.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">There&#39;s also an observation there that it should=
 really be that clients &quot;MUST&quot; use tickets only once. Any re-use =
likely discloses the obfuscated ticket age, which is intended to be secret.=
 Right now it&#39;s a &quot;SHOULD&quot;.=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">On replay, the main finding is that what&#39;s in th=
e draft is not workably secure, and the review includes 5 different attacks=
 against 0-RTT data to illustrate that. Attacks 1 and 2 show that the kind =
of replay permitted by the draft is very
 different from the kind of replay permitted by dkg&#39;s existing downgrad=
e-and-retry attack. I also go over why it very very difficult to many appli=
cations to achieve that idempotency, and why one idempotency pattern actual=
ly relies on non-replayable messages.=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Attack 3 shows that idempotency is not sufficient, a=
pplications must also be free of measurable side-effects, which is not prac=
tical.=C2=A0 Attack 4 shows that 0-RTT breaks a common security mechanism: =
spoofing-resistant throttles. Attack 5
 shows that 0-RTT replay-ability enables an additional form of traffic anal=
ysis.=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">The recommendation in the review is that implementat=
ions &quot;MUST&quot; prevent replays of 0-RTT section, with some additiona=
l discussion about why the existing advice is unlikely to be followed, and =
why consistent interoperability matters here.=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Unfortunately, I wasn&#39;t aware until Friday that =
this review would be coming so late in the TLD1.3 draft process, and my apo=
logies for that. I am now planning to attend the future WG in-person meetin=
gs and look forward to seeing many of
 you there.=C2=A0<u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:rgb(136,136,136)"><u></u>=C2=A0=
<span class=3D"gmail-HOEnZb"><font color=3D"#888888"><u></u></font></span><=
/span></p><span class=3D"gmail-HOEnZb"><font color=3D"#888888">
</font></span></div><span class=3D"gmail-HOEnZb"><font color=3D"#888888">
<p class=3D"MsoNormal"><span style=3D"color:rgb(136,136,136)">-- <u></u><u>=
</u></span></p>
<div>
<p class=3D"MsoNormal"><span style=3D"color:rgb(136,136,136)">Colm<u></u><u=
></u></span></p>
</div>
</font></span></div>
</div>
</div><span class=3D"gmail-">
<p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
<a href=3D"https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__www.ietf.=
org_mailman_listinfo_tls&amp;d=3DDwMFaQ&amp;c=3D5VD0RTtNlTh3ycd41b3MUw&amp;=
r=3Dl2j4BjkO0Lc3u4CH2z7jPw&amp;m=3D_2BECf9OfW1r1aRWrL_pSbQeKMshyOm2NIVWF4GG=
BI0&amp;s=3D6GIocGzW6wPK4EAlqDLIirNvsuQj7gWhYG_OzROR2qY&amp;e=3D" target=3D=
"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><u></u><u></u></=
p>
</span></blockquote>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
</div>

</blockquote></div><br></div></div>

--f403045da3584e9e8f054eb996ad--


From nobody Thu May  4 14:58:25 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1812C128B37 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 14:58:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.901
X-Spam-Level: 
X-Spam-Status: No, score=-2.901 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 CM1mIcQeIO8n for <tls@ietfa.amsl.com>; Thu,  4 May 2017 14:58:22 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E00EF127286 for <tls@ietf.org>; Thu,  4 May 2017 14:58:22 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id 7B854A00491D; Thu,  4 May 2017 14:58:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=yJnJ0M6uwVClEc V7TnTwiVwlub4=; b=bu6pEvmcum21SZAKiVUut+wA23tbD0Eh9INbUvP6kIQvxE 5bhLepZJlqxRuEVugH6XxoxMn3aFXd/3Xf77OFfOrkcwEFpHHlGsGRvayB3ld1i7 xCxyvh04UhgG4xT1hvYescZUuV2XTb3Mgb0XIiPTVKtclee3HdhT3NBufBTLA=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPSA id 22FFCA00491B; Thu,  4 May 2017 14:58:22 -0700 (PDT)
Date: Thu, 4 May 2017 16:58:19 -0500
From: Nico Williams <nico@cryptonector.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Kyle Nekritz <knekritz@fb.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170504215818.GZ10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com> <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/wVxLzSU3LtkdAmjFEpgd7Di6e7Q>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 21:58:24 -0000

On Thu, May 04, 2017 at 02:37:20PM -0700, Eric Rescorla wrote:
> On Thu, May 4, 2017 at 2:27 PM, Kyle Nekritz <knekritz@fb.com> wrote:
> > [...]
> 
> I think this is basically right. In the PR I just posted, I spent most of
> my time describing the
> mechanisms and used a SHOULD-level requirement to do one of the mechanisms.
> I think there's a bunch of room to wordsmith the requirement. Perhaps we
> say:
> 
> - You can't do 0-RTT without an application profile
> - Absent the application profile saying otherwise you SHOULD/MUST do one of
> these mitigations?

There's a number of ways to handle this.

One is to say that 0-rtt cannot be enabled by default, and that enabling
it requires an API call or application profile that puts the onus of
understanding the ramifications on the application developer.

The thing to keep in mind is that this RFC can give guidance to TLS
implementors, and to authors of Internet protocols using TLS.  It can't
really give guidance to authors of non-Internet protocols using TLS:
they might never look at the RFC.  So the guidance here has to be for
the available audience.  For TLS implementors the guidance should be to
make the 0-rtt footgun clear to consuming applications.

Nico
-- 


From nobody Thu May  4 14:59:09 2017
Return-Path: <simon.tls@a-oben.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B39D127333; Thu,  4 May 2017 14:59:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.801
X-Spam-Level: 
X-Spam-Status: No, score=-2.801 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 1n2Y54K8Oo0j; Thu,  4 May 2017 14:59:05 -0700 (PDT)
Received: from a-oben.org (squint.a-oben.org [144.76.111.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D3834128B37; Thu,  4 May 2017 14:59:04 -0700 (PDT)
Received: from [81.164.186.174] (helo=[192.168.0.234]) by a-oben.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.88) (envelope-from <simon.tls@a-oben.org>) id 1d6Ols-00062O-4Q; Thu, 04 May 2017 23:59:03 +0200
To: ietf@ietf.org
References: <149391606578.6842.3727373203321848879.idtracker@ietfa.amsl.com>
Cc: "tls@ietf.org" <tls@ietf.org>
From: Simon Friedberger <simon.tls@a-oben.org>
Message-ID: <4373f972-bf9b-4dbe-1b59-7f51846831f3@a-oben.org>
Date: Thu, 4 May 2017 23:58:47 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <149391606578.6842.3727373203321848879.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/_XNNke2qV9KOISvOeNO8xiqLlmI>
Subject: Re: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 21:59:07 -0000

Nits:

	RFC 4279 reference is missing.

	"TLS 1.3 and above version, " should probably be "TLS 1.3 and above" or "TLS 1.3 and higher versions"

On 04/05/17 18:41, The IESG wrote:
> The IESG has received a request from the Transport Layer Security WG
> (tls) to consider the following document:
> - 'ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
>    Security (TLS)'
>   <draft-ietf-tls-ecdhe-psk-aead-03.txt> as Proposed Standard
>
> The IESG plans to make a decision in the next few weeks, and solicits
> final comments on this action. Please send substantive comments to the
> ietf@ietf.org mailing lists by 2017-05-18. Exceptionally, comments may be
> sent to iesg@ietf.org instead. In either case, please retain the
> beginning of the Subject line to allow automated sorting.
>
> Abstract
>
>
>    This document defines several new cipher suites for the Transport
>    Layer Security (TLS) protocol.  The cipher suites are all based on
>    the Ephemeral Elliptic Curve Diffie-Hellman with Pre-Shared Key
>    (ECDHE_PSK) key exchange together with the Authenticated Encryption
>    with Associated Data (AEAD) algorithms AES-GCM and AES-CCM.  PSK
>    provides light and efficient authentication, ECDHE provides perfect
>    forward secrecy, and AES-GCM and AES-CCM provides encryption and
>    integrity protection.
>
>
>
>
> The file can be obtained via
> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
>
> IESG discussion can be tracked via
> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/ballot/
>
>
> No IPR declarations have been submitted directly on this I-D.
>
>
>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls


From nobody Thu May  4 15:00:18 2017
Return-Path: <nygren@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C64F1129AF2 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 15:00:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 0UdHVzkYReaQ for <tls@ietfa.amsl.com>; Thu,  4 May 2017 15:00:14 -0700 (PDT)
Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com [IPv6:2607:f8b0:400d:c09::22c]) (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 625A6129508 for <tls@ietf.org>; Thu,  4 May 2017 15:00:14 -0700 (PDT)
Received: by mail-qk0-x22c.google.com with SMTP id k74so22659423qke.1 for <tls@ietf.org>; Thu, 04 May 2017 15:00:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=kTgIwn8wpU7C7DYateKJmma+nszfUL0lWas6H5Coarw=; b=mOkd79c0AGHHtZIK1tKZEtglXeW/1O2tKhAxxAL1OUJre2PBy0cGPkbNIfaB8wdnyx O+jFQpmvv0ZaCA0l7+H3ox2ahGhlBctzGAGEJULIBc8hEXqB8PurHxiWydmU/B/eAMxH Ssjr3gEFvVn6COM+q3MLE7ZfW0fWSwTnW0hmIPI9BcsV/lTBHcV9vRm80jZWjADI1za/ iHL4B7SasOlT4UW0hyhuAeaA8cowOW/nXufL3yHRSpk3e+csK6hzUjX0IVH5YQ3PRBHP 3x9Q8D4DspGliC7VpoKH6NSjNBheVrvperf3NynTlVCg6zTJ/9b4PPc/jmDHWLbAVsQ7 Q2nQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=kTgIwn8wpU7C7DYateKJmma+nszfUL0lWas6H5Coarw=; b=Lfha6GGdOxV8EosfEmWrR0IXCM6meuxwUfaP8bYIHIKf3+SWKdWeTJLSHbzVukqLr/ GKOMDBAirRArtRecgAjxYhuy1kCufcqMCvA2aLQfPoNx10HGgIVCb2AXya1gsfA2oU0r sXnmhcekvTsDG+M1JwO6b6/yegWvqfnDbabduKj8nWYNoo5Uc0VrQdNuNE5CvSQozWoj mHPql64ZHD8w8S+GGtZa3Hh6cqUvWOH6k8NJ5dMwFE/P69kLg/Nf+9/1AABi+whe18aP LDhUuOj7UfLYUi1mBii1Y740jM24FfGaiHLzNuiVEulW0Cx18XlMcLR9yupE7ah+P+xw v+sQ==
X-Gm-Message-State: AODbwcDDfgTx74IKnu0aVuY9r0Zy26bgjCRtglb+OWZQrFSC6BcCG1OY GK091dUgFHrAX8c016o9xah4Dsyyg+Mv
X-Received: by 10.55.135.132 with SMTP id j126mr10022040qkd.266.1493935213610;  Thu, 04 May 2017 15:00:13 -0700 (PDT)
MIME-Version: 1.0
Sender: nygren@gmail.com
Received: by 10.12.172.151 with HTTP; Thu, 4 May 2017 15:00:13 -0700 (PDT)
In-Reply-To: <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com> <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com>
From: Erik Nygren <erik+ietf@nygren.org>
Date: Thu, 4 May 2017 18:00:13 -0400
X-Google-Sender-Auth: NNK8mhZoSQnUtjDhKuWx2EmDAYI
Message-ID: <CAKC-DJj2JzjP8+6ygsWOxTG3u8Ps3NmiyV5zyq7UyrNqaXNFZA@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Kyle Nekritz <knekritz@fb.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c07631eb98dbd054eb9e5d4
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/z1TY5tQSCn2AV6atDm7_Wb5f2cY>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 22:00:17 -0000

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

On Thu, May 4, 2017 at 5:37 PM, Eric Rescorla <ekr@rtfm.com> wrote:

>
>
>
> On Thu, May 4, 2017 at 2:27 PM, Kyle Nekritz <knekritz@fb.com> wrote:
>
>> > 1. A SHOULD-level requirement for server-side 0-RTT defense, explainin=
g
>> both session-cache and strike register styles and the merits of each.
>>
>>
>>
>> First, a point of clarification, I think two issues have been conflated
>> in this long thread:
>>
>> 1) Servers rejecting replayed 0-RTT data (using a single use session
>> cache/strike register/replay cache/some other method)
>>
>>
>>
>> There are definitely cases (i.e. application profiles) where this should
>> be done. I think a general case HTTPS server is one. But I don=E2=80=99t=
 think this
>> is strictly necessary across the board (for every application using 0-RT=
T
>> at all). DNS was brought up earlier in this thread as an example of a
>> protocol that is likely quite workable without extra measures to prevent
>> replay.
>>
>>
>>
>> We already state =E2=80=9CProtocols MUST NOT use 0-RTT data without a pr=
ofile
>> that defines its use.=E2=80=9D. We could also describe methods that may =
be used to
>> provide further replay protection. But I don=E2=80=99t think it=E2=80=99=
s appropriate to
>> make a blanket requirement that *all* application protocols should requi=
re
>> it.
>>
>>
>>
>> I also consider it quite misleading to say TLS 1.3 is insecure without
>> such a recommendation. Uses of TLS can be insecure, that does not mean t=
he
>> protocol itself is. It=E2=80=99s insecure to use TLS without properly
>> authenticating the server. Some users of TLS do not do this correctly. I=
=E2=80=99d
>> actually argue that it is easier to mess this up than it is to mess up a
>> 0-RTT deployment (and it can result in worse consequences). That doesn=
=E2=80=99t
>> mean we should require a particular method of authentication, for all us=
es
>> of TLS.
>>
>
> I think this is basically right. In the PR I just posted, I spent most of
> my time describing the
> mechanisms and used a SHOULD-level requirement to do one of the mechanism=
s.
> I think there's a bunch of room to wordsmith the requirement. Perhaps we
> say:
>
> - You can't do 0-RTT without an application profile
> - Absent the application profile saying otherwise you SHOULD/MUST do one
> of these mitigations?
>

I generally agree with Kyle here (and also added a few minor comments to
the PR).
I think we should be clear where the responsibilities generally lie as
well, for example:

"The onus is on clients not to send messages in 0-RTT data which are not
safe to have replayed and which they would not be willing to retry across
multiple 1-RTT connections. The onus is on servers to protect themselves
against attacks employing 0-RTT data replication."

The server responsibility is a general property TLS can maintain while the
client responsibility requires an application profile to define.

        Erik

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
hu, May 4, 2017 at 5:37 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a href=3D"=
mailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> wrote:<b=
r><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde=
r-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><br><d=
iv class=3D"gmail_extra"><br><br><div class=3D"gmail_quote"><span class=3D"=
gmail-">On Thu, May 4, 2017 at 2:27 PM, Kyle Nekritz <span dir=3D"ltr">&lt;=
<a href=3D"mailto:knekritz@fb.com" target=3D"_blank">knekritz@fb.com</a>&gt=
;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang=3D"EN-US">
<div class=3D"gmail-m_-6959515010218014954gmail-m_6768796029072055788WordSe=
ction1"><span class=3D"gmail-m_-6959515010218014954gmail-">
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">&gt; 1. A SHOULD-level requirement for server-side 0-RTT defense,=
 explaining both session-cache and strike register styles and the merits of=
 each.</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">=C2=A0</span></p>
</span><p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:cal=
ibri,sans-serif">First, a point of clarification, I think two issues have b=
een conflated in this long thread:</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">1) Servers rejecting replayed 0-RTT data (using a single use sess=
ion cache/strike register/replay cache/some other method)</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">=C2=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">There are definitely cases (i.e. application profiles) where this=
 should be done. I think a general case HTTPS server is one. But I don=E2=
=80=99t think this is strictly necessary across
 the board (for every application using 0-RTT at all). DNS was brought up e=
arlier in this thread as an example of a protocol that is likely quite work=
able without extra measures to prevent replay.
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">=C2=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">We already state =E2=80=9CProtocols MUST NOT use 0-RTT data witho=
ut a profile that defines its use.=E2=80=9D. We could also describe methods=
 that may be used to provide further replay protection.
 But I don=E2=80=99t think it=E2=80=99s appropriate to make a blanket requi=
rement that *all* application protocols should require it.</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">=C2=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">I also consider it quite misleading to say TLS 1.3 is insecure wi=
thout such a recommendation. Uses of TLS can be insecure, that does not mea=
n the protocol itself is. It=E2=80=99s insecure
 to use TLS without properly authenticating the server. Some users of TLS d=
o not do this correctly. I=E2=80=99d actually argue that it is easier to me=
ss this up than it is to mess up a 0-RTT deployment (and it can result in w=
orse consequences). That doesn=E2=80=99t mean we
 should require a particular method of authentication, for all uses of TLS.=
</span></p></div></div></blockquote><div><br></div></span><div>I think this=
 is basically right. In the PR I just posted, I spent most of my time descr=
ibing the</div><div>mechanisms and used a SHOULD-level requirement to do on=
e of the mechanisms.</div><div>I think there&#39;s a bunch of room to words=
mith the requirement. Perhaps we say:</div><div><br></div><div>- You can&#3=
9;t do 0-RTT without an application profile</div><div>- Absent the applicat=
ion profile saying otherwise you SHOULD/MUST do one of these mitigations?</=
div></div></div></div></blockquote><div><br></div><div>I generally agree wi=
th Kyle here (and also added a few minor comments to the PR).=C2=A0 <br></d=
iv><div>I think we should be clear where the responsibilities generally lie=
 as well, for example:<br><br>&quot;The onus is on clients not to send mess=
ages in 0-RTT data which are not
 safe to have replayed and which they would not be willing to retry=20
across multiple 1-RTT connections.  The onus is on servers to protect=20
themselves against attacks employing 0-RTT data replication.&quot;<br><br><=
/div><div>The server responsibility is a general property TLS can maintain =
while the client responsibility requires an application profile to define.=
=C2=A0 <br><br></div><div>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Erik<b=
r><br></div></div></div></div>

--94eb2c07631eb98dbd054eb9e5d4--


From nobody Thu May  4 15:04:04 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 01F34127286 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 15:04:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] 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 McM0k-nvr8ED for <tls@ietfa.amsl.com>; Thu,  4 May 2017 15:04:01 -0700 (PDT)
Received: from mail-yb0-x22b.google.com (mail-yb0-x22b.google.com [IPv6:2607:f8b0:4002:c09::22b]) (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 9A94F129469 for <tls@ietf.org>; Thu,  4 May 2017 15:04:00 -0700 (PDT)
Received: by mail-yb0-x22b.google.com with SMTP id s22so7020248ybe.3 for <tls@ietf.org>; Thu, 04 May 2017 15:04:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=nkixfKtJqTf0zCCoJG25HMrUfBVtTng61f9CyfoolF8=; b=p6M8GDun6pCFuHbbhG+0ASrg6KCoCXd8EFLrr2SKxzx2qli7+GKk148EFE9cc1keqH 3ynzKqivdr3156AxH+ZRFOznD+0MoY/bP2uI8x0goBCOWp/pHTWgE37h3hD0SlOmLgCU N0iJPY75DXPNpWjcuGYI/NQuAeXPMwzMgA2ZJwN6krpT/CY+WMQB7+RqEftFwvmfOX9D bQ2OU2i5Pzgsy2N8jXE2PyUzWnJYrlDf/oi/HtCpyPadXNebZKIvqjgm0XX9h4qtwQuC T7HZoG5SXl8y3X2rQ5+BdnuaqVUXf8j51vqFOrECHgLlia2DwLQRU5mLI2mjlzfoJSm4 bwUg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=nkixfKtJqTf0zCCoJG25HMrUfBVtTng61f9CyfoolF8=; b=Q2Xno6Fu4a90c/Ot13OoSVuWoGCsOi41qH9JVlESkgTdRPevEWsbmpEirY5Q+ZhGII uCkeoAKi85gjEWWFcU64PObfqpsz/HlLj1Oz9aufEZZGGJGYAgkyDLhDZlfgXsZaAPaj bJvnWexqptX3NZkaPihr2n215tF3k7u234IaNtL0Hb9zjkFGeIPwee3rmaTsJeXa9NF6 qBq76vWLG0V3o5oSIu4RhF3FLWYfGwtS24JoKtGpFfsgOV9y43K+KL1vlwYc6SBqUICX xTL5A3zlBg4swCMwbr3XHbSACwaSzJdfx+4lqDzcX0fSL8YZrS44qHCl0agH5agsOB/9 RUMQ==
X-Gm-Message-State: AN3rC/797JD+UQvlXxPCddI+DOGEOPvU7dZxpQFwwoBXTerMYXD2OeIi Wew3yAJ5SqfjsT6K2o43D6h6mKDXZQO0
X-Received: by 10.37.161.196 with SMTP id a62mr37467093ybi.9.1493935439832; Thu, 04 May 2017 15:03:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Thu, 4 May 2017 15:03:19 -0700 (PDT)
In-Reply-To: <CAKC-DJj2JzjP8+6ygsWOxTG3u8Ps3NmiyV5zyq7UyrNqaXNFZA@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com> <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com> <CAKC-DJj2JzjP8+6ygsWOxTG3u8Ps3NmiyV5zyq7UyrNqaXNFZA@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 4 May 2017 15:03:19 -0700
Message-ID: <CABcZeBNEbOqK21G+-HUzfX3ivpiOc=Bq2+EOLiA1suS5BkgShA@mail.gmail.com>
To: Erik Nygren <erik+ietf@nygren.org>
Cc: Kyle Nekritz <knekritz@fb.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=f403045c5632358deb054eb9f3be
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/hFX54ieCwKPIfCLihncqz-FjVL8>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 22:04:03 -0000

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

On Thu, May 4, 2017 at 3:00 PM, Erik Nygren <erik+ietf@nygren.org> wrote:

> On Thu, May 4, 2017 at 5:37 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>
>>
>>
>>
>> On Thu, May 4, 2017 at 2:27 PM, Kyle Nekritz <knekritz@fb.com> wrote:
>>
>>> > 1. A SHOULD-level requirement for server-side 0-RTT defense,
>>> explaining both session-cache and strike register styles and the merits=
 of
>>> each.
>>>
>>>
>>>
>>> First, a point of clarification, I think two issues have been conflated
>>> in this long thread:
>>>
>>> 1) Servers rejecting replayed 0-RTT data (using a single use session
>>> cache/strike register/replay cache/some other method)
>>>
>>>
>>>
>>> There are definitely cases (i.e. application profiles) where this shoul=
d
>>> be done. I think a general case HTTPS server is one. But I don=E2=80=99=
t think this
>>> is strictly necessary across the board (for every application using 0-R=
TT
>>> at all). DNS was brought up earlier in this thread as an example of a
>>> protocol that is likely quite workable without extra measures to preven=
t
>>> replay.
>>>
>>>
>>>
>>> We already state =E2=80=9CProtocols MUST NOT use 0-RTT data without a p=
rofile
>>> that defines its use.=E2=80=9D. We could also describe methods that may=
 be used to
>>> provide further replay protection. But I don=E2=80=99t think it=E2=80=
=99s appropriate to
>>> make a blanket requirement that *all* application protocols should requ=
ire
>>> it.
>>>
>>>
>>>
>>> I also consider it quite misleading to say TLS 1.3 is insecure without
>>> such a recommendation. Uses of TLS can be insecure, that does not mean =
the
>>> protocol itself is. It=E2=80=99s insecure to use TLS without properly
>>> authenticating the server. Some users of TLS do not do this correctly. =
I=E2=80=99d
>>> actually argue that it is easier to mess this up than it is to mess up =
a
>>> 0-RTT deployment (and it can result in worse consequences). That doesn=
=E2=80=99t
>>> mean we should require a particular method of authentication, for all u=
ses
>>> of TLS.
>>>
>>
>> I think this is basically right. In the PR I just posted, I spent most o=
f
>> my time describing the
>> mechanisms and used a SHOULD-level requirement to do one of the
>> mechanisms.
>> I think there's a bunch of room to wordsmith the requirement. Perhaps we
>> say:
>>
>> - You can't do 0-RTT without an application profile
>> - Absent the application profile saying otherwise you SHOULD/MUST do one
>> of these mitigations?
>>
>
> I generally agree with Kyle here (and also added a few minor comments to
> the PR).
> I think we should be clear where the responsibilities generally lie as
> well, for example:
>
> "The onus is on clients not to send messages in 0-RTT data which are not
> safe to have replayed and which they would not be willing to retry across
> multiple 1-RTT connections. The onus is on servers to protect themselves
> against attacks employing 0-RTT data replication."
>
> The server responsibility is a general property TLS can maintain while th=
e
> client responsibility requires an application profile to define.
>

These seem like good changes. I will work to incorporate them.

-Ekr


>
>         Erik
>
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, May 4, 2017 at 3:00 PM, Erik Nygren <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:erik+ietf@nygren.org" target=3D"_blank">erik+ietf@nygren.org</=
a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><di=
v class=3D"gmail_extra"><div class=3D"gmail_quote"><span class=3D"">On Thu,=
 May 4, 2017 at 5:37 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> wrote:<br><=
blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l=
eft:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><br><div =
class=3D"gmail_extra"><br><br><div class=3D"gmail_quote"><span class=3D"m_7=
17061745156086018gmail-">On Thu, May 4, 2017 at 2:27 PM, Kyle Nekritz <span=
 dir=3D"ltr">&lt;<a href=3D"mailto:knekritz@fb.com" target=3D"_blank">knekr=
itz@fb.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">





<div lang=3D"EN-US">
<div class=3D"m_717061745156086018gmail-m_-6959515010218014954gmail-m_67687=
96029072055788WordSection1"><span class=3D"m_717061745156086018gmail-m_-695=
9515010218014954gmail-">
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">&gt; 1. A SHOULD-level requirement for server-side 0-RTT defense,=
 explaining both session-cache and strike register styles and the merits of=
 each.</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">=C2=A0</span></p>
</span><p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:cal=
ibri,sans-serif">First, a point of clarification, I think two issues have b=
een conflated in this long thread:</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">1) Servers rejecting replayed 0-RTT data (using a single use sess=
ion cache/strike register/replay cache/some other method)</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">=C2=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">There are definitely cases (i.e. application profiles) where this=
 should be done. I think a general case HTTPS server is one. But I don=E2=
=80=99t think this is strictly necessary across
 the board (for every application using 0-RTT at all). DNS was brought up e=
arlier in this thread as an example of a protocol that is likely quite work=
able without extra measures to prevent replay.
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">=C2=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">We already state =E2=80=9CProtocols MUST NOT use 0-RTT data witho=
ut a profile that defines its use.=E2=80=9D. We could also describe methods=
 that may be used to provide further replay protection.
 But I don=E2=80=99t think it=E2=80=99s appropriate to make a blanket requi=
rement that *all* application protocols should require it.</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">=C2=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:calibri,sa=
ns-serif">I also consider it quite misleading to say TLS 1.3 is insecure wi=
thout such a recommendation. Uses of TLS can be insecure, that does not mea=
n the protocol itself is. It=E2=80=99s insecure
 to use TLS without properly authenticating the server. Some users of TLS d=
o not do this correctly. I=E2=80=99d actually argue that it is easier to me=
ss this up than it is to mess up a 0-RTT deployment (and it can result in w=
orse consequences). That doesn=E2=80=99t mean we
 should require a particular method of authentication, for all uses of TLS.=
</span></p></div></div></blockquote><div><br></div></span><div>I think this=
 is basically right. In the PR I just posted, I spent most of my time descr=
ibing the</div><div>mechanisms and used a SHOULD-level requirement to do on=
e of the mechanisms.</div><div>I think there&#39;s a bunch of room to words=
mith the requirement. Perhaps we say:</div><div><br></div><div>- You can&#3=
9;t do 0-RTT without an application profile</div><div>- Absent the applicat=
ion profile saying otherwise you SHOULD/MUST do one of these mitigations?</=
div></div></div></div></blockquote><div><br></div></span><div>I generally a=
gree with Kyle here (and also added a few minor comments to the PR).=C2=A0 =
<br></div><div>I think we should be clear where the responsibilities genera=
lly lie as well, for example:<br><br>&quot;The onus is on clients not to se=
nd messages in 0-RTT data which are not
 safe to have replayed and which they would not be willing to retry=20
across multiple 1-RTT connections.  The onus is on servers to protect=20
themselves against attacks employing 0-RTT data replication.&quot;<br><br><=
/div><div>The server responsibility is a general property TLS can maintain =
while the client responsibility requires an application profile to define.=
=C2=A0 <br></div></div></div></div></blockquote><div><br></div><div>These s=
eem like good changes. I will work to incorporate them.</div><div><br></div=
><div>-Ekr</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D=
"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div><span clas=
s=3D"HOEnZb"><font color=3D"#888888"><br></font></span></div><span class=3D=
"HOEnZb"><font color=3D"#888888"><div>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 Erik<br><br></div></font></span></div></div></div>
</blockquote></div><br></div></div>

--f403045c5632358deb054eb9f3be--


From nobody Thu May  4 15:04:25 2017
Return-Path: <prvs=62970e18b2=knekritz@fb.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1DBE0129469 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 15:04:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.721
X-Spam-Level: 
X-Spam-Status: No, score=-0.721 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, HTTPS_HTTP_MISMATCH=1.989, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=fb.com header.b=lvHHU8Sl; dkim=pass (1024-bit key) header.d=fb.onmicrosoft.com header.b=ODKhPAg+
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 TgJQgoUAf2Lf for <tls@ietfa.amsl.com>; Thu,  4 May 2017 15:04:13 -0700 (PDT)
Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0C2DB129AEB for <tls@ietf.org>; Thu,  4 May 2017 15:04:12 -0700 (PDT)
Received: from pps.filterd (m0044008.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v44M3m6h022102; Thu, 4 May 2017 15:04:09 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=facebook; bh=mIG0flS3rjN17JXsfls+JjaU+yDjwtS8lF/SNDOnBzg=; b=lvHHU8Sl4GmkaCAzh7lK2r3G6Ixn8aYlH/IHFSFR+s2ZIpVupHAkCSWfO41JYMNiRGgL Lv3346CCz6XtbeAcm341Lngo01x9SkvHrcDwHRe612ptB9jEYgUMEcFh0CDzhUlxv6HQ 0gCHessjdoGkHsFMk4WDVCesSjcxG5/FL6c= 
Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2a89rcrrck-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 04 May 2017 15:04:09 -0700
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.17) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 4 May 2017 15:04:07 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;  bh=mIG0flS3rjN17JXsfls+JjaU+yDjwtS8lF/SNDOnBzg=; b=ODKhPAg+n/o99IHqycrvJfV8E00lqZpGsakCMk229Tu6wSPBUyfX9YWxjx8m5QzMJwMmjlMhNpGJ8vh8tv4e/UQcgdz4qntu20a3aGwJ6X2mynRi7tLQ/ew+CVUDb0Kv91MuAt5Ifqys7Vj2tesHeASs02E/DfnLGLe4mHZHCqQ=
Received: from MWHPR15MB1182.namprd15.prod.outlook.com (10.175.2.136) by MWHPR15MB1182.namprd15.prod.outlook.com (10.175.2.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12; Thu, 4 May 2017 22:04:05 +0000
Received: from MWHPR15MB1182.namprd15.prod.outlook.com ([10.175.2.136]) by MWHPR15MB1182.namprd15.prod.outlook.com ([10.175.2.136]) with mapi id 15.01.1061.022; Thu, 4 May 2017 22:04:05 +0000
From: Kyle Nekritz <knekritz@fb.com>
To: Eric Rescorla <ekr@rtfm.com>
CC: =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NWfzhsEfLgEUy3mG3N+R1DLqHjghwAgADwDPCAAERoAIAAA4ig
Date: Thu, 4 May 2017 22:04:05 +0000
Message-ID: <MWHPR15MB1182C6745F7581005DD447A9AFEA0@MWHPR15MB1182.namprd15.prod.outlook.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com> <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com>
In-Reply-To: <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: rtfm.com; dkim=none (message not signed) header.d=none;rtfm.com; dmarc=none action=none header.from=fb.com;
x-originating-ip: [2620:10d:c091:200::2:713]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; MWHPR15MB1182; 7:bdwNxr9IhWyba6FQR5yAWvC4fvq5jYS4JTnS6c4OEbvbTH7NfOPqlSpuSTrXYRIEqswMEMoxHZe4t9FVG0gY1FnU6mFm5jaoEaM7FOXCEtCAhyvw7veFfdhP7wEUCgjOLJe3cdMpwNo8ektjvsVu+INH+kh3ho+g4C3FNeWfKfbmXd+EXRl0gag5wdJ9vE4d6L+e8s9V3Ge+ISutuPlPJ9ncSJY1tOjcDWdbstRHjfNY41gVxwTQCFFNMz9ASixnEfir7SvpqTfp2jMjjo4j9B4rCnyxLJ7dEBx74DQn6xWL/Uiw6cvPqFfPd/eP18aIF4cXEw8Js7WR3Mr/exfQeA==; 20:3esukrEztrMIX7pHyLJRmUgSgqud6PUyjiRiuFKd/hLfts6whW/v9/j54MWPype0RRRUkr0obwZFdDQ9zNQrEhyxVk+GMEn7w3PApDKyenMgJoo89/Ln78fhxxF4KRcYgDqSJypOgRqvEg+Yw4O9Iz7XdJMQv/Qjq9bgHkM10xQ=
x-ms-office365-filtering-correlation-id: 32c98b57-de53-40cf-0666-08d493397b41
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:MWHPR15MB1182; 
x-microsoft-antispam-prvs: <MWHPR15MB1182D88DBCD7D0855D64D660AFEA0@MWHPR15MB1182.namprd15.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(278428928389397)(166708455590820)(192374486261705)(67672495146484)(21748063052155)(64217206974132)(10436049006162);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(20161123558100)(6072148); SRVR:MWHPR15MB1182; BCL:0; PCL:0; RULEID:; SRVR:MWHPR15MB1182; 
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39410400002)(39400400002)(39850400002)(39840400002)(39450400003)(24454002)(377454003)(2906002)(77096006)(3660700001)(53546009)(3280700002)(25786009)(99286003)(54356999)(86362001)(76176999)(50986999)(19609705001)(4326008)(38730400002)(110136004)(189998001)(6246003)(93886004)(6506006)(55016002)(54906002)(33656002)(7110500001)(6306002)(6436002)(606005)(53936002)(54896002)(9686003)(7696004)(7906003)(236005)(74316002)(2950100002)(2900100001)(8936002)(7736002)(6916009)(102836003)(5660300001)(6116002)(15650500001)(122556002)(81166006)(478600001)(2420400007)(8676002)(229853002); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR15MB1182; H:MWHPR15MB1182.namprd15.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_MWHPR15MB1182C6745F7581005DD447A9AFEA0MWHPR15MB1182namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2017 22:04:05.3748 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR15MB1182
X-OriginatorOrg: fb.com
X-Proofpoint-Spam-Reason: safe
X-FB-Internal: Safe
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-04_14:, , signatures=0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/q6jG9YaYs6HC0xxoA_oAVEgHLH8>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 22:04:24 -0000

--_000_MWHPR15MB1182C6745F7581005DD447A9AFEA0MWHPR15MB1182namp_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

WWVwLCBJIHRoaW5rIHlvdXIgUFIgaXMgaW4gdGhlIHJpZ2h0IGRpcmVjdGlvbi4NCg0KPiBJIGhh
dmUgYmVlbiBiYXNpY2FsbHkgYXNzdW1pbmcgdGhhdCB5b3UgY2FuJ3QgcmVhbGx5IGRvIFRMUyB3
aXRob3V0IGEgcmVhbC10aW1lIGNsb2NrLCBidXQgbWF5YmUgdGhhdCdzIHdyb25nPw0KDQpXZWxs
LCBpdOKAmXMgcG9zc2libGUsIGFsdGhvdWdoIEkgZG8gbm90IGtub3cgaWYgYW55b25lIGFjdHVh
bGx5IGRvZXMgKGFuZCBvZiBjb3Vyc2UgY2VydGlmaWNhdGUgdmFsaWRhdGlvbiB3b3VsZCBiZSBh
IGxpdHRsZSBjaGFsbGVuZ2luZykuIE1heWJlIHNvbWVvbmUgZnJvbSB0aGUgZW1iZWRkZWQgY3Jv
d2QgY2FuIGVubGlnaHRlbiB1cy4NCg0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o0QmprTzBMYzN1NENIMno3alB3JmFtcDttPV8yQkVD
ZjlPZlcxcjFhUldyTF9wU2JRZUtNc2h5T20yTklWV0Y0R0dCSTAmYW1wO3M9NkdJb2NHelc2d1BL
NEVBbHFETElpck52c3VRajdnV2hZR19PelJPUjJxWSZhbXA7ZT0iIHRhcmdldD0iX2JsYW5rIj5o
dHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL3RsczwvYT48bzpwPjwvbzpwPjwv
cD4NCjwvYmxvY2txdW90ZT4NCjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiIHN0
eWxlPSJtc28tbWFyZ2luLXRvcC1hbHQ6YXV0bzttc28tbWFyZ2luLWJvdHRvbS1hbHQ6YXV0byI+
Jm5ic3A7PG86cD48L286cD48L3A+DQo8L2Rpdj4NCjwvZGl2Pg0KPC9kaXY+DQo8L2Jsb2NrcXVv
dGU+DQo8L2Rpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0K
PC9kaXY+DQo8L2Rpdj4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K

--_000_MWHPR15MB1182C6745F7581005DD447A9AFEA0MWHPR15MB1182namp_--


From nobody Thu May  4 15:04:49 2017
Return-Path: <ddp@electric-loft.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A2F15129AE9 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 15:04:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-0.001] autolearn=ham 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 BBbTHNaXdboV for <tls@ietfa.amsl.com>; Thu,  4 May 2017 15:04:46 -0700 (PDT)
Received: from Mail.Yoyodyne.COM (mail.yoyodyne.com [209.118.176.138]) by ietfa.amsl.com (Postfix) with SMTP id 66AF1129B3F for <tls@ietf.org>; Thu,  4 May 2017 15:04:28 -0700 (PDT)
Received: from [192.168.1.3] ([208.85.33.68]) by Mail.Yoyodyne.COM via Internet for <erik+ietf@nygren.org> (and others);  Thu, 4 May 2017 15:04:24 PDT
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Derrell Piper <ddp@electric-loft.org>
In-Reply-To: <CAKC-DJj2JzjP8+6ygsWOxTG3u8Ps3NmiyV5zyq7UyrNqaXNFZA@mail.gmail.com>
Date: Thu, 4 May 2017 16:04:26 -0600
Cc: Eric Roscorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <F2D9FCD8-F4B0-4E20-81B3-0892EDCBA42B@electric-loft.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com> <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com> <CAKC-DJj2JzjP8+6ygsWOxTG3u8Ps3NmiyV5zyq7UyrNqaXNFZA@mail.gmail.com>
To: Erik Nygren <erik+ietf@nygren.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/lNjC9DJoiuI4cyVNgyn0fmgwvVw>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 22:04:48 -0000

Sure, those are fine weasel words.  But do we really want to allow into =
this protocol something that can be misused with security implications =
in a protocol that=E2=80=99s attempting to solve a security problem?  I =
really don=E2=80=99t know.  I=E2=80=99m inclined to say, =E2=80=98no=E2=80=
=99 though.  For all those same reasons that IPsec provides replay =
detection, I think TLS should too.

Derrell

> On May 4, 2017, at 4:00 PM, Erik Nygren <erik+ietf@nygren.org> wrote:
>=20
> "The onus is on clients not to send messages in 0-RTT data which are =
not safe to have replayed and which they would not be willing to retry =
across multiple 1-RTT connections. The onus is on servers to protect =
themselves against attacks employing 0-RTT data replication."
>=20
> The server responsibility is a general property TLS can maintain while =
the client responsibility requires an application profile to define. =20


From nobody Thu May  4 16:26:53 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C05F91243FE for <tls@ietfa.amsl.com>; Thu,  4 May 2017 16:26:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.499
X-Spam-Level: 
X-Spam-Status: No, score=-0.499 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 YO2laAp07smd for <tls@ietfa.amsl.com>; Thu,  4 May 2017 16:26:50 -0700 (PDT)
Received: from mail-yb0-x234.google.com (mail-yb0-x234.google.com [IPv6:2607:f8b0:4002:c09::234]) (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 6F5DF129A99 for <tls@ietf.org>; Thu,  4 May 2017 16:26:50 -0700 (PDT)
Received: by mail-yb0-x234.google.com with SMTP id s22so7354499ybe.3 for <tls@ietf.org>; Thu, 04 May 2017 16:26:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=f9WOlkDPbjUpuq83aZbZBi3Lxz0ucjYiEyHXsYIcWdM=; b=bSOCVOGdbZMgeG/TUSZPiTJ0objkKYg4ipIC8Ku9Pba3Gs210aoJM47bu6mY1oQaz2 G8uxTEjDoVH3NAGWX/UsXB/NY+weovoqF+mP6SwIPrdPE7djoxBEFsDq/dlK1ri0ykrf zsb1xcZFx4+3rLiwfSNDvIvmhK4qNpfNx59CRR4a7qcox6Zb8AroIx8O96WIe8vAoIha iOyeCQ4aVTybk6f8Rdtiotw/xmMVgiDrKn6mkP3cQgIIjrb9xl8Az5wG4JJn9N4JKU8+ O43JNRgTbuvWrzIZ4BBe3Cz4vScTb4hBw96k8ryBs8hR6QVi2fSwvhcVkTVnpEXz9JMD BD4g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=f9WOlkDPbjUpuq83aZbZBi3Lxz0ucjYiEyHXsYIcWdM=; b=CRUor8uFctRfpgMyX6um5vcjSQcqem4YxXlX9meN2IYM/W6Ws8dJ407683QjEgtDml QrsFbYt7QsGz4SjyvZ1snp3/TL1V5ulaNF/6YbGV+2/i9zDF+N2fgXHaKSLpgv0iIxO3 yOV89PthiUvd/8+yq0faFEDa9kwOb5erF06pFo9uO3hfSIIg3hmJF4HilKpnXNM0BCxL /rczLxaSTK4MYKNUUhKXoGvfPOxwZWsga+G96xU1pHMfXUoekCvhwScYL19pX5Ew/ZVA Yccq1Ixru79QSYvJfay5zwwgJt4/g7kn1BjWpkFu8jHqlK1N+JWz1kRsc858n5T61r6L uUkg==
X-Gm-Message-State: AN3rC/7eS9M+xa/zwvCuqCs0iEH/ffLY/wY0l+bBl2zWM4Hw7/p88SIf fOfPJORzDFsX8+BfwlJHmyDGYFamJQ==
X-Received: by 10.37.16.212 with SMTP id 203mr23436063ybq.90.1493940409739; Thu, 04 May 2017 16:26:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Thu, 4 May 2017 16:26:48 -0700 (PDT)
In-Reply-To: <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Thu, 4 May 2017 16:26:48 -0700
Message-ID: <CAAF6GDcwXOnw=9MXbABs4PZQAfpaisSEJpASFZkzVgDBL8FjCg@mail.gmail.com>
To: Kyle Nekritz <knekritz@fb.com>
Cc: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11c0ff04704eea054ebb1b3b
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/VThgw-vBgTXlRA9fitWBx8Rdw98>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 23:26:52 -0000

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

On Thu, May 4, 2017 at 2:27 PM, Kyle Nekritz <knekritz@fb.com> wrote:

>
> There are definitely cases (i.e. application profiles) where this should
> be done. I think a general case HTTPS server is one. But I don=E2=80=99t =
think this
> is strictly necessary across the board (for every application using 0-RTT
> at all). DNS was brought up earlier in this thread as an example of a
> protocol that is likely quite workable without extra measures to prevent
> replay.
>

I thought some more about DNS since yesterday and I'm not sure it is
workable. How would we protect DNS against attack 4 (cache replay) -
couldn't it lead to disclosure of what the request was for? When used
against caches I mean, which is common, and DNS-over-TLS is designed mainly
for privacy, so that actually seems like a show-stopper.


> I also consider it quite misleading to say TLS 1.3 is insecure without
> such a recommendation. Uses of TLS can be insecure, that does not mean th=
e
> protocol itself is. It=E2=80=99s insecure to use TLS without properly
> authenticating the server. Some users of TLS do not do this correctly. I=
=E2=80=99d
> actually argue that it is easier to mess this up than it is to mess up a
> 0-RTT deployment (and it can result in worse consequences). That doesn=E2=
=80=99t
> mean we should require a particular method of authentication, for all use=
s
> of TLS.
>

Here's how I think about it. Each of the attacks in the review is more
practical than Lucky13. More practical in the sense that I could do them in
a real-world setting. In my view at least.

Lucky13 was serious enough to prompt us all to accelerate turning of the
MtE cipher suites. Even though this actually made traffic analysis attacks
easier. Collectively we took a look at it and decided it was on too shaky
ground and we considered it insecure. And so the MtE suites went away.

I can't find a way then, in that context, to see replay as anything other
than a straightforward security issue. Replay is bad, it breaks things,
that's why we go to lengths to prevent it, it's not ok to just for get
about that. If TLS allows replay, TLS is insecure. Remembering that TLS is
a transport layer protocol, not an application layer one.

An application can use RC4 at the TLS layer if it provides its own
application-layer encryption, but we don't consider that secure. We don't
look for cases where applications can make special exceptions; because
that's fraught with sharp edges. We make the default secure.

--=20
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, May 4, 2017 at 2:27 PM, Kyle Nekritz <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:knekritz@fb.com" target=3D"_blank">knekritz@fb.com</a>&gt;</s=
pan> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"m_3993609869077109023m_3066653935145225935WordSection1"><span=
>
<p class=3D"MsoNormal"><br></p></span>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">There are definitely cases (i.e. application profil=
es) where this should be done. I think a general case HTTPS server is one. =
But I don=E2=80=99t think this is strictly necessary across
 the board (for every application using 0-RTT at all). DNS was brought up e=
arlier in this thread as an example of a protocol that is likely quite work=
able without extra measures to prevent replay.</span></p></div></div></bloc=
kquote><div><br></div><div>I thought some more about DNS since yesterday an=
d I&#39;m not sure it is workable. How would we protect DNS against attack =
4 (cache replay) - couldn&#39;t it lead to disclosure of what the request w=
as for? When used against caches I mean, which is common, and DNS-over-TLS =
is designed mainly for privacy, so that actually seems like a show-stopper.=
 =C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang=3D"E=
N-US" link=3D"blue" vlink=3D"purple"><div class=3D"m_3993609869077109023m_3=
066653935145225935WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">I also consider it quite misleading to say TLS 1.3 =
is insecure without such a recommendation. Uses of TLS can be insecure, tha=
t does not mean the protocol itself is. It=E2=80=99s insecure
 to use TLS without properly authenticating the server. Some users of TLS d=
o not do this correctly. I=E2=80=99d actually argue that it is easier to me=
ss this up than it is to mess up a 0-RTT deployment (and it can result in w=
orse consequences). That doesn=E2=80=99t mean we
 should require a particular method of authentication, for all uses of TLS.=
</span></p></div></div></blockquote><div><br></div><div>Here&#39;s how I th=
ink about it. Each of the attacks in the review is more practical than Luck=
y13. More practical in the sense that I could do them in a real-world setti=
ng. In my view at least. =C2=A0</div><div><br></div><div>Lucky13 was seriou=
s enough to prompt us all to accelerate turning of the MtE cipher suites. E=
ven though this actually made traffic analysis attacks easier. Collectively=
 we took a look at it and decided it was on too shaky ground and we conside=
red it insecure. And so the MtE suites went away.=C2=A0</div><div><br></div=
><div>I can&#39;t find a way then, in that context, to see replay as anythi=
ng other than a straightforward security issue. Replay is bad, it breaks th=
ings, that&#39;s why we go to lengths to prevent it, it&#39;s not ok to jus=
t for get about that. If TLS allows replay, TLS is insecure. Remembering th=
at TLS is a transport layer protocol, not an application layer one.=C2=A0</=
div><div><br></div><div>An application can use RC4 at the TLS layer if it p=
rovides its own application-layer encryption, but we don&#39;t consider tha=
t secure. We don&#39;t look for cases where applications can make special e=
xceptions; because that&#39;s fraught with sharp edges. We make the default=
 secure.=C2=A0</div><div><br></div></div>-- <br><div class=3D"m_39936098690=
77109023gmail_signature" data-smartmail=3D"gmail_signature">Colm</div>
</div></div>

--001a11c0ff04704eea054ebb1b3b--


From nobody Thu May  4 16:35:13 2017
Return-Path: <watsonbladd@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 18BC012773A for <tls@ietfa.amsl.com>; Thu,  4 May 2017 16:35:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 GItH9FkInS1P for <tls@ietfa.amsl.com>; Thu,  4 May 2017 16:35:11 -0700 (PDT)
Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com [IPv6:2607:f8b0:400e:c00::231]) (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 1C97F1243F3 for <tls@ietf.org>; Thu,  4 May 2017 16:35:11 -0700 (PDT)
Received: by mail-pf0-x231.google.com with SMTP id q66so14429465pfi.3 for <tls@ietf.org>; Thu, 04 May 2017 16:35:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=ZLasDnwYenOSYAtFB2XZPQK+sw5+aDgng9daztE6M9A=; b=lYWvR6GFDRC5eMIOElYzib1paS7X0NLrgTO++apvGoauYpvvgwUis5UrDI4H0YTvZF 0EXmphoLcCEfWNQJurqRTdtyKmd3eag+z3WyPyVyi4w42ha3HqQ8+CBr+ijUjdALXEKW aRzolRyQK7ISmOZlZcZiXVd8B2t0q0oV9lLddrBTo2h05zMhd1tFgyz/3I81W9FyqFXP KIEw7YeYCuGVI1JjAevREGsHYAVNvfICTO7CDwKh+It0uhpj/PsYPNjC8D7orZBqMa6q EhZx2HDJlSlCKgFfZtjtBamHEb/dGL2WutcUwEYw4oqo49iZI9AwpQRbav8Q4VajUBEe e0AA==
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=ZLasDnwYenOSYAtFB2XZPQK+sw5+aDgng9daztE6M9A=; b=Uxu0qw1ikvYXg/D2dQG6OoalGm0o7ILc/lcKWb36WvOmHXRUw6wvCjTja/yCo8FcVs ASuIO2J6Zf3cWA/Rp3oUQ/HipN9hAOkiWbr2VJMYJcx3ZdcCfo77j4nEkj6NyfYYfZsK Nv2ucar99B+TrNuCaJYWvwgmSQe73QLDxqMJg7dMR1Yje5h9hUs0YgNutWhlKnGyiHTn TT24cGpiUjLhqvww4QYnmeABdHE89TzXIB+i0krs3lVqmfQ4Q+yJr4GVOf9qABwT6JiA ZvNTCMlzDhme87NwRbE5kxPTyFsXHGgrTNkUy/yJyefnxGH6d17hhwLkBrYniXBCNPNM 4rSA==
X-Gm-Message-State: AN3rC/63RjtZdAJ8Lewql6GOTFItfHBna/GrAVissc3K3fBC2f0fjoCW 5XOaq63GfJ2lkAECBPAmCn2Obn2SEfUD
X-Received: by 10.84.236.70 with SMTP id h6mr61070240pln.145.1493940910571; Thu, 04 May 2017 16:35:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.163.12 with HTTP; Thu, 4 May 2017 16:35:10 -0700 (PDT)
From: Watson Ladd <watsonbladd@gmail.com>
Date: Thu, 4 May 2017 16:35:10 -0700
Message-ID: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com>
To: "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Fzyuc_DaB62tefuBwi3UK840oqw>
Subject: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 23:35:12 -0000

Dear all,

Applications have always had to deal with the occasional replay,
whether from an impatient user or a broken connection at exactly the
wrong time. But they've generally been rare, so human-in-the-loop
responses work. Order the same book twice? Just return one of them,
and if you get an overdraft fee, ouch, we're sorry, but nothing we can
do.

0-RTT is opt-in per protocol, and what we think of per application.
But it isn't opt-in for web application developers. Once browsers and
servers start shipping, 0-RTT will turn on by accident or deliberately
at various places in the stack.

At the same time idempotency patterns using unique IDs might require
nonidempotent backend requests. But this is an easier problem than if
we had nonidempotent brower requests: backends are much more
controlled.

If you are willing to buffer 0-RTT until completion before going to
the thing that makes the response, you can handle this problem for the
responsemaker. This will work for most applications I can think of,
and you need to handle large, drawn out requests anyway. This sounds
like it would work as a solution, but I am sure there are details I
haven't discovered yet.

In conclusion I think there is some thought that needs to go into
handling 0-RTT on the web, but it is manageable. I don't know about
other protocols, but they don't have the same kinds of problem as the
web does with lots of request passing around. Given the benefits here,
I think people will really want 0-RTT, and we are going to have to
figure out how to live with it.

Sincerely,
Watson Ladd


From nobody Thu May  4 16:38:45 2017
Return-Path: <ddp@electric-loft.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D4C3127077 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 16:38:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 91rJZ8t2S-Gs for <tls@ietfa.amsl.com>; Thu,  4 May 2017 16:38:43 -0700 (PDT)
Received: from Mail.Yoyodyne.COM (mail.yoyodyne.com [209.118.176.138]) by ietfa.amsl.com (Postfix) with SMTP id 4510C1243F3 for <tls@ietf.org>; Thu,  4 May 2017 16:38:43 -0700 (PDT)
Received: from [192.168.1.3] ([208.85.33.68]) by Mail.Yoyodyne.COM via Internet for <watsonbladd@gmail.com> (and others);  Thu, 4 May 2017 16:38:42 PDT
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Derrell Piper <ddp@electric-loft.org>
In-Reply-To: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com>
Date: Thu, 4 May 2017 17:38:38 -0600
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4ADD8F4F-464A-4FAF-A810-19F9FEB42E34@electric-loft.org>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/TQykqiyYagRutbgU-QCJC3yJPcs>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 23:38:44 -0000

> On May 4, 2017, at 5:35 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
>=20
> 0-RTT is opt-in per protocol

=E2=80=A6and at the end of the day, that=E2=80=99s the only reason I=E2=80=
=99d agree to this.

Derrell=


From nobody Thu May  4 16:47:47 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5C0412704B for <tls@ietfa.amsl.com>; Thu,  4 May 2017 16:47:45 -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=allcosts-net.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 J34uwgtasgKs for <tls@ietfa.amsl.com>; Thu,  4 May 2017 16:47:44 -0700 (PDT)
Received: from mail-yw0-x236.google.com (mail-yw0-x236.google.com [IPv6:2607:f8b0:4002:c05::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 E36FF1205F1 for <tls@ietf.org>; Thu,  4 May 2017 16:47:43 -0700 (PDT)
Received: by mail-yw0-x236.google.com with SMTP id 203so14256628ywe.0 for <tls@ietf.org>; Thu, 04 May 2017 16:47:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=chIqkXTULZnVg/mHYpEZPl1jBmcUvTDEfl9RNDS1mqQ=; b=InJnzY54RCJyscPQwG7VE3L9Qe4WsEqjK2ToMcOzpcepiCTDcezTPMrf8tP20rnQum 4ZxLJJJm0PwmFasteMUhP+CnG8qkMyyZi6Yk02h2lHWrlc9iabsQKs7AHKK7KChOfgSs GfYFv6wZU6nm59LYEQSCmWQ1f9zMrpYU8BfqlFCyooyNSb23TfugGLau0fmamwAMD4MI YULQnI+Obme25gonh7NuLhw6XqetOM/92Rh1myNCrGxR+tcCa+aNI0h1JtQSBuodb5F1 r4HjwDwxBYZ3HdQJTMJf2oNei0E5JQoXScrg1VRm+fgLa49dVLbTpkuCU9/B+cgs43sN uZCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=chIqkXTULZnVg/mHYpEZPl1jBmcUvTDEfl9RNDS1mqQ=; b=hUCZgJliW6Zo534Fy9OCfCeKrkyvy6VHHfni5pDVW4QSAqeyxWyleydisF/JUN1uEr s3xtxVgmN73M7KNS4UghGxqgCM5h4MWgjvXdWOkQcu6gBgG3TfMzoBRwhtACaKHf/r8/ wSCK8ykr0fpbXju0hUGHIfrZ2Y8hWcsoXt8sJqj/CeIWrNBp9DcKz99+p1Z2E+P5Xr56 hmoKA5d8HWWiGjh0Ogl5sQefybn7gXFdWTcLBmaiD4VtU0Tv19oX2zQanQh89AxWw5We XopdWCBFCVpQksSneZnlAVedDYelEz0XJFiUMrX6d7yvJeRazxwzGYNoZtneensD+VR7 yaKA==
X-Gm-Message-State: AN3rC/6RLo1KNEyNTgBBFeBw0fxBRwA3WZbUmc5cPy6cPLagzDOzro9V pNQnNeZlLqUrp6ITeKSrntQ+wOhTCA==
X-Received: by 10.129.104.69 with SMTP id d66mr6637424ywc.74.1493941663065; Thu, 04 May 2017 16:47:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Thu, 4 May 2017 16:47:42 -0700 (PDT)
In-Reply-To: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Thu, 4 May 2017 16:47:42 -0700
Message-ID: <CAAF6GDfqi4keBrygD-Q2_yRS+zUyTnOnhDgD60e3JSsgqC-R1A@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11490b9a24b337054ebb66f8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/5AStZdkU2bpeKUVCWQEbHKJq2dw>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 23:47:46 -0000

--001a11490b9a24b337054ebb66f8
Content-Type: text/plain; charset=UTF-8

On Thu, May 4, 2017 at 4:35 PM, Watson Ladd <watsonbladd@gmail.com> wrote:

> Dear all,
>
> Applications have always had to deal with the occasional replay,
> whether from an impatient user or a broken connection at exactly the
> wrong time.


Unfortunately this isn't the case :( Not all applications are user-driven
in that way, and some are very careful about how they retry. In the review
I go through the example of an update to an eventually consistent data
store. In that case, the application will typically try to update and if
that update times-out, it will wait a time period, check for a conflict or
a success, and only then retry.  At no point is a replay, normal or
expected.

One could argue that Zero-RTT is not for applications like this, but why
not? They certainly do benefit from the speed-up. And so in the review I go
through reasons why it is likely that they will use it anyway, ranging from
how subtle and hard the review is, to inadvertent enabling of the feature
on something like an L4 TLS proxy which has no awareness of the underlying
protocol.

But they've generally been rare, so human-in-the-loop
> responses work. Order the same book twice? Just return one of them,
> and if you get an overdraft fee, ouch, we're sorry, but nothing we can
> do.
>
> 0-RTT is opt-in per protocol, and what we think of per application.
> But it isn't opt-in for web application developers. Once browsers and
> servers start shipping, 0-RTT will turn on by accident or deliberately
> at various places in the stack.
>

+1!


> At the same time idempotency patterns using unique IDs might require
> nonidempotent backend requests. But this is an easier problem than if
> we had nonidempotent brower requests: backends are much more
> controlled.
>
> If you are willing to buffer 0-RTT until completion before going to
> the thing that makes the response, you can handle this problem for the
> responsemaker. This will work for most applications I can think of,
> and you need to handle large, drawn out requests anyway. This sounds
> like it would work as a solution, but I am sure there are details I
> haven't discovered yet.
>

I think you're right; and we could enforce in TLS by encrypting 0-RTT under
a key that isn't transmitted until 1-RTT. But this would also defeat the
point of the speed-up; especially for CDNs. It really does speed things up
for them to be able to send the request to the origin right away.


> In conclusion I think there is some thought that needs to go into
> handling 0-RTT on the web, but it is manageable. I don't know about
> other protocols, but they don't have the same kinds of problem as the
> web does with lots of request passing around. Given the benefits here,
> I think people will really want 0-RTT, and we are going to have to
> figure out how to live with it.
>

+1 I think it's manageable too. Just have servers check for dupes :)

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, May 4, 2017 at 4:35 PM, Watson Ladd <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:watsonbladd@gmail.com" target=3D"_blank">watsonbladd@gmail.com=
</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
Applications have always had to deal with the occasional replay,<br>
whether from an impatient user or a broken connection at exactly the<br>
wrong time. </blockquote><div><br></div><div>Unfortunately this isn&#39;t t=
he case :( Not all applications are user-driven in that way, and some are v=
ery careful about how they retry. In the review I go through the example of=
 an update to an eventually consistent data store. In that case, the applic=
ation will typically try to update and if that update times-out, it will wa=
it a time period, check for a conflict or a success, and only then retry.=
=C2=A0 At no point is a replay, normal or expected.=C2=A0</div><div><br></d=
iv><div>One could argue that Zero-RTT is not for applications like this, bu=
t why not? They certainly do benefit from the speed-up. And so in the revie=
w I go through reasons why it is likely that they will use it anyway, rangi=
ng from how subtle and hard the review is, to inadvertent enabling of the f=
eature on something like an L4 TLS proxy which has no awareness of the unde=
rlying protocol.=C2=A0</div><div><br></div><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">B=
ut they&#39;ve generally been rare, so human-in-the-loop<br>
responses work. Order the same book twice? Just return one of them,<br>
and if you get an overdraft fee, ouch, we&#39;re sorry, but nothing we can<=
br>
do.<br>
<br>
0-RTT is opt-in per protocol, and what we think of per application.<br>
But it isn&#39;t opt-in for web application developers. Once browsers and<b=
r>
servers start shipping, 0-RTT will turn on by accident or deliberately<br>
at various places in the stack.<br></blockquote><div><br></div><div>+1!</di=
v><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
At the same time idempotency patterns using unique IDs might require<br>
nonidempotent backend requests. But this is an easier problem than if<br>
we had nonidempotent brower requests: backends are much more<br>
controlled.<br>
<br>
If you are willing to buffer 0-RTT until completion before going to<br>
the thing that makes the response, you can handle this problem for the<br>
responsemaker. This will work for most applications I can think of,<br>
and you need to handle large, drawn out requests anyway. This sounds<br>
like it would work as a solution, but I am sure there are details I<br>
haven&#39;t discovered yet.<br></blockquote><div><br></div><div>I think you=
&#39;re right; and we could enforce in TLS by encrypting 0-RTT under a key =
that isn&#39;t transmitted until 1-RTT. But this would also defeat the poin=
t of the speed-up; especially for CDNs. It really does speed things up for =
them to be able to send the request to the origin right away.=C2=A0</div><d=
iv>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">
In conclusion I think there is some thought that needs to go into<br>
handling 0-RTT on the web, but it is manageable. I don&#39;t know about<br>
other protocols, but they don&#39;t have the same kinds of problem as the<b=
r>
web does with lots of request passing around. Given the benefits here,<br>
I think people will really want 0-RTT, and we are going to have to<br>
figure out how to live with it.<br></blockquote><div><br></div><div>+1 I th=
ink it&#39;s manageable too. Just have servers check for dupes :)=C2=A0</di=
v><div><br></div></div>-- <br><div class=3D"gmail_signature" data-smartmail=
=3D"gmail_signature">Colm</div>
</div></div>

--001a11490b9a24b337054ebb66f8--


From nobody Thu May  4 16:58:18 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 84E3012704B for <tls@ietfa.amsl.com>; Thu,  4 May 2017 16:58:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham 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 VY22RPERqW3k for <tls@ietfa.amsl.com>; Thu,  4 May 2017 16:58:16 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6B7651205F1 for <tls@ietf.org>; Thu,  4 May 2017 16:58:16 -0700 (PDT)
Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id E1A92A00491C; Thu,  4 May 2017 16:58:15 -0700 (PDT)
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPSA id 95349A00491B; Thu,  4 May 2017 16:58:15 -0700 (PDT)
Date: Thu, 4 May 2017 18:58:12 -0500
From: Nico Williams <nico@cryptonector.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170504235812.GA10188@localhost>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Zl04ndQ39PNL-MC94L4LCivLgwM>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 23:58:17 -0000

On Thu, May 04, 2017 at 04:35:10PM -0700, Watson Ladd wrote:
> 0-RTT is opt-in per protocol, and what we think of per application.

Yes.

> But it isn't opt-in for web application developers. Once browsers and
> servers start shipping, 0-RTT will turn on by accident or deliberately
> at various places in the stack.

It should be up to servers whether a request is allowed with 0-rtt.

If the server doesn't allow a given 0-rtt request and causes the client
to do one round trip, does it matter that the client tried with 0-rtt?
What can an attacker do?  Can they replay that 0-rtt request?  Surely
not, since the server didn't take it.  And presumably other servers in
the same cluster will make the same decision.

> In conclusion I think there is some thought that needs to go into
> handling 0-RTT on the web, but it is manageable. I don't know about
> other protocols, but they don't have the same kinds of problem as the
> web does with lots of request passing around. Given the benefits here,
> I think people will really want 0-RTT, and we are going to have to
> figure out how to live with it.

Yes.

In particular there has to be a way, either in-TLS, or at the
application layer, to force an extra round-trip to confirm that the
0-rtt data was not an unintended replay.

Nico
-- 


From nobody Thu May  4 17:18:35 2017
Return-Path: <watsonbladd@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C63A127B57 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 17:18:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level: 
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Y244FRF2SymI for <tls@ietfa.amsl.com>; Thu,  4 May 2017 17:18:33 -0700 (PDT)
Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::243]) (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 B4288127873 for <tls@ietf.org>; Thu,  4 May 2017 17:18:33 -0700 (PDT)
Received: by mail-pf0-x243.google.com with SMTP id v14so3939434pfd.3 for <tls@ietf.org>; Thu, 04 May 2017 17:18:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=WlAKm6gY9F3oXJ01eehek38qsPplsAo5wQ+OUaKYn0E=; b=ijvuCNSwNnyMZWvVxs7d4N1bD47xBqKSxgejcEqw8RA1kDVekbcJd/GlShZ+2xNGFs Or76lzT0gGttCd0sygQ3zdo9gR/80LmNYwdgjE9jRf9ZKliDjkpJPN5ULeB9UGPLxSL6 jrrdv5H1ja6ZveZmaiLaLR8v0GCjwQuudVlO7TACoPe/RKgqlmU5vr79JkDBtX680e+5 PDhHPdg9EWDcjC7LDsZy1+y55Lv9DZWEWMSCXUQzr7llhDmzJ822RoSQZcKe0a6vlIlN wSyvtZssOsBNigG7Ls6GtqNFIBhdz4WNY0Oosu9b7wV+mhV39XPoofVcK2mrkfTrNw0U K1cQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WlAKm6gY9F3oXJ01eehek38qsPplsAo5wQ+OUaKYn0E=; b=ePRatF6BrHCIAr/eui+sKYAYK5DKH1mWsXWoNLHcvgdYN23JMzjU2Si+vEpJoKBRp/ dYc6J0QksCh8FKYY3WH4ntsBuJGTkfC/CwyqBhlANFcX3lP8r9zBqeaUTsVctN1LH/UG o4EoWNaIN6xxTWhsqGOABhph/eVHOGu0pZjZSr5oiN84/OwyL/502KNmukcACdCcId9M GYhsBHZeWXoQ+R6+jO/5a2WnP/aZhpPeMCjMqEcAmpNmqHeCc5z8u3GZGpyzSxnldGjY BL2wfS0wU5vmDGLInEn6TcF/zctuyCQ2be1pbkk6u575+kCqInFp403a6Hq8YplMMkTA ymDA==
X-Gm-Message-State: AN3rC/4rcxFCtU7IjHKf7R2CApPoD3efsFb0SgAVm66mo5gwJo/jCuPV O1CafHw0zzNfUJR3KbIV0ylpiqekpQ==
X-Received: by 10.99.112.68 with SMTP id a4mr130706pgn.198.1493943513187; Thu, 04 May 2017 17:18:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.163.12 with HTTP; Thu, 4 May 2017 17:18:32 -0700 (PDT)
In-Reply-To: <20170504235812.GA10188@localhost>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com> <20170504235812.GA10188@localhost>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Thu, 4 May 2017 17:18:32 -0700
Message-ID: <CACsn0cnqvS5pE4YGFV8Vd9t69VrgOYPwmVM-NdLx6+vCE2iuhg@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Nd2_WR1Mj4ZSjK9pT7vwHzLMtPg>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 00:18:35 -0000

On Thu, May 4, 2017 at 4:58 PM, Nico Williams <nico@cryptonector.com> wrote:
> On Thu, May 04, 2017 at 04:35:10PM -0700, Watson Ladd wrote:
>> 0-RTT is opt-in per protocol, and what we think of per application.
>
> Yes.
>
>> But it isn't opt-in for web application developers. Once browsers and
>> servers start shipping, 0-RTT will turn on by accident or deliberately
>> at various places in the stack.
>
> It should be up to servers whether a request is allowed with 0-rtt.

Which server?  It's possible that the backhauls from the server the
TLS connection is made to to the server actually responding to the
request do not distinguish 0-RTT from other data. Opportunity for
administrative bloopers is immense: even if the responding server
rejects 0-RTT, the server proxying requests won't necessarily know
that inline as it is reusing the connection.

<chop>
>
>> In conclusion I think there is some thought that needs to go into
>> handling 0-RTT on the web, but it is manageable. I don't know about
>> other protocols, but they don't have the same kinds of problem as the
>> web does with lots of request passing around. Given the benefits here,
>> I think people will really want 0-RTT, and we are going to have to
>> figure out how to live with it.
>
> Yes.
>
> In particular there has to be a way, either in-TLS, or at the
> application layer, to force an extra round-trip to confirm that the
> 0-rtt data was not an unintended replay.

One can always reject... unless I am misunderstanding the suggestion.
>
> Nico
> --



-- 
"Man is born free, but everywhere he is in chains".
--Rousseau.


From nobody Thu May  4 18:31:59 2017
Return-Path: <nygren@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C1C44128BA2 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 18:31:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.699
X-Spam-Level: 
X-Spam-Status: No, score=-1.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 bSZQMqwfQr5E for <tls@ietfa.amsl.com>; Thu,  4 May 2017 18:31:56 -0700 (PDT)
Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (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 69FFB126557 for <tls@ietf.org>; Thu,  4 May 2017 18:31:56 -0700 (PDT)
Received: by mail-qt0-x229.google.com with SMTP id j29so23838182qtj.1 for <tls@ietf.org>; Thu, 04 May 2017 18:31:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=iaCGUUGnxPBijKvLOPlOl+XoPcLIp4NKcvKY6Hi3TuE=; b=AH+uFrPGyb+nWbJm2Ks8yVScsdCab4BR53NnJaJfHNrfH1PN4kBkKmcBu001Wj/7o6 vTyuoP8OCUMjn8N9a5SJU+nMT5ZZWETpTUUJJ02nf6iyvZZMONdbXoKavK7tpzM7IqW7 klTX6CyYEri2M2L4+pACwcIqlFsrbOuIdM7up8M+Xwpe0A9Fmf1ACpecq1Z6v2I/2sI0 ObGixCkEG5aMtJEke56e5kCAvid3aixyVLOarI2XDLQDXc1pZFtuCsX9Z/8Ec+94cG+f ZOveVlakLueRT5ciknMqzlzIYSwha6ZfaCTks30b5MBiHg7Qpc8KfyTPTjWKuoC8GGuH KtlQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=iaCGUUGnxPBijKvLOPlOl+XoPcLIp4NKcvKY6Hi3TuE=; b=eQ+DtBUxZME3FpTaR6gOVnj58XkvfrcLP5rWIKs+raHH0+NcdH6l+3zifTL8mGEPkG s3xGX2Z/ZYJJSsZw2Jdhrx37bPwFHxzt2BBK9lSjiMiO1Zw4lJcs8YqFwXOeTTaORQ+v 5znLJ4PmmCmdyd/DYI5jWNr8oirUk6gaGlXticM02iLiWEQJS0L55CEUcCZ9QxIkic2k Zhm1wrRX+YISjD2ORuWAtnobSFz6TliY+axtozfPaOKDUGQ9CLtny7oFBGOUXFchazY2 eb/pYHKPSG3gtrn2YGtufzFSPmDMmsehVtVHu55RtzraKCTN6lnn4F2CEp9IgGhHRjHn +BUw==
X-Gm-Message-State: AN3rC/6DTl8PTKxzyF2okjOYoMculzphK70DjlsQrGvNxrVvLSnhda4i g+MCIfcEjyGOozIhey3ykJvae3ogBQ==
X-Received: by 10.200.45.187 with SMTP id p56mr10080598qta.208.1493947915606;  Thu, 04 May 2017 18:31:55 -0700 (PDT)
MIME-Version: 1.0
Sender: nygren@gmail.com
Received: by 10.12.172.151 with HTTP; Thu, 4 May 2017 18:31:55 -0700 (PDT)
In-Reply-To: <CACsn0cnqvS5pE4YGFV8Vd9t69VrgOYPwmVM-NdLx6+vCE2iuhg@mail.gmail.com>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com> <20170504235812.GA10188@localhost> <CACsn0cnqvS5pE4YGFV8Vd9t69VrgOYPwmVM-NdLx6+vCE2iuhg@mail.gmail.com>
From: Erik Nygren <erik+ietf@nygren.org>
Date: Thu, 4 May 2017 21:31:55 -0400
X-Google-Sender-Auth: PkmFaMzlu6MFwl6kKmVrt-wDZkg
Message-ID: <CAKC-DJgD1vWckdCmeT3+VEPG+_LdjVbPtVCX0Oh+NfTx+OHMKA@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: Nico Williams <nico@cryptonector.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a113fdb0ad2b76d054ebcdaa1
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/yfeI_bPNbNlg-G34IdJtsdSRV1I>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 01:31:58 -0000

--001a113fdb0ad2b76d054ebcdaa1
Content-Type: text/plain; charset=UTF-8

On Thu, May 4, 2017 at 8:18 PM, Watson Ladd <watsonbladd@gmail.com> wrote:

> >
> > It should be up to servers whether a request is allowed with 0-rtt.
>
> Which server?  It's possible that the backhauls from the server the
> TLS connection is made to to the server actually responding to the
> request do not distinguish 0-RTT from other data. Opportunity for
> administrative bloopers is immense: even if the responding server
> rejects 0-RTT, the server proxying requests won't necessarily know
> that inline as it is reusing the connection.
>

+1

By the time the client has sent 0-RTT data the complexity mess
has already and it may be too late to avoid some of the potential
vulnerabilities.

Just as an example of a type of attack:  attacker replays 0-RTT messages.
If the server accepts some (sends larger responses) and rejects others
(sends smaller
responses) than that tells you something about the messages
and the attacker you can tell which client requests might have been
replay-safe
and which ones were not.

      Erik

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
hu, May 4, 2017 at 8:18 PM, Watson Ladd <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:watsonbladd@gmail.com" target=3D"_blank">watsonbladd@gmail.com</a>&gt;=
</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">&gt;<br>
&gt; It should be up to servers whether a request is allowed with 0-rtt.<br=
>
<br>
</span>Which server?=C2=A0 It&#39;s possible that the backhauls from the se=
rver the<br>
TLS connection is made to to the server actually responding to the<br>
request do not distinguish 0-RTT from other data. Opportunity for<br>
administrative bloopers is immense: even if the responding server<br>
rejects 0-RTT, the server proxying requests won&#39;t necessarily know<br>
that inline as it is reusing the connection.<br></blockquote><div><br>+1<br=
><br></div><div>By the time the client has sent 0-RTT data the complexity m=
ess<br>has already and it may be too late to avoid some of the potential<br=
></div><div>vulnerabilities.<br><br></div><div>Just as an example of a type=
 of attack:=C2=A0 attacker replays 0-RTT messages.<br>If the server accepts=
 some (sends larger responses) and rejects others (sends smaller<br>respons=
es) than that tells you something about the messages<br>and the attacker yo=
u can tell which client requests might have been replay-safe<br>and which o=
nes were not.<br><br></div><div>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Erik<br><br>=
</div><div><br></div><br><div><br></div></div></div></div>

--001a113fdb0ad2b76d054ebcdaa1--


From nobody Thu May  4 20:23:03 2017
Return-Path: <prvs=62984bb3ca=uri@ll.mit.edu>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DBD7C127843 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 20:23:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.5
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham 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 PiYIM6KyEkG8 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 20:23:00 -0700 (PDT)
Received: from llmx2.ll.mit.edu (LLMX2.LL.MIT.EDU [129.55.12.48]) by ietfa.amsl.com (Postfix) with ESMTP id 5BDDB1277BB for <tls@ietf.org>; Thu,  4 May 2017 20:22:57 -0700 (PDT)
Received: from LLE2K10-HUB02.mitll.ad.local (LLE2K10-HUB02.mitll.ad.local) by llmx2.ll.mit.edu (unknown) with ESMTP id v453MuhI004617; Thu, 4 May 2017 23:22:56 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: Watson Ladd <watsonbladd@gmail.com>
CC: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Idempotency and the application developer
Thread-Index: AQHSxS8sLEgtZLcRiU6gEs91lLXuBqHlVnWA
Date: Fri, 5 May 2017 03:22:56 +0000
Message-ID: <68D0AF2E-2F8E-4793-8E0D-1DD348E69001@ll.mit.edu>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com>
In-Reply-To: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [172.26.146.68]
Content-Type: multipart/signed; boundary="Apple-Mail=_22515DEF-39F5-42FC-A6BA-F08DC7D606FC"; protocol="application/pkcs7-signature"; micalg=sha1
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-05_02:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705050033
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/cGm_0pVtLFtqT8Voxx-ko8J5DKc>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 03:23:02 -0000

--Apple-Mail=_22515DEF-39F5-42FC-A6BA-F08DC7D606FC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

On May 4, 2017, at 19:35, Watson Ladd <watsonbladd@gmail.com> wrote:
>=20
> Dear all,
>=20
> Applications have always had to deal with the occasional replay,
> whether from an impatient user or a broken connection at exactly the
> wrong time. But they've generally been rare, so human-in-the-loop
> responses work. Order the same book twice? Just return one of them,
> and if you get an overdraft fee, ouch, we're sorry, but nothing we can
> do.

Very few applications have been designed with deliberate malicious =
=E2=80=9Cintelligent=E2=80=9D interference in mind. Probably none among =
those that delegate their communications security to a =E2=80=9Csecurity =
protocol=E2=80=9D such as TLS or IPsec. After all, a big selling point =
of using (somebody else=E2=80=99s) security protocol/implementation is =
that the security responsibilities are =E2=80=9Coutsourced=E2=80=9D to =
that other layer/entity/<you got the idea>.

Haven=E2=80=99t you heard this: =E2=80=9CI don=E2=80=99t know how to =
secure my pipe, and I don=E2=80=99t have to - I use TLS for that=E2=80=9D.=


So far the consequences have been rather mild, not much worse than what =
Watson showed as examples to illustrate his point. But it is changing, =
and not for the better.
=20
Summary: it is not good to deliberately ignore malicious replays.=

--Apple-Mail=_22515DEF-39F5-42FC-A6BA-F08DC7D606FC
Content-Disposition: attachment; filename="smime.p7s"
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITXzCCBLww
ggOkoAMCAQICASkwDQYJKoZIhvcNAQEFBQAwVDELMAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBM
aW5jb2xuIExhYm9yYXRvcnkxDDAKBgNVBAsTA1BLSTEWMBQGA1UEAxMNTUlUTEwgUm9vdCBDQTAe
Fw0xMzEyMTcwMDAwMDBaFw0yMDEyMzEyMzU5NTlaMFExCzAJBgNVBAYTAlVTMR8wHQYDVQQKExZN
SVQgTGluY29sbiBMYWJvcmF0b3J5MQwwCgYDVQQLEwNQS0kxEzARBgNVBAMTCk1JVExMIENBLTMw
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDaMFJ1bXy25bW03EbqHwHSSpyQVlAAC2gc
KS9SlQRfqMW8F3yZAjncbIthG4CjgdYml7v+LMVc59IkOzpQzmi+8I59eDZsmANiUEL0kNwsEUif
Semk671G+mNZKLG0L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NAQcBMBwGCSqGSIb3DQEJBTEPFw0xNzA1MDUwMzIy
NTZaMCMGCSqGSIb3DQEJBDEWBBQ4Q8KmZ0dmL8sDXxfgU/MRaJxWuzBuBgkrBgEEAYI3EAQxYTBf
MFExCzAJBgNVBAYTAlVTMR8wHQYDVQQKExZNSVQgTGluY29sbiBMYWJvcmF0b3J5MQwwCgYDVQQL
EwNQS0kxEzARBgNVBAMTCk1JVExMIENBLTMCCjM4lI8AAAAAbpYwcAYLKoZIhvcNAQkQAgsxYaBf
MFExCzAJBgNVBAYTAlVTMR8wHQYDVQQKExZNSVQgTGluY29sbiBMYWJvcmF0b3J5MQwwCgYDVQQL
EwNQS0kxEzARBgNVBAMTCk1JVExMIENBLTMCCjM4lI8AAAAAbpYwDQYJKoZIhvcNAQEBBQAEggEA
sjp8Isnoal3wOxlXnqX5OfXYkyeCf/tNzQNwrW0vbhpZ0KIevGVgs1j2HPKoEKi1+6e2SGsPQ2RD
fzE6id4RCG+zPA4MkDswVmrs//9mbzt38GTxYmZlIKH4lubZRYW4MjMZQkb1tCCLAr/a9xFaxVqn
PxsfrLFKicgHUNyfS+pgbDN9d+FnSyDo4l/pSZxiCtbP7XvbYtGVFkcb31sXKyA7o5rPcfw8QI4a
/wfgjg6MrwXYzar91vhljVod26C6dOI6I5Sha0hUC1akaPw67/Ts+sZ5h9hEXEPsmBs76ZBbbxwE
IHYtMkycXanMHhRDo0TXnsMADLaavBqfnlf72wAAAAAAAA==

--Apple-Mail=_22515DEF-39F5-42FC-A6BA-F08DC7D606FC--


From nobody Thu May  4 20:37:00 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AE72A12741D for <tls@ietfa.amsl.com>; Thu,  4 May 2017 20:36:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level: 
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 XXd1pskE9okG for <tls@ietfa.amsl.com>; Thu,  4 May 2017 20:36:57 -0700 (PDT)
Received: from homiemail-a87.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C7AF127599 for <tls@ietf.org>; Thu,  4 May 2017 20:36:57 -0700 (PDT)
Received: from homiemail-a87.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a87.g.dreamhost.com (Postfix) with ESMTP id B0808C009F49; Thu,  4 May 2017 20:36:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=I6zDF0D6J/0GA7 AzDHddgmaAVOo=; b=PiVUjJgdk0rMGVnjXuVNmOgjPEqyOz9hp1qpAcOUS8414O 8rHanGWgu9jdO4jPa6trGZOX1bEKKy2yUVpNIe9pZ0N9PxtmTTf0HFGROFB16y6i 4RZOS56IQlAPDgjGkFs6LAf3xWKRq8H07/Dd6NuY1CwLWDrG9+ayR+GHfOgYg=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a87.g.dreamhost.com (Postfix) with ESMTPSA id 62978C009F46; Thu,  4 May 2017 20:36:56 -0700 (PDT)
Date: Thu, 4 May 2017 22:36:53 -0500
From: Nico Williams <nico@cryptonector.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170505033652.GB10188@localhost>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com> <20170504235812.GA10188@localhost> <CACsn0cnqvS5pE4YGFV8Vd9t69VrgOYPwmVM-NdLx6+vCE2iuhg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACsn0cnqvS5pE4YGFV8Vd9t69VrgOYPwmVM-NdLx6+vCE2iuhg@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Cxzy4Ofz-qvPdFwkrXJeRtzQ87M>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 03:36:59 -0000

On Thu, May 04, 2017 at 05:18:32PM -0700, Watson Ladd wrote:
> On Thu, May 4, 2017 at 4:58 PM, Nico Williams <nico@cryptonector.com> wrote:
> > On Thu, May 04, 2017 at 04:35:10PM -0700, Watson Ladd wrote:
> >> 0-RTT is opt-in per protocol, and what we think of per application.
> >
> > Yes.
> >
> >> But it isn't opt-in for web application developers. Once browsers and
> >> servers start shipping, 0-RTT will turn on by accident or deliberately
> >> at various places in the stack.
> >
> > It should be up to servers whether a request is allowed with 0-rtt.
> 
> Which server?  It's possible that the backhauls from the server the
> TLS connection is made to to the server actually responding to the
> request do not distinguish 0-RTT from other data. Opportunity for
> administrative bloopers is immense: even if the responding server
> rejects 0-RTT, the server proxying requests won't necessarily know
> that inline as it is reusing the connection.

The one that terminates TLS.  If that's a reverse proxy, then it has to
know or not allow 0-rtt.  That means that by default reverse proxies
can't accept 0-rtt, and they have to know a lot about the application in
order to accept it (or else let the server know that 0-rtt was used and
let the server give the client an appropriate error if that's not
acceptable).

Nico
-- 


From nobody Thu May  4 21:11:34 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A7443127B52 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 21:11:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.802
X-Spam-Level: 
X-Spam-Status: No, score=-0.802 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 yo-BOFuOVI4v for <tls@ietfa.amsl.com>; Thu,  4 May 2017 21:11:31 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (prod-mail-xrelay06.akamai.com [96.6.114.98]) by ietfa.amsl.com (Postfix) with ESMTP id 1D45812741D for <tls@ietf.org>; Thu,  4 May 2017 21:11:31 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 87489496C40; Fri,  5 May 2017 04:11:30 +0000 (GMT)
Received: from prod-mail-relay09.akamai.com (prod-mail-relay09.akamai.com [172.27.22.68]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id 7160A496C1D; Fri,  5 May 2017 04:11:30 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1493957490; bh=RMYw1w5TrM0vbIdPyeDKSFdujJY0o9dNxvPAXKLB5EM=; l=2673; h=To:References:Cc:From:Date:In-Reply-To:From; b=UmudTN/aS/ctGt4a7KdhPeBSY+/asT4oNBkSCV+TN8MHM9mWHMgoIy/AapFce2cNQ ES50VIkbeFTF7HHwaf13DLanPGG2TaGEeANaYi6gtHf2/i/a751O6G18Hn6f5td32m HvRrQ2kfATmbtpy3gr8YzqTKaak3/2Bd8x82V7zo=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay09.akamai.com (Postfix) with ESMTP id 0CA3C1E0A5; Fri,  5 May 2017 04:11:29 +0000 (GMT)
To: Nico Williams <nico@cryptonector.com>, Watson Ladd <watsonbladd@gmail.com>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com> <20170504235812.GA10188@localhost> <CACsn0cnqvS5pE4YGFV8Vd9t69VrgOYPwmVM-NdLx6+vCE2iuhg@mail.gmail.com> <20170505033652.GB10188@localhost>
Cc: "tls@ietf.org" <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <3fc4304b-0540-ad4d-6220-15d33cf06645@akamai.com>
Date: Thu, 4 May 2017 23:11:29 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170505033652.GB10188@localhost>
Content-Type: multipart/alternative; boundary="------------C884CC01DF8A2EE1AFDBBF3A"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/K5sAw2aRtLFgXwdTw7hh5ibvCV8>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 04:11:33 -0000

This is a multi-part message in MIME format.
--------------C884CC01DF8A2EE1AFDBBF3A
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

5/04/2017 10:36 PM, Nico Williams wrote:
> On Thu, May 04, 2017 at 05:18:32PM -0700, Watson Ladd wrote:
>>
>> Which server?  It's possible that the backhauls from the server the
>> TLS connection is made to to the server actually responding to the
>> request do not distinguish 0-RTT from other data. Opportunity for
>> administrative bloopers is immense: even if the responding server
>> rejects 0-RTT, the server proxying requests won't necessarily know
>> that inline as it is reusing the connection.
> The one that terminates TLS.  If that's a reverse proxy, then it has to
> know or not allow 0-rtt.  That means that by default reverse proxies
> can't accept 0-rtt, and they have to know a lot about the application in
> order to accept it (or else let the server know that 0-rtt was used and
> let the server give the client an appropriate error if that's not
> acceptable).
>

I'm very skeptical that this position would survive into real-world
deployments.

-Ben

--------------C884CC01DF8A2EE1AFDBBF3A
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    5/04/2017 10:36 PM, Nico Williams wrote:<br>
    <blockquote cite="mid:20170505033652.GB10188@localhost" type="cite">
      <pre wrap="">On Thu, May 04, 2017 at 05:18:32PM -0700, Watson Ladd wrote:
</pre>
      <blockquote type="cite"><br>
        <pre wrap="">Which server?  It's possible that the backhauls from the server the
TLS connection is made to to the server actually responding to the
request do not distinguish 0-RTT from other data. Opportunity for
administrative bloopers is immense: even if the responding server
rejects 0-RTT, the server proxying requests won't necessarily know
that inline as it is reusing the connection.
</pre>
      </blockquote>
      <pre wrap="">
The one that terminates TLS.  If that's a reverse proxy, then it has to
know or not allow 0-rtt.  That means that by default reverse proxies
can't accept 0-rtt, and they have to know a lot about the application in
order to accept it (or else let the server know that 0-rtt was used and
let the server give the client an appropriate error if that's not
acceptable).

</pre>
    </blockquote>
    <br>
    I'm very skeptical that this position would survive into real-world
    deployments.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------C884CC01DF8A2EE1AFDBBF3A--


From nobody Thu May  4 21:14:04 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F4B8128C84 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 21:14:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.301
X-Spam-Level: 
X-Spam-Status: No, score=-1.301 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 xEe9lawIsQxz for <tls@ietfa.amsl.com>; Thu,  4 May 2017 21:14:02 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (prod-mail-xrelay06.akamai.com [96.6.114.98]) by ietfa.amsl.com (Postfix) with ESMTP id 55CF012741D for <tls@ietf.org>; Thu,  4 May 2017 21:14:02 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 1A392496C68; Fri,  5 May 2017 04:14:02 +0000 (GMT)
Received: from prod-mail-relay09.akamai.com (prod-mail-relay09.akamai.com [172.27.22.68]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id 044F9496C1D; Fri,  5 May 2017 04:14:02 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1493957642; bh=hzgIdaoIzb7AOZzB8CRt5d3bFeUwoqY1713r9YtiyYs=; l=1959; h=To:References:Cc:From:Date:In-Reply-To:From; b=P1zyDqaoEd/mFPgDYZK6lsmzOjeyYYFdP/5wD6aZV+OEttRuC88y9woJpiOoBjj7s 584pngHbOHVpr5Zb82b1Z62K3Scco6preI2MSnFyy42mHm2Ct2vdqTdP3C29GMh3sE wfXIMcqgrGFiuYCt6IXceeuAQafvM5Reyz3zYit0=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay09.akamai.com (Postfix) with ESMTP id 928CC1E0EB; Fri,  5 May 2017 04:14:01 +0000 (GMT)
To: Watson Ladd <watsonbladd@gmail.com>, Nico Williams <nico@cryptonector.com>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com> <20170504235812.GA10188@localhost> <CACsn0cnqvS5pE4YGFV8Vd9t69VrgOYPwmVM-NdLx6+vCE2iuhg@mail.gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <b6b470a0-5f41-970b-329b-11a965aab34e@akamai.com>
Date: Thu, 4 May 2017 23:14:01 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CACsn0cnqvS5pE4YGFV8Vd9t69VrgOYPwmVM-NdLx6+vCE2iuhg@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------9BC827290D6E9F344E46BAC2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/HLUzUMpv859DPW3EBHhiDf9LSJ0>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 04:14:04 -0000

This is a multi-part message in MIME format.
--------------9BC827290D6E9F344E46BAC2
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

On 05/04/2017 07:18 PM, Watson Ladd wrote:
> On Thu, May 4, 2017 at 4:58 PM, Nico Williams <nico@cryptonector.com> wrote:
>>
>> In particular there has to be a way, either in-TLS, or at the
>> application layer, to force an extra round-trip to confirm that the
>> 0-rtt data was not an unintended replay.
> One can always reject... unless I am misunderstanding the suggestion.
>

I'm pretty sure Nico still wants data-dependent reject, which is not
workable in the general case.  (See the discussion of reverse proxies.)

-Ben

--------------9BC827290D6E9F344E46BAC2
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/04/2017 07:18 PM, Watson Ladd wrote:<br>
    <blockquote
cite="mid:CACsn0cnqvS5pE4YGFV8Vd9t69VrgOYPwmVM-NdLx6+vCE2iuhg@mail.gmail.com"
      type="cite">
      <pre wrap="">On Thu, May 4, 2017 at 4:58 PM, Nico Williams <a class="moz-txt-link-rfc2396E" href="mailto:nico@cryptonector.com">&lt;nico@cryptonector.com&gt;</a> wrote:
</pre>
      <blockquote type="cite"><br>
      </blockquote>
      <blockquote type="cite">
        <pre wrap="">In particular there has to be a way, either in-TLS, or at the
application layer, to force an extra round-trip to confirm that the
0-rtt data was not an unintended replay.
</pre>
      </blockquote>
      <pre wrap="">
One can always reject... unless I am misunderstanding the suggestion.
</pre>
      <br>
    </blockquote>
    <br>
    I'm pretty sure Nico still wants data-dependent reject, which is not
    workable in the general case.  (See the discussion of reverse
    proxies.)<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------9BC827290D6E9F344E46BAC2--


From nobody Thu May  4 21:22:52 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2CA9127B52 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 21:22:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 11qBitoDl7UT for <tls@ietfa.amsl.com>; Thu,  4 May 2017 21:22:49 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (prod-mail-xrelay05.akamai.com [23.79.238.179]) by ietfa.amsl.com (Postfix) with ESMTP id 476A212773A for <tls@ietf.org>; Thu,  4 May 2017 21:22:49 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id A62B243342B; Fri,  5 May 2017 04:22:48 +0000 (GMT)
Received: from prod-mail-relay10.akamai.com (prod-mail-relay10.akamai.com [172.27.118.251]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id 8656143342A; Fri,  5 May 2017 04:22:48 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1493958168; bh=7k07ddUzgY6rSyHUrqksnB+s40dgAD2bwyNjygGz/40=; l=3877; h=To:References:From:Date:In-Reply-To:From; b=Q6DyS0DUNQ0UgtTTbMYd6lqeij2I75C8XOSMVfC1+rQ38HdtSB7oaFHujkD++X9qY KsJJkT5C5VGwKOvpYJEJUYPuOldWlIDR3AwME2XTjV9yxIr0UVYMtJoqUU2ejCx3wj n9goz0nmt9aSsXo/HDLMbf9/V2oQgOz83OP/gQqc=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id 568C91FD30; Fri,  5 May 2017 04:22:48 +0000 (GMT)
To: Watson Ladd <watsonbladd@gmail.com>, "tls@ietf.org" <tls@ietf.org>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <830b5237-d3d1-2f3b-3e8d-a4cc75870fd9@akamai.com>
Date: Thu, 4 May 2017 23:22:47 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------FEF34F7237C829AFBFE4B398"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/2NWZlFmVb1o4VSekEe6fXAUYNdk>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 04:22:51 -0000

This is a multi-part message in MIME format.
--------------FEF34F7237C829AFBFE4B398
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

On 05/04/2017 06:35 PM, Watson Ladd wrote:
> If you are willing to buffer 0-RTT until completion before going to
> the thing that makes the response, you can handle this problem for the
> responsemaker. This will work for most applications I can think of,
> and you need to handle large, drawn out requests anyway. This sounds
> like it would work as a solution, but I am sure there are details I
> haven't discovered yet.

The server is allowed to buffer the 0-RTT data while processing it and
delay a response until the handshake is completed, yes.  (I think this
is the "way to force 1-RTT at the application layer" that Nico wants.) 
It removes the latency benefits of 0-RTT [for that request] and might be
annoying to implement with APIs that only give you a single data stream
(but probably not too bad), but the application layer at the server has
the capability to solve these idempotency/replay problems. 
Unfortunately, we are the TLS layer and cannot assume that we control or
can cooperate with the application.  Which leads right back to the
"application profile is required" bit, of course.

-Ben

> In conclusion I think there is some thought that needs to go into
> handling 0-RTT on the web, but it is manageable. I don't know about
> other protocols, but they don't have the same kinds of problem as the
> web does with lots of request passing around. Given the benefits here,
> I think people will really want 0-RTT, and we are going to have to
> figure out how to live with it.
>


--------------FEF34F7237C829AFBFE4B398
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/04/2017 06:35 PM, Watson Ladd wrote:<br>
    <blockquote
cite="mid:CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com"
      type="cite">
      <pre wrap="">
If you are willing to buffer 0-RTT until completion before going to
the thing that makes the response, you can handle this problem for the
responsemaker. This will work for most applications I can think of,
and you need to handle large, drawn out requests anyway. This sounds
like it would work as a solution, but I am sure there are details I
haven't discovered yet.
</pre>
    </blockquote>
    <br>
    The server is allowed to buffer the 0-RTT data while processing it
    and delay a response until the handshake is completed, yes.  (I
    think this is the "way to force 1-RTT at the application layer" that
    Nico wants.)  It removes the latency benefits of 0-RTT [for that
    request] and might be annoying to implement with APIs that only give
    you a single data stream (but probably not too bad), but the
    application layer at the server has the capability to solve these
    idempotency/replay problems.  Unfortunately, we are the TLS layer
    and cannot assume that we control or can cooperate with the
    application.  Which leads right back to the "application profile is
    required" bit, of course.<br>
    <br>
    -Ben<br>
    <br>
    <blockquote
cite="mid:CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com"
      type="cite">
      <pre wrap="">
In conclusion I think there is some thought that needs to go into
handling 0-RTT on the web, but it is manageable. I don't know about
other protocols, but they don't have the same kinds of problem as the
web does with lots of request passing around. Given the benefits here,
I think people will really want 0-RTT, and we are going to have to
figure out how to live with it.

</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------FEF34F7237C829AFBFE4B398--


From nobody Thu May  4 21:53:07 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 10D6E1293F9 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 21:53:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level: 
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 OTqPCJjm76aE for <tls@ietfa.amsl.com>; Thu,  4 May 2017 21:53:04 -0700 (PDT)
Received: from homiemail-a98.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B6233129406 for <tls@ietf.org>; Thu,  4 May 2017 21:53:02 -0700 (PDT)
Received: from homiemail-a98.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a98.g.dreamhost.com (Postfix) with ESMTP id 193CE6000A60B; Thu,  4 May 2017 21:53:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=tk8u9/iyb6qvcW S8QHvzLbIv3y4=; b=aOx6OisZUrRvYrWVshFlIWHpnJsWiEEnnZtMKdp6aNsJB+ c19Pz7zt4WYz1K6UpTsuumjRiKlyaByzJ3kch24UEKxdCRKDgRA2bUCAxJF7NNmy WW/plhM/5/u9dWeIL/NILPVcbvsED82QIiV4T3jj/muLyYXjm2BdjJb8vvzsI=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a98.g.dreamhost.com (Postfix) with ESMTPSA id ACAC160002A24; Thu,  4 May 2017 21:53:01 -0700 (PDT)
Date: Thu, 4 May 2017 23:52:59 -0500
From: Nico Williams <nico@cryptonector.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Watson Ladd <watsonbladd@gmail.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170505045254.GC10188@localhost>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com> <20170504235812.GA10188@localhost> <CACsn0cnqvS5pE4YGFV8Vd9t69VrgOYPwmVM-NdLx6+vCE2iuhg@mail.gmail.com> <20170505033652.GB10188@localhost> <3fc4304b-0540-ad4d-6220-15d33cf06645@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3fc4304b-0540-ad4d-6220-15d33cf06645@akamai.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/TaT6Uw2ublZJ094Voaf9aJH1taw>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 04:53:06 -0000

On Thu, May 04, 2017 at 11:11:29PM -0500, Benjamin Kaduk wrote:
> 5/04/2017 10:36 PM, Nico Williams wrote:
> > On Thu, May 04, 2017 at 05:18:32PM -0700, Watson Ladd wrote:
> >>
> >> Which server?  It's possible that the backhauls from the server the
> >> TLS connection is made to to the server actually responding to the
> >> request do not distinguish 0-RTT from other data. Opportunity for
> >> administrative bloopers is immense: even if the responding server
> >> rejects 0-RTT, the server proxying requests won't necessarily know
> >> that inline as it is reusing the connection.
> > The one that terminates TLS.  If that's a reverse proxy, then it has to
> > know or not allow 0-rtt.  That means that by default reverse proxies
> > can't accept 0-rtt, and they have to know a lot about the application in
> > order to accept it (or else let the server know that 0-rtt was used and
> > let the server give the client an appropriate error if that's not
> > acceptable).
> 
> I'm very skeptical that this position would survive into real-world
> deployments.

Which part?


From nobody Thu May  4 21:55:14 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 744E3129423 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 21:55:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level: 
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 9wzf5AVNIfSz for <tls@ietfa.amsl.com>; Thu,  4 May 2017 21:55:12 -0700 (PDT)
Received: from homiemail-a98.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 772D4129406 for <tls@ietf.org>; Thu,  4 May 2017 21:55:12 -0700 (PDT)
Received: from homiemail-a98.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a98.g.dreamhost.com (Postfix) with ESMTP id 03BEB6000A60C; Thu,  4 May 2017 21:55:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=uz9MLyU5ubT9SK RS5mdpi0Jmy7M=; b=i2cvNB11bR2nGtDhrtQNwdBUbjx7723WbzSCT2b9O0WKIa Kt/jDyLyB25ruA3zynFO4LR9F4m+6c6NpmI4kbx4BHo3a7IFZq29drr4Z6e3M1tz 2+E/FIfZcqmk4QNEIKzc5X5BKaQCdl+yzUOQfpC9UpkUNFhwVRMqT221JMS8k=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a98.g.dreamhost.com (Postfix) with ESMTPSA id 8EE176000A60B; Thu,  4 May 2017 21:55:11 -0700 (PDT)
Date: Thu, 4 May 2017 23:55:09 -0500
From: Nico Williams <nico@cryptonector.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Watson Ladd <watsonbladd@gmail.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170505045508.GD10188@localhost>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com> <20170504235812.GA10188@localhost> <CACsn0cnqvS5pE4YGFV8Vd9t69VrgOYPwmVM-NdLx6+vCE2iuhg@mail.gmail.com> <b6b470a0-5f41-970b-329b-11a965aab34e@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <b6b470a0-5f41-970b-329b-11a965aab34e@akamai.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/hDGra9thlMEt9fgkJOybjSlzXi4>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 04:55:13 -0000

On Thu, May 04, 2017 at 11:14:01PM -0500, Benjamin Kaduk wrote:
> On 05/04/2017 07:18 PM, Watson Ladd wrote:
> > On Thu, May 4, 2017 at 4:58 PM, Nico Williams <nico@cryptonector.com> wrote:
> >> In particular there has to be a way, either in-TLS, or at the
> >> application layer, to force an extra round-trip to confirm that the
> >> 0-rtt data was not an unintended replay.
> > One can always reject... unless I am misunderstanding the suggestion.
> 
> I'm pretty sure Nico still wants data-dependent reject, which is not
> workable in the general case.  (See the discussion of reverse proxies.)

What I want?  I'm saying that 0-rtt requires much care.  Specifically it
requires any of:

 - replay caching
 - not allowing 0-rtt for non-idempotent data (there are several ways to
   "not allow" 0-rtt in this case)

Take your pick.

Nico
-- 


From nobody Thu May  4 22:04:19 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BF8D6129410 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 22:04:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.802
X-Spam-Level: 
X-Spam-Status: No, score=-0.802 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 0PTiMxZt8LCE for <tls@ietfa.amsl.com>; Thu,  4 May 2017 22:04:16 -0700 (PDT)
Received: from prod-mail-xrelay08.akamai.com (prod-mail-xrelay08.akamai.com [96.6.114.112]) by ietfa.amsl.com (Postfix) with ESMTP id 627CB1293E0 for <tls@ietf.org>; Thu,  4 May 2017 22:04:16 -0700 (PDT)
Received: from prod-mail-xrelay08.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 115F1200012; Fri,  5 May 2017 05:04:16 +0000 (GMT)
Received: from prod-mail-relay09.akamai.com (prod-mail-relay09.akamai.com [172.27.22.68]) by prod-mail-xrelay08.akamai.com (Postfix) with ESMTP id E511B200027; Fri,  5 May 2017 05:04:15 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1493960655; bh=Q2weMzlsrpSCaRDzEOiu0M4Qc7Sld8dr4etMCvFB0iU=; l=3575; h=To:References:Cc:From:Date:In-Reply-To:From; b=AsyHI6ArsAv87b/6KJE7gey2SHJKIXjBfCMCGrWQY3Vj5jlOWhhRmPJ3ulHNSbEkB ukkx8ag+n5LGP4uAU5G9+toQhv6TETAMD48fRvLrlvlnQ2vy+7ipChW5af8ce4u2xL 4G1ehY1zDqPXvjiMaiCuuBHvve7yPp+3emHFrH8A=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay09.akamai.com (Postfix) with ESMTP id 80D151E0AA; Fri,  5 May 2017 05:04:15 +0000 (GMT)
To: Nico Williams <nico@cryptonector.com>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com> <20170504235812.GA10188@localhost> <CACsn0cnqvS5pE4YGFV8Vd9t69VrgOYPwmVM-NdLx6+vCE2iuhg@mail.gmail.com> <20170505033652.GB10188@localhost> <3fc4304b-0540-ad4d-6220-15d33cf06645@akamai.com> <20170505045254.GC10188@localhost>
Cc: Watson Ladd <watsonbladd@gmail.com>, "tls@ietf.org" <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <24861825-7e2d-8a97-0b0a-67f176b92d6d@akamai.com>
Date: Fri, 5 May 2017 00:04:14 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170505045254.GC10188@localhost>
Content-Type: multipart/alternative; boundary="------------668296ECEB2D18DBE5B25B75"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Pt9VKVRVhttaLbGWVUIHcihiyao>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 05:04:18 -0000

This is a multi-part message in MIME format.
--------------668296ECEB2D18DBE5B25B75
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

On 05/04/2017 11:52 PM, Nico Williams wrote:
> On Thu, May 04, 2017 at 11:11:29PM -0500, Benjamin Kaduk wrote:
>> 5/04/2017 10:36 PM, Nico Williams wrote:
>>> On Thu, May 04, 2017 at 05:18:32PM -0700, Watson Ladd wrote:
>>>> Which server?  It's possible that the backhauls from the server the
>>>> TLS connection is made to to the server actually responding to the
>>>> request do not distinguish 0-RTT from other data. Opportunity for
>>>> administrative bloopers is immense: even if the responding server
>>>> rejects 0-RTT, the server proxying requests won't necessarily know
>>>> that inline as it is reusing the connection.
>>> The one that terminates TLS.  If that's a reverse proxy, then it has to
>>> know or not allow 0-rtt.  That means that by default reverse proxies
>>> can't accept 0-rtt, and they have to know a lot about the application in
>>> order to accept it (or else let the server know that 0-rtt was used and
>>> let the server give the client an appropriate error if that's not
>>> acceptable).
>> I'm very skeptical that this position would survive into real-world
>> deployments.
> Which part?

No matter what we way here, there will be reverse proxies deployed on
the internet in the next 5 years that blindly accept 0-RTT knowing
nothing about the application and not letting the server know that 0-RTT
was used.

-Ben

--------------668296ECEB2D18DBE5B25B75
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/04/2017 11:52 PM, Nico Williams wrote:<br>
    <blockquote cite="mid:20170505045254.GC10188@localhost" type="cite">
      <pre wrap="">On Thu, May 04, 2017 at 11:11:29PM -0500, Benjamin Kaduk wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">5/04/2017 10:36 PM, Nico Williams wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">On Thu, May 04, 2017 at 05:18:32PM -0700, Watson Ladd wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">
Which server?  It's possible that the backhauls from the server the
TLS connection is made to to the server actually responding to the
request do not distinguish 0-RTT from other data. Opportunity for
administrative bloopers is immense: even if the responding server
rejects 0-RTT, the server proxying requests won't necessarily know
that inline as it is reusing the connection.
</pre>
          </blockquote>
          <pre wrap="">The one that terminates TLS.  If that's a reverse proxy, then it has to
know or not allow 0-rtt.  That means that by default reverse proxies
can't accept 0-rtt, and they have to know a lot about the application in
order to accept it (or else let the server know that 0-rtt was used and
let the server give the client an appropriate error if that's not
acceptable).
</pre>
        </blockquote>
        <pre wrap="">
I'm very skeptical that this position would survive into real-world
deployments.
</pre>
      </blockquote>
      <pre wrap="">
Which part?
</pre>
    </blockquote>
    <br>
    No matter what we way here, there will be reverse proxies deployed
    on the internet in the next 5 years that blindly accept 0-RTT
    knowing nothing about the application and not letting the server
    know that 0-RTT was used.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------668296ECEB2D18DBE5B25B75--


From nobody Thu May  4 22:04:26 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 30AA91293E0 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 22:04:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 agFxMPyuBKUC for <tls@ietfa.amsl.com>; Thu,  4 May 2017 22:04:17 -0700 (PDT)
Received: from homiemail-a98.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 86DCF1293F9 for <tls@ietf.org>; Thu,  4 May 2017 22:04:16 -0700 (PDT)
Received: from homiemail-a98.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a98.g.dreamhost.com (Postfix) with ESMTP id 205E26000A60B; Thu,  4 May 2017 22:04:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=CruxRLy4HJ+8dr vdoSWlogZj6vY=; b=VQ7OBIrCI4dG8Mxchb0Yybv4h843CJB6f81qGTddtxiT6Z 2oIUFjKWb/W9I9zusGQiNMyX8DPWDKj1LIVLNdR0cYstMjT7gvqtyCGl8kPNGBmP ydRrdYPqfkxFD/bdXReV9C1FO5zPcytxS6prHYZOabpGzpfVhNLKK/f2H6VuU=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a98.g.dreamhost.com (Postfix) with ESMTPSA id B3E3760002A24; Thu,  4 May 2017 22:04:15 -0700 (PDT)
Date: Fri, 5 May 2017 00:04:13 -0500
From: Nico Williams <nico@cryptonector.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Watson Ladd <watsonbladd@gmail.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170505050412.GE10188@localhost>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com> <830b5237-d3d1-2f3b-3e8d-a4cc75870fd9@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <830b5237-d3d1-2f3b-3e8d-a4cc75870fd9@akamai.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/DNwRcZ8iuQE8S_ND5W4YMYRpo7g>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 05:04:18 -0000

On Thu, May 04, 2017 at 11:22:47PM -0500, Benjamin Kaduk wrote:
> On 05/04/2017 06:35 PM, Watson Ladd wrote:
> > If you are willing to buffer 0-RTT until completion before going to
> > the thing that makes the response, you can handle this problem for the
> > responsemaker. This will work for most applications I can think of,
> > and you need to handle large, drawn out requests anyway. This sounds
> > like it would work as a solution, but I am sure there are details I
> > haven't discovered yet.
> 
> The server is allowed to buffer the 0-RTT data while processing it and
> delay a response until the handshake is completed, yes.  (I think this
> is the "way to force 1-RTT at the application layer" that Nico wants.) 

I'm not up on the details of how 0-rtt works in TLS 1.3.  I don't know
if there's a way for the server to cause a round-trip to occur, nor if
there's a way for the client to then confirm the 0-rtt data in that
round-trip.

I do think having such functionality would be very helpful for cases
where the server runs a) without a replay cache, and b) can accept
idempotent and non-idempotent requests.

I think always requiring a replay cache is not likely to work out in
practice.

> It removes the latency benefits of 0-RTT [for that request] and might be

Because [for that request] there are no benefits of 0-rtt.

> annoying to implement with APIs that only give you a single data stream
> (but probably not too bad), but the application layer at the server has
> the capability to solve these idempotency/replay problems. 
> Unfortunately, we are the TLS layer and cannot assume that we control or
> can cooperate with the application.  Which leads right back to the
> "application profile is required" bit, of course.

Yes, sure, but the application profile rubber has to meet the road.
That usually means that the devil is in the APIs.

An application that wants a "dumb secure socket"... just can't have
0-rtt.

HTTP should be trivial to profile... if only GET weren't abused here and
there.

Nico
-- 


From nobody Thu May  4 22:07:15 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4A0EC129440 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 22:07:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 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, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 eQkooPIZdNhp for <tls@ietfa.amsl.com>; Thu,  4 May 2017 22:07:10 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (prod-mail-xrelay06.akamai.com [96.6.114.98]) by ietfa.amsl.com (Postfix) with ESMTP id BA6D0129410 for <tls@ietf.org>; Thu,  4 May 2017 22:07:10 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 4EA6C496C1D for <tls@ietf.org>; Fri,  5 May 2017 05:07:10 +0000 (GMT)
Received: from prod-mail-relay08.akamai.com (prod-mail-relay08.akamai.com [172.27.22.71]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id 2F472496C12 for <tls@ietf.org>; Fri,  5 May 2017 05:07:10 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1493960830; bh=jPljxFTwhOV7+ML6TWGWig1ho5H8gKiyUVn6Oj/8riY=; l=10211; h=References:From:To:Date:In-Reply-To:From; b=G8ZQFP7iaepG6qLBjhzK0iNJQv+L9w/CGybhY4Rj0z46WK1Js6zS9xISaThqXRgrJ bOqZEqfoDNyDFUy3XTmG5chW635AwfVqCJWtoM0DxGzQhHoXas00DNhrUwPZKk4K2n 2ZSqSkLnF30oJ+GTPqWml4ZsCf2GDGaA5JGqGWQ0=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay08.akamai.com (Postfix) with ESMTP id C9B739809E for <tls@ietf.org>; Fri,  5 May 2017 05:07:09 +0000 (GMT)
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com> <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com>
From: Benjamin Kaduk <bkaduk@akamai.com>
X-Enigmail-Draft-Status: N1110
To: "tls@ietf.org" <tls@ietf.org>
Message-ID: <10986afe-873e-a81d-102b-86fa169b156f@akamai.com>
Date: Fri, 5 May 2017 00:07:09 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------D484BFC7DC3C438287F98F4F"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/4B6q3VbJJ9aHeoV9V1aLorL0aPI>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 05:07:13 -0000

This is a multi-part message in MIME format.
--------------D484BFC7DC3C438287F98F4F
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit

Trying to consolidate various things into a single mail...

On 05/04/2017 04:37 PM, Eric Rescorla wrote:
> In the PR I just posted, I spent most of my time describing the
> mechanisms and used a SHOULD-level requirement to do one of the
> mechanisms.
> I think there's a bunch of room to wordsmith the requirement. Perhaps
> we say:
>
> - You can't do 0-RTT without an application profile
> - Absent the application profile saying otherwise you SHOULD/MUST do
> one of these mitigations?
>
>

That seems like an inconsistent position to take (don't do this, but if
you ignore me, do this in this fashion).  Advising application profiles
to consider one of those things might be better.



On 05/04/2017 04:27 PM, Kyle Nekritz wrote:
>
> 2) Preventing clients from sending 0-RTT data multiple times (on
> separate connections) using the same PSK (for forward secrecy reasons)
>
>  
>
> I think this should be allowed. Otherwise, clients will not be able to
> retry 0-RTT requests that fail due to an unknown network error prior
> to receiving a NST (if they are out of cached PSKs). I’d expect the
> need for these retries to be larger with 0-RTT data, particularly when
> 0-RTT data is sent without even a transport roundtrip (in the case of
> TFO or QUIC). Servers are definitely not required to accept multiple
> 0-RTT connections using the same PSK, but I don’t think clients should
> be banned from attempting.
>

Obligatory note that if clients are forbidden from reusing a single PSK
for multiple 0-RTT, they can still use it for 1-RTT.



On 05/04/2017 03:24 PM, Colm MacCárthaigh wrote:
> On Thu, May 4, 2017 at 12:12 PM, Erik Nygren <erik+ietf@nygren.org
> <mailto:erik+ietf@nygren.org>> wrote:
>
>     On Wed, May 3, 2017 at 11:13 PM, Eric Rescorla <ekr@rtfm.com
>     <mailto:ekr@rtfm.com>> wrote:
>
>
>         1. A SHOULD-level requirement for server-side 0-RTT defense,
>         explaining
>         both session-cache and strike register styles and the merits
>         of each.
>
>
>     I don't believe this is technically viable for the large-scale
>     server operators most interested in 0-RTT.
>
>
> I think it is (and work at one of the biggest) ... but if even it
> weren't, that would just imply that we can't have 0-RTT at all, not
> that it's ok to ship an insecure version.

I would be okay with that being the case ... but I don't think that's
actually the case.  Some people are going to do 0-RTT in one form or
another, whether or not we specify it here.  I'd rather have something
well-specified that can be used correctly in some cases and is
unfortunately used in more cases than that, then a
less-well-documented-and-analyzed thing used in those same questionable
cases.


On 05/03/2017 09:33 PM, Blumenthal, Uri - 0553 - MITLL wrote:
> P.S. Care to name (another :) one security-related protocol that
> doesn't provide replay protection?

Some of the earlier uses of Kerberos are subject to replay (hence
kerberos implementations can end up providing replay caches to try and
help, which are not perfect and slow to boot).  More modern exchanges
that use GSS acceptor subkeys are not subject to replay, though.


On 05/03/2017 09:31 PM, Martin Thomson wrote:
> A clear delineation of security properties exists, if the handshake is
> done, then you are in the clear.  Otherwise, beware.  The separation
> of the streams doesn't help if you consider the possibility that 0-RTT
> data can be retroactively blessed.

You can still be in trouble if you used the early exporter, e.g., for
token binding.  We had some discussions in the tokbind session in
Chicago that clarified that handshake completion does not retroactively
bless the properties you want from 0-RTT token binding.


-Ben


--------------D484BFC7DC3C438287F98F4F
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Trying to consolidate various things into a single mail...<br>
    <br>
    On 05/04/2017 04:37 PM, Eric Rescorla wrote:<br>
    <blockquote
cite="mid:CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com"
      type="cite">
      <div>In the PR I just posted, I spent most of my time describing
        the</div>
      <div>mechanisms and used a SHOULD-level requirement to do one of
        the mechanisms.</div>
      <div>I think there's a bunch of room to wordsmith the requirement.
        Perhaps we say:</div>
      <div><br>
      </div>
      <div>- You can't do 0-RTT without an application profile</div>
      <div>- Absent the application profile saying otherwise you
        SHOULD/MUST do one of these mitigations?</div>
      <div><br>
      </div>
      <div><br>
      </div>
    </blockquote>
    <br>
    That seems like an inconsistent position to take (don't do this, but
    if you ignore me, do this in this fashion).  Advising application
    profiles to consider one of those things might be better.<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/04/2017 04:27 PM, Kyle Nekritz
      wrote:<br>
    </div>
    <blockquote
cite="mid:MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com"
      type="cite">
      <p class="MsoNormal"><span
          style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">2)
          Preventing clients from sending 0-RTT data multiple times (on
          separate connections) using the same PSK (for forward secrecy
          reasons)<o:p></o:p></span></p>
      <p class="MsoNormal"><span
          style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p> </o:p></span></p>
      <p class="MsoNormal"><span
          style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">I
          think this should be allowed. Otherwise, clients will not be
          able to retry 0-RTT requests that fail due to an unknown
          network error prior to receiving a NST (if they are out of
          cached PSKs). I’d expect the need for these retries to be
          larger with 0-RTT data, particularly when 0-RTT data is sent
          without even a transport roundtrip (in the case of TFO or
          QUIC). Servers are definitely not required to accept multiple
          0-RTT connections using the same PSK, but I don’t think
          clients should be banned from attempting.<o:p></o:p></span></p>
      <p class="MsoNormal"><span
          style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p></o:p></span></p>
    </blockquote>
    <br>
    Obligatory note that if clients are forbidden from reusing a single
    PSK for multiple 0-RTT, they can still use it for 1-RTT.<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/04/2017 03:24 PM, Colm
      MacCárthaigh wrote:<br>
    </div>
    <blockquote
cite="mid:CAAF6GDeNBZJNgGTBryLiiiti7B2Nf56rZ0aKOneNei3NNqB=wg@mail.gmail.com"
      type="cite">On Thu, May 4, 2017 at 12:12 PM, Erik Nygren <span
        dir="ltr">&lt;<a moz-do-not-send="true"
          href="mailto:erik+ietf@nygren.org" target="_blank">erik+ietf@nygren.org</a>&gt;</span>
      wrote:<br>
      <blockquote class="gmail_quote" style="margin:0 0 0
        .8ex;border-left:1px #ccc solid;padding-left:1ex">
        <div dir="ltr">
          <div class="gmail_extra">
            <div class="gmail_quote"><span class="">On Wed, May 3, 2017
                at 11:13 PM, Eric Rescorla <span dir="ltr">&lt;<a
                    moz-do-not-send="true" href="mailto:ekr@rtfm.com"
                    target="_blank">ekr@rtfm.com</a>&gt;</span> wrote:<br>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div dir="ltr"><br>
                    <div>1. A SHOULD-level requirement for server-side
                      0-RTT defense, explaining</div>
                    <div>both session-cache and strike register styles
                      and the merits of each.</div>
                  </div>
                </blockquote>
                <div><br>
                </div>
              </span>
              <div>I don't believe this is technically viable for the
                large-scale server operators most interested in 0-RTT.</div>
            </div>
          </div>
        </div>
      </blockquote>
      <div><br>
      </div>
      <div>I think it is (and work at one of the biggest) ... but if
        even it weren't, that would just imply that we can't have 0-RTT
        at all, not that it's ok to ship an insecure version.</div>
    </blockquote>
    <br>
    I would be okay with that being the case ... but I don't think
    that's actually the case.  Some people are going to do 0-RTT in one
    form or another, whether or not we specify it here.  I'd rather have
    something well-specified that can be used correctly in some cases
    and is unfortunately used in more cases than that, then a
    less-well-documented-and-analyzed thing used in those same
    questionable cases.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/03/2017 09:33 PM, Blumenthal, Uri
      - 0553 - MITLL wrote:<br>
    </div>
    <blockquote
      cite="mid:B2532E14-6EB9-4F0E-85C3-5CAC14B3B3AA@ll.mit.edu"
      type="cite">P.S. Care to name (another :) one security-related
      protocol that doesn't provide replay protection?<br>
    </blockquote>
    <br>
    Some of the earlier uses of Kerberos are subject to replay (hence
    kerberos implementations can end up providing replay caches to try
    and help, which are not perfect and slow to boot).  More modern
    exchanges that use GSS acceptor subkeys are not subject to replay,
    though.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/03/2017 09:31 PM, Martin Thomson
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABkgnnUuxv1WbwiudOKxkjesrGH+DCJOYqThfUa0t6K0oFSv=A@mail.gmail.com"
      type="cite">
      <pre wrap="">A clear delineation of security properties exists, if the handshake is
done, then you are in the clear.  Otherwise, beware.  The separation
of the streams doesn't help if you consider the possibility that 0-RTT
data can be retroactively blessed.</pre>
    </blockquote>
    <br>
    You can still be in trouble if you used the early exporter, e.g.,
    for token binding.  We had some discussions in the tokbind session
    in Chicago that clarified that handshake completion does not
    retroactively bless the properties you want from 0-RTT token
    binding.<br>
    <br>
    <br>
    -Ben<br>
    <br>
  </body>
</html>

--------------D484BFC7DC3C438287F98F4F--


From nobody Thu May  4 22:13:20 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 277711293E1 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 22:13:19 -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 jJFM5B8IRfXl for <tls@ietfa.amsl.com>; Thu,  4 May 2017 22:13:16 -0700 (PDT)
Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (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 6AE02129443 for <tls@ietf.org>; Thu,  4 May 2017 22:13:15 -0700 (PDT)
Received: by mail-yw0-x229.google.com with SMTP id k11so16245410ywb.1 for <tls@ietf.org>; Thu, 04 May 2017 22:13:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2k5gn0ZKtzhLu+lYsWd/hQbCainUpleVCBdElsG8yWE=; b=rzoIL6bJFDmJ82jEqAR5ynvDsN4Dyu9LfQrFrvpErZvqIkHnDnkplvpo+TwrCyDDTM OD/rUPnGL0bnORbBczvitNJm8kaZmPoA7N5Ssaj7+Jm4IISTWCyLFygqg1y5oom9u7sw PcVr7bFMBg1xRz1ZfV1CJkm/FjftIff8516ic/aI3o93Q1HtRYduhb587cvOInEhsulw ORqVBbmvTkoDThAT5jk+LK32R50b4xauFgruHUokeCrkZUjA3t5oc5/7WCpfMgmSHAjN Yh5qnA5fuC+X+/SXkbPLdAVNTh/rSE7PhmR1K7bhv43eWTzPm0MkqTS+LwNYg4Cmcmq/ W2EA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2k5gn0ZKtzhLu+lYsWd/hQbCainUpleVCBdElsG8yWE=; b=cgosqf46vZ+9zPJeXZALgQqyDcnFFErvYISR4Of2frlvTFdecbBVcMw7LvCkW6afv7 D4pilm7mmlDwYAL6tuZ7K1oHrwL+6iH/k6tymcfrhG9t8sSN7+WRUuBXbNcM8LaKRI1i QPQ/jFiFrIRi/nNbh+eNeIpo/tS91+wb5kKBJ4/rn3af+U4k/qX/3HayXiiDPzQxUTmy 6E5JL6i5q4a2OW/TllYqYIrpImk0SUT2KprHH0me7PoK9N2YAfGR5ub8HTHjLYy5UuBD FZl96fRFNpjDJbjOoVBFeRvGTUQtHAZf0IxUT6Ql63NSBvnI9QmdPPrhozsxV4YaNSLM dzCg==
X-Gm-Message-State: AN3rC/42NccPppWAl0UMbg0DJ59HjlBof/aFjM5Rwwhe1/h8l+pm81x5 681gykHH39IIiAwKd+FYljsGm9z6SNdW
X-Received: by 10.13.255.199 with SMTP id p190mr20367537ywf.312.1493961194725;  Thu, 04 May 2017 22:13:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Thu, 4 May 2017 22:12:34 -0700 (PDT)
In-Reply-To: <10986afe-873e-a81d-102b-86fa169b156f@akamai.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com> <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com> <10986afe-873e-a81d-102b-86fa169b156f@akamai.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 4 May 2017 22:12:34 -0700
Message-ID: <CABcZeBN8ASykSckf7TVBpwEz9yMmyf5eCPqfL-rmSkFEFJiNzQ@mail.gmail.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c087eea5207bb054ebff224
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/r6z4Pk4kvzEy3Q9aYa_CrsUVp6s>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 05:13:19 -0000

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

On Thu, May 4, 2017 at 10:07 PM, Benjamin Kaduk <bkaduk@akamai.com> wrote:

> Trying to consolidate various things into a single mail...
>
> On 05/04/2017 04:37 PM, Eric Rescorla wrote:
>
> In the PR I just posted, I spent most of my time describing the
> mechanisms and used a SHOULD-level requirement to do one of the mechanism=
s.
> I think there's a bunch of room to wordsmith the requirement. Perhaps we
> say:
>
> - You can't do 0-RTT without an application profile
> - Absent the application profile saying otherwise you SHOULD/MUST do one
> of these mitigations?
>
>
>
> That seems like an inconsistent position to take (don't do this, but if
> you ignore me, do this in this fashion).  Advising application profiles t=
o
> consider one of those things might be better.
>

That's just incompetent writing by me, I guess.

For 2, I meant "If there is an application profile allowing 0-RTT, but it
doesn't say you don't
need mitigations, then you MUST..."


-Ekr


>
>
>
> On 05/04/2017 04:27 PM, Kyle Nekritz wrote:
>
> 2) Preventing clients from sending 0-RTT data multiple times (on separate
> connections) using the same PSK (for forward secrecy reasons)
>
>
>
> I think this should be allowed. Otherwise, clients will not be able to
> retry 0-RTT requests that fail due to an unknown network error prior to
> receiving a NST (if they are out of cached PSKs). I=E2=80=99d expect the =
need for
> these retries to be larger with 0-RTT data, particularly when 0-RTT data =
is
> sent without even a transport roundtrip (in the case of TFO or QUIC).
> Servers are definitely not required to accept multiple 0-RTT connections
> using the same PSK, but I don=E2=80=99t think clients should be banned fr=
om
> attempting.
>
>
> Obligatory note that if clients are forbidden from reusing a single PSK
> for multiple 0-RTT, they can still use it for 1-RTT.
>
>
>
> On 05/04/2017 03:24 PM, Colm MacC=C3=A1rthaigh wrote:
>
> On Thu, May 4, 2017 at 12:12 PM, Erik Nygren <erik+ietf@nygren.org> wrote=
:
>
>> On Wed, May 3, 2017 at 11:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>>
>>>
>>> 1. A SHOULD-level requirement for server-side 0-RTT defense, explaining
>>> both session-cache and strike register styles and the merits of each.
>>>
>>
>> I don't believe this is technically viable for the large-scale server
>> operators most interested in 0-RTT.
>>
>
> I think it is (and work at one of the biggest) ... but if even it weren't=
,
> that would just imply that we can't have 0-RTT at all, not that it's ok t=
o
> ship an insecure version.
>
>
> I would be okay with that being the case ... but I don't think that's
> actually the case.  Some people are going to do 0-RTT in one form or
> another, whether or not we specify it here.  I'd rather have something
> well-specified that can be used correctly in some cases and is
> unfortunately used in more cases than that, then a less-well-documented-a=
nd-analyzed
> thing used in those same questionable cases.
>
>
> On 05/03/2017 09:33 PM, Blumenthal, Uri - 0553 - MITLL wrote:
>
> P.S. Care to name (another :) one security-related protocol that doesn't
> provide replay protection?
>
>
> Some of the earlier uses of Kerberos are subject to replay (hence kerbero=
s
> implementations can end up providing replay caches to try and help, which
> are not perfect and slow to boot).  More modern exchanges that use GSS
> acceptor subkeys are not subject to replay, though.
>
>
> On 05/03/2017 09:31 PM, Martin Thomson wrote:
>
> A clear delineation of security properties exists, if the handshake is
> done, then you are in the clear.  Otherwise, beware.  The separation
> of the streams doesn't help if you consider the possibility that 0-RTT
> data can be retroactively blessed.
>
>
> You can still be in trouble if you used the early exporter, e.g., for
> token binding.  We had some discussions in the tokbind session in Chicago
> that clarified that handshake completion does not retroactively bless the
> properties you want from 0-RTT token binding.
>
>
> -Ben
>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, May 4, 2017 at 10:07 PM, Benjamin Kaduk <span dir=3D"ltr">&lt;<=
a href=3D"mailto:bkaduk@akamai.com" target=3D"_blank">bkaduk@akamai.com</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    Trying to consolidate various things into a single mail...<span class=
=3D""><br>
    <br>
    On 05/04/2017 04:37 PM, Eric Rescorla wrote:<br>
    <blockquote type=3D"cite">
      <div>In the PR I just posted, I spent most of my time describing
        the</div>
      <div>mechanisms and used a SHOULD-level requirement to do one of
        the mechanisms.</div>
      <div>I think there&#39;s a bunch of room to wordsmith the requirement=
.
        Perhaps we say:</div>
      <div><br>
      </div>
      <div>- You can&#39;t do 0-RTT without an application profile</div>
      <div>- Absent the application profile saying otherwise you
        SHOULD/MUST do one of these mitigations?</div>
      <div><br>
      </div>
      <div><br>
      </div>
    </blockquote>
    <br></span>
    That seems like an inconsistent position to take (don&#39;t do this, bu=
t
    if you ignore me, do this in this fashion).=C2=A0 Advising application
    profiles to consider one of those things might be better.</div></blockq=
uote><div><br></div><div>That&#39;s just incompetent writing by me, I guess=
.</div><div><br></div><div>For 2, I meant &quot;If there is an application =
profile allowing 0-RTT, but it doesn&#39;t say you don&#39;t</div><div>need=
 mitigations, then you MUST...&quot;</div><div><br></div><div><br></div><di=
v>-Ekr</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor=3D=
"#FFFFFF" text=3D"#000000"><span class=3D""><br>
    <br>
    <br>
    <div class=3D"m_1919962822729391351moz-cite-prefix">On 05/04/2017 04:27=
 PM, Kyle Nekritz
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,sans-serif">2)
          Preventing clients from sending 0-RTT data multiple times (on
          separate connections) using the same PSK (for forward secrecy
          reasons)<u></u><u></u></span></p>
      <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,sans-serif"><u></u>=C2=A0<u></u></span></p>
      <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,sans-serif">I
          think this should be allowed. Otherwise, clients will not be
          able to retry 0-RTT requests that fail due to an unknown
          network error prior to receiving a NST (if they are out of
          cached PSKs). I=E2=80=99d expect the need for these retries to be
          larger with 0-RTT data, particularly when 0-RTT data is sent
          without even a transport roundtrip (in the case of TFO or
          QUIC). Servers are definitely not required to accept multiple
          0-RTT connections using the same PSK, but I don=E2=80=99t think
          clients should be banned from attempting.<u></u><u></u></span></p=
>
      <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,sans-serif"><u></u><u></u></span></p>
    </blockquote>
    <br></span>
    Obligatory note that if clients are forbidden from reusing a single
    PSK for multiple 0-RTT, they can still use it for 1-RTT.<br>
    <br>
    <br>
    <br>
    <div class=3D"m_1919962822729391351moz-cite-prefix">On 05/04/2017 03:24=
 PM, Colm
      MacC=C3=A1rthaigh wrote:<br>
    </div>
    <blockquote type=3D"cite">On Thu, May 4, 2017 at 12:12 PM, Erik Nygren =
<span dir=3D"ltr">&lt;<a href=3D"mailto:erik+ietf@nygren.org" target=3D"_bl=
ank">erik+ietf@nygren.org</a>&gt;</span>
      wrote:<br>
      <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex">
        <div dir=3D"ltr">
          <div class=3D"gmail_extra">
            <div class=3D"gmail_quote"><span class=3D""><span>On Wed, May 3=
, 2017
                at 11:13 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a href=3D=
"mailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> wrote:<=
br>
                <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                  <div dir=3D"ltr"><br>
                    <div>1. A SHOULD-level requirement for server-side
                      0-RTT defense, explaining</div>
                    <div>both session-cache and strike register styles
                      and the merits of each.</div>
                  </div>
                </blockquote>
                <div><br>
                </div>
              </span>
              </span><span class=3D""><div>I don&#39;t believe this is tech=
nically viable for the
                large-scale server operators most interested in 0-RTT.</div=
>
            </span></div>
          </div>
        </div>
      </blockquote><span class=3D"">
      <div><br>
      </div>
      <div>I think it is (and work at one of the biggest) ... but if
        even it weren&#39;t, that would just imply that we can&#39;t have 0=
-RTT
        at all, not that it&#39;s ok to ship an insecure version.</div>
    </span></blockquote>
    <br>
    I would be okay with that being the case ... but I don&#39;t think
    that&#39;s actually the case.=C2=A0 Some people are going to do 0-RTT i=
n one
    form or another, whether or not we specify it here.=C2=A0 I&#39;d rathe=
r have
    something well-specified that can be used correctly in some cases
    and is unfortunately used in more cases than that, then a
    less-well-documented-and-<wbr>analyzed thing used in those same
    questionable cases.<br>
    <br>
    <br>
    <div class=3D"m_1919962822729391351moz-cite-prefix">On 05/03/2017 09:33=
 PM, Blumenthal, Uri
      - 0553 - MITLL wrote:<br>
    </div>
    <blockquote type=3D"cite">P.S. Care to name (another :) one security-re=
lated
      protocol that doesn&#39;t provide replay protection?<br>
    </blockquote>
    <br>
    Some of the earlier uses of Kerberos are subject to replay (hence
    kerberos implementations can end up providing replay caches to try
    and help, which are not perfect and slow to boot).=C2=A0 More modern
    exchanges that use GSS acceptor subkeys are not subject to replay,
    though.<br>
    <br>
    <br>
    <div class=3D"m_1919962822729391351moz-cite-prefix">On 05/03/2017 09:31=
 PM, Martin Thomson
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <pre>A clear delineation of security properties exists, if the handsh=
ake is
done, then you are in the clear.  Otherwise, beware.  The separation
of the streams doesn&#39;t help if you consider the possibility that 0-RTT
data can be retroactively blessed.</pre>
    </blockquote>
    <br>
    You can still be in trouble if you used the early exporter, e.g.,
    for token binding.=C2=A0 We had some discussions in the tokbind session
    in Chicago that clarified that handshake completion does not
    retroactively bless the properties you want from 0-RTT token
    binding.<br>
    <br>
    <br>
    -Ben<br>
    <br>
  </div>

<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br></blockquote></div><br></div></div>

--94eb2c087eea5207bb054ebff224--


From nobody Thu May  4 22:15:54 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2EC211293E1 for <tls@ietfa.amsl.com>; Thu,  4 May 2017 22:15:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.301
X-Spam-Level: 
X-Spam-Status: No, score=-1.301 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 rrFN0MNmGtQP for <tls@ietfa.amsl.com>; Thu,  4 May 2017 22:15:50 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (prod-mail-xrelay07.akamai.com [23.79.238.175]) by ietfa.amsl.com (Postfix) with ESMTP id 2343E129445 for <tls@ietf.org>; Thu,  4 May 2017 22:15:48 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 73C4A433421; Fri,  5 May 2017 05:15:47 +0000 (GMT)
Received: from prod-mail-relay11.akamai.com (prod-mail-relay11.akamai.com [172.27.118.250]) by prod-mail-xrelay07.akamai.com (Postfix) with ESMTP id 5D418433419; Fri,  5 May 2017 05:15:47 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1493961347; bh=0imcR2q8QGs+LHFG/haRFfSrfQiB2wn3twTKoPEyRc4=; l=7649; h=To:References:Cc:From:Date:In-Reply-To:From; b=nbhwVUZTuIAE9zB4FqZg7THcxkej1H6tvq4vnjnRLdV8jK89vEBl1beDKMJY9VKUK NtUfumM6Mv8/JQ1FYOzQIDAqGbGDQ6nxcltkTjfmgz5LjaspsszFqW2igVXrUB/gof Fa6/18xGHrnnyR84nmJ2fI71GufSpk291aIIEQGc=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay11.akamai.com (Postfix) with ESMTP id 22EB51FCB3; Fri,  5 May 2017 05:15:47 +0000 (GMT)
To: Nico Williams <nico@cryptonector.com>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com> <830b5237-d3d1-2f3b-3e8d-a4cc75870fd9@akamai.com> <20170505050412.GE10188@localhost>
Cc: Watson Ladd <watsonbladd@gmail.com>, "tls@ietf.org" <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <f08ee6b3-031b-8331-be12-85af77d6d165@akamai.com>
Date: Fri, 5 May 2017 00:15:46 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170505050412.GE10188@localhost>
Content-Type: multipart/alternative; boundary="------------69C04C497340E72F8AE287EA"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Djt7TncPajE8Em86UOL1yk5V2HM>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 05:15:52 -0000

This is a multi-part message in MIME format.
--------------69C04C497340E72F8AE287EA
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

On 05/05/2017 12:04 AM, Nico Williams wrote:
> On Thu, May 04, 2017 at 11:22:47PM -0500, Benjamin Kaduk wrote:
>> On 05/04/2017 06:35 PM, Watson Ladd wrote:
>>> If you are willing to buffer 0-RTT until completion before going to
>>> the thing that makes the response, you can handle this problem for the
>>> responsemaker. This will work for most applications I can think of,
>>> and you need to handle large, drawn out requests anyway. This sounds
>>> like it would work as a solution, but I am sure there are details I
>>> haven't discovered yet.
>> The server is allowed to buffer the 0-RTT data while processing it and
>> delay a response until the handshake is completed, yes.  (I think this
>> is the "way to force 1-RTT at the application layer" that Nico wants.) 
> I'm not up on the details of how 0-rtt works in TLS 1.3.  I don't know
> if there's a way for the server to cause a round-trip to occur, nor if
> there's a way for the client to then confirm the 0-rtt data in that
> round-trip.

The server is blindly carrying data for the application.  The
application can decide to not send any 0.5-RTT data in response to the
0-RTT data, and wait for the regular 1.5-RTT response, if it wants.

> I do think having such functionality would be very helpful for cases
> where the server runs a) without a replay cache, and b) can accept
> idempotent and non-idempotent requests.

If we presume knowledge of (b) then we are forced to consider it at the
application layer; a TLS-layer signal would be pretty awkward to manage,
and an application-layer signal (or delayed response) seems much more
reasonable.

> I think always requiring a replay cache is not likely to work out in
> practice.

I agree.  I don't think we should make a claim that 0-RTT data is
safe/non-replayable by virtue of requiring that servers implement a
replay cache; it's doing consumers a disservice if we expect that there
will be servers that don't implement the strict anti-replay measures.

>> It removes the latency benefits of 0-RTT [for that request] and might be
> Because [for that request] there are no benefits of 0-rtt.
>
>> annoying to implement with APIs that only give you a single data stream
>> (but probably not too bad), but the application layer at the server has
>> the capability to solve these idempotency/replay problems. 
>> Unfortunately, we are the TLS layer and cannot assume that we control or
>> can cooperate with the application.  Which leads right back to the
>> "application profile is required" bit, of course.
> Yes, sure, but the application profile rubber has to meet the road.
> That usually means that the devil is in the APIs.
>
> An application that wants a "dumb secure socket"... just can't have
> 0-rtt.

Yes.

> HTTP should be trivial to profile... if only GET weren't abused here and
> there.
>

You might look at
https://tools.ietf.org/html/draft-nottingham-httpbis-retry-01 , though
I'm no longer confident that's actually the Nottingham document I'm
thinking of :(

-Ben

--------------69C04C497340E72F8AE287EA
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/05/2017 12:04 AM, Nico Williams wrote:<br>
    <blockquote cite="mid:20170505050412.GE10188@localhost" type="cite">
      <pre wrap="">On Thu, May 04, 2017 at 11:22:47PM -0500, Benjamin Kaduk wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On 05/04/2017 06:35 PM, Watson Ladd wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">If you are willing to buffer 0-RTT until completion before going to
the thing that makes the response, you can handle this problem for the
responsemaker. This will work for most applications I can think of,
and you need to handle large, drawn out requests anyway. This sounds
like it would work as a solution, but I am sure there are details I
haven't discovered yet.
</pre>
        </blockquote>
        <pre wrap="">
The server is allowed to buffer the 0-RTT data while processing it and
delay a response until the handshake is completed, yes.  (I think this
is the "way to force 1-RTT at the application layer" that Nico wants.) 
</pre>
      </blockquote>
      <pre wrap="">
I'm not up on the details of how 0-rtt works in TLS 1.3.  I don't know
if there's a way for the server to cause a round-trip to occur, nor if
there's a way for the client to then confirm the 0-rtt data in that
round-trip.
</pre>
    </blockquote>
    <br>
    The server is blindly carrying data for the application.  The
    application can decide to not send any 0.5-RTT data in response to
    the 0-RTT data, and wait for the regular 1.5-RTT response, if it
    wants.<br>
    <br>
    <blockquote cite="mid:20170505050412.GE10188@localhost" type="cite">
      <pre wrap="">
I do think having such functionality would be very helpful for cases
where the server runs a) without a replay cache, and b) can accept
idempotent and non-idempotent requests.
</pre>
    </blockquote>
    <br>
    If we presume knowledge of (b) then we are forced to consider it at
    the application layer; a TLS-layer signal would be pretty awkward to
    manage, and an application-layer signal (or delayed response) seems
    much more reasonable.<br>
    <br>
    <blockquote cite="mid:20170505050412.GE10188@localhost" type="cite">
      <pre wrap="">
I think always requiring a replay cache is not likely to work out in
practice.
</pre>
    </blockquote>
    <br>
    I agree.  I don't think we should make a claim that 0-RTT data is
    safe/non-replayable by virtue of requiring that servers implement a
    replay cache; it's doing consumers a disservice if we expect that
    there will be servers that don't implement the strict anti-replay
    measures.<br>
    <br>
    <blockquote cite="mid:20170505050412.GE10188@localhost" type="cite">
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">It removes the latency benefits of 0-RTT [for that request] and might be
</pre>
      </blockquote>
      <pre wrap="">
Because [for that request] there are no benefits of 0-rtt.

</pre>
      <blockquote type="cite">
        <pre wrap="">annoying to implement with APIs that only give you a single data stream
(but probably not too bad), but the application layer at the server has
the capability to solve these idempotency/replay problems. 
Unfortunately, we are the TLS layer and cannot assume that we control or
can cooperate with the application.  Which leads right back to the
"application profile is required" bit, of course.
</pre>
      </blockquote>
      <pre wrap="">
Yes, sure, but the application profile rubber has to meet the road.
That usually means that the devil is in the APIs.

An application that wants a "dumb secure socket"... just can't have
0-rtt.
</pre>
    </blockquote>
    <br>
    Yes.<br>
    <br>
    <blockquote cite="mid:20170505050412.GE10188@localhost" type="cite">
      <pre wrap="">
HTTP should be trivial to profile... if only GET weren't abused here and
there.

</pre>
    </blockquote>
    <br>
    You might look at
    <a class="moz-txt-link-freetext" href="https://tools.ietf.org/html/draft-nottingham-httpbis-retry-01">https://tools.ietf.org/html/draft-nottingham-httpbis-retry-01</a> ,
    though I'm no longer confident that's actually the Nottingham
    document I'm thinking of :(<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------69C04C497340E72F8AE287EA--


From nobody Fri May  5 03:22:48 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E2BE129494 for <tls@ietfa.amsl.com>; Fri,  5 May 2017 03:22:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 pus7UKC3ZQ_R for <tls@ietfa.amsl.com>; Fri,  5 May 2017 03:22:44 -0700 (PDT)
Received: from welho-filter1.welho.com (welho-filter1.welho.com [83.102.41.23]) by ietfa.amsl.com (Postfix) with ESMTP id 0A87B12953F for <tls@ietf.org>; Fri,  5 May 2017 03:22:32 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter1.welho.com (Postfix) with ESMTP id 1785F601DB; Fri,  5 May 2017 13:22:31 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter1.welho.com [::ffff:83.102.41.23]) (amavisd-new, port 10024) with ESMTP id T2MeriN-Kgdu; Fri,  5 May 2017 13:22:30 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id F236627F; Fri,  5 May 2017 13:22:29 +0300 (EEST)
Date: Fri, 5 May 2017 13:22:28 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Benjamin Kaduk <bkaduk@akamai.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170505102228.GA10328@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com> <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com> <10986afe-873e-a81d-102b-86fa169b156f@akamai.com> <CABcZeBN8ASykSckf7TVBpwEz9yMmyf5eCPqfL-rmSkFEFJiNzQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CABcZeBN8ASykSckf7TVBpwEz9yMmyf5eCPqfL-rmSkFEFJiNzQ@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/um2J5vru3TMWbpgtBgJcebWufVQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 10:22:46 -0000

On Thu, May 04, 2017 at 10:12:34PM -0700, Eric Rescorla wrote:
> On Thu, May 4, 2017 at 10:07 PM, Benjamin Kaduk <bkaduk@akamai.com> wrote:
> 
> >
> > That seems like an inconsistent position to take (don't do this, but if
> > you ignore me, do this in this fashion).  Advising application profiles to
> > consider one of those things might be better.
> >
> 
> That's just incompetent writing by me, I guess.
> 
> For 2, I meant "If there is an application profile allowing 0-RTT, but it
> doesn't say you don't
> need mitigations, then you MUST..."

I think the two methods (use-once session database and strike register)
should additionally be formulated so that those have sufficient
atomicity to eliminate 0-RTT replay.

This of course impiles that the scope of 0-RTT is sufficiently small
for synchronization to propagate quickly enough (this probably limits
the scope to a datacenter, but this should not be a problem in
practice).

Then clients should also be restricted to using the same ticket just
once for 0-RTT (absent a application profile), with due atomicity.

Also, I think use of 0-RTT exporters should require atomic session
database or strike register, no matter what application profile says,
as otherwise 0-RTT exporters become insecure.


Obviously, these 0-RTT safeguards don't need to apply to 1-RTT using a
dynamic PSK. That can be reused (obiviously at cost of linkability).


Also, a trick: The first binder makes a good identifier for the
ClientHello for purposes of 0-RTT replay detection.


-Ilari


From nobody Fri May  5 04:31:58 2017
Return-Path: <hkario@redhat.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3005412957C for <tls@ietfa.amsl.com>; Fri,  5 May 2017 04:31:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.223
X-Spam-Level: 
X-Spam-Status: No, score=-4.223 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 7fH03gOXKQNo for <tls@ietfa.amsl.com>; Fri,  5 May 2017 04:31:55 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 03E5D12946D for <tls@ietf.org>; Fri,  5 May 2017 04:31:54 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 185254E338; Fri,  5 May 2017 11:31:54 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 185254E338
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=hkario@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 185254E338
Received: from pintsize.usersys.redhat.com (ovpn-200-29.brq.redhat.com [10.40.200.29]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B792A80685; Fri,  5 May 2017 11:31:53 +0000 (UTC)
From: Hubert Kario <hkario@redhat.com>
To: Yoav Nir <ynir.ietf@gmail.com>, tls@ietf.org
Date: Fri, 05 May 2017 13:31:45 +0200
Message-ID: <3956794.ukn8WviHj0@pintsize.usersys.redhat.com>
In-Reply-To: <73E0FBFC-34E4-4897-BE04-CD51728FE9BF@gmail.com>
References: <F7262846-0E93-4780-B051-8DB1253ADCE5@sn3rd.com> <04081892-66A1-4459-875D-0C147A5826F0@gmail.com> <73E0FBFC-34E4-4897-BE04-CD51728FE9BF@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart2138718.eOAQWIEH9Y"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Fri, 05 May 2017 11:31:54 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/7wJ70li47hxBsq_0_JD2Gb6YUgQ>
Subject: Re: [TLS] WG review of draft-ietf-tls-rfc4492bis
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 11:31:56 -0000

--nextPart2138718.eOAQWIEH9Y
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

On Thursday, 4 May 2017 19:59:29 CEST Yoav Nir wrote:
> > 2) In Section 6:
> >    Server implementations SHOULD support all of the following cipher
> >    suites, and client implementations SHOULD support at least one of
> >    them:
> >   =20
> >    o  TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
> >    o  TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
> >    o  TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
> >    o  TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256


looks like an "E" is missing here


=2D-=20
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech Republic
--nextPart2138718.eOAQWIEH9Y
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJZDGKhAAoJEJKo0bgB0vX1Nn8QAIap3QlxtoP8AEM9C/7cCqM8
4Os6EGsuQAo/72hk7C6IW1MxT2hbQ1ZO3ajCoLQ5S9MRaFonadbLLMvbiwdk0gfh
FaStJSE+4yTIuxXCDIpKWQ6SKFw4bd+aFzo570Dc/ya+7+2NYGITLn3LOugU1oQY
Lz+V/tWXMaHd8ODsEOsG1lGzB/fod5ecu4CbKCawwABLmO7M1loKHfNsPiLWHL6R
voLjmqOFQBhUEcdtTsLGGgEHFIw89JPWExbiqMCs1DmTcvY/MT//GwLVef1k7vAh
KDVVsZZVq2OsIPyefqPM4ACSuZfEWilfpxeWuFGKN1S6GC8OI7gxy7rSCVY9jqAj
9hlt1RtPMU2STEDWuhn0rv6vVmO5njnqOmjIr0yXfkIQG3EF3vPxpgVwVTbhkBeP
hlvuT7RhR71i05DebGxDq4XgOCZ2A94Ua99yTzgWjnfhgap03iIPrJfIOlrVo6gM
skPnMNddphMnxuhhix2Y6xHDW7B3Hes3Cpa5R0As2oZwBp1qK2N0hiPBYvacrMXZ
UQz508TNoU8IV95VoZ5JgYk+le9udfPoeSW/kmynKFR+Nfb+pZP9WZk4LGTDA34M
7R2oIums3DrMLtGOv2SHhYfNsDXbSHFpJgKL1oWwU5K8xLVlYVwferyRIeIJvGPE
oE+PeKHmKczZwnGS/Lu/
=Z+M3
-----END PGP SIGNATURE-----

--nextPart2138718.eOAQWIEH9Y--


From nobody Fri May  5 08:31:57 2017
Return-Path: <frantz@pwpconsult.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CEBBF129A96 for <tls@ietfa.amsl.com>; Fri,  5 May 2017 08:31:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.08
X-Spam-Level: 
X-Spam-Status: No, score=0.08 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham 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 XGjHvV7JvPdX for <tls@ietfa.amsl.com>; Fri,  5 May 2017 08:31:54 -0700 (PDT)
Received: from elasmtp-masked.atl.sa.earthlink.net (elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E65E129521 for <tls@ietf.org>; Fri,  5 May 2017 08:31:53 -0700 (PDT)
Received: from [97.33.64.104] (helo=Williams-MacBook-Pro.local) by elasmtp-masked.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <frantz@pwpconsult.com>) id 1d6fCx-0002lA-Uq; Fri, 05 May 2017 11:31:52 -0400
Date: Fri,  5 May 2017 08:31:53 -0700
From: Bill Frantz <frantz@pwpconsult.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
cc: Watson Ladd <watsonbladd@gmail.com>, tls@ietf.org
X-Priority: 3
In-Reply-To: <CAAF6GDfqi4keBrygD-Q2_yRS+zUyTnOnhDgD60e3JSsgqC-R1A@mail.gmail.com>
Message-ID: <r470Ps-10124i-8C6EE6E6F1274993A14AE6198AB7F492@Williams-MacBook-Pro.local>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Mailer: Mailsmith 2.4 (470)
X-ELNK-Trace: 3a5e54fa03f1b3e21aa676d7e74259b7b3291a7d08dfec799698d57e580f6917f06005743ae9f0db350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 97.33.64.104
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/0M8eNFnDnjpR1LQQH-8kRjb8V2g>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 15:31:56 -0000

On 5/4/17 at 4:47 PM, colm@allcosts.net (Colm MacC=C3=A1rthaigh) wrote:

>I think you're right; and we could enforce in TLS by encrypting 0-RTT unde=
r
>a key that isn't transmitted until 1-RTT.

This might be a generally useful pattern for 0-RTT use cases=20
that are trying to get large quantities of data to the server quickly.

BTW, I expect to see lots of security bugs due to 0-RTT.

<cynic>But the Internet and computer operating systems are=20
insecure anyway.</cynic>

Cheers - Bill

-------------------------------------------------------------------------
Bill Frantz        | The first thing you need when  | Periwinkle
(408)356-8506      | using a perimeter defense is a | 16345=20
Englewood Ave
www.pwpconsult.com | perimeter.                     | Los Gatos,=20
CA 95032


From nobody Fri May  5 09:28:06 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A842E129AB5 for <tls@ietfa.amsl.com>; Fri,  5 May 2017 09:28:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 tasLX1qAuoVD for <tls@ietfa.amsl.com>; Fri,  5 May 2017 09:28:04 -0700 (PDT)
Received: from homiemail-a54.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7D291129AB3 for <tls@ietf.org>; Fri,  5 May 2017 09:28:04 -0700 (PDT)
Received: from homiemail-a54.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTP id A22674800081E; Fri,  5 May 2017 09:28:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=zSv2yGFi44Zh3a mGd0GjOGmGgmI=; b=az3Rh49/IbOW9S1PNNS0G6zWvVlfV1Rgrs3i8V1JErObQb SBzlNJMwMQuEaEMpc9Qug73Pp6a1I92oaimWfJHfEGHs528GnI2MZcxCiquy4lKe 4o2bwMkZ5EMOegPBnwvqtHRgeTn2jywGGzDH07p13hg7xCTUkWPLSZCULfH2E=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTPSA id 4805348000106; Fri,  5 May 2017 09:28:03 -0700 (PDT)
Date: Fri, 5 May 2017 11:28:00 -0500
From: Nico Williams <nico@cryptonector.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Watson Ladd <watsonbladd@gmail.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170505162800.GF10188@localhost>
References: <CACsn0ckPOU+mSCZdBycYKvAN=rLuVHnbsFNSOqZiN8oK_nJVBw@mail.gmail.com> <20170504235812.GA10188@localhost> <CACsn0cnqvS5pE4YGFV8Vd9t69VrgOYPwmVM-NdLx6+vCE2iuhg@mail.gmail.com> <20170505033652.GB10188@localhost> <3fc4304b-0540-ad4d-6220-15d33cf06645@akamai.com> <20170505045254.GC10188@localhost> <24861825-7e2d-8a97-0b0a-67f176b92d6d@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <24861825-7e2d-8a97-0b0a-67f176b92d6d@akamai.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Ph5l7lB2KWQxAXVviCt-4K0mZig>
Subject: Re: [TLS] Idempotency and the application developer
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 16:28:05 -0000

On Fri, May 05, 2017 at 12:04:14AM -0500, Benjamin Kaduk wrote:
> >> I'm very skeptical that this position would survive into real-world
> >> deployments.
> > Which part?
> 
> No matter what we way here, there will be reverse proxies deployed on
> the internet in the next 5 years that blindly accept 0-RTT knowing
> nothing about the application and not letting the server know that 0-RTT
> was used.

Really?  They already exist and are already deployed?

If so... I... have nothing good to say about that right now, so I'd
better say no more.

Nico
-- 


From nobody Fri May  5 09:28:20 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A077D129AEB for <tls@ietfa.amsl.com>; Fri,  5 May 2017 09:28:12 -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=allcosts-net.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 S8iGS3CiLmeB for <tls@ietfa.amsl.com>; Fri,  5 May 2017 09:28:09 -0700 (PDT)
Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (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 72E9D129AB3 for <tls@ietf.org>; Fri,  5 May 2017 09:28:09 -0700 (PDT)
Received: by mail-yw0-x229.google.com with SMTP id l135so5370456ywb.2 for <tls@ietf.org>; Fri, 05 May 2017 09:28:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=sRhsKLf3nrmJKCroyaAqoggLJVO5ROckD1aK6bWjEZ4=; b=dbqXFvW2O+AKXLmAsncvvdm/h5HHY2+fGA5PApyXtzEVQeK6sXbXwBLJiShnNNlHOc ZtBbD3AdGTCPUbxfDMrIF0r7kD1hbKtlvsKsTPhzSERfhbmMaDrY7PBFsWomwLB3AEP1 5JKxaURPE+SBrEfD2Tx74soOLrrMQrMrA+sva15R6/yyChexQFxc1oQI5/FBuTOAj97+ NP+uPFSgHOK5lTO6odGWP+sDNYCbQ1vKpdoXnvir67vjvoq3fgrE1ITCLWRgRJZ7QfvZ Xn2GLQ1qqENOVcxMH1FwkSYo+BU5tZ5l++5iU3b3Jv0GmS8vUsnOZI4FgpzLhxtDsLBc MHeg==
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=sRhsKLf3nrmJKCroyaAqoggLJVO5ROckD1aK6bWjEZ4=; b=NcRZJlNkK1gP3UQfZmzQ37o+FDOe2cj6MZr3ooFkn0xhDo5EIaZ2sJ/fA/15eOXV98 hdCxMqNJ/ougDzXD7+Nu624SEiyqfEbD1DVXgJ7daiuyYDD5W8nWiNDT3/AFP0mBYVmr EN+VY4Hs10CbzjzhV+TTwYgae0FIg7FjkAJscxe0ic7ZKRFox4ChjPykyrSlpad5PYAk fIv6mHx/FHEPzdqLGnOTARo4kBRpfZEaTCmg+9WK4s0FqCoI4j/ELVEg2l95+2kV7o73 HohCTVERiLbg9LVEmBcdojDOmOGnF5/ax8vQZtL3jtHktikPnp2+IRjwF6pSTEtz75gO 2MYg==
X-Gm-Message-State: AN3rC/4xDesr++BjOvTgpYXizjROGR433z95etE+x4cQJAIIvhocdr3E RvP0qwxYCpIKkWHXHiyqECf5UrDPWA5/
X-Received: by 10.13.238.65 with SMTP id x62mr38734225ywe.122.1494001688361; Fri, 05 May 2017 09:28:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Fri, 5 May 2017 09:28:07 -0700 (PDT)
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Fri, 5 May 2017 09:28:07 -0700
Message-ID: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com>
To: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c034d8cedf7f3054ec95f05
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/MeyMl1-GuyRBFuWcPh5ul2fuwHk>
Subject: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 16:28:13 -0000

--94eb2c034d8cedf7f3054ec95f05
Content-Type: text/plain; charset=UTF-8

I wanted to start a separate thread on this, just to make some small
aspects of replay mitigating clear, because I'd like to make a case for TLS
providing a single-stream, which is what people seem to be doing anyway.

Let's look at the DKG attack. There are two forms of the attack, one is as
follows:

"Client sends a request with a 0-RTT section. The attacker lets the server
receive it, but suppresses the server responses, so the client downgrades
and retries as a 1-RTT request over a new connection. Repeating the
request".

In this case, server-side signaling such as the X-header trick doesn't work
at all. But thankfully this attack is equivalent to an ordinary socket
interference attack. E.g. if an attacker today suppressed a server response
to a HTTP request, then the client will do its retry logic. It's the same,
and I think everything is compatible with today's behavior.

Next is the more interesting form of the attack:

"Client sends a request with a 0-RTT section. For some reason the server
can't reach the strike register or single use cache, and falls back to
1-RTT. Server accepts the request over 1-RTT.  Then a short time later, the
attacker replays the original 0-RTT section."

In this case, server side signaling to the application (such as the neat X-
header trick) also doesn't work, and is not backwards compatible or secure
by default. It doesn't work because the server application can't be made
idempotent from "outside" the application, so any signaling is
insufficient, and is equivalent to the Exactly-Once message delivery
problem in distributed systems. Since a request might be retried as in case
1, it needs an application-level idempotency key, or a delay-and-retry
strategy (but replay will break this). There's some detail on all this in
the review. End result is that a server-side application that was never
designed to reach duplicates may suddenly be getting exactly one duplicate
(that's all the attack allows, if servers reject duplicate 0-RTT).

What is actually needed here, I think, is client-side signaling. Careful
clients need to be made aware of the original 0-RTT failure.

So for example, an SDK that writes to an eventually consistent data store
may treat any 0-RTT failure as a hard failure, and *not* proceed to sending
the request over 1-RTT. Instead it might wait its retry period, do a poll,
and only then retry the request. If the TLS implementation signals the
original  0-RTT failure to the client, as if it were a connection error,
everything is backwards compatible again. Well mostly; to be properly
defensive, the client's retry time or polling interval needs to be greater
than the potential replay window, because only then can it reason about
whether the original request succeeded or not. If there is a strict maximum
replay window, then this behavior is enforceable in a TLS implementation:
by delaying the original failure notification to the client application by
that amount.

Of course browsers won't do this, and that's ok. Browsers have decided that
aggressive retries is best for their application space. But careful clients
/need/ this; and it's not just about backwards compatibility. It is a
fundamental first-principles requirement for something that uses an
eventually consistent data store. We can say don't use 0-RTT, but that's
not practical, for reasons also in the review.

So if we want to fully mitigate DKG attacks, I think it is useful to hard
cap the replay, say that it MUST be at most 10 seconds. And then worst
case, a client that needs to be careful can wait 10 seconds. Note that the
TLS implementation can do this on the client's behalf, by inserting a
delay. Of course that means that for these kinds of applications, this
means that 0-RTT delivers speed most of the time, but may occasionally slow
things down by 10 seconds. I think that's an ok trade-off to make for
backwards compatibility.

But it also has implications for middle-boxes: a TLS reverse proxy needs to
either not use 0-RTT on the "backend" side, or it needs to use it in very
careful way; accepting 0-RTT from the original client, only if the backend
also accepts a 0-RTT section from the proxy. This is to avoid the case
where the client can't reason about the potential for a replay between the
proxy and the backend. It's doable, but gnarly, and slows 0-RTT acceptance
down to the round trip between the client and the backend, via the proxy.

That's one reason why the review suggests something else too:  just lock
careful applications out, but in a mechanistic way rather than a "good
intentions" way, by having TLS implementations *intentionally* duplicate
0-RTT sections.

O.k. so all of that the above might be a bit hairy: but I want to take away
from it at this stage is that splitting the early_data and application_data
at application level isn't particularly helpful; the server-side can't
really use this information anyway, because of the Exactly-Once problem.
Client side signaling does help though, and a simple safe-by-default
mechanism there is to behave as if the connection has failed, but after
writing the first section of data. E.g. in s2n this would be ...

conn = s2n_connect(); // Client makes a connection
r = s2n_write(conn, "GET / HTTP/1.1 ... "); // Client writes some data, we
stuff it in the 0-RTT and send it. This write succeeds. From the client's
perspective, it may or may not have been received; that's normal.

/* At this point the 0-RTT data is rejected by the server, and so it might
be replayable  ... iff the server side strike-register or
   cache had a problem.

   A pedantically correct TLS library might then pause here for 10 seconds,
or if it's non-blocking, then set a timer so that nothing can happen on
conn for the next 10 seconds. Browsers could turn this behavior off, since
they retry aggressively anyway. But it's a secure default that is backwards
compatible.
*/

r = s2n_read()/s2n_write()/s2n_shutdown();  // At this point, s2n returns
failure. It's as if the connection failed. The client can implement its
retry strategy, if any, safely; the request won't be replayed at this
point.

r = s2n_connect(); // Client makes a new connection for a retry.


A slightly higher level API is probably more realistic, because there's a
potential to optimize for connection re-use. There's really no need to tear
down the whole connection and start-over. It's safe to proceed to 1-RTT if
the delay has expired. A higher level API would fix that, but this is just
the "safe by default" API I'm outlining.  Again, all I want to take away is
that all of this is doable safely with a single stream.


-- 
Colm

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

<div dir=3D"ltr"><div><br></div><div>I wanted to start a separate thread on=
 this, just to make some small aspects of replay mitigating clear, because =
I&#39;d like to make a case for TLS providing a single-stream, which is wha=
t people seem to be doing anyway.=C2=A0</div><div><br></div><div>Let&#39;s =
look at the DKG attack. There are two forms of the attack, one is as follow=
s:</div><div><br></div><div>&quot;Client sends a request with a 0-RTT secti=
on. The attacker lets the server receive it, but suppresses the server resp=
onses, so the client downgrades and retries as a 1-RTT request over a new c=
onnection. Repeating the request&quot;.=C2=A0</div><div><br></div><div>In t=
his case, server-side signaling such as the X-header trick doesn&#39;t work=
 at all. But thankfully this attack is equivalent to an ordinary socket int=
erference attack. E.g. if an attacker today suppressed a server response to=
 a HTTP request, then the client will do its retry logic. It&#39;s the same=
, and I think everything is compatible with today&#39;s behavior.</div><div=
><br></div><div>Next is the more interesting form of the attack:</div><div>=
<br></div><div><div>&quot;Client sends a request with a 0-RTT section. For =
some reason the server can&#39;t reach the strike register or single use ca=
che, and falls back to 1-RTT. Server accepts the request over 1-RTT.=C2=A0 =
Then a short time later, the attacker replays the original 0-RTT section.&q=
uot;</div><div><br></div><div>In this case, server side signaling to the ap=
plication (such as the neat X- header trick) also doesn&#39;t work, and is =
not backwards compatible or secure by default. It doesn&#39;t work because =
the server application can&#39;t be made idempotent from &quot;outside&quot=
; the application, so any signaling is insufficient, and is equivalent to t=
he Exactly-Once message delivery problem in distributed systems. Since a re=
quest might be retried as in case 1, it needs an application-level idempote=
ncy key, or a delay-and-retry strategy (but replay will break this). There&=
#39;s some detail on all this in the review. End result is that a server-si=
de application that was never designed to reach duplicates may suddenly be =
getting exactly one duplicate (that&#39;s all the attack allows, if servers=
 reject duplicate 0-RTT).=C2=A0</div><div><br></div><div>What is actually n=
eeded here, I think, is client-side signaling. Careful clients need to be m=
ade aware of the original 0-RTT failure.=C2=A0</div><div><br></div><div>So =
for example, an SDK that writes to an eventually consistent data store may =
treat any 0-RTT failure as a hard failure, and *not* proceed to sending the=
 request over 1-RTT. Instead it might wait its retry period, do a poll, and=
 only then retry the request. If the TLS implementation signals the origina=
l =C2=A00-RTT failure to the client, as if it were a connection error, ever=
ything is backwards compatible again. Well mostly; to be properly defensive=
, the client&#39;s retry time or polling interval needs to be greater than =
the potential replay window, because only then can it reason about whether =
the original request succeeded or not. If there is a strict maximum replay =
window, then this behavior is enforceable in a TLS implementation: by delay=
ing the original failure notification to the client application by that amo=
unt.=C2=A0</div></div><div><br></div><div>Of course browsers won&#39;t do t=
his, and that&#39;s ok. Browsers have decided that aggressive retries is be=
st for their application space. But careful clients /need/ this; and it&#39=
;s not just about backwards compatibility. It is a fundamental first-princi=
ples requirement for something that uses an eventually consistent data stor=
e. We can say don&#39;t use 0-RTT, but that&#39;s not practical, for reason=
s also in the review.</div><div><br></div><div>So if we want to fully mitig=
ate DKG attacks, I think it is useful to hard cap the replay, say that it M=
UST be at most 10 seconds. And then worst case, a client that needs to be c=
areful can wait 10 seconds. Note that the TLS implementation can do this on=
 the client&#39;s behalf, by inserting a delay. Of course that means that f=
or these kinds of applications, this means that 0-RTT delivers speed most o=
f the time, but may occasionally slow things down by 10 seconds. I think th=
at&#39;s an ok trade-off to make for backwards compatibility.</div><div><br=
></div><div>But it also has implications for middle-boxes: a TLS reverse pr=
oxy needs to either not use 0-RTT on the &quot;backend&quot; side, or it ne=
eds to use it in very careful way; accepting 0-RTT from the original client=
, only if the backend also accepts a 0-RTT section from the proxy. This is =
to avoid the case where the client can&#39;t reason about the potential for=
 a replay between the proxy and the backend. It&#39;s doable, but gnarly, a=
nd slows 0-RTT acceptance down to the round trip between the client and the=
 backend, via the proxy.=C2=A0</div><div><br></div><div>That&#39;s one reas=
on why the review suggests something else too: =C2=A0just lock careful appl=
ications out, but in a mechanistic way rather than a &quot;good intentions&=
quot; way, by having TLS implementations *intentionally* duplicate 0-RTT se=
ctions.=C2=A0</div><div><br></div><div>O.k. so all of that the above might =
be a bit hairy: but I want to take away from it at this stage is that split=
ting the early_data and application_data at application level isn&#39;t par=
ticularly helpful; the server-side can&#39;t really use this information an=
yway, because of the Exactly-Once problem. Client side signaling does help =
though, and a simple safe-by-default mechanism there is to behave as if the=
 connection has failed, but after writing the first section of data. E.g. i=
n s2n this would be ...</div><div><br></div><div>conn =3D s2n_connect(); //=
 Client makes a connection</div><div>r =3D s2n_write(conn, &quot;GET / HTTP=
/1.1 ... &quot;); // Client writes some data, we stuff it in the 0-RTT and =
send it. This write succeeds. From the client&#39;s perspective, it may or =
may not have been received; that&#39;s normal.=C2=A0</div><div><br></div><d=
iv>/* At this point the 0-RTT data is rejected by the server, and so it mig=
ht be replayable =C2=A0... iff the server side strike-register or=C2=A0</di=
v><div>=C2=A0 =C2=A0cache had a problem.=C2=A0</div><div>=C2=A0=C2=A0</div>=
<div>=C2=A0 =C2=A0A pedantically correct TLS library might then pause here =
for 10 seconds, or if it&#39;s non-blocking, then set a timer so that nothi=
ng can happen on conn for the next 10 seconds. Browsers could turn this beh=
avior off, since they retry aggressively anyway. But it&#39;s a secure defa=
ult that is backwards compatible.</div><div>*/</div><div><br></div><div>r =
=3D s2n_read()/s2n_write()/s2n_shutdown(); =C2=A0// At this point, s2n retu=
rns failure. It&#39;s as if the connection failed. The client can implement=
 its retry strategy, if any, safely; the request won&#39;t be replayed at t=
his point.=C2=A0</div><div><br></div><div>r =3D s2n_connect(); // Client ma=
kes a new connection for a retry.=C2=A0</div><div><br></div><div><br></div>=
<div>A slightly higher level API is probably more realistic, because there&=
#39;s a potential to optimize for connection re-use. There&#39;s really no =
need to tear down the whole connection and start-over. It&#39;s safe to pro=
ceed to 1-RTT if the delay has expired. A higher level API would fix that, =
but this is just the &quot;safe by default&quot; API I&#39;m outlining.=C2=
=A0 Again, all I want to take away is that all of this is doable safely wit=
h a single stream.=C2=A0</div><div><br></div><div><br></div>-- <br><div cla=
ss=3D"m_2119624126739577363gmail_signature">Colm</div>
</div>

--94eb2c034d8cedf7f3054ec95f05--


From nobody Fri May  5 09:45:52 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 66086129ADC for <tls@ietfa.amsl.com>; Fri,  5 May 2017 09:45:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 UaWcQ5SrxxbA for <tls@ietfa.amsl.com>; Fri,  5 May 2017 09:45:50 -0700 (PDT)
Received: from homiemail-a54.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7123E124281 for <tls@ietf.org>; Fri,  5 May 2017 09:45:50 -0700 (PDT)
Received: from homiemail-a54.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTP id 1CCD648005901; Fri,  5 May 2017 09:45:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=NFLoBRZEoBlEtU VrzVNqQTTRgfA=; b=AGcGw4FR7N9NPNelmcykkockiCB8k/9WBRQEifSwwV/A+f tFz/GQQ7Z4Mm0ZKYILkB8AMNSVI9S1GJT4mrf8PYR3DqKojh01vYNVcAEpl8iLLn QsVOlTINuX9rlqVl49s/JCNCnMR0vqTI1pS3pxSzQ3aQy9JV5wlcBLA6xaz8Q=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTPSA id C67FB4800103C; Fri,  5 May 2017 09:45:49 -0700 (PDT)
Date: Fri, 5 May 2017 11:45:47 -0500
From: Nico Williams <nico@cryptonector.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170505164546.GG10188@localhost>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com> <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com> <10986afe-873e-a81d-102b-86fa169b156f@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <10986afe-873e-a81d-102b-86fa169b156f@akamai.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/216R0Wh-jtzuOL5SL3oOjPyj3M8>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2017 16:45:51 -0000

On Fri, May 05, 2017 at 12:07:09AM -0500, Benjamin Kaduk wrote:
> On 05/03/2017 09:33 PM, Blumenthal, Uri - 0553 - MITLL wrote:
> > P.S. Care to name (another :) one security-related protocol that
> > doesn't provide replay protection?
> 
> Some of the earlier uses of Kerberos are subject to replay (hence
> kerberos implementations can end up providing replay caches to try and
> help, which are not perfect and slow to boot).  More modern exchanges
> that use GSS acceptor subkeys are not subject to replay, though.

We might be getting far afield now, but if you're not using "mutual
auth" then GSS/Kerberos will look a lot like TLS 1.3 0-rtt.  GSS apps
that want that need to be careful, just as TLS 1.3 0-rtt apps.

Also, even for the 1-rtt case, GSS/Kerberos supports early (0-rtt) data.

Nico
-- 


From nobody Fri May  5 23:52:08 2017
Return-Path: <ynir.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1622F126579 for <tls@ietfa.amsl.com>; Fri,  5 May 2017 23:52:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Diz51z0kfIsx for <tls@ietfa.amsl.com>; Fri,  5 May 2017 23:52:05 -0700 (PDT)
Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 36767126FB3 for <tls@ietf.org>; Fri,  5 May 2017 23:52:05 -0700 (PDT)
Received: by mail-wm0-x231.google.com with SMTP id 142so21928174wma.1 for <tls@ietf.org>; Fri, 05 May 2017 23:52:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=9XnoF0WMvixQJN6bY4+IOlVn6FWaVtXkrGixKoagnR4=; b=gKoOHlcnQek4J6kOLJvhbY5AhQd5Dtwh9yoEjKMJ6t52Vf5bHmZb3dLsnmDIyj1aiC vOyRjZ8jWh9mC3LgenACu6AVHZvGn2oNH9XVnHGnIkOC7d9hb+bNULiZp2L+LfPUCU4X RMlOKq4dW2APth7LdsCOQReAGPSa7QfUBZ4gBnC+eBR1CGTACaYGmTrRhBKKmS39b5Kg 2v1if9+zhyQB15rv44w9Cx+8uu2EU8DfDzOC1FCqXK4P2wrjT1CmgISbmsNcX9TGeKro 7h/rqJkA7THghgaYGZYekMaihwpQezekoAH+hw8ub+5vKjoHvhHT7HYDU2IldcNKrMZu 2ygw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=9XnoF0WMvixQJN6bY4+IOlVn6FWaVtXkrGixKoagnR4=; b=nBTRwIVYBUOzraZR1ptpVFMyAxJJejdJjnMP45MEDL5J9te1TKr/yuTGoiRkbFy+Ie OUTv9SmYg2i+DQ4EuDTjv3WWIm8ApInVvimUOyaYQN2l8a4bk04O28ycwsnmUHvK7ZMr Kd79CFbRaM8xkz7ObruX9vxhxx6X3rSYT266B9tJPDP3fFS6YdBY18FJ4xn5Li6TZgRs 1x8zMPBxLc/iWCUNLzgGMV2P+ChQ39lqh8qrY5HadAxsIjkoH5IKN9bbIlVjVgZIkD0b bx7luTvUwSiWPQQWHxscNe5jb05RqBDHlGR8+yl1/U6XDeLo8MTEw+NKeFVgzTU+07lV ibjA==
X-Gm-Message-State: AN3rC/59j4Dvfyi8XoK7gROGaTKzcvU70ldrIM9lcykX8b8ztjoGobvQ Udm2qH5fdwPt4Q==
X-Received: by 10.80.137.138 with SMTP id g10mr4158249edg.94.1494053523807; Fri, 05 May 2017 23:52:03 -0700 (PDT)
Received: from [192.168.1.18] ([46.120.57.147]) by smtp.gmail.com with ESMTPSA id p24sm2709476eda.67.2017.05.05.23.52.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 May 2017 23:52:02 -0700 (PDT)
From: Yoav Nir <ynir.ietf@gmail.com>
Message-Id: <762477C8-6BC5-48E7-82CD-5D71FDD8E70C@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_99A00CEE-923D-4F51-8731-22B54D03CD7E"; protocol="application/pgp-signature"; micalg=pgp-sha512
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Sat, 6 May 2017 09:51:59 +0300
In-Reply-To: <3956794.ukn8WviHj0@pintsize.usersys.redhat.com>
Cc: tls@ietf.org
To: Hubert Kario <hkario@redhat.com>
References: <F7262846-0E93-4780-B051-8DB1253ADCE5@sn3rd.com> <04081892-66A1-4459-875D-0C147A5826F0@gmail.com> <73E0FBFC-34E4-4897-BE04-CD51728FE9BF@gmail.com> <3956794.ukn8WviHj0@pintsize.usersys.redhat.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/kDtSz0R_X4wDox4MDyxXh3GiY7Y>
Subject: Re: [TLS] WG review of draft-ietf-tls-rfc4492bis
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 May 2017 06:52:07 -0000

--Apple-Mail=_99A00CEE-923D-4F51-8731-22B54D03CD7E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Thanks!  That would have been an embarrassing erratum.


> On 5 May 2017, at 14:31, Hubert Kario <hkario@redhat.com> wrote:
>=20
> On Thursday, 4 May 2017 19:59:29 CEST Yoav Nir wrote:
>>> 2) In Section 6:
>>>   Server implementations SHOULD support all of the following cipher
>>>   suites, and client implementations SHOULD support at least one of
>>>   them:
>>>=20
>>>   o  TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
>>>   o  TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
>>>   o  TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
>>>   o  TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
>=20
>=20
> looks like an "E" is missing here
>=20
>=20
> --
> Regards,
> Hubert Kario
> Senior Quality Engineer, QE BaseOS Security team
> Web: www.cz.redhat.com
> Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech =
Republic


--Apple-Mail=_99A00CEE-923D-4F51-8731-22B54D03CD7E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJZDXKQAAoJELhJCxUKWMyZFzQIAIfA0BYAhttSpN+Z0vOHBICb
MELPCo9yjWM3EcUmmBwD9JcZUgR1E70knPAn4eJQYHiqlhfBTr50X7n93sYYTVcB
/Kk0hF39bB9afbYUrJ8kEodJ1aEi0roXZAanRXV4fqtduSmlDOdzqbFKfV9+iN9A
tXKBmgsfWKkFIjKLSMePBmaRqvoAmleoM72zuAVoSaTJT3vUXzc7Y7olQhbGAgit
C32FX+VqH3kfcQ4OpgNgXNevc7louYdpYWsLb9ijtu3qujJuWwyo96Poibp13tK4
PmJy+99EZb8G9dVcAM4oyf0Hb5wd7NQ/KZnBy6ODoxfBcnMVEfNDDbQHX45Inf0=
=q+dp
-----END PGP SIGNATURE-----

--Apple-Mail=_99A00CEE-923D-4F51-8731-22B54D03CD7E--


From nobody Fri May  5 23:52:47 2017
Return-Path: <internet-drafts@ietf.org>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 01192120724; Fri,  5 May 2017 23:52:40 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: tls@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.50.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149405355995.23176.15102157722261803190@ietfa.amsl.com>
Date: Fri, 05 May 2017 23:52:39 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/JaU03reGd_GDBkuUjmAKTbKidt4>
Subject: [TLS] I-D Action: draft-ietf-tls-rfc4492bis-17.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 May 2017 06:52:40 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Transport Layer Security of the IETF.

        Title           : Elliptic Curve Cryptography (ECC) Cipher Suites for Transport Layer Security (TLS) Versions 1.2 and Earlier
        Authors         : Yoav Nir
                          Simon Josefsson
                          Manuel Pegourie-Gonnard
	Filename        : draft-ietf-tls-rfc4492bis-17.txt
	Pages           : 32
	Date            : 2017-05-05

Abstract:
   This document describes key exchange algorithms based on Elliptic
   Curve Cryptography (ECC) for the Transport Layer Security (TLS)
   protocol.  In particular, it specifies the use of Ephemeral Elliptic
   Curve Diffie-Hellman (ECDHE) key agreement in a TLS handshake and the
   use of Elliptic Curve Digital Signature Algorithm (ECDSA) and Edwards
   Digital Signature Algorithm (EdDSA) as authentication mechanisms.

   This document obsoletes and replaces RFC 4492.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-tls-rfc4492bis/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-tls-rfc4492bis-17
https://datatracker.ietf.org/doc/html/draft-ietf-tls-rfc4492bis-17

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-tls-rfc4492bis-17


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Fri May  5 23:53:56 2017
Return-Path: <ynir.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DA0FC1292AE for <tls@ietfa.amsl.com>; Fri,  5 May 2017 23:53:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 TVScQcYDf3sT for <tls@ietfa.amsl.com>; Fri,  5 May 2017 23:53:52 -0700 (PDT)
Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 79B85128C84 for <tls@ietf.org>; Fri,  5 May 2017 23:53:51 -0700 (PDT)
Received: by mail-wm0-x232.google.com with SMTP id u65so39622506wmu.1 for <tls@ietf.org>; Fri, 05 May 2017 23:53:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=Q77Qz5ui5VtU1azslIEC4gDYv1fEccomfJirU7Iad1c=; b=sQJSIx8EbYd/v6XmNqc43F2cl/BgUWv+mjds9foX9iXuphNUMDPebQlIlUBVuXorGD B2OwuX7jWrYm1S1RBmguDWSyKxcDHx/tN0eUMXZIGfKJhJd3BhgbqnoEXPjO4KR2XfVG O0aMxq/kBV6/SQkQtR7UZU646yPf4Iwp6KlQjHFCor4tm2i0WX1Gvtn+FXLbPP1qO2V/ 6H9Y0gWrNMeMKedGcuR7PWXfnUXrNLogXUg9cTj0HOLF3xm671fewGRCaGXxjDXeOfHS SkqyZnUhUxMxy6TtmDr4oGG8IaAiw2ouiKqSaggLWV/zxz96D6hUbdcOblj+qbeF49Gk tYGA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=Q77Qz5ui5VtU1azslIEC4gDYv1fEccomfJirU7Iad1c=; b=Jp3SoyizfZlPmJ4Z7yAYJ0dDZTcsYGy3ivqydPxetE1oIkX8RJRmX68IO0+BcuejSD 7wyBMmQWxdMl5gVnhAfo6ovWYHbB/UlbGLaS1XNNE4VeH+FBja+86wijz555LjV9isWd GMNwj8U6+36z47sdT1hrsDXlfpbkCMZF7IQMBxMP4E+k++xKAFVNbRvRDgpMrN7IKKIs G13yVlJyrgIsN3qeG5s3KPSSXJc9PRz5QUiMiAouYQdFUlcJkgcdKq/0cyGHbHBxI0lH w6jzUufZedPmJ8OE/tMmA9pMk3ppisPqFS/P20LUoAVq8VL9zNJxr0NIiMmBR7O8e68W R96w==
X-Gm-Message-State: AN3rC/7nlPsRmn+yTVPREYs1VLkh4AR98d8M5TUkEO1US+tEZOIZ4zG6 vDwFiQOtC/LENA==
X-Received: by 10.80.149.81 with SMTP id v17mr35712932eda.76.1494053630046; Fri, 05 May 2017 23:53:50 -0700 (PDT)
Received: from [192.168.1.18] ([46.120.57.147]) by smtp.gmail.com with ESMTPSA id t45sm2981296edd.47.2017.05.05.23.53.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 May 2017 23:53:49 -0700 (PDT)
From: Yoav Nir <ynir.ietf@gmail.com>
Message-Id: <2B62B8B0-2131-4BD4-9F44-CF9CB97F1C79@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_5639FB7F-6D0F-4D05-A088-6412149C0A3D"; protocol="application/pgp-signature"; micalg=pgp-sha512
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Sat, 6 May 2017 09:53:47 +0300
In-Reply-To: <CAHbuEH5zXt-sNeHrqh7MFev9bjRpNWefuZ18um-SFD7EAxTFUw@mail.gmail.com>
Cc: Hubert Kario <hkario@redhat.com>, "<tls@ietf.org>" <tls@ietf.org>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
References: <F7262846-0E93-4780-B051-8DB1253ADCE5@sn3rd.com> <4372384.YAPbqjqF3g@pintsize.usersys.redhat.com> <04081892-66A1-4459-875D-0C147A5826F0@gmail.com> <73E0FBFC-34E4-4897-BE04-CD51728FE9BF@gmail.com> <CAHbuEH5zXt-sNeHrqh7MFev9bjRpNWefuZ18um-SFD7EAxTFUw@mail.gmail.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/G24ifPjSzxvnnrulkJRcKpZjFlY>
Subject: Re: [TLS] WG review of draft-ietf-tls-rfc4492bis
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 May 2017 06:53:54 -0000

--Apple-Mail=_5639FB7F-6D0F-4D05-A088-6412149C0A3D
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_F869F32D-0281-4FF2-BDD2-869A4CDFA563"


--Apple-Mail=_F869F32D-0281-4FF2-BDD2-869A4CDFA563
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi.

Draft-17 submitted.

Yoav

> On 4 May 2017, at 23:09, Kathleen Moriarty =
<kathleen.moriarty.ietf@gmail.com> wrote:
>=20
> Yoav,
>=20
> On Thu, May 4, 2017 at 1:59 PM, Yoav Nir <ynir.ietf@gmail.com =
<mailto:ynir.ietf@gmail.com>> wrote:
>>=20
>> On 4 May 2017, at 16:09, Kathleen Moriarty
>> <kathleen.moriarty.ietf@gmail.com> wrote:
>>=20
>> I haven't approved it yet as I noticed there was no response (that I =
saw) to
>> Alexey's comment and no change in the draft as a result of his =
comments.
>>=20
>>=20
>>=20
>> You mean these comments?
>> https://mailarchive.ietf.org/arch/msg/tls/MFs8aGEZsr-1P7o4_CB-VjxXRg0
>>=20
>> I=E2=80=99ll quote them here:
>>=20
>> 0) There is some general awkwardness in text talking about allowed =
points
>> formats, considering that only uncompressed form is now allowed. I =
don't
>> have recommendations about improving text, other than the following:
>>=20
>> If no future formats are expected, it feels almost better to =
recommend
>> against inclusion of the Point formats extension, as lack of it means
>> uncompressed format anyway.
>>=20
>> So this was addressed in draft -16:
>>=20
>> OLD:
>>=20
>>      Implementations of this document MUST support the
>>   uncompressed format for all of their supported curves, and MUST NOT
>>   support other formats for curves defined in this specification.  =
For
>>   backwards compatibility purposes, the point format list extension
>>   MUST still be included, and contain exactly one value: the
>>   uncompressed point format (0).
>>=20
>>=20
>> NEW:
>>=20
>>      Implementations of this document MUST support the
>>   uncompressed format for all of their supported curves, and MUST NOT
>>   support other formats for curves defined in this specification.  =
For
>>   backwards compatibility purposes, the point format list extension =
MAY
>>   still be included, and contain exactly one value: the uncompressed
>>   point format (0).  RFC 4492 specified that if this extension is
>>   missing, it means that only the uncompressed point format is
>>   supported, so interoperability with implementations that support =
the
>>   uncompressed format should work with or without the extension.
>>=20
>>=20
>>=20
>> 1) In Section 2.3, last paragraph: Does this paragraph apply only to =
2.3
>> or does it also apply to 2.1 and 2.2? If the latter, then it needs to =
be
>> moved to section 2.
>>=20
>>=20
>> The content of the last paragraph was moved to a new section:
>>=20
>> 2.4.  Algorithms in Certificate Chains
>>=20
>>   This specification does not impose restrictions on signature =
schemes
>>   used anywhere in the certificate chain.  The previous version of =
this
>>   document required the signatures to match, but this restriction,
>>   originating in previous TLS versions is lifted here as it had been =
in
>>   RFC 5246.
>>=20
>>=20
>>=20
>> 2) In Section 6:
>>=20
>>   Server implementations SHOULD support all of the following cipher
>>   suites, and client implementations SHOULD support at least one of
>>   them:
>>=20
>>   o  TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
>>   o  TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
>>   o  TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
>>   o  TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
>>=20
>> GCM ciphers are not listed in the table earlier in the same section. =
They
>> are defined in RFC 5289. This document doesn't have any reference to =
RFC
>> 5289 and GCM ciphers are not discussed anywhere else in the document.
>>=20
>>=20
>> Seems like I missed this one.
>=20
> Thanks, let me know when the update is ready.
>=20
>>=20
>> Yoav
>>=20
>>=20
>=20
>=20
>=20
> --
>=20
> Best regards,
> Kathleen


--Apple-Mail=_F869F32D-0281-4FF2-BDD2-869A4CDFA563
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi.<div class=3D""><br class=3D""></div><div =
class=3D"">Draft-17 submitted.</div><div class=3D""><br =
class=3D""></div><div class=3D"">Yoav</div><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
4 May 2017, at 23:09, Kathleen Moriarty &lt;<a =
href=3D"mailto:kathleen.moriarty.ietf@gmail.com" =
class=3D"">kathleen.moriarty.ietf@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; =
display: inline !important;" class=3D"">Yoav,</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br=
 style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">On Thu, May 4, 2017 at 1:59 PM, Yoav Nir =
&lt;</span><a href=3D"mailto:ynir.ietf@gmail.com" style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" class=3D"">ynir.ietf@gmail.com</a><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; =
display: inline !important;" class=3D"">&gt; wrote:</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" class=3D""><br class=3D"">On 4 May =
2017, at 16:09, Kathleen Moriarty<br class=3D"">&lt;<a =
href=3D"mailto:kathleen.moriarty.ietf@gmail.com" =
class=3D"">kathleen.moriarty.ietf@gmail.com</a>&gt; wrote:<br =
class=3D""><br class=3D"">I haven't approved it yet as I noticed there =
was no response (that I saw) to<br class=3D"">Alexey's comment and no =
change in the draft as a result of his comments.<br class=3D""><br =
class=3D""><br class=3D""><br class=3D"">You mean these comments?<br =
class=3D""><a =
href=3D"https://mailarchive.ietf.org/arch/msg/tls/MFs8aGEZsr-1P7o4_CB-VjxX=
Rg0" =
class=3D"">https://mailarchive.ietf.org/arch/msg/tls/MFs8aGEZsr-1P7o4_CB-V=
jxXRg0</a><br class=3D""><br class=3D"">I=E2=80=99ll quote them here:<br =
class=3D""><br class=3D"">0) There is some general awkwardness in text =
talking about allowed points<br class=3D"">formats, considering that =
only uncompressed form is now allowed. I don't<br class=3D"">have =
recommendations about improving text, other than the following:<br =
class=3D""><br class=3D"">If no future formats are expected, it feels =
almost better to recommend<br class=3D"">against inclusion of the Point =
formats extension, as lack of it means<br class=3D"">uncompressed format =
anyway.<br class=3D""><br class=3D"">So this was addressed in draft =
-16:<br class=3D""><br class=3D"">OLD:<br class=3D""><br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Implementations of this =
document MUST support the<br class=3D"">&nbsp;&nbsp;uncompressed format =
for all of their supported curves, and MUST NOT<br =
class=3D"">&nbsp;&nbsp;support other formats for curves defined in this =
specification. &nbsp;For<br class=3D"">&nbsp;&nbsp;backwards =
compatibility purposes, the point format list extension<br =
class=3D"">&nbsp;&nbsp;MUST still be included, and contain exactly one =
value: the<br class=3D"">&nbsp;&nbsp;uncompressed point format (0).<br =
class=3D""><br class=3D""><br class=3D"">NEW:<br class=3D""><br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Implementations of this =
document MUST support the<br class=3D"">&nbsp;&nbsp;uncompressed format =
for all of their supported curves, and MUST NOT<br =
class=3D"">&nbsp;&nbsp;support other formats for curves defined in this =
specification. &nbsp;For<br class=3D"">&nbsp;&nbsp;backwards =
compatibility purposes, the point format list extension MAY<br =
class=3D"">&nbsp;&nbsp;still be included, and contain exactly one value: =
the uncompressed<br class=3D"">&nbsp;&nbsp;point format (0). &nbsp;RFC =
4492 specified that if this extension is<br =
class=3D"">&nbsp;&nbsp;missing, it means that only the uncompressed =
point format is<br class=3D"">&nbsp;&nbsp;supported, so interoperability =
with implementations that support the<br =
class=3D"">&nbsp;&nbsp;uncompressed format should work with or without =
the extension.<br class=3D""><br class=3D""><br class=3D""><br =
class=3D"">1) In Section 2.3, last paragraph: Does this paragraph apply =
only to 2.3<br class=3D"">or does it also apply to 2.1 and 2.2? If the =
latter, then it needs to be<br class=3D"">moved to section 2.<br =
class=3D""><br class=3D""><br class=3D"">The content of the last =
paragraph was moved to a new section:<br class=3D""><br class=3D"">2.4. =
&nbsp;Algorithms in Certificate Chains<br class=3D""><br =
class=3D"">&nbsp;&nbsp;This specification does not impose restrictions =
on signature schemes<br class=3D"">&nbsp;&nbsp;used anywhere in the =
certificate chain. &nbsp;The previous version of this<br =
class=3D"">&nbsp;&nbsp;document required the signatures to match, but =
this restriction,<br class=3D"">&nbsp;&nbsp;originating in previous TLS =
versions is lifted here as it had been in<br class=3D"">&nbsp;&nbsp;RFC =
5246.<br class=3D""><br class=3D""><br class=3D""><br class=3D"">2) In =
Section 6:<br class=3D""><br class=3D"">&nbsp;&nbsp;Server =
implementations SHOULD support all of the following cipher<br =
class=3D"">&nbsp;&nbsp;suites, and client implementations SHOULD support =
at least one of<br class=3D"">&nbsp;&nbsp;them:<br class=3D""><br =
class=3D"">&nbsp;&nbsp;o &nbsp;TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256<br =
class=3D"">&nbsp;&nbsp;o &nbsp;TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA<br =
class=3D"">&nbsp;&nbsp;o =
&nbsp;TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256<br class=3D"">&nbsp;&nbsp;o =
&nbsp;TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256<br class=3D""><br =
class=3D"">GCM ciphers are not listed in the table earlier in the same =
section. They<br class=3D"">are defined in RFC 5289. This document =
doesn't have any reference to RFC<br class=3D"">5289 and GCM ciphers are =
not discussed anywhere else in the document.<br class=3D""><br =
class=3D""><br class=3D"">Seems like I missed this one.<br =
class=3D""></blockquote><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">Thanks, let me know when the update is =
ready.</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><blockquote=
 type=3D"cite" style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" class=3D""><br class=3D"">Yoav<br =
class=3D""><br class=3D""><br class=3D""></blockquote><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br=
 style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br=
 style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">--<span =
class=3D"Apple-converted-space">&nbsp;</span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br=
 style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">Best regards,</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; =
display: inline !important;" =
class=3D"">Kathleen</span></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_F869F32D-0281-4FF2-BDD2-869A4CDFA563--

--Apple-Mail=_5639FB7F-6D0F-4D05-A088-6412149C0A3D
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJZDXL7AAoJELhJCxUKWMyZxCQH/jMvnmMCgXAMkXK/l6QNGDP5
KoKh7eiXBQNHZZG9xpuY4xGf4SPLXBzF/+67vqNzHpbb1cRMZpa0pk5KBO1BsEjP
62hblIDzH9XknJo4aRjIC1iFhDVv6tXsnCH2s3FyCc0utaVZQfpIjY/6zFzd5Xqa
E92EBXTfT0/NSG74ciNnVmjSncmzcKPGDdgroEdX9i3bO55l03DS1oBbIF0LsH/T
qJeJuXB03JMVhtIK9BKWUAUiFNUCOiRVYTpG2iTTqAM2/W+ljMchIpBaUduANBtB
Zer75SDINn3s519+avvyTQw1xJ+WHLTcMAOPubBWVtX+rCw4DuZnGDNUZqXS3s8=
=BY+Z
-----END PGP SIGNATURE-----

--Apple-Mail=_5639FB7F-6D0F-4D05-A088-6412149C0A3D--


From nobody Sat May  6 02:58:41 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8781D12751F for <tls@ietfa.amsl.com>; Sat,  6 May 2017 02:58:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 nUqueLzeIOfb for <tls@ietfa.amsl.com>; Sat,  6 May 2017 02:58:38 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2.welho.com [83.102.41.24]) by ietfa.amsl.com (Postfix) with ESMTP id 90A14126C23 for <tls@ietf.org>; Sat,  6 May 2017 02:58:38 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id B962C213DA; Sat,  6 May 2017 12:58:35 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id vt5vdaP7rrmX; Sat,  6 May 2017 12:58:35 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 7AF0821C; Sat,  6 May 2017 12:58:35 +0300 (EEST)
Date: Sat, 6 May 2017 12:58:35 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Colm =?utf-8?Q?MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170506095834.GA4355@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/qFwUCBY-uaBEUroy0lWsk1Beggk>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 May 2017 09:58:40 -0000

On Fri, May 05, 2017 at 09:28:07AM -0700, Colm MacCÃ¡rthaigh wrote:
> I wanted to start a separate thread on this, just to make some small
> aspects of replay mitigating clear, because I'd like to make a case for TLS
> providing a single-stream, which is what people seem to be doing anyway.

<Snip a long mail>

Couple points:

- AFAIK, the 10 second or so figure in existing spec is a slop margin,
  which means the replay window would be 20 seconds, not 10.

- The size of the window depends on clock error margin and transport
  delay margin. At 1s/day clock error margin, you need 14 second
  window just from clock error.

- It is not just low-power devices with really bad clocks. I have seen
  20s per day(!) clock drift on high-power device that doesn't sleep.

- So basically, the size of window is tradeoff with number of devices.

- That automatic wait on 0-RTT failure seems just the kind of feature
  that gets disabled. Furthermore, 10 second idle on connection is
  going to trigger quite a bit of connection timeouts.

- There seems to be no consideration how this interacts with 0-RTT
  exporters (probably applications that accept 0-RTT will then use
  0-RTT exporters for the entiere connection, and those exporters have
  seriously weaker properties).


-Ilari


From nobody Sat May  6 05:22:37 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 597EC127419 for <tls@ietfa.amsl.com>; Sat,  6 May 2017 05:22:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 v75j1hU2FRMi for <tls@ietfa.amsl.com>; Sat,  6 May 2017 05:22:33 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CE5FF124BFA for <tls@ietf.org>; Sat,  6 May 2017 05:22:33 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v46CGrln012792; Sat, 6 May 2017 13:22:30 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=jan2016.eng; bh=UVEfhmxfdT/COhcVlex89yY98+ZVpvo6xbALIqFP3K4=; b=WlyhnUeHaDYVOlOO5J8USlFtjFjx13VOGDg75NM9Ua5E7e6rMlLpnXGs4Ptr5hs7RZbJ kOKDESDJbjXgwSBt+edZB03OH8gRf6+UwRGNobIGEpfFptnkyKR8sETif9L5MJKSOGZ8 wOfYkQ6L7y+mXqZaBdOcLXVGsLdrrefL5HyLHp6GVM665KkW24qpAQkbZo4x7MlBYGGU +0g4meEkUFwDlbx1FJHNBMxLfUBlWhNrh89EniV7HeJzx9CkOO4G2xuXhyDnr59ZSRaD A7E6wYVwtqzQhdQxsZGmBpwdpmV3zT812xjC287jt2EyoNLPUAe85oGpETOkXGapgy88 JA== 
Received: from prod-mail-ppoint4 ([96.6.114.87]) by m0050096.ppops.net-00190b01. with ESMTP id 2a96w7hevg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 06 May 2017 13:22:30 +0100
Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v46CG3A2002621; Sat, 6 May 2017 08:22:29 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.31]) by prod-mail-ppoint4.akamai.com with ESMTP id 2a99tvrc3t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 06 May 2017 08:22:29 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb3.msg.corp.akamai.com (172.27.123.103) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Sat, 6 May 2017 08:22:27 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1263.000; Sat, 6 May 2017 08:22:27 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] The case for a single stream of data
Thread-Index: AQHSxbylbnClX7eBZUm2Z/AGF1sif6HnOtSQ
Date: Sat, 6 May 2017 12:22:27 +0000
Message-ID: <879211b6670148a19b816018664324f2@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com>
In-Reply-To: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.41.190]
Content-Type: multipart/alternative; boundary="_000_879211b6670148a19b816018664324f2usma1exdag1mb1msgcorpak_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-06_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705060114
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-06_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705060114
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/irlmav3jLKAC8P1jzjORwDmdpzs>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 May 2017 12:22:35 -0000

--_000_879211b6670148a19b816018664324f2usma1exdag1mb1msgcorpak_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

V2hhdCBhYm91dCB3aGVuICpwYXJ0KiBvZiBhIHJlcXVlc3QgaXMgaW4gdGhlIDBSVFQgcGFydCwg
YW5kIHRoZSByZXN0IG9mIGl0IGlzbuKAmXQ/ICBJIGJlbGlldmUgdGhpcyB3aWxsIGhhcHBlbiBv
ZnRlbiBmb3IgSDIgaW5pdGlhbCBzZXR1cC4gIEltYWdpbmUgdGhlIOKAnGZ1buKAnSB3aGVuIGlu
aXRpYWwgY29ubmVjdGlvbiBkYXRhLCBzdWNoIGFzIGxvZ2luIGNvb2tpZXMsIGlzIHJlcGxheWVk
IGluIG90aGVyIGNvbnRleHRzIGFuZCBldmVudHVhbGx5IGRlY3J5cHRlZD8NCg0KLS0NClNlbmlv
ciBBcmNoaXRlY3QsIEFrYW1haSBUZWNobm9sb2dpZXMNCk1lbWJlciwgT3BlblNTTCBEZXYgVGVh
bQ0KSU06IHJpY2hzYWx6QGphYmJlci5hdCBUd2l0dGVyOiBSaWNoU2Fseg0K

--_000_879211b6670148a19b816018664324f2usma1exdag1mb1msgcorpak_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv
ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTUgKGZpbHRlcmVkIG1lZGl1bSkiPg0KPHN0eWxl
PjwhLS0NCi8qIEZvbnQgRGVmaW5pdGlvbnMgKi8NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6
IkNhbWJyaWEgTWF0aCI7DQoJcGFub3NlLTE6MiA0IDUgMyA1IDQgNiAzIDIgNDt9DQpAZm9udC1m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bnMtc2VyaWYiPklNOiByaWNoc2FsekBqYWJiZXIuYXQgVHdpdHRlcjogUmljaFNhbHo8
bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_879211b6670148a19b816018664324f2usma1exdag1mb1msgcorpak_--


From nobody Sat May  6 06:44:01 2017
Return-Path: <krose@krose.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 84BA1127337 for <tls@ietfa.amsl.com>; Sat,  6 May 2017 06:43:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.3
X-Spam-Level: 
X-Spam-Status: No, score=-1.3 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, 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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=krose.org
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 4W5rwiTqGWUw for <tls@ietfa.amsl.com>; Sat,  6 May 2017 06:43:57 -0700 (PDT)
Received: from mail-qk0-x232.google.com (mail-qk0-x232.google.com [IPv6:2607:f8b0:400d:c09::232]) (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 C359E127076 for <tls@ietf.org>; Sat,  6 May 2017 06:43:56 -0700 (PDT)
Received: by mail-qk0-x232.google.com with SMTP id n4so24643141qkc.0 for <tls@ietf.org>; Sat, 06 May 2017 06:43:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=krose.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4YXBpb7OhR7mP+9XM73ZiGpdJUWiBDmrwX5uaiVQFMw=; b=PX9nMQ4ioizsvbxhmXZgoEZbls5ZJ1wrYPa7uyUWmQAEHA6NPLM70YwW2I4aziOh1a 7yj9FTglQbDTOiJRtriDah5i+hVdTUqYRDUTOTH1lLqsaGINKAn9GmEPcbnFmtgFisM9 k4y0pYF0RYfpErzDR9+8oxJwcVyN8inzcChwI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4YXBpb7OhR7mP+9XM73ZiGpdJUWiBDmrwX5uaiVQFMw=; b=C1g9lqIz9Po34yoDav48msaIeMi3PTqCrqpm+0yWPSK1Xk+hZ0k6IWspCW9axsBS3y 6yMeO35AjsqwdhP9xybCRlwXwa1r95RmRzUyArn63P2DeEL53cG1VsYrf6AX/0omkeDQ cVRVfZp3WtiZAnMft+zJa25d5SVw31dJ8Prn+znOAJfVBODPrThjU2bfg5NFkOYp2P7V uTfTNfC632lUiQ3LJAHmw3mAK0F1N3ZXzIvH8cjLgeuYf/+6B+rseTZNfafxHVgJrE4+ g5dLhxaYWoXTPmhQl37RDsk4LZrME4SOuye8cR1eyfkXcEoDbQT8fmkA/EduEv9HnxBj WMIA==
X-Gm-Message-State: AODbwcA+eRw3N4SSjvaGgTp7L+WYdvmvveZEfM3328WTI2eQkQJIYitb v07VzzhHYiAUsoCDs28SaVGZO5poYw==
X-Received: by 10.55.142.70 with SMTP id q67mr1719765qkd.247.1494078236015; Sat, 06 May 2017 06:43:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.55.80.65 with HTTP; Sat, 6 May 2017 06:43:55 -0700 (PDT)
X-Originating-IP: [2001:470:1f07:121:802e:2aff:fea9:7bd]
In-Reply-To: <879211b6670148a19b816018664324f2@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <879211b6670148a19b816018664324f2@usma1ex-dag1mb1.msg.corp.akamai.com>
From: Kyle Rose <krose@krose.org>
Date: Sat, 6 May 2017 09:43:55 -0400
Message-ID: <CAJU8_nXxNrSj4L+Ab+ENOgWaVhmn6Lt5eRUQOtPFfBCYqTOJeA@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Cc: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>,  "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c083c8c868314054edb329f
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/pfHiwEsqkp8dk0kgt8HYIVOijDA>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 May 2017 13:43:59 -0000

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

On Sat, May 6, 2017 at 8:22 AM, Salz, Rich <rsalz@akamai.com> wrote:

>
> What about when **part** of a request is in the 0RTT part, and the rest
> of it isn=E2=80=99t?  I believe this will happen often for H2 initial set=
up.
> Imagine the =E2=80=9Cfun=E2=80=9D when initial connection data, such as l=
ogin cookies, is
> replayed in other contexts and eventually decrypted?
>

I asked this question a while back, and didn't get a satisfying answer: if
an on-path attacker replaces the early data with a replay from an earlier
connection, does the server eventually figure this out once the handshake
is complete, or is this mix-and-match impossible for the server to detect?
It would be nice if a security property of early data is that a replay
attack is eventually detected, because at least then you'll know you're
under attack.

Kyle

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On S=
at, May 6, 2017 at 8:22 AM, Salz, Rich <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:rsalz@akamai.com" target=3D"_blank">rsalz@akamai.com</a>&gt;</span> wro=
te:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex">





<div link=3D"blue" vlink=3D"purple" lang=3D"EN-US">
<br><div class=3D"m_-869520247780613292WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">What about when *<b>part</b>* of a request is in th=
e 0RTT part, and the rest of it isn=E2=80=99t?=C2=A0 I believe this will ha=
ppen often for H2 initial setup.=C2=A0 Imagine the =E2=80=9Cfun=E2=80=9D wh=
en initial
 connection data, such as login cookies, is replayed in other contexts and =
eventually decrypted?<span class=3D"HOEnZb"></span></span></p><span class=
=3D"HOEnZb"><font color=3D"#888888">
</font></span></div></div></blockquote><div><br></div><div>I asked this que=
stion a while back, and didn&#39;t get a satisfying answer: if an on-path a=
ttacker replaces the early data with a replay from an earlier connection, d=
oes the server eventually figure this out once the handshake is complete, o=
r is this mix-and-match impossible for the server to detect? It would be ni=
ce if a security property of early data is that a replay attack is eventual=
ly detected, because at least then you&#39;ll know you&#39;re under attack.=
<br><br></div><div>Kyle<br></div></div></div></div>

--94eb2c083c8c868314054edb329f--


From nobody Sat May  6 08:12:15 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B1E0A12711E for <tls@ietfa.amsl.com>; Sat,  6 May 2017 08:12:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.002
X-Spam-Level: 
X-Spam-Status: No, score=-0.002 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 KXc20ZskdGV7 for <tls@ietfa.amsl.com>; Sat,  6 May 2017 08:12:11 -0700 (PDT)
Received: from welho-filter4.welho.com (welho-filter4.welho.com [83.102.41.26]) by ietfa.amsl.com (Postfix) with ESMTP id 6D48C1270FC for <tls@ietf.org>; Sat,  6 May 2017 08:12:10 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id 240B7216E3; Sat,  6 May 2017 18:12:09 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id kdEcSA4zff_2; Sat,  6 May 2017 18:12:08 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id B658F2313; Sat,  6 May 2017 18:12:08 +0300 (EEST)
Date: Sat, 6 May 2017 18:12:08 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Kyle Rose <krose@krose.org>
Cc: "Salz, Rich" <rsalz@akamai.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170506151208.GA4491@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <879211b6670148a19b816018664324f2@usma1ex-dag1mb1.msg.corp.akamai.com> <CAJU8_nXxNrSj4L+Ab+ENOgWaVhmn6Lt5eRUQOtPFfBCYqTOJeA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAJU8_nXxNrSj4L+Ab+ENOgWaVhmn6Lt5eRUQOtPFfBCYqTOJeA@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/g3Cfp5ImsHM29rafO1OEgXrFAPs>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 May 2017 15:12:14 -0000

On Sat, May 06, 2017 at 09:43:55AM -0400, Kyle Rose wrote:
> On Sat, May 6, 2017 at 8:22 AM, Salz, Rich <rsalz@akamai.com> wrote:
> 
> >
> > What about when **part** of a request is in the 0RTT part, and the rest
> > of it isnâ€™t?  I believe this will happen often for H2 initial setup.
> > Imagine the â€œfunâ€� when initial connection data, such as login cookies, is
> > replayed in other contexts and eventually decrypted?
> >
> 
> I asked this question a while back, and didn't get a satisfying answer: if
> an on-path attacker replaces the early data with a replay from an earlier
> connection, does the server eventually figure this out once the handshake
> is complete, or is this mix-and-match impossible for the server to detect?
> It would be nice if a security property of early data is that a replay
> attack is eventually detected, because at least then you'll know you're
> under attack.

Trying to replace the early data leads to fatal handshake error if the
server accepts 0-RTT (since actual deprotection failure from 0-RTT data
is fatal). If server rejects, then the substitution is silently ignored.


-Ilari


From nobody Sat May  6 16:54:47 2017
Return-Path: <krose@krose.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 53DD61272E1 for <tls@ietfa.amsl.com>; Sat,  6 May 2017 16:54:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=krose.org
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 v0VzX47UG5MX for <tls@ietfa.amsl.com>; Sat,  6 May 2017 16:54:43 -0700 (PDT)
Received: from mail-qt0-x22d.google.com (mail-qt0-x22d.google.com [IPv6:2607:f8b0:400d:c0d::22d]) (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 0E4EA120227 for <tls@ietf.org>; Sat,  6 May 2017 16:54:42 -0700 (PDT)
Received: by mail-qt0-x22d.google.com with SMTP id n4so28354567qte.2 for <tls@ietf.org>; Sat, 06 May 2017 16:54:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=krose.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=g5ymnvBtfvz3dYVkf0cGFlL3NuEwel3XAlc4Zyr4cGg=; b=edrK2v9jVWnNrepynLX1QUKDLgaFijHvtKB5qh1sl6QoTKbLIpvYuDPaGadkobVmHy Xrp1cnI7AXjoUNdzRA+Pw5fLThLx3aIRLJpblmkT4jygzu8s70VMmGBePwE8M3r+unQw UyPVattplXXhII+O6w7Nj3gcc718JWobHk7e0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=g5ymnvBtfvz3dYVkf0cGFlL3NuEwel3XAlc4Zyr4cGg=; b=sKxg3XEO2MFql/V9JmXQaJS2syV1I1kKWi5r1SrD9wJoUxD1XUPYz5GEReKIP1xush Gc9gvrkJJ568NdreJAdv6BMIurqDCUrfCsLUg4V0NUBmGcDXOxEErYyzitblnWIWx/DB a0jpEOA+JUfXws06MIjyyVAwosFxbj1r0P6QtOjXQZjr4+AmxphizexXxbOtEIkOlSTz ijq4WDWTkE9Nb70ceQeQp1naL4/IQ8yyJEwfG87rODVbEoKX3pbiOdokcrGYR+AdJ7Ld yVmMA0HgBpmxdlnohwfu/R1jVgC9KEnYI7aejYzo3CMFtjmI9e4uJrADF1C8eWecLT3u LJjg==
X-Gm-Message-State: AN3rC/5SGoBD+pzAMNF3J/RSE692mGQBzBRgPm/3JLq2PUAr61L/eTC4 iOwo89LmALXD8xMYKHRPPoJI03R7xw==
X-Received: by 10.200.38.41 with SMTP id u38mr27421235qtu.165.1494114882156; Sat, 06 May 2017 16:54:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.55.80.65 with HTTP; Sat, 6 May 2017 16:54:41 -0700 (PDT)
X-Originating-IP: [2001:470:1f07:121:802e:2aff:fea9:7bd]
In-Reply-To: <20170506151208.GA4491@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <879211b6670148a19b816018664324f2@usma1ex-dag1mb1.msg.corp.akamai.com> <CAJU8_nXxNrSj4L+Ab+ENOgWaVhmn6Lt5eRUQOtPFfBCYqTOJeA@mail.gmail.com> <20170506151208.GA4491@LK-Perkele-V2.elisa-laajakaista.fi>
From: Kyle Rose <krose@krose.org>
Date: Sat, 6 May 2017 19:54:41 -0400
Message-ID: <CAJU8_nWPtNM=OJ911VbbkbpqHt=yBDRsh7QW6veZ=FWKMZDYdQ@mail.gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: "Salz, Rich" <rsalz@akamai.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11413122ce11ba054ee3ba98
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/oQTJR1trbhBo2YszUKb-hr49X1o>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 May 2017 23:54:45 -0000

--001a11413122ce11ba054ee3ba98
Content-Type: text/plain; charset=UTF-8

On Sat, May 6, 2017 at 11:12 AM, Ilari Liusvaara <ilariliusvaara@welho.com>
wrote:

> On Sat, May 06, 2017 at 09:43:55AM -0400, Kyle Rose wrote:
> > I asked this question a while back, and didn't get a satisfying answer:
> if
> > an on-path attacker replaces the early data with a replay from an earlier
> > connection, does the server eventually figure this out once the handshake
> > is complete, or is this mix-and-match impossible for the server to
> detect?
> > It would be nice if a security property of early data is that a replay
> > attack is eventually detected, because at least then you'll know you're
> > under attack.
>
> Trying to replace the early data leads to fatal handshake error if the
> server accepts 0-RTT (since actual deprotection failure from 0-RTT data
> is fatal). If server rejects, then the substitution is silently ignored.
>

I'm not sure this completely answers my question, so let me propose where I
think protection lies.

If the on-path attacker replaces only the early data bytes, deprotection of
early data will fail since the early traffic secret incorporates the
ClientHello in its derivation, which includes a (presumably) fresh client
random.

If the on-path attacker replaces the entire first flight (or at least
ClientHello and the early data), the early data may be accepted but the
subsequent handshake will fail because the client and server will derive
different handshake traffic keys.

If this is accurate, then replays of partial requests don't really pose a
problem (at least for HTTP) because the remainder of the request will fail
deprotection and so the request won't actually be delivered to the
application.

Kyle

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On S=
at, May 6, 2017 at 11:12 AM, Ilari Liusvaara <span dir=3D"ltr">&lt;<a href=
=3D"mailto:ilariliusvaara@welho.com" target=3D"_blank">ilariliusvaara@welho=
.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D=
"">On Sat, May 06, 2017 at 09:43:55AM -0400, Kyle Rose wrote:<br></span><sp=
an class=3D"">&gt; I asked this question a while back, and didn&#39;t get a=
 satisfying answer: if<br>
&gt; an on-path attacker replaces the early data with a replay from an earl=
ier<br>
&gt; connection, does the server eventually figure this out once the handsh=
ake<br>
&gt; is complete, or is this mix-and-match impossible for the server to det=
ect?<br>
&gt; It would be nice if a security property of early data is that a replay=
<br>
&gt; attack is eventually detected, because at least then you&#39;ll know y=
ou&#39;re<br>
&gt; under attack.<br>
<br>
</span>Trying to replace the early data leads to fatal handshake error if t=
he<br>
server accepts 0-RTT (since actual deprotection failure from 0-RTT data<br>
is fatal). If server rejects, then the substitution is silently ignored.<sp=
an class=3D"HOEnZb"><font color=3D"#888888"><br></font></span></blockquote>=
<div><br></div><div>I&#39;m not sure this completely answers my question, s=
o let me propose where I think protection lies.<br><br></div><div>If the on=
-path attacker replaces only the early data bytes, deprotection of early da=
ta will fail since the early traffic secret incorporates the ClientHello in=
 its derivation, which includes a (presumably) fresh client random.<br><br>=
</div><div>If the on-path attacker replaces the entire first flight (or at =
least ClientHello and the early data), the early data may be accepted but t=
he subsequent handshake will fail because the client and server will derive=
 different handshake traffic keys.<br><br></div><div>If this is accurate, t=
hen replays of partial requests don&#39;t really pose a problem (at least f=
or HTTP) because the remainder of the request will fail deprotection and so=
 the request won&#39;t actually be delivered to the application.</div><div>=
<br></div><div>Kyle<br><br></div></div></div></div>

--001a11413122ce11ba054ee3ba98--


From nobody Sat May  6 17:35:42 2017
Return-Path: <huitema@huitema.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E1CC4120227 for <tls@ietfa.amsl.com>; Sat,  6 May 2017 17:35:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.099
X-Spam-Level: 
X-Spam-Status: No, score=0.099 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham 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 m8tME7zvAqbI for <tls@ietfa.amsl.com>; Sat,  6 May 2017 17:35:39 -0700 (PDT)
Received: from mx36-42.antispamcloud.com (mx36-42.antispamcloud.com [209.126.121.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 97A67127333 for <tls@ietf.org>; Sat,  6 May 2017 17:35:39 -0700 (PDT)
Received: from xsmtp02.mail2web.com ([168.144.250.215]) by mx36.antispamcloud.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.86) (envelope-from <huitema@huitema.net>) id 1d7AAk-0006ik-7J for tls@ietf.org; Sun, 07 May 2017 02:35:38 +0200
Received: from [10.5.2.35] (helo=xmail10.myhosting.com) by xsmtp02.mail2web.com with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from <huitema@huitema.net>) id 1d7AAh-0001Xt-DZ for tls@ietf.org; Sat, 06 May 2017 20:35:37 -0400
Received: (qmail 12658 invoked from network); 7 May 2017 00:35:33 -0000
Received: from unknown (HELO [192.168.1.104]) (Authenticated-user:_huitema@huitema.net@[172.56.42.199]) (envelope-sender <huitema@huitema.net>) by xmail10.myhosting.com (qmail-ldap-1.03) with ESMTPA for <tls@ietf.org>; 7 May 2017 00:35:33 -0000
To: Eric Rescorla <ekr@rtfm.com>, Benjamin Kaduk <bkaduk@akamai.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com> <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com> <10986afe-873e-a81d-102b-86fa169b156f@akamai.com> <CABcZeBN8ASykSckf7TVBpwEz9yMmyf5eCPqfL-rmSkFEFJiNzQ@mail.gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>
From: Christian Huitema <huitema@huitema.net>
Message-ID: <ce359d88-12e5-168e-842a-1050e128fb2d@huitema.net>
Date: Sat, 6 May 2017 17:35:36 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CABcZeBN8ASykSckf7TVBpwEz9yMmyf5eCPqfL-rmSkFEFJiNzQ@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: 168.144.250.215
X-SpamExperts-Domain: xsmtpout.mail2web.com
X-SpamExperts-Username: 168.144.250.0/24
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=168.144.250.0/24@xsmtpout.mail2web.com
X-SpamExperts-Outgoing-Class: unsure
X-SpamExperts-Outgoing-Evidence: Combined (0.16)
X-Recommended-Action: accept
X-Filter-ID: s0sct1PQhAABKnZB5plbIVbU93hg6Kq00BjAzYBqWlVTHAar8Je/lORhy3PZJU8LERWeKKG4PAQY Nyavp7c49MJIIgmXWciG0xIgIHG/MnhTugiLDom8V25hond3K4RsO76XSTAwtV4mg4i2ouCDa4AU hvIWAV5xUW/+gAh4vXqXWJZVKkuSUxCyuHI5n8w1RcOb18WfxGyg6Om6u4YYmwvbnxy2mvS9cWzd uHW+pmU5hjoyEb9Oq0NWpyO3vrfYKtU04a0dsdHkKEFmS31kUD3dKxLhoxcmaInYbR5vlqGudzLe k2TYFBStSOMccbr5Uz0sPgnpAk2KA2vJwMd1uWhCmLzOxTAcQmFWVARhgNqBNFD3an3wiMp49rVr ybSBkye6uEH7Y2FUSOL4rzI+g3TFgIfDMShmlQFqCr5hA8xAXSGwpLGc/Znuh3MoIpK0mtUv6SP4 ITUfHeIhOeW8/rbRF0J+AL6gRRwFcty0/RGJ+cv73CChOPjKA0/DVd83mzKXD5o/Ia+BqyQ7Q0nt IZ2PVtMHd8bHCmdzlxzVIEgwyGTHIAoNFX+jcW7DGmdE6eBVl9/A6GtGi+mfMSANmjLzCyMdOETT xDqixVDal2Zqxiuap5uKiBpffUsHYsfmrbtbs8GJuRKR6hnrta1usy6F/SOWlhnS7qkS/mOkSgAg eNjxIyqtWcsHzPElnaBFglzR8EKamCCPLRQqfIrw/sLmBZdPbQF3q8ksWQI6akAWLwKkKHJsy5uz AjSltoq5GyoCJJa3e874rwXXGPuEmSKg33smtlc64dR/aNUnR+kcQlvCYTspYJdGl64rm9ixxYJS vH1uwzGpXypuXzvU+abPAYYtQIC6W4oZfGborEPcu6wTHpnlfUs9BUPj1rZ3
X-Report-Abuse-To: spam@quarantine5.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/GaWAgom5XvniQA6rLhlXdyK6Vbo>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 May 2017 00:35:41 -0000

On 5/4/2017 10:12 PM, Eric Rescorla wrote:
>
> Obligatory note that if clients are forbidden from reusing a single
> PSK for multiple 0-RTT, they can still use it for 1-RTT.

Yes, they can. But doing so leaks a unique identifier, which can be used
to link sessions. When I look at the privacy implications as well as the
replay attacks, there is real value in using a resume ticket only once.

-- Christian Huitema




From nobody Sat May  6 17:52:08 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B674128C82 for <tls@ietfa.amsl.com>; Sat,  6 May 2017 17:52:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] 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 0EFuzu2hgwLr for <tls@ietfa.amsl.com>; Sat,  6 May 2017 17:52:05 -0700 (PDT)
Received: from mail-yb0-x22f.google.com (mail-yb0-x22f.google.com [IPv6:2607:f8b0:4002: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 3E7FA128D69 for <tls@ietf.org>; Sat,  6 May 2017 17:52:05 -0700 (PDT)
Received: by mail-yb0-x22f.google.com with SMTP id j17so5040204ybj.0 for <tls@ietf.org>; Sat, 06 May 2017 17:52:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fkP9CrdRkn2EJtRsgoiATvVRqOu1E6X7fiPYPX8en68=; b=caj7gEgtCGYfR2LPQQpdlzt1/tn81j5UV8G9dGSav7/AZItv7fJikVHZpbJjAJsDZ7 UQr9gJtkTBaBsl+/VrjCnxcgR9wjFIADzJi5Mynz336fz64aiLYteJbwLJYMQq0Pi9sT 37Ehs0y1YtBy7JngRBzZFghbeKhLagRgTz6Z/m0mcVE4j35Cbg1N8Ws7HE13itpWFcvh eSqZolrm4R6PqChQFC+r9MnS0QIpY8FRwkLYUqb6/4WYxOlHnFf4za8ZPoZTkSaDV9wK 3NcevS19OslwnlweunCoJ0JNQRMpVRizu7yjPEHlPOv6PUCe8s7JlQl8lQ8YcKRHUaZU AkVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fkP9CrdRkn2EJtRsgoiATvVRqOu1E6X7fiPYPX8en68=; b=Yfy0OOkVDGqllg0HKrObooJB1ijCerellF+rWX17g6HzY2LmtsDYcLjqGA2Ws+6UOp zqH2xSuSMElCmbyMBxR1WvxLe9xENUiMigu4lTlTmD9uUtMdLSR/n8Ou4AKTMZhLL61K WebmF3Izj0L4h+3A/AekD5xBiFDzfwYJLIwId6g5G5o9uDe7d/tk/oA/MqJeX2bhp+qY /d+1f99Ekgj7yJ/HKhtwyIVcwgm7ImUjb/8JnuU1Q8hecNKSvYC/jh+BD7ik3gBmP1e8 BzmYSEpY7EVcTj/iRJ3ssW7PvvmVizVg1fck5V6rXnjvcKCQ74fgpHQ9154w0XHxZ7Kt 8eUQ==
X-Gm-Message-State: AODbwcCKvA00uKQxFDxNBJl+AJgyZKqDF1vWgLTQQNAPZXWV7G20BfIo EqE4kg/IY9nS501i11lY29WVWdlMvw==
X-Received: by 10.37.161.196 with SMTP id a62mr4957389ybi.9.1494118324591; Sat, 06 May 2017 17:52:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Sat, 6 May 2017 17:51:24 -0700 (PDT)
In-Reply-To: <ce359d88-12e5-168e-842a-1050e128fb2d@huitema.net>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com> <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com> <10986afe-873e-a81d-102b-86fa169b156f@akamai.com> <CABcZeBN8ASykSckf7TVBpwEz9yMmyf5eCPqfL-rmSkFEFJiNzQ@mail.gmail.com> <ce359d88-12e5-168e-842a-1050e128fb2d@huitema.net>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sat, 6 May 2017 17:51:24 -0700
Message-ID: <CABcZeBOF385NYTpvvjW301zb8vE1PGCJV=zb85zRSMoxDSmeaQ@mail.gmail.com>
To: Christian Huitema <huitema@huitema.net>
Cc: Benjamin Kaduk <bkaduk@akamai.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=f403045c5632fd7341054ee487ec
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/je7htfjCqDQjC0nVCzc5YxglTw8>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 May 2017 00:52:07 -0000

--f403045c5632fd7341054ee487ec
Content-Type: text/plain; charset=UTF-8

On Sat, May 6, 2017 at 5:35 PM, Christian Huitema <huitema@huitema.net>
wrote:

>
>
> On 5/4/2017 10:12 PM, Eric Rescorla wrote:
> >
> > Obligatory note that if clients are forbidden from reusing a single
> > PSK for multiple 0-RTT, they can still use it for 1-RTT.
>
> Yes, they can. But doing so leaks a unique identifier, which can be used
> to link sessions. When I look at the privacy implications as well as the
> replay attacks, there is real value in using a resume ticket only once.
>

Agreed.  Also, I think that's Ben Kaduk you're quoting :)

-Ekr


>
> -- Christian Huitema
>
>
>
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Sat, May 6, 2017 at 5:35 PM, Christian Huitema <span dir=3D"ltr">&lt=
;<a href=3D"mailto:huitema@huitema.net" target=3D"_blank">huitema@huitema.n=
et</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""=
><br>
<br>
On 5/4/2017 10:12 PM, Eric Rescorla wrote:<br>
&gt;<br>
&gt; Obligatory note that if clients are forbidden from reusing a single<br=
>
&gt; PSK for multiple 0-RTT, they can still use it for 1-RTT.<br>
<br>
</span>Yes, they can. But doing so leaks a unique identifier, which can be =
used<br>
to link sessions. When I look at the privacy implications as well as the<br=
>
replay attacks, there is real value in using a resume ticket only once.<br>=
</blockquote><div><br></div><div>Agreed.=C2=A0 Also, I think that&#39;s Ben=
 Kaduk you&#39;re quoting :)</div><div><br></div><div>-Ekr</div><div>=C2=A0=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
-- Christian Huitema<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div></div>

--f403045c5632fd7341054ee487ec--


From nobody Sat May  6 17:56:04 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B42C129411 for <tls@ietfa.amsl.com>; Sat,  6 May 2017 17:56:02 -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 nasW7P5bssqG for <tls@ietfa.amsl.com>; Sat,  6 May 2017 17:56:00 -0700 (PDT)
Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (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 B9AFD128C82 for <tls@ietf.org>; Sat,  6 May 2017 17:56:00 -0700 (PDT)
Received: by mail-yw0-x230.google.com with SMTP id b68so16861955ywe.3 for <tls@ietf.org>; Sat, 06 May 2017 17:56:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Jm6u9TxAQhVvFvr7ZotgMvGefGJVYmc3rMyHtzYL3aU=; b=O9dQfSmdM20aBFmaBCLEIbaVOqSoXSQxFSN9VjQ2fnis9daenkjhwEzCY5NiaV5sJ7 /Bti0Gr8xEXu7DuuoLh+mz2lDrDWRghKraplgoZBduwOVRYP48/gTnYZLM3/HKX6dSHk hvu4tGxtKD4vhgOZ87pZ3hQY/H68fUdiN9/HHgp9zbt3ZejLtLcm5ER/i4IvvBS5KOBZ vTN7tuhwOfimaRiIDMsTgtL1Wp8akjBxt099JZbbKFkU/mHcJvaqzm5wvczzuQ7K/wpw LNc8IxCk8QbVdkctAcSbZJJGn3ZLnSiUay9MYEeM/4zSvoZPo0iHTrc/NRZDLu6iBcDr xJIQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Jm6u9TxAQhVvFvr7ZotgMvGefGJVYmc3rMyHtzYL3aU=; b=hnCxI3HHQrl59EUVDryAL2uvo5LxE9onp9lG0Domrs18uwY9JGao/xefcojYvdFYd7 FVJZ0XHaYjnNd40Z+eTOXNukTqcUVcVG1rkRoP7awxRB+EC1uJzzyaMZLkGw0DWOd8rS Iw56V3F88OTvb84++XQ8wmIq2QBPD1cK+9ekJ0y00G/afTBALIE5kvlMuNpQcf1V3i7z KL1keOIRIsa6xorTcUpkBIjvxn9elu1Fs4lPyDHG6WOIcoqpZO+mHyInovmMt+sQQKKs YqZX5GCmrcZfP8349Zmy92uHSHARUA2wvt6Weo3tjq4W8pje+45dPyw9dIe3Ch91Q5bw HIWQ==
X-Gm-Message-State: AODbwcDaNm9IcDah0ZJrtXuV41/brdSfNAiZyG6EeKBjHGDnzoQ0EktY 3pzK4Bf6dEoSi857fk83xuah9ZyumQ==
X-Received: by 10.129.85.83 with SMTP id j80mr6944032ywb.283.1494118560007; Sat, 06 May 2017 17:56:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Sat, 6 May 2017 17:55:19 -0700 (PDT)
In-Reply-To: <CAJU8_nWPtNM=OJ911VbbkbpqHt=yBDRsh7QW6veZ=FWKMZDYdQ@mail.gmail.com>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <879211b6670148a19b816018664324f2@usma1ex-dag1mb1.msg.corp.akamai.com> <CAJU8_nXxNrSj4L+Ab+ENOgWaVhmn6Lt5eRUQOtPFfBCYqTOJeA@mail.gmail.com> <20170506151208.GA4491@LK-Perkele-V2.elisa-laajakaista.fi> <CAJU8_nWPtNM=OJ911VbbkbpqHt=yBDRsh7QW6veZ=FWKMZDYdQ@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sat, 6 May 2017 17:55:19 -0700
Message-ID: <CABcZeBM+rrUg-fdQsRXV+AvSBMJnKXFeKTyxd+Dc9RGHwnLU3w@mail.gmail.com>
To: Kyle Rose <krose@krose.org>
Cc: Ilari Liusvaara <ilariliusvaara@welho.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a113f3cbe05e666054ee496dd
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/vVR7icf9zI9Jb06r33cjX5iXnUU>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 May 2017 00:56:02 -0000

--001a113f3cbe05e666054ee496dd
Content-Type: text/plain; charset=UTF-8

On Sat, May 6, 2017 at 4:54 PM, Kyle Rose <krose@krose.org> wrote:

> On Sat, May 6, 2017 at 11:12 AM, Ilari Liusvaara <ilariliusvaara@welho.com
> > wrote:
>
>> On Sat, May 06, 2017 at 09:43:55AM -0400, Kyle Rose wrote:
>> > I asked this question a while back, and didn't get a satisfying answer:
>> if
>> > an on-path attacker replaces the early data with a replay from an
>> earlier
>> > connection, does the server eventually figure this out once the
>> handshake
>> > is complete, or is this mix-and-match impossible for the server to
>> detect?
>> > It would be nice if a security property of early data is that a replay
>> > attack is eventually detected, because at least then you'll know you're
>> > under attack.
>>
>> Trying to replace the early data leads to fatal handshake error if the
>> server accepts 0-RTT (since actual deprotection failure from 0-RTT data
>> is fatal). If server rejects, then the substitution is silently ignored.
>>
>
> I'm not sure this completely answers my question, so let me propose where
> I think protection lies.
>
> If the on-path attacker replaces only the early data bytes, deprotection
> of early data will fail since the early traffic secret incorporates the
> ClientHello in its derivation, which includes a (presumably) fresh client
> random.
>

Correct.


If the on-path attacker replaces the entire first flight (or at least
> ClientHello and the early data), the early data may be accepted but the
> subsequent handshake will fail because the client and server will derive
> different handshake traffic keys.
>

Correct.

-Ekr


>
> If this is accurate, then replays of partial requests don't really pose a
> problem (at least for HTTP) because the remainder of the request will fail
> deprotection and so the request won't actually be delivered to the
> application.
>
> Kyle
>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Sat, May 6, 2017 at 4:54 PM, Kyle Rose <span dir=3D"ltr">&lt;<a href=
=3D"mailto:krose@krose.org" target=3D"_blank">krose@krose.org</a>&gt;</span=
> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"g=
mail_extra"><div class=3D"gmail_quote"><span class=3D"">On Sat, May 6, 2017=
 at 11:12 AM, Ilari Liusvaara <span dir=3D"ltr">&lt;<a href=3D"mailto:ilari=
liusvaara@welho.com" target=3D"_blank">ilariliusvaara@welho.com</a>&gt;</sp=
an> wrote:<br></span><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""><span>=
On Sat, May 06, 2017 at 09:43:55AM -0400, Kyle Rose wrote:<br></span></span=
><span class=3D""><span>&gt; I asked this question a while back, and didn&#=
39;t get a satisfying answer: if<br>
&gt; an on-path attacker replaces the early data with a replay from an earl=
ier<br>
&gt; connection, does the server eventually figure this out once the handsh=
ake<br>
&gt; is complete, or is this mix-and-match impossible for the server to det=
ect?<br>
&gt; It would be nice if a security property of early data is that a replay=
<br>
&gt; attack is eventually detected, because at least then you&#39;ll know y=
ou&#39;re<br>
&gt; under attack.<br>
<br>
</span>Trying to replace the early data leads to fatal handshake error if t=
he<br>
server accepts 0-RTT (since actual deprotection failure from 0-RTT data<br>
is fatal). If server rejects, then the substitution is silently ignored.<sp=
an class=3D"m_2807624932608713090HOEnZb"><font color=3D"#888888"><br></font=
></span></span></blockquote><div><br></div><div>I&#39;m not sure this compl=
etely answers my question, so let me propose where I think protection lies.=
<br><br></div><div>If the on-path attacker replaces only the early data byt=
es, deprotection of early data will fail since the early traffic secret inc=
orporates the ClientHello in its derivation, which includes a (presumably) =
fresh client random.<br></div></div></div></div></blockquote><div><br></div=
><div>Correct.</div><div><br></div><div><br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote=
"><div>If the on-path attacker replaces the entire first flight (or at leas=
t ClientHello and the early data), the early data may be accepted but the s=
ubsequent handshake will fail because the client and server will derive dif=
ferent handshake traffic keys.<br></div></div></div></div></blockquote><div=
><br></div><div>Correct.</div><div><br></div><div>-Ekr</div><div>=C2=A0</di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra=
"><div class=3D"gmail_quote"><div><br></div><div>If this is accurate, then =
replays of partial requests don&#39;t really pose a problem (at least for H=
TTP) because the remainder of the request will fail deprotection and so the=
 request won&#39;t actually be delivered to the application.</div><span cla=
ss=3D"HOEnZb"><font color=3D"#888888"><div><br></div><div>Kyle<br><br></div=
></font></span></div></div></div>
<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br></blockquote></div><br></div></div>

--001a113f3cbe05e666054ee496dd--


From nobody Sun May  7 02:27:23 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B650B127868 for <tls@ietfa.amsl.com>; Sun,  7 May 2017 02:27:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level: 
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=ham 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 P6qSm9CgbpFS for <tls@ietfa.amsl.com>; Sun,  7 May 2017 02:27:20 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3F367120725 for <tls@ietf.org>; Sun,  7 May 2017 02:27:20 -0700 (PDT)
Received: from [192.168.0.6] (cpe-67-241-70-168.twcny.res.rr.com [67.241.70.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 048527A32F1 for <tls@ietf.org>; Sun,  7 May 2017 09:27:18 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CABcZeBOF385NYTpvvjW301zb8vE1PGCJV=zb85zRSMoxDSmeaQ@mail.gmail.com>
Date: Sun, 7 May 2017 05:27:17 -0400
Content-Transfer-Encoding: 7bit
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <835B5EBF-9B1B-4E3D-9B1B-952944AC3C6A@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <MWHPR15MB11825419AF296AE7EC26F3BDAFEA0@MWHPR15MB1182.namprd15.prod.outlook.com> <CABcZeBNyQB3FOik3ZBZvgX7FnEjUydHdJwfa5OkACYDO_FQHaA@mail.gmail.com> <10986afe-873e-a81d-102b-86fa169b156f@akamai.com> <CABcZeBN8ASykSckf7TVBpwEz9yMmyf5eCPqfL-rmSkFEFJiNzQ@mail.gmail.com> <ce359d88-12e5-168e-842a-1050e128fb2d@huitema.net> <CABcZeBOF385NYTpvvjW301zb8vE1PGCJV=zb85zRSMoxDSmeaQ@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/9pUexTXRSI2je7M-WoNuV3baVyQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 May 2017 09:27:21 -0000

> On May 6, 2017, at 8:51 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> 
> Yes, they can. But doing so leaks a unique identifier, which can be used
> to link sessions. When I look at the privacy implications as well as the
> replay attacks, there is real value in using a resume ticket only once.
> 
> Agreed.  Also, I think that's Ben Kaduk you're quoting :)

Agreed, on the general case, but a reminder that not all applications
benefit from such "privacy".  A sending SMTP MTA has a fixed public
IP address, and even sends a fixed fixed SMTP "HELO" name in the clear
before STARTTLS.  It might of course also send SNI in the clear, ...
and will typically perform cleartext DNS queries that identify the
peer.  There is exceedingly little opportunity or desire to hide client
and server host names.  So some applications will reuse session tickets
(while avoiding 0-RTT).

-- 
	Viktor.


From nobody Mon May  8 10:43:16 2017
Return-Path: <rlb@ipv.sx>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E7331128768 for <tls@ietfa.amsl.com>; Mon,  8 May 2017 10:43:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.499
X-Spam-Level: 
X-Spam-Status: No, score=-0.499 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.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 XLdcZuC9f-k3 for <tls@ietfa.amsl.com>; Mon,  8 May 2017 10:43:13 -0700 (PDT)
Received: from mail-wr0-x229.google.com (mail-wr0-x229.google.com [IPv6:2a00:1450:400c:c0c::229]) (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 1F6F2126C23 for <tls@ietf.org>; Mon,  8 May 2017 10:43:13 -0700 (PDT)
Received: by mail-wr0-x229.google.com with SMTP id w50so50716232wrc.0 for <tls@ietf.org>; Mon, 08 May 2017 10:43:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9g3T5uL7N4ZrQ+xOJv+f9Py7amjLWiJAiTbuvyHuUR4=; b=jTYhxPzplCNve341NIPq+3BNzdC1sEwIqSeZni9rUHi01W9IXMUCtSBNaWR5XK95J6 vD0DZhJA4LKn+BQnx4TZ3M11vBC36+KhZkwC+1C++6B5cL1vMNlJxAHAKkCRnr1Y03Z8 lltdPqKPnkYL5azSdPjZHNHjfN3drMaXj1r17ghcqZft7/GE6Ib7a4qKgDXksIjBBkNp GXD7h8N2mLR/wd5BFe/DfzC0t9xWOT6tWyO2hNO9otIQ5dLiEEufxv2n0JNwTPQdczu6 FXvjINvYjjacmu7tu2IzZQGJp/ibBnGsGQho2ncyuIxFpHcsEiLEv/n+cwK1CKq9Hw3L WgGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9g3T5uL7N4ZrQ+xOJv+f9Py7amjLWiJAiTbuvyHuUR4=; b=k6mAwJIN8UFd34xse6govPStHiJjcgqPMiAriQg2GJwtObPD9ZAn97OV2C2cCIgPBV 3wdO4RuX584+ZkKwHa+6CZZARIiR1dU+rx6OoNPAt0lDY1Xb7eQlPUEm8b26hUhJXstr srsdlFuWVkOGFYPwLDsx56/qGLGkx9JooIzJAKWIPtd/5EVoBr9xl5BtAMwqwItIZ0Kz yrornfQR6wk1qShErGWZ0ch//1RsqMZdr8mpWrM1OIvevt9i+/83sEONQkguJkUjLbz0 mG7DAfmHrlCwUPPduqqkHaZJCNvwQwuZvjJyI82Nmml1LyuCeNrVVx1Qtek1mu7B2YGL i69A==
X-Gm-Message-State: AN3rC/6EaQqHOx6xSH+V2WDqVANn79UGT8wXdzeXipQym8t11sYyC/fC 9MNXQv9aBQ1wbkmWoTLf1RYkgmw/zIBLP1s=
X-Received: by 10.223.142.135 with SMTP id q7mr40918651wrb.180.1494265391619;  Mon, 08 May 2017 10:43:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.179.68 with HTTP; Mon, 8 May 2017 10:43:10 -0700 (PDT)
In-Reply-To: <CABkgnnX-PZ-567gNAiwozzerB8_zMtEX46oNHXMXSdgF3D+6Tg@mail.gmail.com>
References: <CAMoSCWaqTUrQC0RLV+xN1HTnpmo2Q_vMmvi3r4CLn4GvMu-Ocw@mail.gmail.com> <CABkgnnX-PZ-567gNAiwozzerB8_zMtEX46oNHXMXSdgF3D+6Tg@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Mon, 8 May 2017 13:43:10 -0400
Message-ID: <CAL02cgQmNKAjSjHKuCXOX-EymVvWo6sMvWbiFxkcTbARiDYmTw@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Matt Caswell <frodo@baggins.org>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=f403045f4ec4de5288054f06c5f6
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/gYiZHqM3uKDVPrYqFs-0kzUHm2o>
Subject: Re: [TLS] OpenSSL now at draft-20
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 May 2017 17:43:15 -0000

--f403045f4ec4de5288054f06c5f6
Content-Type: text/plain; charset=UTF-8

On Wed, May 3, 2017 at 6:48 PM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> On 4 May 2017 at 02:29, Matt Caswell <frodo@baggins.org> wrote:
> > FYI, I have just made the necessary updates to bring the OpenSSL
> > master branch up to draft-20 compatibility. Please test!!
>
>
> That's timely.  I just landed -20 support in NSS.  It's on a branch
> because we're not switch-hitting and we don't want to upgrade Firefox
> just yet.
>
> See https://hg.mozilla.org/projects/nss/shortlog/NSS_TLS13_DRAFT19_BRANCH


... and I just landed -20 support in mint.

https://github.com/bifurcation/mint/pull/122

I haven't tried it with OpenSSL yet, but it works with Martin's branch of
NSS doing 1xRTT in both directions.

--Richard



>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 6:48 PM, Martin Thomson <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.thomson@=
gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><span class=3D"gmail-">On 4 May 2017 at 02:29, Matt Caswell &lt;=
<a href=3D"mailto:frodo@baggins.org">frodo@baggins.org</a>&gt; wrote:<br>
&gt; FYI, I have just made the necessary updates to bring the OpenSSL<br>
&gt; master branch up to draft-20 compatibility. Please test!!<br>
<br>
<br>
</span>That&#39;s timely.=C2=A0 I just landed -20 support in NSS.=C2=A0 It&=
#39;s on a branch<br>
because we&#39;re not switch-hitting and we don&#39;t want to upgrade Firef=
ox<br>
just yet.<br>
<br>
See <a href=3D"https://hg.mozilla.org/projects/nss/shortlog/NSS_TLS13_DRAFT=
19_BRANCH" rel=3D"noreferrer" target=3D"_blank">https://hg.mozilla.org/<wbr=
>projects/nss/shortlog/NSS_<wbr>TLS13_DRAFT19_BRANCH</a></blockquote><div><=
br></div><div>... and I just landed -20 support in mint.=C2=A0 <br></div><d=
iv><br></div><div><a href=3D"https://github.com/bifurcation/mint/pull/122">=
https://github.com/bifurcation/mint/pull/122</a></div><div><br></div><div>I=
 haven&#39;t tried it with OpenSSL yet, but it works with Martin&#39;s bran=
ch of NSS doing 1xRTT in both directions.</div><div><br></div><div>--Richar=
d<br></div><div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote=
" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);=
padding-left:1ex"><br>
<div class=3D"gmail-HOEnZb"><div class=3D"gmail-h5"><br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</div></div></blockquote></div><br></div></div>

--f403045f4ec4de5288054f06c5f6--


From nobody Mon May  8 19:33:31 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A178128D16 for <tls@ietfa.amsl.com>; Mon,  8 May 2017 19:33:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 WCCSuxPQnBEC for <tls@ietfa.amsl.com>; Mon,  8 May 2017 19:33:29 -0700 (PDT)
Received: from prod-mail-xrelay08.akamai.com (prod-mail-xrelay08.akamai.com [96.6.114.112]) by ietfa.amsl.com (Postfix) with ESMTP id F120A128BB6 for <tls@ietf.org>; Mon,  8 May 2017 19:33:28 -0700 (PDT)
Received: from prod-mail-xrelay08.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 3DC0E200029; Tue,  9 May 2017 02:33:28 +0000 (GMT)
Received: from prod-mail-relay09.akamai.com (prod-mail-relay09.akamai.com [172.27.22.68]) by prod-mail-xrelay08.akamai.com (Postfix) with ESMTP id 2779A200003; Tue,  9 May 2017 02:33:28 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1494297208; bh=unmgrX/IlCvcxeM6qlFSF1YWuI8UpUTyPaLZuxSqSks=; l=6072; h=To:References:Cc:From:Date:In-Reply-To:From; b=jTUcgzYQYkR0WVBQQMFzW+ghferbkDQH6pgGSdLpvYxlGDpf3xPvE7r/V4mieWxnM i/95UCPIQja+j/MzPnaCbEybdTu5cpGff0jclrC7L0SEQwfqkPoRvXv8M55CU7zB3r UHbU2AGLHMi+lwGjAd5Qob1QZgt2xgzYkEretLfQ=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay09.akamai.com (Postfix) with ESMTP id B0C611E0F6; Tue,  9 May 2017 02:33:27 +0000 (GMT)
To: Ilari Liusvaara <ilariliusvaara@welho.com>, =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <20170506095834.GA4355@LK-Perkele-V2.elisa-laajakaista.fi>
Cc: "tls@ietf.org" <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <8487b6ec-70e9-ef91-1aa8-5d9f9554499e@akamai.com>
Date: Mon, 8 May 2017 21:33:27 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170506095834.GA4355@LK-Perkele-V2.elisa-laajakaista.fi>
Content-Type: multipart/alternative; boundary="------------B9A237F7B482C650D8B2A5D2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/xTT8qh91vxWNWLK6DNxRefVCwkk>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 May 2017 02:33:30 -0000

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

On 05/06/2017 04:58 AM, Ilari Liusvaara wrote:
> On Fri, May 05, 2017 at 09:28:07AM -0700, Colm MacCÃ¡rthaigh wrote:
>> I wanted to start a separate thread on this, just to make some small
>> aspects of replay mitigating clear, because I'd like to make a case for TLS
>> providing a single-stream, which is what people seem to be doing anyway.
> <Snip a long mail>
>
> Couple points:
>
> - AFAIK, the 10 second or so figure in existing spec is a slop margin,
>   which means the replay window would be 20 seconds, not 10.

As the author of that text, I mostly intended it to be the total window,
not the slop margin.  But the main idea was to give an order of
magnitude, i.e., "shorter than minutes".

> - The size of the window depends on clock error margin and transport
>   delay margin. At 1s/day clock error margin, you need 14 second
>   window just from clock error.

Or you can accept full handshakes every couple hours.  Amortized that
may not be bad, if you have lots of connections.  Or you may only have
one connection every day ever, in which case it is noticeable.  It's
pretty situation-dependent.

> - It is not just low-power devices with really bad clocks. I have seen
>   20s per day(!) clock drift on high-power device that doesn't sleep.

Is there a problem with saying that devices with bad clocks talking to
beefy web servers don't get to do 0-RTT?  I don't see a problem with it.

> - So basically, the size of window is tradeoff with number of devices.

Yes.

> - That automatic wait on 0-RTT failure seems just the kind of feature
>   that gets disabled. Furthermore, 10 second idle on connection is
>   going to trigger quite a bit of connection timeouts.

I could believe that people would accept buffering data until the 1-RTT
handshake finishes (combined with rate limiting on the number of
connections with accepted 0-RTT data); I don't think people would accept
"wait the full clock skew allowance", though.

> - There seems to be no consideration how this interacts with 0-RTT
>   exporters (probably applications that accept 0-RTT will then use
>   0-RTT exporters for the entiere connection, and those exporters have
>   seriously weaker properties).
>

Yeah, the 0-RTT exporter feels like a footgun waiting to be used.

-Ben

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

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/06/2017 04:58 AM, Ilari Liusvaara wrote:<br>
    <blockquote
      cite="mid:20170506095834.GA4355@LK-Perkele-V2.elisa-laajakaista.fi"
      type="cite">
      <pre wrap="">On Fri, May 05, 2017 at 09:28:07AM -0700, Colm MacCÃ¡rthaigh wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">I wanted to start a separate thread on this, just to make some small
aspects of replay mitigating clear, because I'd like to make a case for TLS
providing a single-stream, which is what people seem to be doing anyway.
</pre>
      </blockquote>
      <pre wrap="">
&lt;Snip a long mail&gt;

Couple points:

- AFAIK, the 10 second or so figure in existing spec is a slop margin,
  which means the replay window would be 20 seconds, not 10.
</pre>
    </blockquote>
    <br>
    As the author of that text, I mostly intended it to be the total
    window, not the slop margin.Â  But the main idea was to give an order
    of magnitude, i.e., "shorter than minutes".<br>
    <br>
    <blockquote
      cite="mid:20170506095834.GA4355@LK-Perkele-V2.elisa-laajakaista.fi"
      type="cite">
      <pre wrap="">
- The size of the window depends on clock error margin and transport
  delay margin. At 1s/day clock error margin, you need 14 second
  window just from clock error.
</pre>
    </blockquote>
    <br>
    Or you can accept full handshakes every couple hours.Â  Amortized
    that may not be bad, if you have lots of connections.Â  Or you may
    only have one connection every day ever, in which case it is
    noticeable.Â  It's pretty situation-dependent.<br>
    <br>
    <blockquote
      cite="mid:20170506095834.GA4355@LK-Perkele-V2.elisa-laajakaista.fi"
      type="cite">
      <pre wrap="">
- It is not just low-power devices with really bad clocks. I have seen
  20s per day(!) clock drift on high-power device that doesn't sleep.
</pre>
    </blockquote>
    <br>
    Is there a problem with saying that devices with bad clocks talking
    to beefy web servers don't get to do 0-RTT?Â  I don't see a problem
    with it.<br>
    <br>
    <blockquote
      cite="mid:20170506095834.GA4355@LK-Perkele-V2.elisa-laajakaista.fi"
      type="cite">
      <pre wrap="">
- So basically, the size of window is tradeoff with number of devices.
</pre>
    </blockquote>
    <br>
    Yes.<br>
    <br>
    <blockquote
      cite="mid:20170506095834.GA4355@LK-Perkele-V2.elisa-laajakaista.fi"
      type="cite">
      <pre wrap="">
- That automatic wait on 0-RTT failure seems just the kind of feature
  that gets disabled. Furthermore, 10 second idle on connection is
  going to trigger quite a bit of connection timeouts.
</pre>
    </blockquote>
    <br>
    I could believe that people would accept buffering data until the
    1-RTT handshake finishes (combined with rate limiting on the number
    of connections with accepted 0-RTT data); I don't think people would
    accept "wait the full clock skew allowance", though.<br>
    <br>
    <blockquote
      cite="mid:20170506095834.GA4355@LK-Perkele-V2.elisa-laajakaista.fi"
      type="cite">
      <pre wrap="">
- There seems to be no consideration how this interacts with 0-RTT
  exporters (probably applications that accept 0-RTT will then use
  0-RTT exporters for the entiere connection, and those exporters have
  seriously weaker properties).

</pre>
    </blockquote>
    <br>
    Yeah, the 0-RTT exporter feels like a footgun waiting to be used.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------B9A237F7B482C650D8B2A5D2--


From nobody Mon May  8 21:45:22 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 280CB127136 for <tls@ietfa.amsl.com>; Mon,  8 May 2017 21:45:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.501
X-Spam-Level: 
X-Spam-Status: No, score=-0.501 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 l0dD8Dc58koX for <tls@ietfa.amsl.com>; Mon,  8 May 2017 21:45:18 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id 3777A1205D3 for <tls@ietf.org>; Mon,  8 May 2017 21:45:18 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 9FC72215BB; Tue,  9 May 2017 07:45:16 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id UEJMIe_MlL4W; Tue,  9 May 2017 07:45:16 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 650FF2313; Tue,  9 May 2017 07:45:16 +0300 (EEST)
Date: Tue, 9 May 2017 07:45:15 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Colm =?utf-8?Q?MacC=C3=A1rthaigh?= <colm@allcosts.net>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170509044515.GB8239@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <20170506095834.GA4355@LK-Perkele-V2.elisa-laajakaista.fi> <8487b6ec-70e9-ef91-1aa8-5d9f9554499e@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <8487b6ec-70e9-ef91-1aa8-5d9f9554499e@akamai.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/sNRfs9F3_kv7cskcsv72bxZQb9E>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 May 2017 04:45:20 -0000

On Mon, May 08, 2017 at 09:33:27PM -0500, Benjamin Kaduk wrote:
> On 05/06/2017 04:58 AM, Ilari Liusvaara wrote:
> > On Fri, May 05, 2017 at 09:28:07AM -0700, Colm MacCÃ¡rthaigh wrote:
> >> I wanted to start a separate thread on this, just to make some small
> >> aspects of replay mitigating clear, because I'd like to make a case for TLS
> >> providing a single-stream, which is what people seem to be doing anyway.
> > <Snip a long mail>
> >
> > Couple points:
> >
> > - It is not just low-power devices with really bad clocks. I have seen
> >   20s per day(!) clock drift on high-power device that doesn't sleep.
> 
> Is there a problem with saying that devices with bad clocks talking to
> beefy web servers don't get to do 0-RTT?  I don't see a problem with it.

Also, any device that has access to semi-accurate time (relative time
in protocols has other benefits, like not having increase magnitude with
time) could do first-order compensation, which already renders the clocks
pretty accurate, even if time comparision occurs relatively rarely.

> > - That automatic wait on 0-RTT failure seems just the kind of feature
> >   that gets disabled. Furthermore, 10 second idle on connection is
> >   going to trigger quite a bit of connection timeouts.
> 
> I could believe that people would accept buffering data until the 1-RTT
> handshake finishes (combined with rate limiting on the number of
> connections with accepted 0-RTT data); I don't think people would accept
> "wait the full clock skew allowance", though.

Did I misread the thread-starter proposal for waiting the allowance?

I think the early data provisioning already has 0-RTT buffer size, for
the case the server buffers the 0-RTT data (this buffering obviously
destroys the utility, but if it doesn't occur on every connection...)

> > - There seems to be no consideration how this interacts with 0-RTT
> >   exporters (probably applications that accept 0-RTT will then use
> >   0-RTT exporters for the entiere connection, and those exporters have
> >   seriously weaker properties).
> >
> 
> Yeah, the 0-RTT exporter feels like a footgun waiting to be used.

Unfortunately, looks like some are planning to use it, in ways
seriously broken unless the server does full replay-caching.


-Ilari


From nobody Mon May  8 22:08:09 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 54EDA127B52 for <tls@ietfa.amsl.com>; Mon,  8 May 2017 22:08:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.802
X-Spam-Level: 
X-Spam-Status: No, score=-0.802 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 cpdcLf9C5wsT for <tls@ietfa.amsl.com>; Mon,  8 May 2017 22:08:06 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (prod-mail-xrelay05.akamai.com [23.79.238.179]) by ietfa.amsl.com (Postfix) with ESMTP id A670912704A for <tls@ietf.org>; Mon,  8 May 2017 22:08:06 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id D8E00433451; Tue,  9 May 2017 05:08:05 +0000 (GMT)
Received: from prod-mail-relay10.akamai.com (prod-mail-relay10.akamai.com [172.27.118.251]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id C2B35433413; Tue,  9 May 2017 05:08:05 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1494306485; bh=afvA+yeLcwHZV9lEsxbKmBrOBEY4XrXgh8SxuPR1XM0=; l=4596; h=To:References:Cc:From:Date:In-Reply-To:From; b=LERGbUsH/QuETUl6SYDVwr9OKx8wlNIXv77yk+G3+BQr7KNTi5QsYr9+i5616qQcY xuaZP9to1jGQjGI25ylSSCVKIclH0MJpU2SfB0/aFAX3czDWvreJDxafc2rbEj8ODl /0ZX4thKmDJkXIez3sflRsPdcyRNWXAgX1vm3l4E=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id 7E6701FD16; Tue,  9 May 2017 05:08:05 +0000 (GMT)
To: Ilari Liusvaara <ilariliusvaara@welho.com>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <20170506095834.GA4355@LK-Perkele-V2.elisa-laajakaista.fi> <8487b6ec-70e9-ef91-1aa8-5d9f9554499e@akamai.com> <20170509044515.GB8239@LK-Perkele-V2.elisa-laajakaista.fi>
Cc: =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>, "tls@ietf.org" <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <7de26f98-84fe-3d65-a5fe-6b6f78efd981@akamai.com>
Date: Tue, 9 May 2017 00:08:05 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170509044515.GB8239@LK-Perkele-V2.elisa-laajakaista.fi>
Content-Type: multipart/alternative; boundary="------------E4F9D0CDBC7876D349F71BC1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/3C4OoUlG8B_0lkaNZFdNUxrLiUQ>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 May 2017 05:08:08 -0000

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

On 05/08/2017 11:45 PM, Ilari Liusvaara wrote:
> On Mon, May 08, 2017 at 09:33:27PM -0500, Benjamin Kaduk wrote:
>> On 05/06/2017 04:58 AM, Ilari Liusvaara wrote:
>>
>>> - That automatic wait on 0-RTT failure seems just the kind of feature
>>>   that gets disabled. Furthermore, 10 second idle on connection is
>>>   going to trigger quite a bit of connection timeouts.
>> I could believe that people would accept buffering data until the 1-RTT
>> handshake finishes (combined with rate limiting on the number of
>> connections with accepted 0-RTT data); I don't think people would accept
>> "wait the full clock skew allowance", though.
> Did I misread the thread-starter proposal for waiting the allowance?

No, I think you read it correctly (and I agree with you).
I have a more detailed reply to the original message in a compose
window, but it will not be done tonight.

> I think the early data provisioning already has 0-RTT buffer size, for
> the case the server buffers the 0-RTT data (this buffering obviously
> destroys the utility, but if it doesn't occur on every connection...)
>
>>> - There seems to be no consideration how this interacts with 0-RTT
>>>   exporters (probably applications that accept 0-RTT will then use
>>>   0-RTT exporters for the entiere connection, and those exporters have
>>>   seriously weaker properties).
>>>
>> Yeah, the 0-RTT exporter feels like a footgun waiting to be used.
> Unfortunately, looks like some are planning to use it, in ways
> seriously broken unless the server does full replay-caching.
>

:( :( :(

Clearly we should make sure their documents prominently note the
requirement for strong replay protection, but is there more we can do?

-Ben

--------------E4F9D0CDBC7876D349F71BC1
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/08/2017 11:45 PM, Ilari Liusvaara wrote:<br>
    <blockquote
      cite="mid:20170509044515.GB8239@LK-Perkele-V2.elisa-laajakaista.fi"
      type="cite">
      <pre wrap="">On Mon, May 08, 2017 at 09:33:27PM -0500, Benjamin Kaduk wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On 05/06/2017 04:58 AM, Ilari Liusvaara wrote:
</pre>
        <br>
      </blockquote>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">- That automatic wait on 0-RTT failure seems just the kind of feature
  that gets disabled. Furthermore, 10 second idle on connection is
  going to trigger quite a bit of connection timeouts.
</pre>
        </blockquote>
        <pre wrap="">
I could believe that people would accept buffering data until the 1-RTT
handshake finishes (combined with rate limiting on the number of
connections with accepted 0-RTT data); I don't think people would accept
"wait the full clock skew allowance", though.
</pre>
      </blockquote>
      <pre wrap="">
Did I misread the thread-starter proposal for waiting the allowance?
</pre>
    </blockquote>
    <br>
    No, I think you read it correctly (and I agree with you).<br>
    I have a more detailed reply to the original message in a compose
    window, but it will not be done tonight.<br>
    <br>
    <blockquote
      cite="mid:20170509044515.GB8239@LK-Perkele-V2.elisa-laajakaista.fi"
      type="cite">
      <pre wrap="">
I think the early data provisioning already has 0-RTT buffer size, for
the case the server buffers the 0-RTT data (this buffering obviously
destroys the utility, but if it doesn't occur on every connection...)

</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">- There seems to be no consideration how this interacts with 0-RTT
  exporters (probably applications that accept 0-RTT will then use
  0-RTT exporters for the entiere connection, and those exporters have
  seriously weaker properties).

</pre>
        </blockquote>
        <pre wrap="">
Yeah, the 0-RTT exporter feels like a footgun waiting to be used.
</pre>
      </blockquote>
      <pre wrap="">
Unfortunately, looks like some are planning to use it, in ways
seriously broken unless the server does full replay-caching.

</pre>
    </blockquote>
    <br>
    :( :( :(<br>
    <br>
    Clearly we should make sure their documents prominently note the
    requirement for strong replay protection, but is there more we can
    do?<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------E4F9D0CDBC7876D349F71BC1--


From nobody Tue May  9 09:00:57 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6AF512E76A for <tls@ietfa.amsl.com>; Tue,  9 May 2017 09:00:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 QOUtlpSL_pnW for <tls@ietfa.amsl.com>; Tue,  9 May 2017 09:00:40 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB87B1270A3 for <tls@ietf.org>; Tue,  9 May 2017 09:00:40 -0700 (PDT)
Received: from pps.filterd (m0050095.ppops.net [127.0.0.1]) by m0050095.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v49Fq7G4025406; Tue, 9 May 2017 17:00:38 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=jan2016.eng; bh=I2/T/zrQHxuu5mDIMJPvDCRQ544YFyQj2kVKMMTkRUE=; b=CaMMauCcC0ebmIB0DqTlsra5ZINjDxCIGScoGQdMetmgXhl06K0BkmZg1hIcesqbcFiH PRLN4gOngyiCDzdAp1mP6zlaKyYcQ9i/KZEJvsEQ+FZlEWOnjjLNRT8qC4+CC2eGzlR3 TtchRz2q2c07/1pjP0epkbA+BGs3SfYMCKpkL/eTU0Akx/t6s9Sxy1/GGapdIbp5C+zY ryrITGCraHTRLIaqxat3lCkBVJoyys3trs9HuXTzbggFeCtDDbwBmLBP/xaTz9Yt6mxR F5ZTISEq3oy0L7k2t0Pu3gA1eyGFh74UH1aAyIN1YE8UPVB2YCt6ZXZ6rcjOlsO7PtfK RA== 
Received: from prod-mail-ppoint4 ([96.6.114.87]) by m0050095.ppops.net-00190b01. with ESMTP id 2abatx2j48-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 May 2017 17:00:38 +0100
Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v49FuGD3031297; Tue, 9 May 2017 12:00:36 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.30]) by prod-mail-ppoint4.akamai.com with ESMTP id 2a99tvyyhw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 09 May 2017 12:00:36 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb4.msg.corp.akamai.com (172.27.123.104) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 9 May 2017 12:00:35 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1263.000; Tue, 9 May 2017 12:00:35 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] The case for a single stream of data
Thread-Index: AQHSxbylbnClX7eBZUm2Z/AGF1sif6HsLwTA
Date: Tue, 9 May 2017 16:00:34 +0000
Message-ID: <9f5858c8d86742b9aa82bdac46590c92@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com>
In-Reply-To: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.36.228]
Content-Type: multipart/alternative; boundary="_000_9f5858c8d86742b9aa82bdac46590c92usma1exdag1mb1msgcorpak_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-09_13:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705090085
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-09_13:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705090085
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/KcifOCYXwkph8sm1lF2S7QfzAsM>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 May 2017 16:00:48 -0000

--_000_9f5858c8d86742b9aa82bdac46590c92usma1exdag1mb1msgcorpak_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

VG8gbWUsIHRoZSBhcmd1bWVudCBhZ2FpbnN0IHRoaXMgY29tZXMgZG93biB0byB0aGlzOiAgVGhl
IDBSVFQgZGF0YSBoYXMgZGlmZmVyZW50IHNlY3VyaXR5IHByb3BlcnRpZXMgdGhhbiB0aGUgcG9z
dC1oYW5kc2hha2UgZGF0YSwgYW5kIFRMUyBpbXBsZW1lbnRhdGlvbnMgc2hvdWxkIG5vdCBoaWRl
IHRoYXQgZGlmZmVyZW5jZSBmcm9tIGFwcGxpY2F0aW9ucy4NCg0KLS0NClNlbmlvciBBcmNoaXRl
Y3QsIEFrYW1haSBUZWNobm9sb2dpZXMNCk1lbWJlciwgT3BlblNTTCBEZXYgVGVhbQ0KSU06IHJp
Y2hzYWx6QGphYmJlci5hdCBUd2l0dGVyOiBSaWNoU2Fseg0K

--_000_9f5858c8d86742b9aa82bdac46590c92usma1exdag1mb1msgcorpak_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv
ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTUgKGZpbHRlc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dHlsZT0iZm9udC1zaXpl
OjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LHNhbnMtc2VyaWYiPklNOiBy
aWNoc2FsekBqYWJiZXIuYXQgVHdpdHRlcjogUmljaFNhbHo8bzpwPjwvbzpwPjwvc3Bhbj48L3A+
DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_9f5858c8d86742b9aa82bdac46590c92usma1exdag1mb1msgcorpak_--


From nobody Tue May  9 09:26:06 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B2A1129ADF for <tls@ietfa.amsl.com>; Tue,  9 May 2017 09:26:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_20=-0.001] autolearn=ham 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 1SUMKy_Gy6Us for <tls@ietfa.amsl.com>; Tue,  9 May 2017 09:26:03 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D176B1294CC for <tls@ietf.org>; Tue,  9 May 2017 09:26:02 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id DE3D77A32F1 for <tls@ietf.org>; Tue,  9 May 2017 16:26:01 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <9f5858c8d86742b9aa82bdac46590c92@usma1ex-dag1mb1.msg.corp.akamai.com>
Date: Tue, 9 May 2017 12:26:01 -0400
Content-Transfer-Encoding: 7bit
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <3510843A-8628-4859-B627-55C4EC7111D9@dukhovni.org>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <9f5858c8d86742b9aa82bdac46590c92@usma1ex-dag1mb1.msg.corp.akamai.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/XLw7VysV6Kq1EVIxCEhTFhiqBV8>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 May 2017 16:26:04 -0000

> On May 9, 2017, at 12:00 PM, Salz, Rich <rsalz@akamai.com> wrote:
> 
> To me, the argument against this comes down to this:  The 0RTT data has
> different security properties than the post-handshake data, and TLS
> implementations should not hide that difference from applications.

What would a receiver API then look like?  Would it be something like:

  * Repeatedly request 0-RTT data until none-remains, if none expected
    or desired, fail if any found.

  * Then repeatedly request 1-RTT data via existing TLS APIs

  * Fail if 1-RTT data is requested and not all the 0-RTT data has yet
    been consumed?

Or did you have something else in mind?  What are your thoughts on the
sender side?  Just enable 0-RTT and have the toolkit send as much 0-RTT
data as "fits" and the rest 1-RTT, or an explicit request for a specific
0-RTT payload?

-- 
	Viktor.


From nobody Tue May  9 09:27:42 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 26A4A129C1E for <tls@ietfa.amsl.com>; Tue,  9 May 2017 09:27:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 6veR4QCSELKv for <tls@ietfa.amsl.com>; Tue,  9 May 2017 09:27:39 -0700 (PDT)
Received: from mail-yb0-x229.google.com (mail-yb0-x229.google.com [IPv6:2607:f8b0:4002:c09::229]) (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 1E7C112948B for <tls@ietf.org>; Tue,  9 May 2017 09:27:39 -0700 (PDT)
Received: by mail-yb0-x229.google.com with SMTP id p143so1570983yba.2 for <tls@ietf.org>; Tue, 09 May 2017 09:27:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3jnYuC+eXzN+ENNaH5mTkVjlvZMOfq1U2VKOp+lAiV8=; b=NLjshpvv33wO04XGJpvGCpFtkkDfBo2H3oTFv3ulS/X0JhiF9m9Jp4JaDBPsK4mQkV +l90QhOlc7VrvITn645a+bvYEQHKiQkh15z/NVMvY5lgH5m0US9fojVeguhm1kOZTKBg 2KnCQLOvjiFw8fKamAuEA0zSVi3DOxuu5AVFNeusHT4iJu0BiNNvUMOVYY2B4iifPuST p7O6tSS1uiQKPkDoOJ6sDSJyv9xxmwnYFSkqEYAcY6lxGlhfNOwqwf8nHJoE6e5EhrAO X4ZoESbDxV3KHE2854T+52Fz1qnsJf1julU9bGIuT049NDITGQH/L6Ax88SMSziMKezR iluA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3jnYuC+eXzN+ENNaH5mTkVjlvZMOfq1U2VKOp+lAiV8=; b=HykJzeRQiadt2qTXhwgYyWPSDdWGesudsNMnTOgiFaUJ3dt6SRuCyBYIE2yJIhhkm+ yQHX65VVzkdbiTJDXjDAUTLsXLETf6WrkCYaIvfUl8vfKwNVyx/layr4BTmQZdwq8Zpz 4mZvgyrZ30KHclaEzJBArCoy5dUF3KHkNk6LLHR6xnLyF0lCX4v4L0+hCkH80IoMu76q 2i07DhYSxMbMm+nu0LHfw3iCQD2IglbK56C/e3fbkkUqRCe2eElxGwRCsF12Os2IooGq /D3fa8NOuVvCTd+8bVLu4ZI45lt7KTXOBgdAJLn2Iv+fm25uIBaHQ3N+2pfvgXdBbaaV QN8w==
X-Gm-Message-State: AODbwcDfI5fvQHkFRy7Af3V7Rv/D6gBmMV9e9syHKwBqjbQLcjPXo11J HQQASEvWVmsKfFIzSJFseImiRdPtkA==
X-Received: by 10.37.16.212 with SMTP id 203mr897340ybq.90.1494347258345; Tue, 09 May 2017 09:27:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Tue, 9 May 2017 09:27:37 -0700 (PDT)
In-Reply-To: <9f5858c8d86742b9aa82bdac46590c92@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <9f5858c8d86742b9aa82bdac46590c92@usma1ex-dag1mb1.msg.corp.akamai.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 9 May 2017 09:27:37 -0700
Message-ID: <CAAF6GDcGQ0YTYFFD+HVD71O9GCW7V3r_UNce1LQsHF1Zs9aBLQ@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11c0ff0481c5b4054f19d514
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/KtSFVDfr08k5TTJNGogyR6v3mf4>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 May 2017 16:27:41 -0000

--001a11c0ff0481c5b4054f19d514
Content-Type: text/plain; charset=UTF-8

On Tue, May 9, 2017 at 9:00 AM, Salz, Rich <rsalz@akamai.com> wrote:

> To me, the argument against this comes down to this:  The 0RTT data has
> different security properties than the post-handshake data, and TLS
> implementations should not hide that difference from applications.
>

I absolutely agree with sentiment, but the first problem is that we've been
concentrating on the server side, where it's actually impossible.

It's actually impossible because a 0RTT request may be retried as a 1RTT
request and there's no way to correlate the two. So when the 1RTT request
shows up, we can't go "This might be a repeat" - for example the X- header
trick doesn't work in this case. It's subtle, which makes it even more
likely to trip on it.

I think the only approach that actually rigorously works is the client-side
one, that I outlined. That approach isn't very relevant to browsers, who
plan to retry aggressively anyway, but I think it's the only approach that
would work for a careful client. Interestingly, it doesn't really need
separate streams for the signaling to work. Though it'd be great to see a
formal proof in something like F*, Coq or TLA+.

The second problem is that middle-boxes can break any signaling. For
example a CDN or TLS accelerator may enable 0-RTT towards the back-end
origin without enabling it to the original client. In this model, the
client has *no* way to reason about retries or replay. That's really very
broken and a serious violation of the transport layer contract. I think we
should be more prescriptive here and say that if there are to be these
kinds of middle-boxes, then they need to honor maximum replay windows, and
they need to only enable 0-RTT from the client back. (e.g. client enabled,
but origin disabled is actually ok, but not the other way around).

In going through all of this, I'm assuming that the server at least has a
robust mitigation against 0-RTT replay, because not doing so is clearly
broken and I'm even entertaining how it can be supported. That stateless
form of mitigation is insecure and should die. If there's a notion that
server side signaling should be kept to facilitate stateless mitigation
(which permits millions of replays) ... we shouldn't have any time for
that, because no-one has a proposal for how the secrecy attacks can be
mitigated.


-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 9, 2017 at 9:00 AM, Salz, Rich <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:rsalz@akamai.com" target=3D"_blank">rsalz@akamai.com</a>&gt;</s=
pan> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"m_6990255537679145319WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">To me, the argument against this comes down to this=
:=C2=A0 The 0RTT data has different security properties than the post-hands=
hake data, and TLS implementations should not hide
 that difference from applications.</span></p></div></div></blockquote><div=
><br></div><div>I absolutely agree with sentiment, but the first problem is=
 that we&#39;ve been concentrating on the server side, where it&#39;s actua=
lly impossible.=C2=A0</div><div><br></div><div>It&#39;s actually impossible=
 because a 0RTT request may be retried as a 1RTT request and there&#39;s no=
 way to correlate the two. So when the 1RTT request shows up, we can&#39;t =
go &quot;This might be a repeat&quot; - for example the X- header trick doe=
sn&#39;t work in this case. It&#39;s subtle, which makes it even more likel=
y to trip on it.=C2=A0</div><div><br></div><div>I think the only approach t=
hat actually rigorously works is the client-side one, that I outlined. That=
 approach isn&#39;t very relevant to browsers, who plan to retry aggressive=
ly anyway, but I think it&#39;s the only approach that would work for a car=
eful client. Interestingly, it doesn&#39;t really need separate streams for=
 the signaling to work. Though it&#39;d be great to see a formal proof in s=
omething like F*, Coq or TLA+. =C2=A0</div><div><br></div><div>The second p=
roblem is that middle-boxes can break any signaling. For example a CDN or T=
LS accelerator may enable 0-RTT towards the back-end origin without enablin=
g it to the original client. In this model, the client has *no* way to reas=
on about retries or replay. That&#39;s really very broken and a serious vio=
lation of the transport layer contract. I think we should be more prescript=
ive here and say that if there are to be these kinds of middle-boxes, then =
they need to honor maximum replay windows, and they need to only enable 0-R=
TT from the client back. (e.g. client enabled, but origin disabled is actua=
lly ok, but not the other way around).=C2=A0<br><br>In going through all of=
 this, I&#39;m assuming that the server at least has a robust mitigation ag=
ainst 0-RTT replay, because not doing so is clearly broken and I&#39;m even=
 entertaining how it can be supported. That stateless form of mitigation is=
 insecure and should die. If there&#39;s a notion that server side signalin=
g should be kept to facilitate stateless mitigation (which permits millions=
 of replays) ... we shouldn&#39;t have any time for that, because no-one ha=
s a proposal for how the secrecy attacks can be mitigated.=C2=A0</div><div>=
<br></div></div><div><br></div>-- <br><div class=3D"gmail_signature" data-s=
martmail=3D"gmail_signature">Colm</div>
</div></div>

--001a11c0ff0481c5b4054f19d514--


From nobody Tue May  9 09:31:49 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E67212DDD2 for <tls@ietfa.amsl.com>; Tue,  9 May 2017 09:31:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 gx8uM30djIP5 for <tls@ietfa.amsl.com>; Tue,  9 May 2017 09:31:45 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 65CC112948B for <tls@ietf.org>; Tue,  9 May 2017 09:31:45 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v49GRG6G018109 for <tls@ietf.org>; Tue, 9 May 2017 17:31:43 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=Ijb/HbJbMxlwEFdfgQ36Uyrl1o6oQUmKhzEavWiYKVM=; b=AWrHUiXBOFgKkaUfotOBs0pQMPdHYrVKmeQhL93uvgkgMBwK4GXRzWryzgITzB/e5VmZ Z5O3j4EMJjyWGdFVwg9TjWTeTj7C240dYTbIGiZXCO6Ba5Vyl+BWwj+vCfSGJcQs4AdG hZ4kDgLZqb00i594oAXhB4OsSyPgSeRD5ZKYdTvP0WAqtoCWJo7VvDBqNRVAiYt1wiUt 514uGQm3dsPIJx7fvoqv2s78j9CQYTB/NHbJ1rjbz2iCgBCpFKZxq9vG9w5MuRt65G7H cgpIitceNdjVI57L2QD6KR+6wBxtg2WdY2pOl7hOIt84wn3xDo4VLopzGcqaB+4owoBt ww== 
Received: from prod-mail-ppoint1 (a184-51-33-18.deploy.static.akamaitechnologies.com [184.51.33.18] (may be forged)) by m0050096.ppops.net-00190b01. with ESMTP id 2abcamhx6m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <tls@ietf.org>; Tue, 09 May 2017 17:31:42 +0100
Received: from pps.filterd (prod-mail-ppoint1.akamai.com [127.0.0.1]) by prod-mail-ppoint1.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v49GQ0ll017959 for <tls@ietf.org>; Tue, 9 May 2017 12:31:42 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.33]) by prod-mail-ppoint1.akamai.com with ESMTP id 2a99tudfnw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <tls@ietf.org>; Tue, 09 May 2017 12:31:42 -0400
Received: from USMA1EX-DAG1MB5.msg.corp.akamai.com (172.27.123.105) by usma1ex-dag1mb4.msg.corp.akamai.com (172.27.123.104) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 9 May 2017 12:31:40 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb5.msg.corp.akamai.com (172.27.123.105) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 9 May 2017 12:31:39 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1263.000; Tue, 9 May 2017 12:31:39 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: TLS WG <tls@ietf.org>
Thread-Topic: [TLS] The case for a single stream of data
Thread-Index: AQHSxbylbnClX7eBZUm2Z/AGF1sif6HsLwTAgABKdYD//73KwA==
Date: Tue, 9 May 2017 16:31:39 +0000
Message-ID: <1a5362f76c8e445ea03c425741790177@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <9f5858c8d86742b9aa82bdac46590c92@usma1ex-dag1mb1.msg.corp.akamai.com> <3510843A-8628-4859-B627-55C4EC7111D9@dukhovni.org>
In-Reply-To: <3510843A-8628-4859-B627-55C4EC7111D9@dukhovni.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.36.228]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-09_13:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705090087
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-09_13:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705090087
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/P2VbWNS9YeLpLdkqOge2HVRa4NY>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 May 2017 16:31:48 -0000

> What would a receiver API then look like?  Would it be something like:
...
> Or did you have something else in mind?  What are your thoughts on the
> sender side?  Just enable 0-RTT and have the toolkit send as much 0-RTT d=
ata
> as "fits" and the rest 1-RTT, or an explicit request for a specific 0-RTT=
 payload?

As implemented in OpenSSL; see=20
   https://www.openssl.org/docs/manmaster/man3/SSL_read_early_data.html
(which also describes the "write" part, and the query and control functions=
.)


From nobody Tue May  9 09:41:29 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90837129B62 for <tls@ietfa.amsl.com>; Tue,  9 May 2017 09:41:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 u-v5k12muXTl for <tls@ietfa.amsl.com>; Tue,  9 May 2017 09:41:26 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6976F1279EB for <tls@ietf.org>; Tue,  9 May 2017 09:41:25 -0700 (PDT)
Received: from pps.filterd (m0050095.ppops.net [127.0.0.1]) by m0050095.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v49GbnHq007385; Tue, 9 May 2017 17:41:23 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=eii5/1qWebsUzDWn4cdlE0viVJOtXdiq4Oop025AleU=; b=DsMtK/fEo6GPRn/RJcGCIOQ8yvZ5Eisc1PppnTMt1E0Z9NVwFFsvKdlgjHPBBj5gM7iF 7wKql0vfSZBWHU9aRx3LXhARtgXTueD1RXsXUGABlooVDN3RgZcfEc/oHBIWQQ7bIWZM h5CYYeR63dku6K4BbTYZCtzsLc2z1+dZ+rI1sFfqi/AYJC6MfDxLvgqnDK41VDsjtIzN 0EX/H7LlVcIN+2t7INpmQQOt6ucITw8MXGdPU6L8YlAE2dBB4VWJYuUzzuO43ayT0LGT ZoMS2poQPoDP6wROTn3I9aRKfR1fe1TG0VaNJaEmDuZvw3nG6JJXXEvb43vX+H9OQ8fo 7A== 
Received: from prod-mail-ppoint2 (a184-51-33-19.deploy.static.akamaitechnologies.com [184.51.33.19] (may be forged)) by m0050095.ppops.net-00190b01. with ESMTP id 2abatx2tuv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 May 2017 17:41:23 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v49Ge3Xn002944; Tue, 9 May 2017 12:41:21 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.30]) by prod-mail-ppoint2.akamai.com with ESMTP id 2a99tunhd0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 09 May 2017 12:41:21 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb2.msg.corp.akamai.com (172.27.123.102) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 9 May 2017 12:41:20 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1263.000; Tue, 9 May 2017 12:41:20 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>
CC: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] The case for a single stream of data
Thread-Index: AQHSxbylbnClX7eBZUm2Z/AGF1sif6HsLwTAgABK54D//79nIA==
Date: Tue, 9 May 2017 16:41:19 +0000
Message-ID: <6ce1dc8757fa4f6693263c8e4f06f277@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <9f5858c8d86742b9aa82bdac46590c92@usma1ex-dag1mb1.msg.corp.akamai.com> <CAAF6GDcGQ0YTYFFD+HVD71O9GCW7V3r_UNce1LQsHF1Zs9aBLQ@mail.gmail.com>
In-Reply-To: <CAAF6GDcGQ0YTYFFD+HVD71O9GCW7V3r_UNce1LQsHF1Zs9aBLQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.36.228]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-09_13:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705090088
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-09_13:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705090089
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/_LHXZs6boNy1IGgr-aJCqFsoygs>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 May 2017 16:41:28 -0000

PiBJdCdzIGFjdHVhbGx5IGltcG9zc2libGUgYmVjYXVzZSBhIDBSVFQgcmVxdWVzdCBtYXkgYmUg
cmV0cmllZCBhcyBhIDFSVFQgcmVxdWVzdCBhbmQgdGhlcmUncyBubyB3YXkgdG8gY29ycmVsYXRl
IHRoZSB0d28uIFNvIHdoZW4gdGhlIDFSVFQgcmVxdWVzdCBza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zIG9yIHJlcGxheS4NCg0KQSBDRE4gaXMgbm90IGEgbWlkZGxl
Ym94LiAgQXMgZmFyIGFzIHRoZSBjbGllbnQgaXMgY29uY2VybmVkIGEgQ0ROICppcyogdGhlIG9y
aWdpbi4gIFRoZSBhZ3JlZW1lbnQgaW4tcGxhY2UgYmV0d2VlbiB0aGUgQ0ROIGFuZCB0aGUgb3Jp
Z2luIGlzIG91dCBvZiBzY29wZSBoZXJlLiAgQSBUTFMgYWNjZWxlcmF0b3IsIHdoaWNoIGlzIGEg
dG9vbCB0byBoZWxwIGFuIG9yaWdpbiB3aXRoIGl0cyAqbG9jYWwqIHBlcmZvcm1hbmNlLCBvciBv
dGhlciBsb3dlci1sYXllciAoaW4gdGhlIEwzIEw1IGV0YyBzZW5zZSkgYXNzaXN0IGlzIHdpdGhp
biBzY29wZS4gIERvZXMgdGhhdCBtYWtlIHNlbnNlPw0KDQo+IFRoYXQncyByZWFsbHkgdmVyeSBi
cm9rZW4gYW5kIGEgc2VyaW91cyB2aW9sYXRpb24gb2YgdGhlIHRyYW5zcG9ydCBsYXllciBjb250
cmFjdC4NCg0KT25seSBpZiB5b3UgYmVsaWV2ZSBDRE4gaXMgYSBtaWRkbGVib3guICBUaGUgdHJh
bnNwb3J0IGxheWVyIGNvbnRyYWN0IGlzIG92ZXJyaWRkZW4gYnkgbGVnYWwgY29udHJhY3RzIG9y
IEVVTEEgOikNCg0KCS9yJA0KDQo=


From nobody Tue May  9 10:28:33 2017
Return-Path: <Andrei.Popov@microsoft.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D6A2C1294F3 for <tls@ietfa.amsl.com>; Tue,  9 May 2017 10:28:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.802
X-Spam-Level: 
X-Spam-Status: No, score=-4.802 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 dlua_Ttps5S9 for <tls@ietfa.amsl.com>; Tue,  9 May 2017 10:28:30 -0700 (PDT)
Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0125.outbound.protection.outlook.com [104.47.42.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D1F1127076 for <tls@ietf.org>; Tue,  9 May 2017 10:28:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=JIDU28dNwAZRgTeirApLXMewg3UgqJz+Ae8L8705pDQ=; b=Q+7XI1vnyHF/tmjdBIpVVEPLUEWL9sGIcZK6AL9IurYUfXw/6szTC06bQ9TFjp5uF/pINL+gnfP2nGU5RBtqKDPeyh3/rjRi1YHM9DUGlzGYNMZqwzkla1S2RKWxk0N87OsHbfvt2Ohu/83AVvaP2nA85iDuLBxzNsIaXkFcdIo=
Received: from DM2PR21MB0091.namprd21.prod.outlook.com (10.161.141.14) by DM2PR21MB0092.namprd21.prod.outlook.com (10.161.141.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.0; Tue, 9 May 2017 17:28:27 +0000
Received: from DM2PR21MB0091.namprd21.prod.outlook.com ([10.161.141.14]) by DM2PR21MB0091.namprd21.prod.outlook.com ([10.161.141.14]) with mapi id 15.01.1101.000; Tue, 9 May 2017 17:28:27 +0000
From: Andrei Popov <Andrei.Popov@microsoft.com>
To: "Salz, Rich" <rsalz@akamai.com>, =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>
CC: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] The case for a single stream of data
Thread-Index: AQHSxbyr6+FqrvsOD063PUQX/Ho2+aHsL04AgAAHj4CAAAPUgIAAC1hQ
Date: Tue, 9 May 2017 17:28:27 +0000
Message-ID: <DM2PR21MB0091155532C3298513B970508CEF0@DM2PR21MB0091.namprd21.prod.outlook.com>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <9f5858c8d86742b9aa82bdac46590c92@usma1ex-dag1mb1.msg.corp.akamai.com> <CAAF6GDcGQ0YTYFFD+HVD71O9GCW7V3r_UNce1LQsHF1Zs9aBLQ@mail.gmail.com> <6ce1dc8757fa4f6693263c8e4f06f277@usma1ex-dag1mb1.msg.corp.akamai.com>
In-Reply-To: <6ce1dc8757fa4f6693263c8e4f06f277@usma1ex-dag1mb1.msg.corp.akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: akamai.com; dkim=none (message not signed) header.d=none;akamai.com; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [2001:4898:80e8:3::4ca]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM2PR21MB0092; 7:ET6mYxVR2sdoNBeyPib+5P8Fu7pKqiIJy/8hYLIMrqxl0o3ckGxZ+M5H8g3R7yN6QLbnZsFi42r0y7IN8KdfVVa/mtqpOW7vF115I6frG5ps1QH5PhGsTF9mPCFxrEvfiuuzgoGvVw/sQhDlmnesCNNuHs52jA3wzMQzWraG/T0snipilkVMS8bPKRBiij2Dt1O2FR1U0JxBXk/elU/VS7wemU1u7U2euVNl9RcDyKTCwavAiO9+PNbZZXcotU9YlIJJHM4x3YYmnDk+fBcUbSr0o76+0+p7qcWXS5R9l0H1yY4D4PARaTb3OflNpjod76HIjg3kzcXOFUR7MZTz5Ka9olhry7Ea6r2nRTHgkVI=
x-ms-traffictypediagnostic: DM2PR21MB0092:
x-ms-office365-filtering-correlation-id: 04ca2c15-9950-449c-40a7-08d49700cdbe
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081)(201702281549075); SRVR:DM2PR21MB0092; 
x-microsoft-antispam-prvs: <DM2PR21MB009261C9E2BB8663E766C1028CEF0@DM2PR21MB0092.namprd21.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(192374486261705);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700036)(100105000095)(100000701036)(100105300095)(100000702036)(100105100095)(61425038)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703036)(100105400095)(93006095)(93001095)(6055026)(61426038)(61427038)(6041248)(20161123555025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(6072148)(100000704036)(100105200095)(100000705036)(100105500095); SRVR:DM2PR21MB0092; BCL:0; PCL:0; RULEID:(100000800036)(100110000095)(100000801036)(100110300095)(100000802036)(100110100095)(100000803036)(100110400095)(100000804036)(100110200095)(100000805036)(100110500095); SRVR:DM2PR21MB0092; 
x-forefront-prvs: 0302D4F392
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39840400002)(39860400002)(39450400003)(39410400002)(39400400002)(39850400002)(33656002)(3660700001)(77096006)(93886004)(6116002)(6506006)(2950100002)(3280700002)(2906002)(8936002)(81166006)(8676002)(229853002)(2900100001)(86362001)(5660300001)(189998001)(9686003)(74316002)(38730400002)(478600001)(99286003)(10290500003)(122556002)(76176999)(7696004)(54356999)(6436002)(50986999)(53936002)(5005710100001)(10090500001)(6246003)(7736002)(305945005)(55016002)(4326008)(25786009)(8990500004); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR21MB0092; H:DM2PR21MB0091.namprd21.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2017 17:28:27.1799 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR21MB0092
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/pnk_2SmYGlhtYXHmYvTXi7tp8_M>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 May 2017 17:28:32 -0000

PiBUbyBtZSwgdGhlIGFyZ3VtZW50IGFnYWluc3QgdGhpcyBjb21lcyBkb3duIHRvIHRoaXM6ICBU
aGUgMFJUVCBkYXRhIGhhcyBkaWZmZXJlbnQgc2VjdXJpdHkgcHJvcGVydGllcyB0aGFuIHRoZSBw
b3N0LWhhbmRzaGFrZSBkYXRhLCBhbmQgVExTIGltcGxlbWVudGF0aW9ucyBzaG91bGQgbm90IGhp
ZGUgdGhhdCBkaWZmZXJlbmNlIGZyb20gYXBwbGljYXRpb25zLg0KVGhpcyBpcyB0cnVlLCBhbmQg
ZWFybHkgb24gdGhlcmUgc2VlbWVkIHRvIGJlIGdlbmVyYWwgYWdyZWVtZW50IHRoYXQgMC1SVFQg
ZGF0YSB3b3VsZCByZXF1aXJlIGV4cGxpY2l0IG9wdC1pbiBmcm9tIHRoZSBjYWxsZXIsIGUuZy4g
dmlhIG5ldyBBUEkgc3VyZmFjZS4NCg0KPiBPbmNlIHRoZSBpbml0aWFsIFNTTF93cml0ZV9lYXJs
eV9kYXRhKCkgY2FsbCBoYXMgY29tcGxldGVkIHN1Y2Nlc3NmdWxseSB0aGUgY2xpZW50IG1heSBp
bnRlcmxlYXZlIGNhbGxzIHRvIFNTTF9yZWFkX2V4KDMpIGFuZCBTU0xfcmVhZCgzKSB3aXRoIGNh
bGxzIHRvIFNTTF93cml0ZV9lYXJseV9kYXRhKCkgYXMgcmVxdWlyZWQuDQpJJ20gY3VyaW91cyB3
aHkgdGhlIGNsaWVudCBkb2VzIG5vdCBoYXZlIHRvIGNhbGwgU1NMX3JlYWRfZWFybHlfZGF0YSBp
bnN0ZWFkIG9mIHRoZSBub3JtYWwgU1NMX3JlYWQgaW4gdGhpcyBjYXNlLg0KDQpDaGVlcnMsDQoN
CkFuZHJlaQ0K


From nobody Tue May  9 10:30:46 2017
Return-Path: <roland@zinks.de>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B93E8129BA4 for <tls@ietfa.amsl.com>; Tue,  9 May 2017 10:30:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=zinks.de
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 5DoR6uno9kDy for <tls@ietfa.amsl.com>; Tue,  9 May 2017 10:30:42 -0700 (PDT)
Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 939AA129C1E for <tls@ietf.org>; Tue,  9 May 2017 10:30:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1494351039; l=1602; s=domk; d=zinks.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version: Date:From:References:To:Subject; bh=4I8JnOGKnxaZ+vkqcWJjNDaAPFLgIGDU0bxRSQJzDxw=; b=F02EhvfpE3QCNXZYf49bevl77qpcVQp8KD0T4xzqkeoId/umSJaiVO2zXd7i6GIWGd BsNhWd/X8FEhlhdMnvcebQWcxQGI3Dn0hNopKgWmJNUiTLog5X8B/bV+JSnc067DW8eY F1GoQ0EP5AcPlrvlW0PjYMUg5lF5oU7ghUdkU=
X-RZG-AUTH: :PmMIdE6sW+WWP9q/oR3Lt+I+9KAK33vRJaCwLQNJWW4p8jDXe5M9gWO76GPk
X-RZG-CLASS-ID: mo00
Received: from [10.10.10.91] (p57B96B9B.dip0.t-ipconnect.de [87.185.107.155]) by smtp.strato.de (RZmta 40.6 DYNA|AUTH) with ESMTPSA id n06cc1t49HUcnI8 (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for <tls@ietf.org>; Tue, 9 May 2017 19:30:38 +0200 (CEST)
To: tls@ietf.org
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <9f5858c8d86742b9aa82bdac46590c92@usma1ex-dag1mb1.msg.corp.akamai.com> <CAAF6GDcGQ0YTYFFD+HVD71O9GCW7V3r_UNce1LQsHF1Zs9aBLQ@mail.gmail.com> <6ce1dc8757fa4f6693263c8e4f06f277@usma1ex-dag1mb1.msg.corp.akamai.com>
From: Roland Zink <roland@zinks.de>
Message-ID: <5a5e0448-1b1a-1b92-e22b-f4c095f2bfbd@zinks.de>
Date: Tue, 9 May 2017 19:30:40 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <6ce1dc8757fa4f6693263c8e4f06f277@usma1ex-dag1mb1.msg.corp.akamai.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/fvb85KYwsMxN4PJFECI8PxCI2hc>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 May 2017 17:30:45 -0000

Am 09.05.2017 um 18:41 schrieb Salz, Rich:
> The second problem is that middle-boxes can break any signaling. For example a CDN or TLS accelerator may enable 0-RTT towards the back-end origin without enabling it to the original client. In this model, the client has *no* way to reason about retries or replay.
> A CDN is not a middlebox.  As far as the client is concerned a CDN *is* the origin.  The agreement in-place between the CDN and the origin is out of scope here.  A TLS accelerator, which is a tool to help an origin with its *local* performance, or other lower-layer (in the L3 L5 etc sense) assist is within scope.  Does that make sense?

Depends on how you look on this. For TLS the CDN is the origin. For an 
end user the CDN is often a third party which means some unknown 
entities get access to potential private data. When this is on another 
country this may include foreign official entities in addition to the 
3rd party company itself. Really bad is when the user is not informed at 
all, e.g. the page URL doesn't show the CDN (or ad or tracking) company. 
For a mass surveillance just monitor a few tracking, advertising or CDN 
companies and you will get most of the URLs (refer header) and more from 
most users without breaking the TLS security. So why do TLS at all?

>> That's really very broken and a serious violation of the transport layer contract.
> Only if you believe CDN is a middlebox.  The transport layer contract is overridden by legal contracts or EULA :)
>
> 	/r$
I would prefer if TLS wouldn't allow 3rd parties without user notification.

Roland


From nobody Tue May  9 10:35:42 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5E88B129536 for <tls@ietfa.amsl.com>; Tue,  9 May 2017 10:35:40 -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=allcosts-net.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 Jwb7LwxJ4YlI for <tls@ietfa.amsl.com>; Tue,  9 May 2017 10:35:38 -0700 (PDT)
Received: from mail-yw0-x22f.google.com (mail-yw0-x22f.google.com [IPv6:2607:f8b0:4002:c05::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 B67CF129511 for <tls@ietf.org>; Tue,  9 May 2017 10:35:38 -0700 (PDT)
Received: by mail-yw0-x22f.google.com with SMTP id 203so4113441ywe.0 for <tls@ietf.org>; Tue, 09 May 2017 10:35:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=uuOYRXRjpGGZuoi3EAk/fo9/Svk3WnB6d7h97ondEKc=; b=XOkoD+W7sMPtXoEqWRkMT/3a9+qfaHVb9XEK4cavaJ7OLp7qATO0TW8HvN2k3LVUUR 33JICUC1XIaxheVFc5sImPv5h6kOvrKeBt+BIpHJsUs4CS21WX5GWPKvfeOp/D6u0a9o jJWb+eICbs1/nj80kk6+Kuszx58PzV7lhMYR1syhycDF3+hcBX/COkB37dHmZUlQJKJU rLIUypFQTZM+hXr/b8MhUrOh86ZnKD5wQNXIvceQznizHzwOhfk2VEAq7j66DwWUEudU OZjZloth8hr0Je/n64Y2jZvc0Q+097Lxbezd9bZEq9J6qUdzUmZi3b1/xp3wvrM4n+2t meVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=uuOYRXRjpGGZuoi3EAk/fo9/Svk3WnB6d7h97ondEKc=; b=aQQcesttc7S+FpoKpA1XpjcwZ/9TV17qnDYd3GOTBa2aS98HSQBFcXYB8gIFjRhXs8 BydiAC6yK04j4YgTKX9s8LyOttS9fvI7ypxhYsXWxaniMOmTybRyYCPg8GSpxFexKFD/ bKCdt4LCqipPKf89ir9nAgfrCXGmatixdq/a6+GpuDcUgg2yTanuHrEIr5BCkqDHtsbc Bryc5xnyDVHmGYedfw3hxhKwLrDD6gDcadA7Ukf6oqmIhVeiRexO4tVjxM1DZbzEgvhm /PII+MVv2x+kgSsjQX1n+/WNUaLm76VK8wBQLJ/fQg8brMjUceZVmkSyjpEbgM454+hq V3Sg==
X-Gm-Message-State: AODbwcBchEoSw9YKSuskFIwpVUrY4YlISs2yGH9LwFxC73pjNYZGHBSt vk/tVCQB2AIKz5C5hYSRBkT+FP0x9Q==
X-Received: by 10.129.56.11 with SMTP id f11mr1080723ywa.241.1494351337934; Tue, 09 May 2017 10:35:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Tue, 9 May 2017 10:35:37 -0700 (PDT)
In-Reply-To: <6ce1dc8757fa4f6693263c8e4f06f277@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <9f5858c8d86742b9aa82bdac46590c92@usma1ex-dag1mb1.msg.corp.akamai.com> <CAAF6GDcGQ0YTYFFD+HVD71O9GCW7V3r_UNce1LQsHF1Zs9aBLQ@mail.gmail.com> <6ce1dc8757fa4f6693263c8e4f06f277@usma1ex-dag1mb1.msg.corp.akamai.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 9 May 2017 10:35:37 -0700
Message-ID: <CAAF6GDd5jnuSHw3JLTuCCKWjwKHcW=nfNac=w5UprM-gPJocQw@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11483b10ab0b85054f1ac8a1
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/AAR60KE96FtY9xzGlER2NwUtgA4>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 May 2017 17:35:40 -0000

--001a11483b10ab0b85054f1ac8a1
Content-Type: text/plain; charset=UTF-8

On Tue, May 9, 2017 at 9:41 AM, Salz, Rich <rsalz@akamai.com> wrote:

> > It's actually impossible because a 0RTT request may be retried as a 1RTT
> request and there's no way to correlate the two. So when the 1RTT request
> shows up, we can't go "This might be a repeat" - for example the X- header
> trick doesn't work in this case. It's subtle, which makes it even more
> likely to trip on it.
>
> That also assumes that the 0RTT data will be a completely self-contained
> request.  I share the concern that Kyle and others have pointed out, that a
> single request will span the boundaries.
>

True; though I think the partial request case it's ok ... I think it's just
orphaned data. The mechanisms that prevent 0-RTT insertion across different
connections do seem robust.


> > I think the only approach that actually rigorously works is the
> client-side one
>
> Attackers will not use well-behaved clients; does your approach still work?
>

Yes; it's about signaling to the client that "Your data may or may not have
been received". This is an ordinary failure mode for TCP and TLS and
something many clients have careful reasoning around. The difference with
0-RTT is now there's a bigger window of time during which that request may
get received, but that's it really. If the attacker replays, then it can be
received; and the attacker can use any client, but it doesn't change the
original well-behaved client's reasoning.

>The second problem is that middle-boxes can break any signaling. For
> example a CDN or TLS accelerator may enable 0-RTT towards the back-end
> origin without enabling it to the original client. In this model, the
> client has *no* way to reason about retries or replay.
>
> A CDN is not a middlebox.  As far as the client is concerned a CDN *is*
> the origin.


No I don't think this works in transactional systems. For example; suppose
the client performs an update or write "through" the CDN, and 0-RTT is
being used on both sides. In the 0-RTT world, the CDN might be subject to
replay between the CDN and the Origin. But as defined, the actual client
gets no visibility of that. That breaks careful clients.  For example they
may get a 500 back and assume that the request failed, without knowing that
the request may be replayed any time in the next 10 seconds and therefore
succeed.

This can all be made workable though; with a careful consideration of how
the signaling propagates; that's not in the draft at this time though.


> > That's really very broken and a serious violation of the transport layer
> contract.
>
> Only if you believe CDN is a middlebox.  The transport layer contract is
> overridden by legal contracts or EULA :)
>

Of course, but I think this is a predictable security problem. The
implications are very subtle and may be exploited by attackers, while
people unknowingly enable the behavior. I realize I'm in dark corner cases
here; but I think we should approach all of this with the same rigor we
treat the TLS state machine and crypto proofs.
-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 9, 2017 at 9:41 AM, Salz, Rich <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:rsalz@akamai.com" target=3D"_blank">rsalz@akamai.com</a>&gt;</s=
pan> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">&gt; It&#39;=
s actually impossible because a 0RTT request may be retried as a 1RTT reque=
st and there&#39;s no way to correlate the two. So when the 1RTT request sh=
ows up, we can&#39;t go &quot;This might be a repeat&quot; - for example th=
e X- header trick doesn&#39;t work in this case. It&#39;s subtle, which mak=
es it even more likely to trip on it.=C2=A0<br>
<br>
</span>That also assumes that the 0RTT data will be a completely self-conta=
ined request.=C2=A0 I share the concern that Kyle and others have pointed o=
ut, that a single request will span the boundaries.<br></blockquote><div><b=
r></div><div>True; though I think the partial request case it&#39;s ok ... =
I think it&#39;s just orphaned data. The mechanisms that prevent 0-RTT inse=
rtion across different connections do seem robust.=C2=A0</div><div>=C2=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex"><span class=3D"">
&gt; I think the only approach that actually rigorously works is the client=
-side one<br>
<br>
</span>Attackers will not use well-behaved clients; does your approach stil=
l work?<br></blockquote><div><br></div><div>Yes; it&#39;s about signaling t=
o the client that &quot;Your data may or may not have been received&quot;. =
This is an ordinary failure mode for TCP and TLS and something many clients=
 have careful reasoning around. The difference with 0-RTT is now there&#39;=
s a bigger window of time during which that request may get received, but t=
hat&#39;s it really. If the attacker replays, then it can be received; and =
the attacker can use any client, but it doesn&#39;t change the original wel=
l-behaved client&#39;s reasoning.=C2=A0</div><div><br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex"><span class=3D"">
&gt;The second problem is that middle-boxes can break any signaling. For ex=
ample a CDN or TLS accelerator may enable 0-RTT towards the back-end origin=
 without enabling it to the original client. In this model, the client has =
*no* way to reason about retries or replay.<br>
<br>
</span>A CDN is not a middlebox.=C2=A0 As far as the client is concerned a =
CDN *is* the origin.=C2=A0</blockquote><div><br></div><div>No I don&#39;t t=
hink this works in transactional systems. For example; suppose the client p=
erforms an update or write &quot;through&quot; the CDN, and 0-RTT is being =
used on both sides. In the 0-RTT world, the CDN might be subject to replay =
between the CDN and the Origin. But as defined, the actual client gets no v=
isibility of that. That breaks careful clients.=C2=A0 For example they may =
get a 500 back and assume that the request failed, without knowing that the=
 request may be replayed any time in the next 10 seconds and therefore succ=
eed.=C2=A0</div><div><br></div><div>This can all be made workable though; w=
ith a careful consideration of how the signaling propagates; that&#39;s not=
 in the draft at this time though.=C2=A0</div><div>=C2=A0</div><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex"><span class=3D"">
&gt; That&#39;s really very broken and a serious violation of the transport=
 layer contract.<br>
<br>
</span>Only if you believe CDN is a middlebox.=C2=A0 The transport layer co=
ntract is overridden by legal contracts or EULA :)<br></blockquote><div><br=
></div><div>Of course, but I think this is a predictable security problem. =
The implications are very subtle and may be exploited by attackers, while p=
eople unknowingly enable the behavior. I realize I&#39;m in dark corner cas=
es here; but I think we should approach all of this with the same rigor we =
treat the TLS state machine and crypto proofs.=C2=A0</div></div>-- <br><div=
 class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Colm</div>
</div></div>

--001a11483b10ab0b85054f1ac8a1--


From nobody Tue May  9 11:12:34 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A661124D6C for <tls@ietfa.amsl.com>; Tue,  9 May 2017 11:12:32 -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, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 SPiVn3ue33FJ for <tls@ietfa.amsl.com>; Tue,  9 May 2017 11:12:30 -0700 (PDT)
Received: from welho-filter4.welho.com (welho-filter4.welho.com [83.102.41.26]) by ietfa.amsl.com (Postfix) with ESMTP id 5BF05127B57 for <tls@ietf.org>; Tue,  9 May 2017 11:12:30 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id 5D67821CE4; Tue,  9 May 2017 21:12:29 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id zzuWRHkeLW3o; Tue,  9 May 2017 21:12:29 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id F21E0C4; Tue,  9 May 2017 21:12:28 +0300 (EEST)
Date: Tue, 9 May 2017 21:12:27 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Colm =?utf-8?Q?MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: "Salz, Rich" <rsalz@akamai.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170509181227.GA9346@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <9f5858c8d86742b9aa82bdac46590c92@usma1ex-dag1mb1.msg.corp.akamai.com> <CAAF6GDcGQ0YTYFFD+HVD71O9GCW7V3r_UNce1LQsHF1Zs9aBLQ@mail.gmail.com> <6ce1dc8757fa4f6693263c8e4f06f277@usma1ex-dag1mb1.msg.corp.akamai.com> <CAAF6GDd5jnuSHw3JLTuCCKWjwKHcW=nfNac=w5UprM-gPJocQw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAAF6GDd5jnuSHw3JLTuCCKWjwKHcW=nfNac=w5UprM-gPJocQw@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/SySG9SIZh_HJgiCkQl9AEHx4PWQ>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 May 2017 18:12:32 -0000

On Tue, May 09, 2017 at 10:35:37AM -0700, Colm MacCÃ¡rthaigh wrote:
> On Tue, May 9, 2017 at 9:41 AM, Salz, Rich <rsalz@akamai.com> wrote:

> >The second problem is that middle-boxes can break any signaling. For
> > example a CDN or TLS accelerator may enable 0-RTT towards the back-end
> > origin without enabling it to the original client. In this model, the
> > client has *no* way to reason about retries or replay.
> >
> > A CDN is not a middlebox.  As far as the client is concerned a CDN *is*
> > the origin.
> 
> 
> No I don't think this works in transactional systems. For example; suppose
> the client performs an update or write "through" the CDN, and 0-RTT is
> being used on both sides. In the 0-RTT world, the CDN might be subject to
> replay between the CDN and the Origin. But as defined, the actual client
> gets no visibility of that. That breaks careful clients.  For example they
> may get a 500 back and assume that the request failed, without knowing that
> the request may be replayed any time in the next 10 seconds and therefore
> succeed.

Doesn't this imply that clients or CDN are using unsafe HTTP methods in
0-RTT data? Which is of course _seriously_ broken.

Because HTTP specification expressly forbids any and all updates and
writes using safe methods. Ignoring that causes very severe security
vulernabilities even today (e.g., causes essentially undefendable CSRF
attacks).



-Ilari


From nobody Tue May  9 11:44:18 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 126B812EADE for <tls@ietfa.amsl.com>; Tue,  9 May 2017 11:44:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 bsIiqs4BRC-l for <tls@ietfa.amsl.com>; Tue,  9 May 2017 11:44:16 -0700 (PDT)
Received: from mail-yb0-x22f.google.com (mail-yb0-x22f.google.com [IPv6:2607:f8b0:4002: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 6D9C2129534 for <tls@ietf.org>; Tue,  9 May 2017 11:44:16 -0700 (PDT)
Received: by mail-yb0-x22f.google.com with SMTP id s22so2527740ybe.3 for <tls@ietf.org>; Tue, 09 May 2017 11:44:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BY64HMOhaDCfQRYLsTiE8ZCLIIM1pxp+ObMVNtsYFtw=; b=mtOeSrfofh3bwdOMERBA3WX7CzF9ejTM83oBnai66z7o+UrlVLMkjp8HBAAoVEhagQ XYxaJlK72CtyRDDiZLYuyrRim5DoMQ/+vJvBNOZCOs1naLtGERow7pIrIrQiOy7CW81F +zPFxunP5pJl3i+iU4tC4wjZ2HKSn9QwXMxioFqVjBNiZhtwgu+QAGaY1Zleq4kHvDcJ Ma7S0AMtiiCD9SzWIgnEJOcH2Jk/hHOsAhJ1nROSQgdJ0+kw6jYiYEq4t65qgEcU7G13 x1tjAdvTBFcpMb5Pn+ho1H7/BehJe8pM/1CSwfYg28oZr0EJf8cU3OrVuleHJfb73haH j3ww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BY64HMOhaDCfQRYLsTiE8ZCLIIM1pxp+ObMVNtsYFtw=; b=MvVn3G9ATLVQyaFBQdVJBXja/XnvnEbI6H0i063stOZLObUpl9v3KbKKV4sA4dKRj1 XsrCqynPd9WL3KRC9DwcZPicpM9Zoh3/06rRA3eGLOVxiVetrFtTuEhsunxREmN+tjqD 9Xu/wI5TkGdBmZHeFn2WsECQvkpA7lpbfNi/Kz2ox3YaDyAHYLGvDi4oIBfvS4S6/vyZ Nzb545TCOq++uufxY7ZwgsEUGg6L8KLeialpsEbomeYGXgcqMrc27FxQlXZL0kYu9aaL 5PAJf31xeXwbFMbrLLZxqnMu9N5MZDVPzQVSnT1Gji5IDm/aTk7YWJHvjnQsEeLJIuJH AmZA==
X-Gm-Message-State: AODbwcBQxsIcnDcLuw+f1RuaJ32CJKHksJ1CX18Vv/sZuhx3RM+ShJV+ znYpu1ZjoCj2tSfvwQ6XuO2XzlTfHg==
X-Received: by 10.37.198.147 with SMTP id k141mr1393434ybf.27.1494355455503; Tue, 09 May 2017 11:44:15 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Tue, 9 May 2017 11:44:14 -0700 (PDT)
In-Reply-To: <20170509181227.GA9346@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <9f5858c8d86742b9aa82bdac46590c92@usma1ex-dag1mb1.msg.corp.akamai.com> <CAAF6GDcGQ0YTYFFD+HVD71O9GCW7V3r_UNce1LQsHF1Zs9aBLQ@mail.gmail.com> <6ce1dc8757fa4f6693263c8e4f06f277@usma1ex-dag1mb1.msg.corp.akamai.com> <CAAF6GDd5jnuSHw3JLTuCCKWjwKHcW=nfNac=w5UprM-gPJocQw@mail.gmail.com> <20170509181227.GA9346@LK-Perkele-V2.elisa-laajakaista.fi>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 9 May 2017 11:44:14 -0700
Message-ID: <CAAF6GDcUu24NZbzxA0x6+OFkU2HRy8rtrQgQ_9U_j8CGjVOjLw@mail.gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: "Salz, Rich" <rsalz@akamai.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c08c53c181f21054f1bbe25
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/NhAeWCY1WxyAjo4a3wc24i7e8ok>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 May 2017 18:44:18 -0000

--94eb2c08c53c181f21054f1bbe25
Content-Type: text/plain; charset=UTF-8

On Tue, May 9, 2017 at 11:12 AM, Ilari Liusvaara <ilariliusvaara@welho.com>
wrote:
>
> Doesn't this imply that clients or CDN are using unsafe HTTP methods in
> 0-RTT data? Which is of course _seriously_ broken.
>

It doesn't really. First; the CDN may be acting as a Layer 4 TLS proxy.
Some CDNs sell these as SSL accelerators that work by moving the handshake
closer to clients and do almost nothing else. For example S3 Transfer
acceleration works like that:
http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html .
In that case, the TLS proxy isn't necessarily even aware of the
under-lyling protocol. Will they be able to resist the easy-to-enable 0-RTT
time savings?

But secondly, in the real world, these can be GETs and that's how many APIs
are constructed. Why? because even though it ignores correct REST
principles, people can test and compose these operations more easily from
the command line (e.g. curl). We've all seen many APIs like this.

Because HTTP specification expressly forbids any and all updates and
> writes using safe methods. Ignoring that causes very severe security
> vulernabilities even today (e.g., causes essentially undefendable CSRF
> attacks).
>

These aren't browser requests, they can be SDK and other clients making
HTTP API requests. That's much more common too, by volume. CSRF isn't an
issue in cases like that.

I think everything I'm writing applies even for a careful REST-compliant
case too. Even if the client is using PUT or POST or DELETE or whatever,
the same kind of transactional semantics apply. All it takes is a
disconnect between the settings in any of the middle transport layers and
the expectations of the underlying protocol. I just think that disconnect
is very predictable.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 9, 2017 at 11:12 AM, Ilari Liusvaara <span dir=3D"ltr">&lt;=
<a href=3D"mailto:ilariliusvaara@welho.com" target=3D"_blank">ilariliusvaar=
a@welho.com</a>&gt;</span> wrote:<blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex">Doesn&#39;t this imply that clients or CDN are using unsafe HTTP me=
thods in<br>
0-RTT data? Which is of course _seriously_ broken.<br></blockquote><div><br=
></div><div>It doesn&#39;t really. First; the CDN may be acting as a Layer =
4 TLS proxy. Some CDNs sell these as SSL accelerators that work by moving t=
he handshake closer to clients and do almost nothing else. For example S3 T=
ransfer acceleration works like that: <a href=3D"http://docs.aws.amazon.com=
/AmazonS3/latest/dev/transfer-acceleration.html">http://docs.aws.amazon.com=
/AmazonS3/latest/dev/transfer-acceleration.html</a> . In that case, the TLS=
 proxy isn&#39;t necessarily even aware of the under-lyling protocol. Will =
they be able to resist the easy-to-enable 0-RTT time savings?=C2=A0</div><d=
iv>=C2=A0</div><div>But secondly, in the real world, these can be GETs and =
that&#39;s how many APIs are constructed. Why? because even though it ignor=
es correct REST principles, people can test and compose these operations mo=
re easily from the command line (e.g. curl). We&#39;ve all seen many APIs l=
ike this.=C2=A0</div><div><br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">
Because HTTP specification expressly forbids any and all updates and<br>
writes using safe methods. Ignoring that causes very severe security<br>
vulernabilities even today (e.g., causes essentially undefendable CSRF<br>
attacks).<br></blockquote><div><br></div><div>These aren&#39;t browser requ=
ests, they can be SDK and other clients making HTTP API requests. That&#39;=
s much more common too, by volume. CSRF isn&#39;t an issue in cases like th=
at.=C2=A0</div><div><br></div><div>I think everything I&#39;m writing appli=
es even for a careful REST-compliant case too. Even if the client is using =
PUT or POST or DELETE or whatever, the same kind of transactional semantics=
 apply. All it takes is a disconnect between the settings in any of the mid=
dle transport layers and the expectations of the underlying protocol. I jus=
t think that disconnect is very predictable.=C2=A0</div></div><div><br></di=
v>-- <br><div class=3D"gmail-m_3305907465994152980gmail_signature">Colm</di=
v>
</div></div>

--94eb2c08c53c181f21054f1bbe25--


From nobody Wed May 10 06:26:42 2017
Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C29E9129AC5 for <tls@ietfa.amsl.com>; Tue,  9 May 2017 23:45:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level: 
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 Tl3UQM3PdT-j for <tls@ietfa.amsl.com>; Tue,  9 May 2017 23:45:31 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6A181129AC1 for <tls@ietf.org>; Tue,  9 May 2017 23:45:31 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 66A00B81089; Tue,  9 May 2017 23:45:22 -0700 (PDT)
To: pwouters@redhat.com, Hannes.Tschofenig@gmx.net, gnu@toad.com, weiler@tislabs.com, kivinen@iki.fi, Kathleen.Moriarty.ietf@gmail.com, ekr@rtfm.com, joe@salowey.net, sean+ietf@sn3rd.com
X-PHP-Originating-Script: 30:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: x@example.net, tls@ietf.org, rfc-editor@rfc-editor.org
Content-Type: text/plain; charset=UTF-8
Message-Id: <20170510064522.66A00B81089@rfc-editor.org>
Date: Tue,  9 May 2017 23:45:22 -0700 (PDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ZchlmM-1HV_MhZWurVWLkZhaChY>
X-Mailman-Approved-At: Wed, 10 May 2017 06:26:39 -0700
Subject: [TLS] [Technical Errata Reported] RFC7250 (5013)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 06:45:33 -0000

The following errata report has been submitted for RFC7250,
"Using Raw Public Keys in Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS)".

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata/eid5013

--------------------------------------
Type: Technical
Reported by: i <x@example.net>

Section: 7

Original Text
-------------
   IANA has allocated two new TLS extensions, client_certificate_type
   and server_certificate_type, from the "TLS ExtensionType Values"
   subregistry defined in [RFC5246].

Corrected Text
--------------
   IANA has allocated two new code points, 19 (0x13) and 20 (0x14), for
   client_certificate_type and server_certificate_type, respectively,
   in the "TLS ExtensionType Values" subregistry defined in [RFC5246].

Notes
-----


Instructions:
-------------
This erratum is currently posted as "Reported". If necessary, please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party  
can log in to change the status and edit the report, if necessary. 

--------------------------------------
RFC7250 (draft-ietf-tls-oob-pubkey-11)
--------------------------------------
Title               : Using Raw Public Keys in Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS)
Publication Date    : June 2014
Author(s)           : P. Wouters, Ed., H. Tschofenig, Ed., J. Gilmore, S. Weiler, T. Kivinen
Category            : PROPOSED STANDARD
Source              : Transport Layer Security
Area                : Security
Stream              : IETF
Verifying Party     : IESG


From nobody Wed May 10 06:42:15 2017
Return-Path: <sean@sn3rd.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B7AFC129463 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 06:42:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sn3rd.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 zvio_5dS8MY8 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 06:42:10 -0700 (PDT)
Received: from mail-qt0-x230.google.com (mail-qt0-x230.google.com [IPv6:2607:f8b0:400d:c0d::230]) (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 784F8129B35 for <tls@ietf.org>; Wed, 10 May 2017 06:42:10 -0700 (PDT)
Received: by mail-qt0-x230.google.com with SMTP id n4so29452529qte.2 for <tls@ietf.org>; Wed, 10 May 2017 06:42:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sn3rd.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4yeCo1e92HO9BlP2n7d8ttpWt5fQ84AsyuFovVwgJKc=; b=OU8wRQxhOAYe1e7hLaQsDrIQfpt4F2sVzn4I4Mlm0A27yZnTMWe6nq5Mvpsl1j1YAz nd2uWEfZ2E6Kozdg+yqIubfPDsqsgbOUHl8vqIbr/3ggrCq9CRlFlmhSYj3SgjofMJME Ld81FDmUyrdZK6uu9sWPavPoLmI732dVPlk8w=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4yeCo1e92HO9BlP2n7d8ttpWt5fQ84AsyuFovVwgJKc=; b=tLx/LynrKPC53/vrNfgX8rcayRZgnLs8dpXxgfVrFSQUnGkhJ9Y3h7KUfVuqYcKmou +sq/1vokiX+Zy27UZ2LVht9yZCcgXaI+Uu/qsU8jdsUwmPSQdDvnbSgEySV818RyyHRD d5Xg+2CMpolNavnt1ckFP+pFn/SpyQV/YOk7zsDB4AlAkU7Sj7avuN0gRQEFnXLVkSZT PrrsL7Emji9LgSOsqw3EPjS3dZyPCjiNMNqEficLYamfkA6WLndtVc8vWe+sYE8M0bfC nYHkmh4JKfC87Rk1bMUbPYO3AJHNViL7qfIyVwT7CoWJWslHKsRjZvwUqyFEsGfD2Ss6 FIXw==
X-Gm-Message-State: AODbwcC0npDSzmysmfYhke9KScxRKbFCrOSkwR6YIBkNWwxgQs19Kfnj kju4rexHK0Zsbg==
X-Received: by 10.200.35.80 with SMTP id b16mr5315675qtb.205.1494423729484; Wed, 10 May 2017 06:42:09 -0700 (PDT)
Received: from [172.16.0.18] ([96.231.219.90]) by smtp.gmail.com with ESMTPSA id j1sm2211046qkf.57.2017.05.10.06.42.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 May 2017 06:42:08 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Sean Turner <sean@sn3rd.com>
In-Reply-To: <20170510064522.66A00B81089@rfc-editor.org>
Date: Wed, 10 May 2017 09:42:07 -0400
Cc: pwouters@redhat.com, Hannes Tschofenig <Hannes.Tschofenig@gmx.net>, gnu@toad.com, Sam Weiller <weiler@tislabs.com>, Tero Kivinen <kivinen@iki.fi>, Kathleen Moriarty <Kathleen.Moriarty.ietf@gmail.com>, Eric Rescorla <ekr@rtfm.com>, Joe Salowey <joe@salowey.net>
Content-Transfer-Encoding: quoted-printable
Message-Id: <2785CF1A-B5C8-42EA-8664-FBC5E17EBE79@sn3rd.com>
References: <20170510064522.66A00B81089@rfc-editor.org>
To: "<tls@ietf.org>" <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/QX30-shaKVGZZ90StKxcAp_cdr0>
Subject: Re: [TLS] [Technical Errata Reported] RFC7250 (5013)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 13:42:14 -0000

I would definitively re-categorize this =E2=80=9Ceditorial=E2=80=9D; =
there=E2=80=99s no 2119-changes proposed and there=E2=80=99s no bits on =
the wire changes.  And, I=E2=80=99d either reject this one because =
technically the existing text is correct (i.e., they are two extensions) =
and this really ought not of caused an interoperability problem or mark =
it HFDU (hold for document update).  The new text does include the code =
points, but those can be obtained from the registry and don=E2=80=99t =
absolutely have to be included.

spt

> On May 10, 2017, at 02:45, RFC Errata System =
<rfc-editor@rfc-editor.org> wrote:
>=20
> The following errata report has been submitted for RFC7250,
> "Using Raw Public Keys in Transport Layer Security (TLS) and Datagram =
Transport Layer Security (DTLS)".
>=20
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata/eid5013
>=20
> --------------------------------------
> Type: Technical
> Reported by: i <x@example.net>
>=20
> Section: 7
>=20
> Original Text
> -------------
>   IANA has allocated two new TLS extensions, client_certificate_type
>   and server_certificate_type, from the "TLS ExtensionType Values"
>   subregistry defined in [RFC5246].
>=20
> Corrected Text
> --------------
>   IANA has allocated two new code points, 19 (0x13) and 20 (0x14), for
>   client_certificate_type and server_certificate_type, respectively,
>   in the "TLS ExtensionType Values" subregistry defined in [RFC5246].
>=20
> Notes
> -----
>=20
>=20
> Instructions:
> -------------
> This erratum is currently posted as "Reported". If necessary, please
> use "Reply All" to discuss whether it should be verified or
> rejected. When a decision is reached, the verifying party =20
> can log in to change the status and edit the report, if necessary.=20
>=20
> --------------------------------------
> RFC7250 (draft-ietf-tls-oob-pubkey-11)
> --------------------------------------
> Title               : Using Raw Public Keys in Transport Layer =
Security (TLS) and Datagram Transport Layer Security (DTLS)
> Publication Date    : June 2014
> Author(s)           : P. Wouters, Ed., H. Tschofenig, Ed., J. Gilmore, =
S. Weiler, T. Kivinen
> Category            : PROPOSED STANDARD
> Source              : Transport Layer Security
> Area                : Security
> Stream              : IETF
> Verifying Party     : IESG


From nobody Wed May 10 06:51:17 2017
Return-Path: <paul@nohats.ca>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0A865129B2F for <tls@ietfa.amsl.com>; Wed, 10 May 2017 06:51:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.102
X-Spam-Level: 
X-Spam-Status: No, score=-0.102 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nohats.ca
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 MjA2QNZ1xjLX for <tls@ietfa.amsl.com>; Wed, 10 May 2017 06:51:13 -0700 (PDT)
Received: from mx.nohats.ca (mx.nohats.ca [IPv6:2a03:6000:1004:1::68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9E59B12422F for <tls@ietf.org>; Wed, 10 May 2017 06:51:13 -0700 (PDT)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 3wNHhG1qfyz391; Wed, 10 May 2017 15:51:10 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1494424270; bh=euwdpAr2FU4Zam4o/DTNubHzIoG8G6zNX+UjxdS/KXY=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=KNBBPx3Kb0T+0gMVTxOoFvDquQYo3R2fBzklIEypbpC0NzHHQMGb1E122IONozc00 WYfvwikcMd+Nqgl3ZtKZ+WBHeoZYjwMJmd+71WUwbxp4F7/wDhTH1V/acFSTnW5d4B snF0FQNZGrypUUSHNLSnOLOodFXezJxcQet/R/cg=
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id R_zY6O3vwoK8; Wed, 10 May 2017 15:51:07 +0200 (CEST)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS; Wed, 10 May 2017 15:51:06 +0200 (CEST)
Received: by bofh.nohats.ca (Postfix, from userid 1000) id EAC964080D7; Wed, 10 May 2017 09:51:05 -0400 (EDT)
DKIM-Filter: OpenDKIM Filter v2.11.0 bofh.nohats.ca EAC964080D7
Received: from localhost (localhost [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id D46FC4129B53; Wed, 10 May 2017 09:51:05 -0400 (EDT)
Date: Wed, 10 May 2017 09:51:05 -0400 (EDT)
From: Paul Wouters <paul@nohats.ca>
To: Sean Turner <sean@sn3rd.com>
cc: "<tls@ietf.org>" <tls@ietf.org>, Sam Weiller <weiler@tislabs.com>,  John Gilmore <gnu@toad.com>, Tero Kivinen <kivinen@iki.fi>,  Paul Wouters <pwouters@redhat.com>
In-Reply-To: <2785CF1A-B5C8-42EA-8664-FBC5E17EBE79@sn3rd.com>
Message-ID: <alpine.LRH.2.20.999.1705100950350.6343@bofh.nohats.ca>
References: <20170510064522.66A00B81089@rfc-editor.org> <2785CF1A-B5C8-42EA-8664-FBC5E17EBE79@sn3rd.com>
User-Agent: Alpine 2.20.999 (LRH 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8BIT
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/yjchcJw-wu8BDJUGkTuer2v1G48>
Subject: Re: [TLS] [Technical Errata Reported] RFC7250 (5013)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 13:51:16 -0000

On Wed, 10 May 2017, Sean Turner wrote:

> I would definitively re-categorize this â€œeditorialâ€�; thereâ€™s no 2119-changes proposed and thereâ€™s no bits on the wire changes.  And, Iâ€™d either reject this one because technically the existing text is correct (i.e., they are two extensions) and this really ought not of caused an interoperability problem or mark it HFDU (hold for document update).  The new text does include the code points, but those can be obtained from the registry and donâ€™t absolutely have to be included.

Sounds right to me.

Paul


From nobody Wed May 10 08:21:30 2017
Return-Path: <frodo@baggins.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B0B3B129465 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 08:21:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.58
X-Spam-Level: 
X-Spam-Status: No, score=0.58 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham 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 vjs7ai12DXHX for <tls@ietfa.amsl.com>; Wed, 10 May 2017 08:21:27 -0700 (PDT)
Received: from mx496502.smtp-engine.com (mx496502.smtp-engine.com [217.160.92.157]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 56FED127698 for <tls@ietf.org>; Wed, 10 May 2017 08:21:27 -0700 (PDT)
Received: from mail-it0-f41.google.com (mail-it0-f41.google.com [209.85.214.41]) by mx496502.smtp-engine.com (Postfix) with ESMTPSA id 9FF2ADA7 for <tls@ietf.org>; Wed, 10 May 2017 16:21:25 +0100 (BST)
Received: by mail-it0-f41.google.com with SMTP id g126so3473507ith.0 for <tls@ietf.org>; Wed, 10 May 2017 08:21:25 -0700 (PDT)
X-Gm-Message-State: AODbwcCk2SwD9+iLM/FstcqoccnWcO7Zv/I1etks0AAE3B9B8LPfT4sk QoZNaD2+vYInzzccqTfNgoKlmv2HYA==
X-Received: by 10.36.0.23 with SMTP id 23mr5885935ita.108.1494429683998; Wed, 10 May 2017 08:21:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.127.79 with HTTP; Wed, 10 May 2017 08:21:23 -0700 (PDT)
From: Matt Caswell <frodo@baggins.org>
Date: Wed, 10 May 2017 16:21:23 +0100
X-Gmail-Original-Message-ID: <CAMoSCWYokkJO7NdJ78SpviiUoZdDzD225JnS+QW0KZcVMty2Hg@mail.gmail.com>
Message-ID: <CAMoSCWYokkJO7NdJ78SpviiUoZdDzD225JnS+QW0KZcVMty2Hg@mail.gmail.com>
To: "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/IgzyjSybDfIv4Kp3fbrCLpG0OwM>
Subject: [TLS] Alerts
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 15:21:28 -0000

Draft-20 currently contains this text in the section "Server
Certificate Selection":

'If the client cannot construct an acceptable chain using the provided
certificates and decides to abort the handshake, then it MUST abort
the handshake with an"unsupported_certificate" alert."'

However, section 6 lists a number of other generic certificate related alerts:
certificate_revoked
certificate_expired
certificate_unknown
unknown_ca

While section 6 provides descriptions of these they are not mentioned
elsewhere in the spec, so there is no guidance as to when they might
be used.

So, given the text in the "Server Certificate Selection" section,
should a client always send "unsupported_certificate" for all
failures? Or should one of the other alerts be used instead if it
seems more appropriate? E.g. If a client attempts to "construct an
acceptable chain", but finds an expired certificate - should it
respond with "unsupported_certificate" or "certificate_expired"?

There seems to be some inconsistency between server certificate
selection and client certificate selection, i.e. in the former it is
mandated that a specific alert be sent, but in the latter there is no
such requirement.

Additionally, there are a number of other alerts mentioned in section
6 (not just certificate related ones), that are never mentioned
anywhere else in the spec. Do we really need all of these alerts? If
they are needed, shouldn't they be explicitly mentioned elsewhere in
the spec in the locations where they are relevant (associated with
some MUST/SHOULD/MAY requirement)? As things stand the interpretation
of when they should be sent seems quite loose.

Matt


From nobody Wed May 10 10:29:03 2017
Return-Path: <hkario@redhat.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A144C129461 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 10:29:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.923
X-Spam-Level: 
X-Spam-Status: No, score=-6.923 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 ibEJcOnpntF5 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 10:29:00 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4AC3212420B for <tls@ietf.org>; Wed, 10 May 2017 10:29:00 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DA75063142 for <tls@ietf.org>; Wed, 10 May 2017 17:28:59 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com DA75063142
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=hkario@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com DA75063142
Received: from pintsize.usersys.redhat.com (dhcp-0-115.brq.redhat.com [10.34.0.115]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A75CE17962 for <tls@ietf.org>; Wed, 10 May 2017 17:28:59 +0000 (UTC)
From: Hubert Kario <hkario@redhat.com>
To: "tls@ietf.org" <tls@ietf.org>
Date: Wed, 10 May 2017 19:28:51 +0200
Message-ID: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart2545833.bSing3hz15"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 10 May 2017 17:29:00 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/1teN2SJiyTa-JimfcOFgPlCaMQ0>
Subject: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 17:29:02 -0000

--nextPart2545833.bSing3hz15
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

Yes, encrypted SNI was discussed and ultimately rejected.

But do we really have to send the literal value? Don't we need to just make=
=20
sure that the client and server agree on the host that the client wants to=
=20
connect?

Couldn't we "encrypt" the SNI by hashing the host name with a salt, sending=
=20
the salt and the resulting hash, making the server calculate the same hash=
=20
with each of the virtual host names it supports and comparing with the clie=
nt=20
provided value?

(apologies if that was already proposed and rejected)
=2D-=20
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech Republic
--nextPart2545833.bSing3hz15
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJZE03TAAoJEJKo0bgB0vX1BSYQAIf80DghwBgrXTKYTdH+yHcI
lH5R4/lPUvjia9JRiDZtB3IAU8WPTEiqeSbcVS8d8mwsjnJNsc5paYJqzAXsj1vn
pi+4dXsqQYTRqWUkpVZRUBbSdabLgG4lAuDjbDlEwvxuAvLG0WfUPnKyNJ50MnVL
T6gidut2yQGPTBw8YityzWGsILyopJtf/aa8iRE8sF24xu6/r9Um/+T8Rnwoh/3f
5zICdpCMPXp3pvja3Q8Ra5vI5DuhaGmnpZW19j3dMfu98CXY8pGmoRsIaWMIRQq/
bLfAsQDYrWO3zsRBVPMKiJhv4b+Dwfz210n35P4ashN6Fo9ct6Tkl7Gwn1lneSU5
qXlAAHGOR/i5WSO6Dyplqe+CwjHgkud9Z8l/6agOnEDgLiih2hSuhGbgvceCoDr1
uq2coLY3ALJUbjf2MULTrs3q4A41Z5Ukwee//SO47UPe8M3WMa8EBIONLrjPx7NA
f/HTa3PGtPQTMEcKKDILmB7Xl9vQdssRVaz7y+q2cwfrJIW7inzvIa47htqDneBe
PoYHjfZC2wq6TpbnTz4YUBN/uyoIw/zZwKcnu+4+MQK5A5CLZhuFp6eetKGDfQBE
JCYfRvEMlZmr7FtgLs1BbgDUegSZhVTR/W4CiuOwC9q2wLG+FvY8tqrDJylR50PO
l1BEPHEifrzk/ZXdl4vG
=yosH
-----END PGP SIGNATURE-----

--nextPart2545833.bSing3hz15--


From nobody Wed May 10 11:25:28 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F42D129C37 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 11:25:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_20=-0.001] autolearn=ham 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 0mv8ytIDrLbJ for <tls@ietfa.amsl.com>; Wed, 10 May 2017 11:25:24 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C6DD7129536 for <tls@ietf.org>; Wed, 10 May 2017 11:25:24 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id DA7647A32F1 for <tls@ietf.org>; Wed, 10 May 2017 18:25:23 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com>
Date: Wed, 10 May 2017 14:25:22 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <5920A6B3-66F5-44D5-A367-82AD6431A6C4@dukhovni.org>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/eA0tzfq5J4rUNjZ7xzr-6ImMehc>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 18:25:26 -0000

> On May 10, 2017, at 1:28 PM, Hubert Kario <hkario@redhat.com> wrote:
>=20
> Couldn't we "encrypt" the SNI by hashing the host name with a salt, =
sending=20
> the salt and the resulting hash, making the server calculate the same =
hash=20
> with each of the virtual host names it supports and comparing with the =
client=20
> provided value?
>=20
> (apologies if that was already proposed and rejected)

There in many cases way too many virtual host names for the server to =
test.

On the other hand, the attacker with fast hashing silicon can perform =
the
same computation very quickly.  The virtual hosts supported by the =
remote
server are likely not much a secret in most cases.

--=20
	Viktor.


From nobody Wed May 10 11:47:19 2017
Return-Path: <hkario@redhat.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB0CB12E858 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 11:47:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.923
X-Spam-Level: 
X-Spam-Status: No, score=-6.923 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 ZJFWN8UStRMh for <tls@ietfa.amsl.com>; Wed, 10 May 2017 11:47:16 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 69EE312951F for <tls@ietf.org>; Wed, 10 May 2017 11:47:16 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 963F4448D69; Wed, 10 May 2017 18:47:15 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 963F4448D69
Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=hkario@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 963F4448D69
Received: from pintsize.usersys.redhat.com (dhcp-0-115.brq.redhat.com [10.34.0.115]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4E0761710A; Wed, 10 May 2017 18:47:15 +0000 (UTC)
From: Hubert Kario <hkario@redhat.com>
To: tls@ietf.org
Date: Wed, 10 May 2017 20:47:13 +0200
Message-ID: <2478514.aZun5FUmZT@pintsize.usersys.redhat.com>
In-Reply-To: <5920A6B3-66F5-44D5-A367-82AD6431A6C4@dukhovni.org>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <5920A6B3-66F5-44D5-A367-82AD6431A6C4@dukhovni.org>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart2010235.3A1IW0gdv3"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 10 May 2017 18:47:15 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/nLtfjba5lzO5FI5bm1V0TByIlMk>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 18:47:18 -0000

--nextPart2010235.3A1IW0gdv3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

On Wednesday, 10 May 2017 20:25:22 CEST Viktor Dukhovni wrote:
> > On May 10, 2017, at 1:28 PM, Hubert Kario <hkario@redhat.com> wrote:
> >=20
> > Couldn't we "encrypt" the SNI by hashing the host name with a salt,
> > sending
> > the salt and the resulting hash, making the server calculate the same h=
ash
> > with each of the virtual host names it supports and comparing with the
> > client provided value?
> >=20
> > (apologies if that was already proposed and rejected)
>=20
> There in many cases way too many virtual host names for the server to tes=
t.

if you have tens of thousands of websites you either have a farm of servers=
,=20
so you can solve that with sharding, or the websites don't get much traffic=
 so=20
it's not a performance problem

> On the other hand, the attacker with fast hashing silicon can perform the
> same computation very quickly.

But it does make simple keyword matching on hostname much harder or=20
impossible.

>  The virtual hosts supported by the remote
> server are likely not much a secret in most cases.

that's argument for not spending too much resources on the encryption/
obfuscation, not that we shouldn't do it.


But in general, I wonder if we didn't approach the SNI from the wrong side =
=2D=20
as I said, we may not need to encrypt it, we just make sure that client and=
=20
server agree on the virtual host the connection is going to.
=2D-=20
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech Republic
--nextPart2010235.3A1IW0gdv3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJZE2AxAAoJEJKo0bgB0vX1rnYP/2aQdXlJhJOI7NlaXwLW5JO2
iyIDIHTQS2u6WKp89PuIAoQR6LSs7wy3LG/9auLmLakjRHmUDfMvzYOJikFY4Tpy
HwbJ3lW895T+708qosfORsdWaDNA4N4xGnjqaVv7qc7s6DOLBPJ46LomoGocwVBc
P7k/jyx4YxteeyzzWbGJ3CrS+RaGhU38ArMLlgOduYApXjK9XiLCuP07mYDAFEQk
WlOrNjuSbcpbC6KuZAcxbVNXaPbOgM03PcrtSnORexSQVo+zk7UkFN/KVYInTmPO
t5MOtFRaeWSfIMdVs6QhmuO+kNCu6jmb96oijERWRSdqdBWV/NA5VLnKeHv3ONBO
YvpPd/vQrnIVESaPqrCwg/E0kttCOvVWYxXdk7SqNyr5duOWhHuWygSPqLgDUmHJ
iSBJ07Of1nY0vAxBrPbSoG2+IhpliTmuSm3P1EwcdqmNLAFSCCAol4FWkgDwj6iC
7btrhrhEj821+x2aNFqHcd9/lCFu1+N5Oc91SPQoFOkzopXHeJXBi4+LD7i/a1c9
wB77vhFKUcnUYMOnWVuhfmlxMV4rJz3//0AVsdkZ9F3T5bEkDtT9F5hOLPTCbAJt
mExpyKjSfNx4vDfSg0HyfRrwv4+4xT347K5arw90Os3+8srEoz4LDihHUbDSVZog
ghwMdyLb3N43hmsNDuqi
=c50E
-----END PGP SIGNATURE-----

--nextPart2010235.3A1IW0gdv3--


From nobody Wed May 10 12:04:57 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 26BC3126C23 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 12:04:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_20=-0.001] autolearn=ham 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 W3TJrckPISTZ for <tls@ietfa.amsl.com>; Wed, 10 May 2017 12:04:55 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F2BC91267BB for <tls@ietf.org>; Wed, 10 May 2017 12:04:54 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 1314A7A32F1 for <tls@ietf.org>; Wed, 10 May 2017 19:04:54 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <2478514.aZun5FUmZT@pintsize.usersys.redhat.com>
Date: Wed, 10 May 2017 15:04:53 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <20865FC2-A021-4EAC-ACDA-E400855B5CE0@dukhovni.org>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <5920A6B3-66F5-44D5-A367-82AD6431A6C4@dukhovni.org> <2478514.aZun5FUmZT@pintsize.usersys.redhat.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/py3iND5r4fmgBEIRXrP69B94PO8>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 19:04:56 -0000

> On May 10, 2017, at 2:47 PM, Hubert Kario <hkario@redhat.com> wrote:
>=20
> But in general, I wonder if we didn't approach the SNI from the wrong =
side -=20
> as I said, we may not need to encrypt it, we just make sure that =
client and=20
> server agree on the virtual host the connection is going to.

They can do that with a name in the clear.  If the name is to be hidden
from passive observers, then you do need encryption so that only the
client and server, and not the passive observers, can recover the name.

Encryption means key agreement, and requires delaying SNI by a =
round-trip,
or having published DH shares in DNS, which of course also needs privacy
protection for SNI encryption to matter.

I do believe this was discussed at some length previously.

--=20
--=20
	Viktor.


From nobody Wed May 10 12:09:35 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8D927128768 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 12:09:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 fzx4vjat6Tbm for <tls@ietfa.amsl.com>; Wed, 10 May 2017 12:09:33 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D933D126C23 for <tls@ietf.org>; Wed, 10 May 2017 12:09:32 -0700 (PDT)
Received: from pps.filterd (m0050102.ppops.net [127.0.0.1]) by m0050102.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4AJ7IVj004367 for <tls@ietf.org>; Wed, 10 May 2017 20:09:30 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=tVhccfgMRUGbb0jJN2oLdcL0pgAwXvdrQNio0uj0fso=; b=An/rKvemkv2uIiTB2LYD1LOZcQK9magx/4yXaHE9njWvLBJDu7a5sVD5WR+bdLnnQKo4 9WkPByoxwlVxq8YJhE+4bA1o+8pfofOrts8jeEw0gCzEk98hOytWecJc3ybHOk0Wx3nu zW0TJJVuAdcxeceeDbrtTsn9IyS/lcoAaXctqH/e26IfoFoCk3fwWJ0B7Nfg2/UhwsME VkYmuWd/jjIJbx1eu3eSD9dCHhM8Cmzm6xo1hu1dQPC3rs7nDogDPtJ2otbBtwZvIejc KxuTIAJM2C2op256y7lBVh1bzufNWfZZkpeWgh5a3WlZs/HnymgjJRW924thhqznqdJQ Bg== 
Received: from prod-mail-ppoint1 (a184-51-33-18.deploy.static.akamaitechnologies.com [184.51.33.18] (may be forged)) by m0050102.ppops.net-00190b01. with ESMTP id 2absa14sty-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <tls@ietf.org>; Wed, 10 May 2017 20:09:30 +0100
Received: from pps.filterd (prod-mail-ppoint1.akamai.com [127.0.0.1]) by prod-mail-ppoint1.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4AJ6NVe030547 for <tls@ietf.org>; Wed, 10 May 2017 15:09:30 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.30]) by prod-mail-ppoint1.akamai.com with ESMTP id 2a99tufy7x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <tls@ietf.org>; Wed, 10 May 2017 15:09:30 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb1.msg.corp.akamai.com (172.27.123.101) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Wed, 10 May 2017 15:09:29 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1263.000; Wed, 10 May 2017 15:09:29 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: TLS WG <tls@ietf.org>
Thread-Topic: [TLS] "Encrypted" SNI
Thread-Index: AQHSybLvEhuV4X1WPk6Zn8r+xi6goaHuJToAgAAGG4CAAATvgP//ve5Q
Date: Wed, 10 May 2017 19:09:28 +0000
Message-ID: <ae7391bed72c476a8e0b52f07854725d@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <5920A6B3-66F5-44D5-A367-82AD6431A6C4@dukhovni.org> <2478514.aZun5FUmZT@pintsize.usersys.redhat.com> <20865FC2-A021-4EAC-ACDA-E400855B5CE0@dukhovni.org>
In-Reply-To: <20865FC2-A021-4EAC-ACDA-E400855B5CE0@dukhovni.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.32.197]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-10_15:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705100130
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-10_15:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705100130
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/f9gTvYNqqLg5Yj_lY3iCxlbtoQ4>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 19:09:34 -0000

> Encryption means key agreement, and requires delaying SNI by a round-trip=
,
> or having published DH shares in DNS, which of course also needs privacy
> protection for SNI encryption to matter.

With TLS1.3 encryptedExtensions, secure "domain fronting" becomes possible.=
 =20

A am long overdue for a writeup on this.


From nobody Wed May 10 12:12:44 2017
Return-Path: <huitema@huitema.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E279912762F for <tls@ietfa.amsl.com>; Wed, 10 May 2017 12:12:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.099
X-Spam-Level: 
X-Spam-Status: No, score=0.099 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham 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 4kA5sh6oj1dq for <tls@ietfa.amsl.com>; Wed, 10 May 2017 12:12:41 -0700 (PDT)
Received: from mx36-42.antispamcloud.com (mx36-42.antispamcloud.com [209.126.121.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 53660126B6D for <tls@ietf.org>; Wed, 10 May 2017 12:12:41 -0700 (PDT)
Received: from xsmtp06.mail2web.com ([168.144.250.232]) by mx36.antispamcloud.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.86) (envelope-from <huitema@huitema.net>) id 1d8X2N-0006rl-I6 for tls@ietf.org; Wed, 10 May 2017 21:12:40 +0200
Received: from [10.5.2.17] (helo=xmail07.myhosting.com) by xsmtp06.mail2web.com with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from <huitema@huitema.net>) id 1d8X2L-00035d-Hg for tls@ietf.org; Wed, 10 May 2017 15:12:38 -0400
Received: (qmail 22614 invoked from network); 10 May 2017 19:12:35 -0000
Received: from unknown (HELO [192.168.200.68]) (Authenticated-user:_huitema@huitema.net@[72.235.151.78]) (envelope-sender <huitema@huitema.net>) by xmail07.myhosting.com (qmail-ldap-1.03) with ESMTPA for <tls@ietf.org>; 10 May 2017 19:12:35 -0000
To: tls@ietf.org
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <5920A6B3-66F5-44D5-A367-82AD6431A6C4@dukhovni.org> <2478514.aZun5FUmZT@pintsize.usersys.redhat.com> <20865FC2-A021-4EAC-ACDA-E400855B5CE0@dukhovni.org>
From: Christian Huitema <huitema@huitema.net>
Message-ID: <b117285e-4820-3ed8-9eb8-0f0d09e17f09@huitema.net>
Date: Wed, 10 May 2017 12:12:34 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20865FC2-A021-4EAC-ACDA-E400855B5CE0@dukhovni.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: 168.144.250.232
X-SpamExperts-Domain: xsmtpout.mail2web.com
X-SpamExperts-Username: 168.144.250.0/24
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=168.144.250.0/24@xsmtpout.mail2web.com
X-SpamExperts-Outgoing-Class: ham
X-SpamExperts-Outgoing-Evidence: Combined (0.10)
X-Recommended-Action: accept
X-Filter-ID: s0sct1PQhAABKnZB5plbIVbU93hg6Kq00BjAzYBqWlVTHAar8Je/lORhy3PZJU8LERWeKKG4PAQY Nyavp7c49I98TYJ6ZsqWtR/HDmWTg9dTugiLDom8V25hond3K4RsO76XSTAwtV4mg4i2ouCDa4AU hvIWAV5xUW/+gAh4vXqstSUqOv19ssXzGimea9RjRcOb18WfxGyg6Om6u4YYm8U8PJYfwDzxUsvn W7IGAt05hjoyEb9Oq0NWpyO3vrfYJa7GnXDffeBY//TcvM3Flj3dKxLhoxcmaInYbR5vlqGudzLe k2TYFBStSOMccbr5Uz0sPgnpAk2KA2vJwMd1uWhCmLzOxTAcQmFWVARhgNqBNFD3an3wiMp49rVr ybSBqW+JovcC0XtHTtanzqbG/HTFgIfDMShmlQFqCr5hA8xAXSGwpLGc/Znuh3MoIpK0RIi70Zj/ IY8QKxHw+AcBk7bRF0J+AL6gRRwFcty0/RGJ+cv73CChOPjKA0/DVd83mzKXD5o/Ia+BqyQ7Q0nt IZ2PVtMHd8bHCmdzlxzVIEgwyGTHIAoNFX+jcW7DGmdE6eBVl9/A6GtGi+mfMSANmjLzCyMdOETT xDqixVDal2Zqxiuap5uKiBpffUsHYsfmkrboF55pyqAvfOP9PRiFk64VFGHGL6a4Aiv0Hpn+svlW gWWsfzmdEBxk/w4+z2XWHxcEeYXaEh7Ip8nBmIzXZwpqT8auRNlXQctohljUCg/BLRpUPYqBUd+r v2LSTGakKhBaevb8pkwVq3+XN9bPyjRMyLUEno1frs9vZR0iI5iTGneI1cCMIcE6R6jtJ8btb7sy ltanepIHrA9+HqSAzeBJotfmDEuf371A4KffGQaso9iv7kZ9azJt3DY/E7nm
X-Report-Abuse-To: spam@quarantine5.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/3dCFO0-gHjjnkCNHFqLvHbQXUso>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 19:12:43 -0000

On 5/10/2017 12:04 PM, Viktor Dukhovni wrote:
>> On May 10, 2017, at 2:47 PM, Hubert Kario <hkario@redhat.com> wrote:
>>
>> But in general, I wonder if we didn't approach the SNI from the wrong =
side -=20
>> as I said, we may not need to encrypt it, we just make sure that clien=
t and=20
>> server agree on the virtual host the connection is going to.
> They can do that with a name in the clear.  If the name is to be hidden=

> from passive observers, then you do need encryption so that only the
> client and server, and not the passive observers, can recover the name.=

>
> Encryption means key agreement, and requires delaying SNI by a round-tr=
ip,
> or having published DH shares in DNS, which of course also needs privac=
y
> protection for SNI encryption to matter.
>
> I do believe this was discussed at some length previously.
It certainly was. But then the clear text SNI is a gaping privacy hole
in TLS, the kind of issue that should keep us awake at night until it is
resolved. We need to make sure that we make progress, rather than rehash
the old arguments. Maybe we should invest some time and document the
various proposals in a draft. I am willing to work on that. Any other
volunteers?

-- Christian Huitema


From nobody Wed May 10 12:15:24 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0DB3112EA59 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 12:15:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 Hx-CZ61-lbIh for <tls@ietfa.amsl.com>; Wed, 10 May 2017 12:15:04 -0700 (PDT)
Received: from prod-mail-xrelay08.akamai.com (prod-mail-xrelay08.akamai.com [96.6.114.112]) by ietfa.amsl.com (Postfix) with ESMTP id CFFE112EA74 for <tls@ietf.org>; Wed, 10 May 2017 12:15:03 -0700 (PDT)
Received: from prod-mail-xrelay08.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 861ED200041; Wed, 10 May 2017 19:15:03 +0000 (GMT)
Received: from prod-mail-relay08.akamai.com (prod-mail-relay08.akamai.com [172.27.22.71]) by prod-mail-xrelay08.akamai.com (Postfix) with ESMTP id 66AD7200014; Wed, 10 May 2017 19:15:03 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1494443703; bh=EDBAKLIRl+cTq50pa2dKz98glpwOW4WT+olWCVzS88M=; l=4151; h=To:References:From:Date:In-Reply-To:From; b=YvqqHKkj1Y/CMiyJNoYBzwe0kmgEmmS165rg9pj7dLtln8+hbCavWnRmxqsn7AcvN rydTQBNIBlhLBHdC9ARsWygDOS8N79h0PoW1rmN4mmIefM98VmBmZ1Qw/OWpdBhL5E Fu+psm4K0DhwVpBWLnQ6CqNCtI0LoNKWp80lSTLA=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay08.akamai.com (Postfix) with ESMTP id 1951B98084; Wed, 10 May 2017 19:15:03 +0000 (GMT)
To: Christian Huitema <huitema@huitema.net>, tls@ietf.org
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <5920A6B3-66F5-44D5-A367-82AD6431A6C4@dukhovni.org> <2478514.aZun5FUmZT@pintsize.usersys.redhat.com> <20865FC2-A021-4EAC-ACDA-E400855B5CE0@dukhovni.org> <b117285e-4820-3ed8-9eb8-0f0d09e17f09@huitema.net>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <326d4637-cb99-4892-4c82-ce5d52b0b4a0@akamai.com>
Date: Wed, 10 May 2017 14:15:01 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <b117285e-4820-3ed8-9eb8-0f0d09e17f09@huitema.net>
Content-Type: multipart/alternative; boundary="------------0B2B124A08EC47BD92585162"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/UY4NFBViNRc1PX4UXPxDsVRuJrA>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 19:15:05 -0000

This is a multi-part message in MIME format.
--------------0B2B124A08EC47BD92585162
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

On 05/10/2017 02:12 PM, Christian Huitema wrote:
>
> On 5/10/2017 12:04 PM, Viktor Dukhovni wrote:
>>> On May 10, 2017, at 2:47 PM, Hubert Kario <hkario@redhat.com> wrote:
>>>
>>> But in general, I wonder if we didn't approach the SNI from the wrong side - 
>>> as I said, we may not need to encrypt it, we just make sure that client and 
>>> server agree on the virtual host the connection is going to.
>> They can do that with a name in the clear.  If the name is to be hidden
>> from passive observers, then you do need encryption so that only the
>> client and server, and not the passive observers, can recover the name.
>>
>> Encryption means key agreement, and requires delaying SNI by a round-trip,
>> or having published DH shares in DNS, which of course also needs privacy
>> protection for SNI encryption to matter.
>>
>> I do believe this was discussed at some length previously.
> It certainly was. But then the clear text SNI is a gaping privacy hole
> in TLS, the kind of issue that should keep us awake at night until it is
> resolved. We need to make sure that we make progress, rather than rehash
> the old arguments. Maybe we should invest some time and document the
> various proposals in a draft. I am willing to work on that. Any other
> volunteers?
>

It seems like there are a number of ways to encrypt the SNI for the
*second* (and subsequent) exchange with a given server; I have one that
I have some notes on and might try to write up.  But do we think that's
worth doing, or do we want to also provide protection for the initial
contact?  It seems like there is a qualitative difference, there...

-Ben

--------------0B2B124A08EC47BD92585162
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/10/2017 02:12 PM, Christian Huitema wrote:<br>
    <blockquote
      cite="mid:b117285e-4820-3ed8-9eb8-0f0d09e17f09@huitema.net"
      type="cite">
      <pre wrap="">

On 5/10/2017 12:04 PM, Viktor Dukhovni wrote:
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">On May 10, 2017, at 2:47 PM, Hubert Kario <a class="moz-txt-link-rfc2396E" href="mailto:hkario@redhat.com">&lt;hkario@redhat.com&gt;</a> wrote:

But in general, I wonder if we didn't approach the SNI from the wrong side - 
as I said, we may not need to encrypt it, we just make sure that client and 
server agree on the virtual host the connection is going to.
</pre>
        </blockquote>
        <pre wrap="">They can do that with a name in the clear.  If the name is to be hidden
from passive observers, then you do need encryption so that only the
client and server, and not the passive observers, can recover the name.

Encryption means key agreement, and requires delaying SNI by a round-trip,
or having published DH shares in DNS, which of course also needs privacy
protection for SNI encryption to matter.

I do believe this was discussed at some length previously.
</pre>
      </blockquote>
      <pre wrap="">It certainly was. But then the clear text SNI is a gaping privacy hole
in TLS, the kind of issue that should keep us awake at night until it is
resolved. We need to make sure that we make progress, rather than rehash
the old arguments. Maybe we should invest some time and document the
various proposals in a draft. I am willing to work on that. Any other
volunteers?

</pre>
    </blockquote>
    <br>
    It seems like there are a number of ways to encrypt the SNI for the
    *second* (and subsequent) exchange with a given server; I have one
    that I have some notes on and might try to write up.  But do we
    think that's worth doing, or do we want to also provide protection
    for the initial contact?  It seems like there is a qualitative
    difference, there...<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------0B2B124A08EC47BD92585162--


From nobody Wed May 10 12:28:55 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2BC0F12E034 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 12:28:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.002
X-Spam-Level: 
X-Spam-Status: No, score=-0.002 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 PR6t3kGbA-ZI for <tls@ietfa.amsl.com>; Wed, 10 May 2017 12:28:51 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id 116681274D0 for <tls@ietf.org>; Wed, 10 May 2017 12:28:50 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 9967B21C96; Wed, 10 May 2017 22:28:49 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id gsmsJwWg84E6; Wed, 10 May 2017 22:28:49 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 6F15B27F; Wed, 10 May 2017 22:28:49 +0300 (EEST)
Date: Wed, 10 May 2017 22:28:48 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Hubert Kario <hkario@redhat.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170510192848.GA11915@LK-Perkele-V2.elisa-laajakaista.fi>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Ew1sZwDGjHHDDRDsqRhuoyaEd4o>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 19:28:53 -0000

On Wed, May 10, 2017 at 07:28:51PM +0200, Hubert Kario wrote:
> Yes, encrypted SNI was discussed and ultimately rejected.
> 
> But do we really have to send the literal value? Don't we need to just make 
> sure that the client and server agree on the host that the client wants to 
> connect?
> 
> Couldn't we "encrypt" the SNI by hashing the host name with a salt, sending 
> the salt and the resulting hash, making the server calculate the same hash 
> with each of the virtual host names it supports and comparing with the client 
> provided value?

What makes encrypting SNI nasty is replay attacks.

There also was proposal for putting SNI mapping into DNS (which limits the
leakage if DNS lookups are private). However, I came up with a way to use
that to attack HTTPS (the usual "default vhost" attacks).


-Ilari


From nobody Wed May 10 13:51:58 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 874FD12EAB8 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 13:51:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 vnT_TgSmXxes for <tls@ietfa.amsl.com>; Wed, 10 May 2017 13:51:56 -0700 (PDT)
Received: from mail-wr0-x22e.google.com (mail-wr0-x22e.google.com [IPv6:2a00:1450:400c:c0c::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 17FFF129C0B for <tls@ietf.org>; Wed, 10 May 2017 13:51:56 -0700 (PDT)
Received: by mail-wr0-x22e.google.com with SMTP id w50so5829444wrc.0 for <tls@ietf.org>; Wed, 10 May 2017 13:51:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fr9hkLgnOgIPih9ODqM+NTfYEORcIpdF6R4GVV4xUVk=; b=tqwP+qXtWtUt0WB9m5EPOiclqgmg+0N9PV34QlksolpWJEgR+jwL0zFynfqWvYTiZl /Klwm4RDIFVAyi3aeJSUGlcfn+GBguRkA8bi4yaEl0L+UWQCMhsuVw2W86wtm+bAaYRU G6x/YVFuas9fuSsm+wCZQjBnhiEKGzqL+8tbVVdnofR/gIPSw7Q4hSBZfO1i5rFcfm/+ OR+/zjK2ZLmsLqHY5G8Vv4ED7yCqgx7wL8D7Mt4fFPNjuRuI0gd23yFGGATk9AiDcJ8Z mM8JR8o+F1j62lGapMRQYq2Nbq2qTCC9Fy19xPmCi9YWrv7E2ogJN4KFgDNwu5CNIkBW QOjg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fr9hkLgnOgIPih9ODqM+NTfYEORcIpdF6R4GVV4xUVk=; b=PnvkULzeiwdlGGjpeXka3nKPH87kgt9JbVQCrcTfEe8NJkQT1LYwWKj3OrwjiEgMPX dS4tzanhXo/Czd8OrZYhmkQYvca2RY/OSKX/8zrmo8RCr63TbqOHppbd0FIHnuSrwrvp jrEWJlzIjn9W52ISS3Vba3WD+HnrURikU4jWYZdWycH2u20jIOLN34aSFFWElk21K2Zo NwF8FWCyc7Dlp0PfXyIPX7FZWFEAQ70BfBN28ME/lzdZLwZ/fmxfZDP9TANpso9ajfSz Ya2zjUA/0twrhJZL5tyPuPwAyNQmrkb0/aUoSgTzVNhoA0msfRo/tkbYrIY6+8WLtEv1 5x2w==
X-Gm-Message-State: AODbwcDND9hBEhPG54PDkQX9EgwyiFC0alq9yDhyaB3vjZRK3g1bit5A +J9JNkvEBMQsEtw8KLfrbpm1DPEW79GA
X-Received: by 10.46.8.26 with SMTP id 26mr3503650lji.128.1494449514537; Wed, 10 May 2017 13:51:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Wed, 10 May 2017 13:51:53 -0700 (PDT)
In-Reply-To: <CAMoSCWYokkJO7NdJ78SpviiUoZdDzD225JnS+QW0KZcVMty2Hg@mail.gmail.com>
References: <CAMoSCWYokkJO7NdJ78SpviiUoZdDzD225JnS+QW0KZcVMty2Hg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 11 May 2017 06:51:53 +1000
Message-ID: <CABkgnnVdY7esjLTPakjV6i781eFMdXbZg+PbgLoVmGLdxMh_Bg@mail.gmail.com>
To: Matt Caswell <frodo@baggins.org>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Vq1ygQrEqvCXgz6NcP9B3Kz-MBs>
Subject: Re: [TLS] Alerts
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 20:51:57 -0000

On 11 May 2017 at 01:21, Matt Caswell <frodo@baggins.org> wrote:
> Do we really need all of these alerts?

NSS uses these, but in ways that I don't really understand.  I think
that this is part of the general issue that TLS does and doesn't
really include requirements about how to handle the certificate chain.


From nobody Wed May 10 14:40:21 2017
Return-Path: <roland@zinks.de>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0452C1294AB for <tls@ietfa.amsl.com>; Wed, 10 May 2017 14:40:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.799
X-Spam-Level: 
X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=zinks.de
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 nXsmxvnXal_a for <tls@ietfa.amsl.com>; Wed, 10 May 2017 14:40:18 -0700 (PDT)
Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6B25C128DF3 for <tls@ietf.org>; Wed, 10 May 2017 14:40:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1494452416; l=3533; s=domk; d=zinks.de; h=Content-Type:In-Reply-To:MIME-Version:Date:From:References:To: Subject; bh=l0kUKntxWwDXkkAsjuFGtqnwTM8eAxq4tkOQrgZUJkE=; b=W3DhWT4Tdz7USPPm1Juy5itkFbsWlWH8VRpUp88NFlQybyxZLWNf/4dqJtbNFAiZRv ioUT6M8bQiYJnU/Y5F9eFulkqWzAohZypTBtzPpD4dyfGYIHPQNgsUCoqvdX/4We3l/t 1SQ1uCt8RGE/Je32cFKM/3C3fi1po08GWwNgw=
X-RZG-AUTH: :PmMIdE6sW+WWP9q/oR3Lt+I+9KAK33vRJaCwLQNJU2mlIkBC0t1G+0bSVECAiLyIweUns/Oqm8M2XeLgRv9qu3DB7g==
X-RZG-CLASS-ID: mo00
Received: from [IPv6:2001:4dd0:ff67:0:9c05:2dc6:bb3c:d4e3] ([2001:4dd0:ff67:0:9c05:2dc6:bb3c:d4e3]) by smtp.strato.de (RZmta 40.6 AUTH) with ESMTPSA id 608061t4ALeFUvU (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for <tls@ietf.org>; Wed, 10 May 2017 23:40:15 +0200 (CEST)
To: tls@ietf.org
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com>
From: Roland Zink <roland@zinks.de>
Message-ID: <a6029246-46f6-d698-983f-b668d70e2780@zinks.de>
Date: Wed, 10 May 2017 23:40:15 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com>
Content-Type: multipart/alternative; boundary="------------2FE4FA50E007C1BDCD8DF731"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/DRRsSPZVF1eQ0v7s17YOVKIzIGc>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 21:40:21 -0000

This is a multi-part message in MIME format.
--------------2FE4FA50E007C1BDCD8DF731
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

The SNI extension is optional, so you don't have to send the literal 
value. Indeed quite some number of apps do not send it. Browsers 
currently can't know if the SNI is required by the origin servers and 
usually send this, but there could be some signal to not send it. One 
example could be a HTTP header to tell the browser that SNI should be 
send and if it isn't present then no SNI is send. Unfortunately this 
would break current sites but still it can be done the other way around 
e.g. send a header to not send SNI.

Regards,

Roland


Am 10.05.2017 um 19:28 schrieb Hubert Kario:
> Yes, encrypted SNI was discussed and ultimately rejected.
>
> But do we really have to send the literal value? Don't we need to just make
> sure that the client and server agree on the host that the client wants to
> connect?
>
> Couldn't we "encrypt" the SNI by hashing the host name with a salt, sending
> the salt and the resulting hash, making the server calculate the same hash
> with each of the virtual host names it supports and comparing with the client
> provided value?
>
> (apologies if that was already proposed and rejected)
>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls


--------------2FE4FA50E007C1BDCD8DF731
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>The SNI extension is optional, so you don't have to send the
      literal value. Indeed quite some number of apps do not send it.
      Browsers currently can't know if the SNI is required by the origin
      servers and usually send this, but there could be some signal to
      not send it. One example could be a HTTP header to tell the
      browser that SNI should be send and if it isn't present then no
      SNI is send. Unfortunately this would break current sites but
      still it can be done the other way around e.g. send a header to
      not send SNI.</p>
    <p>Regards,</p>
    <p>Roland</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Am 10.05.2017 um 19:28 schrieb Hubert
      Kario:<br>
    </div>
    <blockquote
      cite="mid:3768598.32hupQ9b2b@pintsize.usersys.redhat.com"
      type="cite">
      <pre wrap="">Yes, encrypted SNI was discussed and ultimately rejected.

But do we really have to send the literal value? Don't we need to just make 
sure that the client and server agree on the host that the client wants to 
connect?

Couldn't we "encrypt" the SNI by hashing the host name with a salt, sending 
the salt and the resulting hash, making the server calculate the same hash 
with each of the virtual host names it supports and comparing with the client 
provided value?

(apologies if that was already proposed and rejected)
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
TLS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TLS@ietf.org">TLS@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/tls">https://www.ietf.org/mailman/listinfo/tls</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------2FE4FA50E007C1BDCD8DF731--


From nobody Wed May 10 14:51:07 2017
Return-Path: <huitema@huitema.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EAE631292CE for <tls@ietfa.amsl.com>; Wed, 10 May 2017 14:51:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.099
X-Spam-Level: 
X-Spam-Status: No, score=0.099 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham 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 R92tBTsef5E7 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 14:51:05 -0700 (PDT)
Received: from mx43-out1.antispamcloud.com (mx43-out1.antispamcloud.com [138.201.61.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3FA4E1292C5 for <tls@ietf.org>; Wed, 10 May 2017 14:51:05 -0700 (PDT)
Received: from xsmtp24.mail2web.com ([168.144.250.190] helo=xsmtp04.mail2web.com) by mx43.antispamcloud.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.86) (envelope-from <huitema@huitema.net>) id 1d8ZVe-0006Ye-Ol for tls@ietf.org; Wed, 10 May 2017 23:51:03 +0200
Received: from [10.5.2.49] (helo=xmail11.myhosting.com) by xsmtp04.mail2web.com with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from <huitema@huitema.net>) id 1d8ZVZ-0006vf-Iw for tls@ietf.org; Wed, 10 May 2017 17:50:58 -0400
Received: (qmail 17763 invoked from network); 10 May 2017 21:50:51 -0000
Received: from unknown (HELO [192.168.200.68]) (Authenticated-user:_huitema@huitema.net@[72.235.151.78]) (envelope-sender <huitema@huitema.net>) by xmail11.myhosting.com (qmail-ldap-1.03) with ESMTPA for <tls@ietf.org>; 10 May 2017 21:50:51 -0000
To: Roland Zink <roland@zinks.de>, tls@ietf.org
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <a6029246-46f6-d698-983f-b668d70e2780@zinks.de>
From: Christian Huitema <huitema@huitema.net>
Message-ID: <1be2b15e-2e96-89f4-fe72-7f35a03ae99b@huitema.net>
Date: Wed, 10 May 2017 14:50:50 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <a6029246-46f6-d698-983f-b668d70e2780@zinks.de>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: 168.144.250.190
X-SpamExperts-Domain: xsmtpout.mail2web.com
X-SpamExperts-Username: 168.144.250.0/24
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=168.144.250.0/24@xsmtpout.mail2web.com
X-SpamExperts-Outgoing-Class: unsure
X-SpamExperts-Outgoing-Evidence: Combined (0.16)
X-Recommended-Action: accept
X-Filter-ID: s0sct1PQhAABKnZB5plbIVbU93hg6Kq00BjAzYBqWlVTHAar8Je/lORhy3PZJU8LERWeKKG4PAQY Nyavp7c49Nd7AN7sevoJn7jQtAGeOfdTugiLDom8V25hond3K4RsO76XSTAwtV4mg4i2ouCDa4AU hvIWAV5xUW/+gAh4vXpsm1bsvpS6/5av0CXYg4TrRcOb18WfxGyg6Om6u4YYm4Rd89++QihjXUN6 t2+7VS45hjoyEb9Oq0NWpyO3vrfYvxyiiU8VkSVtodr6VFoM0T3dKxLhoxcmaInYbR5vlqGudzLe k2TYFBStSOMccbr5Uz0sPgnpAk2KA2vJwMd1uWhCmLzOxTAcQmFWVARhgNqBNFD3an3wiMp49rVr ybSBCDRZgQnFYkq0SOLrmvxpF3TFgIfDMShmlQFqCr5hA8xAXSGwpLGc/Znuh3MoIpK0TQjVng+I 4j5NH+PNTw0CHLbRF0J+AL6gRRwFcty0/RGJ+cv73CChOPjKA0/DVd83mzKXD5o/Ia+BqyQ7Q0nt IZ2PVtMHd8bHCmdzlxzVIEgwyGTHIAoNFX+jcW7DGmdE6eBVl9/A6GtGi+mfMSANmgQ9/T0zHbtC pLbhgZ6Z/Qhqxiuap5uKiBpffUsHYsfmrbtbs8GJuRKR6hnrta1usy6F/SOWlhnS7qkS/mOkSgD5 8bDUIriOSOQTK7vaz2jBsjp0rjSY76LAIHA6cW4Oa67s2SuN2OBHS35xAp92lJI/So36ili1tgrL sQ8JMBxgxdwDV/LdQk4Dnvnv/o4ZpIN8Tfe43vaXKX/yihCEqxIlRZaHuAWSnHeK3PdSA6Q+2n/k rhIYlNMbfS0wdTtG+6JGvz6FazW2uq9LM3++XT4UhuDAoR32cV4eNY9hrm4n
X-Report-Abuse-To: spam@quarantine5.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/PxDE05WxL2ixMPuvOAfmjL-TTTc>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 21:51:07 -0000

On 5/10/2017 2:40 PM, Roland Zink wrote:
> The SNI extension is optional, so you don't have to send the literal
> value. Indeed quite some number of apps do not send it. Browsers
> currently can't know if the SNI is required by the origin servers and
> usually send this, but there could be some signal to not send it. One
> example could be a HTTP header to tell the browser that SNI should be
> send and if it isn't present then no SNI is send. Unfortunately this
> would break current sites but still it can be done the other way
> around e.g. send a header to not send SNI.

Yes. But this is only possible when each service has a separate IP
address. The privacy gain occurs precisely when several services share
the same address, but that's exactly when the SNI is required. If the
SNI was somehow encrypted, adversaries would not be able to use it to
find which service the user is connecting to.

-- Christian Huitema


From nobody Wed May 10 15:03:27 2017
Return-Path: <roland@zinks.de>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 06A0E129A90 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 15:03:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=zinks.de
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 TAcwq4Kc9DQI for <tls@ietfa.amsl.com>; Wed, 10 May 2017 15:03:23 -0700 (PDT)
Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 705BF1292C5 for <tls@ietf.org>; Wed, 10 May 2017 15:03:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1494453801; l=1141; s=domk; d=zinks.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version: Date:From:References:To:Subject; bh=sOBo4JVp20HIk0j3i7vnAy/aYhj5e/Ztb7JVpCyntxk=; b=fZDtCOIU0kQTRcyUrKS7vWa/gDi40js3OEBtkSANZ+FooXjXx5bD12RxK40hVaVlI9 lrMqFU/NF1YJ+tHm9ZiFZ2dmDKkHk9/pQwfg0t4xl8s2ICElNHmia/3TCn5WlSywPMk5 WQQfa2Biq3wn+2SeItmfW/noubLCCipizV8XI=
X-RZG-AUTH: :PmMIdE6sW+WWP9q/oR3Lt+I+9KAK33vRJaCwLQNJU2mlIkBC0t1G+0bSVECAiLyIweUns/Oqm8M2XeLgRv9qu3DB7g==
X-RZG-CLASS-ID: mo00
Received: from [IPv6:2001:4dd0:ff67:0:9c05:2dc6:bb3c:d4e3] ([2001:4dd0:ff67:0:9c05:2dc6:bb3c:d4e3]) by smtp.strato.de (RZmta 40.6 AUTH) with ESMTPSA id 90a140t4AM3EVMz (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 11 May 2017 00:03:14 +0200 (CEST)
To: Christian Huitema <huitema@huitema.net>, tls@ietf.org
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <a6029246-46f6-d698-983f-b668d70e2780@zinks.de> <1be2b15e-2e96-89f4-fe72-7f35a03ae99b@huitema.net>
From: Roland Zink <roland@zinks.de>
Message-ID: <95423440-7d9a-6568-0e80-e58e3e27a373@zinks.de>
Date: Thu, 11 May 2017 00:03:15 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <1be2b15e-2e96-89f4-fe72-7f35a03ae99b@huitema.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/P_pAZ-03LWR58T7MB46OVBubB_c>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 22:03:25 -0000

Not necessarily as you may for example use the path part of a URL to 
distinguish between services.


Roland




Am 10.05.2017 um 23:50 schrieb Christian Huitema:
>
> On 5/10/2017 2:40 PM, Roland Zink wrote:
>> The SNI extension is optional, so you don't have to send the literal
>> value. Indeed quite some number of apps do not send it. Browsers
>> currently can't know if the SNI is required by the origin servers and
>> usually send this, but there could be some signal to not send it. One
>> example could be a HTTP header to tell the browser that SNI should be
>> send and if it isn't present then no SNI is send. Unfortunately this
>> would break current sites but still it can be done the other way
>> around e.g. send a header to not send SNI.
> Yes. But this is only possible when each service has a separate IP
> address. The privacy gain occurs precisely when several services share
> the same address, but that's exactly when the SNI is required. If the
> SNI was somehow encrypted, adversaries would not be able to use it to
> find which service the user is connecting to.
>
> -- Christian Huitema
>


From nobody Wed May 10 19:02:41 2017
Return-Path: <dkg@fifthhorseman.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 23F0A126BF0 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 19:02:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.591
X-Spam-Level: *
X-Spam-Status: No, score=1.591 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DATE_IN_PAST_03_06=1.592] 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 OmS2LmMDN_Nq for <tls@ietfa.amsl.com>; Wed, 10 May 2017 19:02:38 -0700 (PDT)
Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by ietfa.amsl.com (Postfix) with ESMTP id 4464D129329 for <tls@ietf.org>; Wed, 10 May 2017 19:02:38 -0700 (PDT)
Received: from fifthhorseman.net (ool-6c3a0662.static.optonline.net [108.58.6.98]) by che.mayfirst.org (Postfix) with ESMTPSA id B078FF993; Wed, 10 May 2017 22:02:37 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id CD21820F79; Wed, 10 May 2017 16:24:05 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Christian Huitema <huitema@huitema.net>, tls@ietf.org
In-Reply-To: <b117285e-4820-3ed8-9eb8-0f0d09e17f09@huitema.net>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <5920A6B3-66F5-44D5-A367-82AD6431A6C4@dukhovni.org> <2478514.aZun5FUmZT@pintsize.usersys.redhat.com> <20865FC2-A021-4EAC-ACDA-E400855B5CE0@dukhovni.org> <b117285e-4820-3ed8-9eb8-0f0d09e17f09@huitema.net>
Date: Wed, 10 May 2017 16:24:05 -0400
Message-ID: <87ziekihp6.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/2s-QimIdgwCawJfBDvFlCxczuAg>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 May 2017 02:02:39 -0000

On Wed 2017-05-10 12:12:34 -0700, Christian Huitema wrote:
> It certainly was. But then the clear text SNI is a gaping privacy hole
> in TLS, the kind of issue that should keep us awake at night until it is
> resolved. We need to make sure that we make progress, rather than rehash
> the old arguments. Maybe we should invest some time and document the
> various proposals in a draft. I am willing to work on that. Any other
> volunteers?

I agree with Christian's assessment of the problem, and i'd be
interested in collaborating on such a draft.

The DNS folks are making strides to protect name information (the other
main place where this kind of data is leaking).  TLS needs to keep up.

    --dkg


From nobody Wed May 10 22:00:22 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C5A412945E for <tls@ietfa.amsl.com>; Wed, 10 May 2017 22:00:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 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, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 CkcEnZfu_bOJ for <tls@ietfa.amsl.com>; Wed, 10 May 2017 22:00:19 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (prod-mail-xrelay07.akamai.com [23.79.238.175]) by ietfa.amsl.com (Postfix) with ESMTP id BE1AF126BF6 for <tls@ietf.org>; Wed, 10 May 2017 22:00:18 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id C57C743341D; Thu, 11 May 2017 05:00:17 +0000 (GMT)
Received: from prod-mail-relay10.akamai.com (prod-mail-relay10.akamai.com [172.27.118.251]) by prod-mail-xrelay07.akamai.com (Postfix) with ESMTP id A49D2433404; Thu, 11 May 2017 05:00:17 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1494478817; bh=HRNPBKul+yjifRzdQYgnXaODVSmBYJI0Lx/sFhQMwSg=; l=28703; h=From:To:References:Date:In-Reply-To:From; b=VIe5uo/CDf8e1d2kfAyDUhTIympefFdMXCjjutEZwJ7jMZ4tUZG9WGpTgWUpyfj+W hqDhgaA+AHp3dEEfFr0yRiJE5Zz/0AhqJKRCH0tw9FpFJC9foi6MMvg80pjwWZxPeb 9uJj72ESIcnBSHXYDbmooB2WJWBxYROpykfcmtRo=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id 61F2D1FC03; Thu, 11 May 2017 05:00:17 +0000 (GMT)
From: Benjamin Kaduk <bkaduk@akamai.com>
To: =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>, "tls@ietf.org" <tls@ietf.org>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <c94ff8ac-583c-7bf4-83a3-5757e677b9c6@akamai.com>
Date: Thu, 11 May 2017 00:00:17 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------A8688FCAE9DFBFC6788D668E"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/wvKyMwACJ_sgzyq0as1sQXantjQ>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 May 2017 05:00:21 -0000

This is a multi-part message in MIME format.
--------------A8688FCAE9DFBFC6788D668E
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit

As Ilari says, there's a lot of stuff in here.  I'll put some thoughts
here at the top, and more inline.

First off, it seems somewhat self-evident that if we guarantee 0-RTT
non-replay, then of course it makes sense to just concatenate the
streams.  That is, if 0-RTT data is not replayable, there's not much
special about it to merit separating it off from normal application
data.  This isn't quite exactly true because of the DKG attack, but it
may be close enough to not matter.

However, I'm still not convinced that requiring strong 0-RTT non-replay
is feasible/the right thing to do.  So, I do not consider the question
of single stream vs. block-of-early-data + 1-RTT stream to be settled.

On 05/05/2017 11:28 AM, Colm MacCárthaigh wrote:
>
> I wanted to start a separate thread on this, just to make some small
> aspects of replay mitigating clear, because I'd like to make a case
> for TLS providing a single-stream, which is what people seem to be
> doing anyway. 
>
> Let's look at the DKG attack. There are two forms of the attack, one
> is as follows:
>
> "Client sends a request with a 0-RTT section. The attacker lets the
> server receive it, but suppresses the server responses, so the client
> downgrades and retries as a 1-RTT request over a new connection.
> Repeating the request". 
>

Does the client always downgrade?  We don't require it to do so, in TLS
1.3, though of course browsers would.

> In this case, server-side signaling such as the X-header trick doesn't
> work at all. But thankfully this attack is equivalent to an ordinary
> socket interference attack. E.g. if an attacker today suppressed a
> server response to a HTTP request, then the client will do its retry
> logic. It's the same, and I think everything is compatible with
> today's behavior.
>
> Next is the more interesting form of the attack:
>
> "Client sends a request with a 0-RTT section. For some reason the
> server can't reach the strike register or single use cache, and falls
> back to 1-RTT. Server accepts the request over 1-RTT.  Then a short
> time later, the attacker replays the original 0-RTT section."
>
> In this case, server side signaling to the application (such as the
> neat X- header trick) also doesn't work, and is not backwards
> compatible or secure by default. It doesn't work because the server
> application can't be made idempotent from "outside" the application,
> so any signaling is insufficient, and is equivalent to the
> Exactly-Once message delivery problem in distributed systems. Since a
> request might be retried as in case 1, it needs an application-level
> idempotency key, or a delay-and-retry strategy (but replay will break
> this). There's some detail on all this in the review. End result is
> that a server-side application that was never designed to reach
> duplicates may suddenly be getting exactly one duplicate (that's all
> the attack allows, if servers reject duplicate 0-RTT). 
>

I feel like many applications that use delay-and-retry will see this and
conclude that they should just not attempt to use 0-RTT.

> What is actually needed here, I think, is client-side signaling.
> Careful clients need to be made aware of the original 0-RTT failure. 
>
> So for example, an SDK that writes to an eventually consistent data
> store may treat any 0-RTT failure as a hard failure, and *not* proceed
> to sending the request over 1-RTT. Instead it

Right; nothing *requires* the client to retry failed 0-RTT as 1-RTT; the
application can decide it's willing to take the risk or use some other
strategy.  But I'm not convinced that the TLS stack needs to decide on
its own, without application input.

> might wait its retry period, do a poll, and only then retry the
> request. If the TLS implementation signals the original  0-RTT failure
> to the client, as if it were a connection error, everything is
> backwards compatible again. Well mostly; to be properly defensive, the
> client's retry time or polling interval needs to be greater than the
> potential replay window, because only then can it reason about whether
> the original request succeeded or not. If there is a strict maximum
> replay window, then this behavior is enforceable in a TLS
> implementation: by delaying the original failure notification to the
> client application by that amount. 
>

And if there is not a strict replay window defined in the spec, then the
client must have some way of knowing what window the server is using,
etc., etc..  When I added the 10-second guidance that's currently in
there, I explicitly wanted something concrete, but was not willing to
claim that I knew enough about all possible ways in which TLS can be
deployed to make a normative requirement for all users of the protocol. 
I don't think that's changed; setting a fixed global limit seems to be
asking for trouble.  I suppose if we really needed to we could stick it
in a NST extension, but I don't think we really need to.

> Of course browsers won't do this, and that's ok. Browsers have decided
> that aggressive retries is best for their application space. But
> careful clients /need/ this; and it's not just about backwards
> compatibility. It is a fundamental first-principles requirement for
> something that uses an eventually consistent data store. We can say
> don't use 0-RTT, but that's not practical, for reasons also in the review.

Does a careful client really need the TLS stack to signal connection
error?  Surely the TLS stack will provide a mechanism to inquire as to
the connection state, and whether 0-RTT was rejected.  The application
could implement its own delay.

And I read what you wrote in the github issue about how saying "don't
use 0-RTT" is not practical, but I don't believe that it is universally
true.  Some (careful) applications will rightly consider the tradeoffs
and decide to not use it.  On the web ... there are different forces at
play, and it may well take a (security bug) name and website to cause
webapp creators and framework authors to take proper notice.  But I am
having a hard time squaring your point about careful clients with the
point about non-practicality.  If there are careful clients, they will
heed warnings; if just using warnings is not practical, then what are
the careful clients doing?

>
> So if we want to fully mitigate DKG attacks, I think it is useful to
> hard cap the replay, say that it MUST be at most 10 seconds. And then
> worst case, a client that needs to be careful can wait 10 seconds.
> Note that the TLS implementation can do this on the client's behalf,
> by inserting a delay. Of course that means that for these kinds of
> applications, this means that 0-RTT delivers speed most of the time,
> but may occasionally slow things down by 10 seconds. I think that's an
> ok trade-off to make for backwards compatibility.
>

Again, does this need to be in the TLS implementation or can the
(careful) application do it?

But more importantly, a requirement to "randomly" (i.e., unpredictably)
introduce a large (10-second) delay into processing is going to cause a
lot of frustration in large deployments.  Predictability trumps average
speed, in many use cases.  In other words, I don't think your side of
the tradeoff is the IETF consensus position.

> But it also has implications for middle-boxes: a TLS reverse proxy
> needs to either not use 0-RTT on the "backend" side, or it needs to
> use it in very careful way; accepting 0-RTT from the original client,
> only if the backend also accepts a 0-RTT section from the proxy. This
> is to avoid the case where the client can't reason about the potential
> for a replay between the proxy and the backend. It's doable, but
> gnarly, and slows 0-RTT acceptance down to the round trip between the
> client and the backend, via the proxy. 
>

Waiting to find out if the backend accepts 0-RTT from the proxy
basically negates any value that might be gained from using 0-RTT there
-- it's more consistent and safer to always use 1-RTT.  Many (though of
course not all) reverse-proxy deployments

> That's one reason why the review suggests something else too:  just
> lock careful applications out, but in a mechanistic way rather than a
> "good intentions" way, by having TLS implementations *intentionally*
> duplicate 0-RTT sections. 
>

Err, regularly locking out careful applications is supposed to be a good
thing?

> O.k. so all of that the above might be a bit hairy: but I want to take
> away from it at this stage is that splitting the early_data and
> application_data at application level isn't particularly helpful; the
> server-side can't really use this information anyway, because of the
> Exactly-Once problem. Client side signaling does help though, and a
> simple safe-by-default mechanism there is to behave as if the
> connection has failed, but after writing the first section of data.
> E.g. in s2n this would be ...
>
> conn = s2n_connect(); // Client makes a connection
> r = s2n_write(conn, "GET / HTTP/1.1 ... "); // Client writes some
> data, we stuff it in the 0-RTT and send it. This write succeeds. From
> the client's perspective, it may or may not have been received; that's
> normal. 
>
> /* At this point the 0-RTT data is rejected by the server, and so it
> might be replayable  ... iff the server side strike-register or 
>    cache had a problem. 
>   
>    A pedantically correct TLS library might then pause here for 10
> seconds, or if it's non-blocking, then set a timer so that nothing can
> happen on conn for the next 10 seconds. Browsers could turn this
> behavior off, since they retry aggressively anyway. But it's a secure
> default that is backwards compatible.
> */
>
> r = s2n_read()/s2n_write()/s2n_shutdown();  // At this point, s2n
> returns failure. It's as if the connection failed. The client can
> implement its retry strategy, if any, safely; the request won't be
> replayed at this point. 
>
> r = s2n_connect(); // Client makes a new connection for a retry. 
>

(Again, the mandatory 10-second delay on 0-RTT rejection introduces huge
processing time variance, which is a no-go in some environments.)

It seems like you are taking the general stance that the TLS stack is
the only thing responsible for anti-replay and it should take strenuous
measures to effect anti-replay.  I don't disagree that the TLS stack
should provide anti-replay measures, but I also don't think that it's
the only actor in the stack that should be thinking about anti-replay. 
If we assume that the application can also be involved in anti-replay
(yes, an assumption, for this purpose), then a lot of these proposed
countermeasures seem excessive.  The careful client can introduce its
delays, and the careful server can also differentiate between 0-RTT and
1-RTT requests, holding on to potentially dangerous if replayed 0-RTT
requests until the handshake completes, and dropping them without
processing otherwise.  This is more efficient, as delay is only
introduced where needed for safety, and does not force the TLS stack to
make a one-size-maybe-fits-all decision on the tradeoffs involved.

I understand the desire to produce a protocol that is safe by default. 
But we do that already: by default, you don't get to use 0-RTT and
comply with the spec!  The TLS WG cannot take sole responsibility for
the security of the internet, or even the world wide web; we can provide
tools and do a lot of the work, but other things have to contribute as
well.  Side channels are a great example; we can do all we can at the
TLS layer but the application still has a boatload of chances to
introduce side channels that leak nominally secret information.  We can
provide a lot of tools, including single-use session caches/strike
registers, and encourage their use, and that helps make everything more
secure.  But I don't think we should feel like we need to go it alone.

>
> A slightly higher level API is probably more realistic, because
> there's a potential to optimize for connection re-use. There's really
> no need to tear down the whole connection and start-over. It's safe to
> proceed to 1-RTT if the delay has expired. A higher level API would
> fix that, but this is just the "safe by default" API I'm outlining. 
> Again, all I want to take away is that all of this is doable safely
> with a single stream. 
>

By the time the delay has expired you could have set up several 1-RTT
exchanges, yes. But then it starts looking more like a network
communications library built on top of the TLS protocol than just a TLS
protocol implementation.

-Ben

--------------A8688FCAE9DFBFC6788D668E
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>As Ilari says, there's a lot of stuff in here.  I'll put some
      thoughts here at the top, and more inline.<br>
      <br>
      First off, it seems somewhat self-evident that if we guarantee
      0-RTT non-replay, then of course it makes sense to just
      concatenate the streams.  That is, if 0-RTT data is not
      replayable, there's not much special about it to merit separating
      it off from normal application data.  This isn't quite exactly
      true because of the DKG attack, but it may be close enough to not
      matter.<br>
      <br>
      However, I'm still not convinced that requiring strong 0-RTT
      non-replay is feasible/the right thing to do.  So, I do not
      consider the question of single stream vs. block-of-early-data +
      1-RTT stream to be settled.<br>
    </tt><br>
    <div class="moz-cite-prefix">On 05/05/2017 11:28 AM, Colm
      MacCárthaigh wrote:<br>
    </div>
    <blockquote
cite="mid:CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div dir="ltr">
        <div><br>
        </div>
        <div>I wanted to start a separate thread on this, just to make
          some small aspects of replay mitigating clear, because I'd
          like to make a case for TLS providing a single-stream, which
          is what people seem to be doing anyway. </div>
        <div><br>
        </div>
        <div>Let's look at the DKG attack. There are two forms of the
          attack, one is as follows:</div>
        <div><br>
        </div>
        <div>"Client sends a request with a 0-RTT section. The attacker
          lets the server receive it, but suppresses the server
          responses, so the client downgrades and retries as a 1-RTT
          request over a new connection. Repeating the request". </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    Does the client always downgrade?  We don't require it to do so, in
    TLS 1.3, though of course browsers would.<br>
    <br>
    <blockquote
cite="mid:CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div> </div>
        <div>In this case, server-side signaling such as the X-header
          trick doesn't work at all. But thankfully this attack is
          equivalent to an ordinary socket interference attack. E.g. if
          an attacker today suppressed a server response to a HTTP
          request, then the client will do its retry logic. It's the
          same, and I think everything is compatible with today's
          behavior.</div>
        <div><br>
        </div>
        <div>Next is the more interesting form of the attack:</div>
        <div><br>
        </div>
        <div>
          <div>"Client sends a request with a 0-RTT section. For some
            reason the server can't reach the strike register or single
            use cache, and falls back to 1-RTT. Server accepts the
            request over 1-RTT.  Then a short time later, the attacker
            replays the original 0-RTT section."</div>
          <div><br>
          </div>
          <div>In this case, server side signaling to the application
            (such as the neat X- header trick) also doesn't work, and is
            not backwards compatible or secure by default. It doesn't
            work because the server application can't be made idempotent
            from "outside" the application, so any signaling is
            insufficient, and is equivalent to the Exactly-Once message
            delivery problem in distributed systems. Since a request
            might be retried as in case 1, it needs an application-level
            idempotency key, or a delay-and-retry strategy (but replay
            will break this). There's some detail on all this in the
            review. End result is that a server-side application that
            was never designed to reach duplicates may suddenly be
            getting exactly one duplicate (that's all the attack allows,
            if servers reject duplicate 0-RTT). </div>
          <div><br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I feel like many applications that use delay-and-retry will see this
    and conclude that they should just not attempt to use 0-RTT.<br>
    <br>
    <blockquote
cite="mid:CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div> </div>
          <div>What is actually needed here, I think, is client-side
            signaling. Careful clients need to be made aware of the
            original 0-RTT failure. </div>
          <div><br>
          </div>
          <div>So for example, an SDK that writes to an eventually
            consistent data store may treat any 0-RTT failure as a hard
            failure, and *not* proceed to sending the request over
            1-RTT. Instead it </div>
        </div>
      </div>
    </blockquote>
    <br>
    Right; nothing *requires* the client to retry failed 0-RTT as 1-RTT;
    the application can decide it's willing to take the risk or use some
    other strategy.  But I'm not convinced that the TLS stack needs to
    decide on its own, without application input.<br>
    <br>
    <blockquote
cite="mid:CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>might wait its retry period, do a poll, and only then
            retry the request. If the TLS implementation signals the
            original  0-RTT failure to the client, as if it were a
            connection error, everything is backwards compatible again.
            Well mostly; to be properly defensive, the client's retry
            time or polling interval needs to be greater than the
            potential replay window, because only then can it reason
            about whether the original request succeeded or not. If
            there is a strict maximum replay window, then this behavior
            is enforceable in a TLS implementation: by delaying the
            original failure notification to the client application by
            that amount. </div>
        </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    And if there is not a strict replay window defined in the spec, then
    the client must have some way of knowing what window the server is
    using, etc., etc..  When I added the 10-second guidance that's
    currently in there, I explicitly wanted something concrete, but was
    not willing to claim that I knew enough about all possible ways in
    which TLS can be deployed to make a normative requirement for all
    users of the protocol.  I don't think that's changed; setting a
    fixed global limit seems to be asking for trouble.  I suppose if we
    really needed to we could stick it in a NST extension, but I don't
    think we really need to.<br>
    <br>
    <blockquote
cite="mid:CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div> </div>
        <div>Of course browsers won't do this, and that's ok. Browsers
          have decided that aggressive retries is best for their
          application space. But careful clients /need/ this; and it's
          not just about backwards compatibility. It is a fundamental
          first-principles requirement for something that uses an
          eventually consistent data store. We can say don't use 0-RTT,
          but that's not practical, for reasons also in the review.</div>
      </div>
    </blockquote>
    <br>
    Does a careful client really need the TLS stack to signal connection
    error?  Surely the TLS stack will provide a mechanism to inquire as
    to the connection state, and whether 0-RTT was rejected.  The
    application could implement its own delay.<br>
    <br>
    And I read what you wrote in the github issue about how saying
    "don't use 0-RTT" is not practical, but I don't believe that it is
    universally true.  Some (careful) applications will rightly consider
    the tradeoffs and decide to not use it.  On the web ... there are
    different forces at play, and it may well take a (security bug) name
    and website to cause webapp creators and framework authors to take
    proper notice.  But I am having a hard time squaring your point
    about careful clients with the point about non-practicality.  If
    there are careful clients, they will heed warnings; if just using
    warnings is not practical, then what are the careful clients doing?<br>
    <br>
    <blockquote
cite="mid:CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>So if we want to fully mitigate DKG attacks, I think it is
          useful to hard cap the replay, say that it MUST be at most 10
          seconds. And then worst case, a client that needs to be
          careful can wait 10 seconds. Note that the TLS implementation
          can do this on the client's behalf, by inserting a delay. Of
          course that means that for these kinds of applications, this
          means that 0-RTT delivers speed most of the time, but may
          occasionally slow things down by 10 seconds. I think that's an
          ok trade-off to make for backwards compatibility.</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    Again, does this need to be in the TLS implementation or can the
    (careful) application do it?<br>
    <br>
    But more importantly, a requirement to "randomly" (i.e.,
    unpredictably) introduce a large (10-second) delay into processing
    is going to cause a lot of frustration in large deployments. 
    Predictability trumps average speed, in many use cases.  In other
    words, I don't think your side of the tradeoff is the IETF consensus
    position.<br>
    <br>
    <blockquote
cite="mid:CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div> </div>
        <div>But it also has implications for middle-boxes: a TLS
          reverse proxy needs to either not use 0-RTT on the "backend"
          side, or it needs to use it in very careful way; accepting
          0-RTT from the original client, only if the backend also
          accepts a 0-RTT section from the proxy. This is to avoid the
          case where the client can't reason about the potential for a
          replay between the proxy and the backend. It's doable, but
          gnarly, and slows 0-RTT acceptance down to the round trip
          between the client and the backend, via the proxy. </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    Waiting to find out if the backend accepts 0-RTT from the proxy
    basically negates any value that might be gained from using 0-RTT
    there -- it's more consistent and safer to always use 1-RTT.  Many
    (though of course not all) reverse-proxy deployments<br>
    <br>
    <blockquote
cite="mid:CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div> </div>
        <div>That's one reason why the review suggests something else
          too:  just lock careful applications out, but in a mechanistic
          way rather than a "good intentions" way, by having TLS
          implementations *intentionally* duplicate 0-RTT sections. </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    Err, regularly locking out careful applications is supposed to be a
    good thing?<br>
    <br>
    <blockquote
cite="mid:CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div> </div>
        <div>O.k. so all of that the above might be a bit hairy: but I
          want to take away from it at this stage is that splitting the
          early_data and application_data at application level isn't
          particularly helpful; the server-side can't really use this
          information anyway, because of the Exactly-Once problem.
          Client side signaling does help though, and a simple
          safe-by-default mechanism there is to behave as if the
          connection has failed, but after writing the first section of
          data. E.g. in s2n this would be ...</div>
        <div><br>
        </div>
        <div>conn = s2n_connect(); // Client makes a connection</div>
        <div>r = s2n_write(conn, "GET / HTTP/1.1 ... "); // Client
          writes some data, we stuff it in the 0-RTT and send it. This
          write succeeds. From the client's perspective, it may or may
          not have been received; that's normal. </div>
        <div><br>
        </div>
        <div>/* At this point the 0-RTT data is rejected by the server,
          and so it might be replayable  ... iff the server side
          strike-register or </div>
        <div>   cache had a problem. </div>
        <div>  </div>
        <div>   A pedantically correct TLS library might then pause here
          for 10 seconds, or if it's non-blocking, then set a timer so
          that nothing can happen on conn for the next 10 seconds.
          Browsers could turn this behavior off, since they retry
          aggressively anyway. But it's a secure default that is
          backwards compatible.</div>
        <div>*/</div>
        <div><br>
        </div>
        <div>r = s2n_read()/s2n_write()/s2n_shutdown();  // At this
          point, s2n returns failure. It's as if the connection failed.
          The client can implement its retry strategy, if any, safely;
          the request won't be replayed at this point. </div>
        <div><br>
        </div>
        <div>r = s2n_connect(); // Client makes a new connection for a
          retry. </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    (Again, the mandatory 10-second delay on 0-RTT rejection introduces
    huge processing time variance, which is a no-go in some
    environments.)<br>
    <br>
    It seems like you are taking the general stance that the TLS stack
    is the only thing responsible for anti-replay and it should take
    strenuous measures to effect anti-replay.  I don't disagree that the
    TLS stack should provide anti-replay measures, but I also don't
    think that it's the only actor in the stack that should be thinking
    about anti-replay.  If we assume that the application can also be
    involved in anti-replay (yes, an assumption, for this purpose), then
    a lot of these proposed countermeasures seem excessive.  The careful
    client can introduce its delays, and the careful server can also
    differentiate between 0-RTT and 1-RTT requests, holding on to
    potentially dangerous if replayed 0-RTT requests until the handshake
    completes, and dropping them without processing otherwise.  This is
    more efficient, as delay is only introduced where needed for safety,
    and does not force the TLS stack to make a one-size-maybe-fits-all
    decision on the tradeoffs involved.<br>
    <br>
    I understand the desire to produce a protocol that is safe by
    default.  But we do that already: by default, you don't get to use
    0-RTT and comply with the spec!  The TLS WG cannot take sole
    responsibility for the security of the internet, or even the world
    wide web; we can provide tools and do a lot of the work, but other
    things have to contribute as well.  Side channels are a great
    example; we can do all we can at the TLS layer but the application
    still has a boatload of chances to introduce side channels that leak
    nominally secret information.  We can provide a lot of tools,
    including single-use session caches/strike registers, and encourage
    their use, and that helps make everything more secure.  But I don't
    think we should feel like we need to go it alone.<br>
    <br>
    <blockquote
cite="mid:CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div> </div>
        <div><br>
        </div>
        <div>A slightly higher level API is probably more realistic,
          because there's a potential to optimize for connection re-use.
          There's really no need to tear down the whole connection and
          start-over. It's safe to proceed to 1-RTT if the delay has
          expired. A higher level API would fix that, but this is just
          the "safe by default" API I'm outlining.  Again, all I want to
          take away is that all of this is doable safely with a single
          stream. </div>
        <br>
      </div>
    </blockquote>
    <br>
    By the time the delay has expired you could have set up several
    1-RTT exchanges, yes. But then it starts looking more like a network
    communications library built on top of the TLS protocol than just a
    TLS protocol implementation.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------A8688FCAE9DFBFC6788D668E--


From nobody Wed May 10 23:01:51 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 44807129A99 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 23:01:49 -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=allcosts-net.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 biBRY_q3UtT0 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 23:01:46 -0700 (PDT)
Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (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 54BDF128BC8 for <tls@ietf.org>; Wed, 10 May 2017 23:01:46 -0700 (PDT)
Received: by mail-yw0-x22c.google.com with SMTP id b68so7860250ywe.3 for <tls@ietf.org>; Wed, 10 May 2017 23:01:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ye5ySPHMhQkisjJ8IFPVK+RhQTHlcVjImCC1SeiBwi0=; b=gLEAM8TaVki3wFnKamYFU0+wI0Ey5SHQYHEZllEuSvPq3o2Ku8B518uc+lubfE9Ny9 9qtqcovy5jrixivMVrrf7vg7ghcOuOUitILf9YIwgF2GTtJa0xcoX8Di7Ep8WGZG2oZ6 pYRXFwLhdTHpvvqgRFiyMpiAyEoFuFMyTYDKWr5KEyyFndzvFdbIHpXEC5GYdOZKw3We vUkUdw7IkpB+XM4xu5ITvJReDRWlEZeTo85Xf+9BePTujDcJtkvCz/F65NnjlzlNBjyG ldOerST6ahoQ/lyQaP6GXY3JsUumOkM6IQtirqGgSxnQMg5eVYTwT/2RhML5BFG3D3SZ BeCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ye5ySPHMhQkisjJ8IFPVK+RhQTHlcVjImCC1SeiBwi0=; b=hhl4fSUvWvZjUVusTSb7Zv5XitHL7pSP7IgXi1LnyB7553ADvPaW3ATNHjwn3D1Jiv HTqKS6m31jmMu1Wyp6AaHJP2CAG5hfHJ9+/ZFIsDlGangZZ15OalloYzjpNAKjEBLd5j TKlFNG3125KaI5mJYAperxt7Nb093lTRNXBfPcpTUo1vJ30pjqKtshHLWqOrLdl+/tiB /NBq8iJ/sw1nOo2rzQuhtUCOEw3vxWz4t1AXybFeChOvuFwM8KrrwUjryp8CiWyVtGRK UuyNdBWuYSKY/wRRMG9+RcSxsp+DSpc0sC9Zhx78t6N0vQGOclmOZ60SFkm1Cp8zBqur nr5g==
X-Gm-Message-State: AODbwcAmzvQg8A697YX0mChVlMCd01eIhiYP9zduoVawI7NaDVonENlF k8J7kUoOBHQv3uT6O+bigHR1DbOkIA==
X-Received: by 10.129.96.69 with SMTP id u66mr392217ywb.241.1494482505336; Wed, 10 May 2017 23:01:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Wed, 10 May 2017 23:01:44 -0700 (PDT)
In-Reply-To: <c94ff8ac-583c-7bf4-83a3-5757e677b9c6@akamai.com>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <c94ff8ac-583c-7bf4-83a3-5757e677b9c6@akamai.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 10 May 2017 23:01:44 -0700
Message-ID: <CAAF6GDdM64Eg8u84Q0_DpSa=ThRNYKRsT1zDgFV7XRFSoiT0+Q@mail.gmail.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a11471c00da9dcf054f395286
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/vpU-BMUvCb0cZQEvLV9bWOx8V7s>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 May 2017 06:01:49 -0000

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

On Wed, May 10, 2017 at 10:00 PM, Benjamin Kaduk <bkaduk@akamai.com> wrote:
>
> However, I'm still not convinced that requiring strong 0-RTT non-replay i=
s
> feasible/the right thing to do.
>

[ I've cut a lot for brevity, but hopefully what I've replied with can
address this, and the rest ]

The case for requiring servers, and especially middle-boxes to provide
strong 0-RTT non-replay is really the resource exhaustion, throttle
exhaustion and cache timing attacks. I think that's where the really
dangerous bugs are, the ones that will be exploited - maybe even
inadvertently - and that are a show-stopper for the stateless mitigation.
It just doesn't work.

Thankfully it's within our capabilities to fix this and there's nothing
logically impossible about providing non-replay for the 0-RTT sections.


> On 05/05/2017 11:28 AM, Colm MacC=C3=A1rthaigh wrote:
>
> "Client sends a request with a 0-RTT section. The attacker lets the serve=
r
> receive it, but suppresses the server responses, so the client downgrades
> and retries as a 1-RTT request over a new connection. Repeating the
> request".
>
> Does the client always downgrade?  We don't require it to do so, in TLS
> 1.3, though of course browsers would.
>

The current draft says that clients should only use tickets once, if they
do that, then the repeat attempt (even if it's still 0-RTT, with a
different ticket) is un-correlatable.

I feel like many applications that use delay-and-retry will see this and
> conclude that they should just not attempt to use 0-RTT.
>

Per the section of the original review about violation of layers and
separation of actors; this breaks the well-established relationship between
the layers. It's predictable that a site-administrator will enable 0-RTT
without any appreciation for the application-level impact. Vendors are
already providing 0-RTT in backwards compatible ways.

What is actually needed here, I think, is client-side signaling. Careful
> clients need to be made aware of the original 0-RTT failure.
>
> So for example, an SDK that writes to an eventually consistent data store
> may treat any 0-RTT failure as a hard failure, and *not* proceed to sendi=
ng
> the request over 1-RTT. Instead it
>
>
> Right; nothing *requires* the client to retry failed 0-RTT as 1-RTT; the
> application can decide it's willing to take the risk or use some other
> strategy.  But I'm not convinced that the TLS stack needs to decide on it=
s
> own, without application input.
>

I'm just describing the only backwards compatible safe-by-default scheme I
can concoct, it's definitely kludgey and awkward. For this thread, my main
take-away from it is that separating streams doesn't actually help the
application; instead, it's a timing thing.


> Does a careful client really need the TLS stack to signal connection
> error?  Surely the TLS stack will provide a mechanism to inquire as to th=
e
> connection state, and whether 0-RTT was rejected.  The application could
> implement its own delay.
>

Yep, absolutely; but it'd be client-side signaling, and it's not
backwards-compatible or safe-by-default to rely on.


> And I read what you wrote in the github issue about how saying "don't use
> 0-RTT" is not practical, but I don't believe that it is universally true.
> Some (careful) applications will rightly consider the tradeoffs and decid=
e
> to not use it.  On the web ... there are different forces at play, and it
> may well take a (security bug) name and website to cause webapp creators
> and framework authors to take proper notice.  But I am having a hard time
> squaring your point about careful clients with the point about
> non-practicality.  If there are careful clients, they will heed warnings;
> if just using warnings is not practical, then what are the careful client=
s
> doing?
>

I actually share the optimism here. I think it's workable for careful
clients, and I wouldn't hold 0-RTT hostage to the DKG corner case. I think
we should ship it. All I'm trying to get at is that separate streams are
needless complexity, and they seem to be getting ignored by implementors
anyway.

Right now there's a very weird take in the draft: let the server figure it
out by marking the data as replay-able. Well actually that doesn't work; on
the server side, the sections can't always be correlated, and even if they
were an application would still need its own anti-retry strategy. It's
well-meaning; but doesn't work. We should take it out.

Here's an example. Client has two tickets: AA and BB.

T1. Client makes 0-RTT request for /foo/ with ticket AA. Servers receives
the request and marks as replayable-data, maybe uses AA to derive a
convenient idempotency/anti-replay key (like the X- header trick).

T2. Client was blocked, Tries again, doesn't re-use the ticket, per the
draft. So repeats with 0-RTT again, with ticket BB. Same as before, except
now the key is derived from BB.

T3. Client tries again, this time over 1RTT. Per the draft, there's *no*
signaling of repayable data.

What on earth is a server side application suppose to do with this sequence
of events? None of these 3 requests can be correlated, unless the
application author added their own key ... in which case they don't need
any of this TLS-layer stuff.

Some applications mitigate this kind of problem client side, what I'm
pointing out there is that to work robustly, then a client needs to 1) know
about the 0-RTT failure, 2) know for how long the 0-RTT request may be
replayed.  With that small modification; a client can actually repair
failures too.

So if we want to fully mitigate DKG attacks, I think it is useful to hard
> cap the replay, say that it MUST be at most 10 seconds. And then worst
> case, a client that needs to be careful can wait 10 seconds. Note that th=
e
> TLS implementation can do this on the client's behalf, by inserting a
> delay. Of course that means that for these kinds of applications, this
> means that 0-RTT delivers speed most of the time, but may occasionally sl=
ow
> things down by 10 seconds. I think that's an ok trade-off to make for
> backwards compatibility.
>
>
> Again, does this need to be in the TLS implementation or can the (careful=
)
> application do it?
>

I don't think a careful application can do it without a hard-cap; otherwise
a zombie write could come along at any time and invalidate its state.

That's one reason why the review suggests something else too:  just lock
> careful applications out, but in a mechanistic way rather than a "good
> intentions" way, by having TLS implementations *intentionally* duplicate
> 0-RTT sections.
>
>
> Err, regularly locking out careful applications is supposed to be a good
> thing?
>

Well, it locks out the careless ones, so yes ime, same as GREASE really :)


> (Again, the mandatory 10-second delay on 0-RTT rejection introduces huge
> processing time variance, which is a no-go in some environments.)
>

It needn't be mandatory; just the default. A careful client could do as
you're suggesting; handle this at a different layer.

--=20
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 10, 2017 at 10:00 PM, Benjamin Kaduk <span dir=3D"ltr">&lt;=
<a href=3D"mailto:bkaduk@akamai.com" target=3D"_blank">bkaduk@akamai.com</a=
>&gt;</span> wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color=
:rgb(204,204,204);padding-left:1ex"><div bgcolor=3D"#FFFFFF"><tt>
      However, I&#39;m still not convinced that requiring strong 0-RTT
      non-replay is feasible/the right thing to do.=C2=A0 </tt></div></bloc=
kquote><div><br></div><div>[ I&#39;ve cut a lot for brevity, but hopefully =
what I&#39;ve replied with can address this, and the rest ]</div><div><br><=
/div><div>The case for requiring servers, and especially middle-boxes to pr=
ovide strong 0-RTT non-replay is really the resource exhaustion, throttle e=
xhaustion and cache timing attacks. I think that&#39;s where the really dan=
gerous bugs are, the ones that will be exploited - maybe even inadvertently=
 - and that are a show-stopper for the stateless mitigation. It just doesn&=
#39;t work.=C2=A0</div><div><br></div><div>Thankfully it&#39;s within our c=
apabilities to fix this and there&#39;s nothing logically impossible about =
providing non-replay for the 0-RTT sections.=C2=A0</div><div>=C2=A0</div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);pad=
ding-left:1ex"><div bgcolor=3D"#FFFFFF"><span class=3D"gmail-">
    <div class=3D"gmail-m_5642826034677861249moz-cite-prefix">On 05/05/2017=
 11:28 AM, Colm
      MacC=C3=A1rthaigh wrote:</div><blockquote type=3D"cite">
     =20
      <div dir=3D"ltr">
       =20
       =20
        <div>&quot;Client sends a request with a 0-RTT section. The attacke=
r
          lets the server receive it, but suppresses the server
          responses, so the client downgrades and retries as a 1-RTT
          request over a new connection. Repeating the request&quot;.=C2=A0=
</div></div></blockquote></span>
    Does the client always downgrade?=C2=A0 We don&#39;t require it to do s=
o, in
    TLS 1.3, though of course browsers would.</div></blockquote><div><br></=
div><div>The current draft says that clients should only use tickets once, =
if they do that, then the repeat attempt (even if it&#39;s still 0-RTT, wit=
h a different ticket) is un-correlatable.=C2=A0</div><div><br></div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-wi=
dth:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-=
left:1ex"><div bgcolor=3D"#FFFFFF">
    I feel like many applications that use delay-and-retry will see this
    and conclude that they should just not attempt to use 0-RTT.</div></blo=
ckquote><div><br></div><div>Per the section of the original review about vi=
olation of layers and separation of actors; this breaks the well-establishe=
d relationship between the layers. It&#39;s predictable that a site-adminis=
trator will enable 0-RTT without any appreciation for the application-level=
 impact. Vendors are already providing 0-RTT in backwards compatible ways.=
=C2=A0</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-le=
ft-color:rgb(204,204,204);padding-left:1ex"><div bgcolor=3D"#FFFFFF"><span =
class=3D"gmail-">
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div>
          <div> </div>
          <div>What is actually needed here, I think, is client-side
            signaling. Careful clients need to be made aware of the
            original 0-RTT failure.=C2=A0</div>
          <div><br>
          </div>
          <div>So for example, an SDK that writes to an eventually
            consistent data store may treat any 0-RTT failure as a hard
            failure, and *not* proceed to sending the request over
            1-RTT. Instead it </div>
        </div>
      </div>
    </blockquote>
    <br></span>
    Right; nothing *requires* the client to retry failed 0-RTT as 1-RTT;
    the application can decide it&#39;s willing to take the risk or use som=
e
    other strategy.=C2=A0 But I&#39;m not convinced that the TLS stack need=
s to
    decide on its own, without application input.</div></blockquote><div><b=
r></div><div>I&#39;m just describing the only backwards compatible safe-by-=
default scheme I can concoct, it&#39;s definitely kludgey and awkward. For =
this thread, my main take-away from it is that separating streams doesn&#39=
;t actually help the application; instead, it&#39;s a timing thing.=C2=A0</=
div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color=
:rgb(204,204,204);padding-left:1ex"><div bgcolor=3D"#FFFFFF"><span class=3D=
"gmail-">
    <br></span>
    Does a careful client really need the TLS stack to signal connection
    error?=C2=A0 Surely the TLS stack will provide a mechanism to inquire a=
s
    to the connection state, and whether 0-RTT was rejected.=C2=A0 The
    application could implement its own delay.<br></div></blockquote><div><=
br></div><div>Yep, absolutely; but it&#39;d be client-side signaling, and i=
t&#39;s not backwards-compatible or safe-by-default to rely on.=C2=A0</div>=
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:r=
gb(204,204,204);padding-left:1ex"><div bgcolor=3D"#FFFFFF">
    And I read what you wrote in the github issue about how saying
    &quot;don&#39;t use 0-RTT&quot; is not practical, but I don&#39;t belie=
ve that it is
    universally true.=C2=A0 Some (careful) applications will rightly consid=
er
    the tradeoffs and decide to not use it.=C2=A0 On the web ... there are
    different forces at play, and it may well take a (security bug) name
    and website to cause webapp creators and framework authors to take
    proper notice.=C2=A0 But I am having a hard time squaring your point
    about careful clients with the point about non-practicality.=C2=A0 If
    there are careful clients, they will heed warnings; if just using
    warnings is not practical, then what are the careful clients doing?</di=
v></blockquote><div><br></div><div>I actually share the optimism here. I th=
ink it&#39;s workable for careful clients, and I wouldn&#39;t hold 0-RTT ho=
stage to the DKG corner case. I think we should ship it. All I&#39;m trying=
 to get at is that separate streams are needless complexity, and they seem =
to be getting ignored by implementors anyway.=C2=A0</div><div><br></div><di=
v>Right now there&#39;s a very weird take in the draft: let the server figu=
re it out by marking the data as replay-able. Well actually that doesn&#39;=
t work; on the server side, the sections can&#39;t always be correlated, an=
d even if they were an application would still need its own anti-retry stra=
tegy. It&#39;s well-meaning; but doesn&#39;t work. We should take it out.=
=C2=A0</div><div><br></div><div>Here&#39;s an example. Client has two ticke=
ts: AA and BB.=C2=A0</div><div><br></div><div>T1. Client makes 0-RTT reques=
t for /foo/ with ticket AA. Servers receives the request and marks as repla=
yable-data, maybe uses AA to derive a convenient idempotency/anti-replay ke=
y (like the X- header trick).</div><div><br></div><div>T2. Client was block=
ed, Tries again, doesn&#39;t re-use the ticket, per the draft. So repeats w=
ith 0-RTT again, with ticket BB. Same as before, except now the key is deri=
ved from BB.</div><div><br></div><div>T3. Client tries again, this time ove=
r 1RTT. Per the draft, there&#39;s *no* signaling of repayable data.</div><=
div><br></div><div>What on earth is a server side application suppose to do=
 with this sequence of events? None of these 3 requests can be correlated, =
unless the application author added their own key ... in which case they do=
n&#39;t need any of this TLS-layer stuff.=C2=A0</div><div><br></div><div>So=
me applications mitigate this kind of problem client side, what I&#39;m poi=
nting out there is that to work robustly, then a client needs to 1) know ab=
out the 0-RTT failure, 2) know for how long the 0-RTT request may be replay=
ed.=C2=A0 With that small modification; a client can actually repair failur=
es too.=C2=A0</div><div><br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;=
border-left-color:rgb(204,204,204);padding-left:1ex"><div bgcolor=3D"#FFFFF=
F"><span class=3D"gmail-"><blockquote type=3D"cite"><div dir=3D"ltr">
        <div>So if we want to fully mitigate DKG attacks, I think it is
          useful to hard cap the replay, say that it MUST be at most 10
          seconds. And then worst case, a client that needs to be
          careful can wait 10 seconds. Note that the TLS implementation
          can do this on the client&#39;s behalf, by inserting a delay. Of
          course that means that for these kinds of applications, this
          means that 0-RTT delivers speed most of the time, but may
          occasionally slow things down by 10 seconds. I think that&#39;s a=
n
          ok trade-off to make for backwards compatibility.</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br></span>
    Again, does this need to be in the TLS implementation or can the
    (careful) application do it?<br></div></blockquote><div><br></div><div>=
I don&#39;t think a careful application can do it without a hard-cap; other=
wise a zombie write could come along at any time and invalidate its state.=
=C2=A0</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-le=
ft-color:rgb(204,204,204);padding-left:1ex"><div bgcolor=3D"#FFFFFF"><span =
class=3D"gmail-">
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div> </div>
        <div>That&#39;s one reason why the review suggests something else
          too: =C2=A0just lock careful applications out, but in a mechanist=
ic
          way rather than a &quot;good intentions&quot; way, by having TLS
          implementations *intentionally* duplicate 0-RTT sections.=C2=A0</=
div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br></span>
    Err, regularly locking out careful applications is supposed to be a
    good thing?</div></blockquote><div><br></div><div>Well, it locks out th=
e careless ones, so yes ime, same as GREASE really :)</div><div>=C2=A0</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);=
padding-left:1ex"><div bgcolor=3D"#FFFFFF">
    (Again, the mandatory 10-second delay on 0-RTT rejection introduces
    huge processing time variance, which is a no-go in some
    environments.)<br></div></blockquote><div><br></div><div>It needn&#39;t=
 be mandatory; just the default. A careful client could do as you&#39;re su=
ggesting; handle this at a different layer.=C2=A0</div></div><div><br></div=
>-- <br><div class=3D"gmail_signature">Colm</div>
</div></div>

--001a11471c00da9dcf054f395286--


From nobody Thu May 11 01:21:43 2017
Return-Path: <frodo@baggins.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C5433129AEA for <tls@ietfa.amsl.com>; Thu, 11 May 2017 01:21:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.201
X-Spam-Level: 
X-Spam-Status: No, score=-0.201 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham 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 ihwyzXEj7zpX for <tls@ietfa.amsl.com>; Thu, 11 May 2017 01:21:39 -0700 (PDT)
Received: from mx496502.smtp-engine.com (mx496502.smtp-engine.com [IPv6:2001:8d8:968:7d00::19:7e53]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4191B129AC9 for <tls@ietf.org>; Thu, 11 May 2017 01:21:39 -0700 (PDT)
Received: from mail-it0-f42.google.com (mail-it0-f42.google.com [209.85.214.42]) by mx496502.smtp-engine.com (Postfix) with ESMTPSA id 84E138BD for <tls@ietf.org>; Thu, 11 May 2017 09:21:33 +0100 (BST)
Received: by mail-it0-f42.google.com with SMTP id c15so39487270ith.0 for <tls@ietf.org>; Thu, 11 May 2017 01:21:33 -0700 (PDT)
X-Gm-Message-State: AODbwcD7+QhtRV4NIFSTUTGb/lA8Vw0qXv2zENQDK1LAT+Q4zhWoUEBL pSj7Or9CfZ8z538tgTXVK1aJM2G67g==
X-Received: by 10.36.127.200 with SMTP id r191mr9494400itc.91.1494490892025; Thu, 11 May 2017 01:21:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.127.79 with HTTP; Thu, 11 May 2017 01:21:31 -0700 (PDT)
In-Reply-To: <CABkgnnVdY7esjLTPakjV6i781eFMdXbZg+PbgLoVmGLdxMh_Bg@mail.gmail.com>
References: <CAMoSCWYokkJO7NdJ78SpviiUoZdDzD225JnS+QW0KZcVMty2Hg@mail.gmail.com> <CABkgnnVdY7esjLTPakjV6i781eFMdXbZg+PbgLoVmGLdxMh_Bg@mail.gmail.com>
From: Matt Caswell <frodo@baggins.org>
Date: Thu, 11 May 2017 09:21:31 +0100
X-Gmail-Original-Message-ID: <CAMoSCWaQNP2AG1+U0hVQUjcT0qUnwzzi6sfQZfpY=Q+A--zW9w@mail.gmail.com>
Message-ID: <CAMoSCWaQNP2AG1+U0hVQUjcT0qUnwzzi6sfQZfpY=Q+A--zW9w@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/M7O5lJr2rVJNlVAlhq9r8PMnArk>
Subject: Re: [TLS] Alerts
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 May 2017 08:21:41 -0000

On 10 May 2017 at 21:51, Martin Thomson <martin.thomson@gmail.com> wrote:
> On 11 May 2017 at 01:21, Matt Caswell <frodo@baggins.org> wrote:
>> Do we really need all of these alerts?
>
> NSS uses these, but in ways that I don't really understand.  I think
> that this is part of the general issue that TLS does and doesn't
> really include requirements about how to handle the certificate chain.

OpenSSL is quite inconsistent in its use of alerts. That's how this
issue came up for me - I was reviewing what the spec said about alerts
and comparing it to the OpenSSL implementation (checking we failed
everywhere we are supposed to fail, and with the correct alert).
OpenSSL is currently using the more specific alerts for certificate
failures, although this is in contradiction to what it says in the
"Server Certificate Selection" section.

If the view is that the more specific alerts are helpful, then I'd
suggest amending the wording in the "Server Certificate Selection"
section to remove the bit about the "unsupported_certificate" alert
and (possibly) replace with a reference to the set of alerts that
might be sent instead.

Alternatively, if the more specific alerts are not helpful, then
perhaps we should prune down the list in section 6 to a much smaller
list.

Matt


From nobody Thu May 11 01:52:26 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51C8A12EB7E for <tls@ietfa.amsl.com>; Thu, 11 May 2017 01:52:25 -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, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 VgSWu5Qu4Aur for <tls@ietfa.amsl.com>; Thu, 11 May 2017 01:52:23 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id C65A5124D85 for <tls@ietf.org>; Thu, 11 May 2017 01:52:21 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 822FE21CE8; Thu, 11 May 2017 11:52:19 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id ZAn_6AMcjmnD; Thu, 11 May 2017 11:52:19 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 53BCA2313; Thu, 11 May 2017 11:52:19 +0300 (EEST)
Date: Thu, 11 May 2017 11:52:18 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Colm =?utf-8?Q?MacC=C3=A1rthaigh?= <colm@allcosts.net>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170511085217.GA13126@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <c94ff8ac-583c-7bf4-83a3-5757e677b9c6@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <c94ff8ac-583c-7bf4-83a3-5757e677b9c6@akamai.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/89Cj2zhcR4inmrt8-3zUeCiTFcU>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 May 2017 08:52:25 -0000

On Thu, May 11, 2017 at 12:00:17AM -0500, Benjamin Kaduk wrote:
> 
> First off, it seems somewhat self-evident that if we guarantee 0-RTT
> non-replay, then of course it makes sense to just concatenate the
> streams.  That is, if 0-RTT data is not replayable, there's not much
> special about it to merit separating it off from normal application
> data.  This isn't quite exactly true because of the DKG attack, but it
> may be close enough to not matter.
> 
> However, I'm still not convinced that requiring strong 0-RTT non-replay
> is feasible/the right thing to do.  So, I do not consider the question
> of single stream vs. block-of-early-data + 1-RTT stream to be settled.

There are deeper problems than that:

- Strict HTTP clients can't allow autoreplay if 0-RTT contains a POST
  (and any HTTP client that isn't strict is a lost cause anyway).
- Ensuring that there is no race causing possible data corruption if
  the server rejects 0-RTT.
- Concatenation seems to play poorly with 0-RTT exporters (which start
  to seem like an attractive nuisance...).


Also, turns out that unordered replay is just fundamential. So any
_existing_ systems that don't handle unordered replay can be broken,
and there isn't anything TLS can do about that.

Which leaves the "loads of replays" problem from lack of strong 0-RTT
replay protection.



-Ilari


From nobody Thu May 11 04:01:55 2017
Return-Path: <hkario@redhat.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C858912EC29 for <tls@ietfa.amsl.com>; Thu, 11 May 2017 04:01:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.024
X-Spam-Level: 
X-Spam-Status: No, score=-5.024 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 HEeE09UMZeCL for <tls@ietfa.amsl.com>; Thu, 11 May 2017 04:01:52 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DCB91129404 for <tls@ietf.org>; Thu, 11 May 2017 03:59:42 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 795D23D943; Thu, 11 May 2017 10:59:42 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 795D23D943
Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=hkario@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 795D23D943
Received: from pintsize.usersys.redhat.com (dhcp-0-115.brq.redhat.com [10.34.0.115]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4652C7D509; Thu, 11 May 2017 10:59:42 +0000 (UTC)
From: Hubert Kario <hkario@redhat.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Date: Thu, 11 May 2017 12:59:40 +0200
Message-ID: <2189201.HeVcJDlHJs@pintsize.usersys.redhat.com>
In-Reply-To: <20170510192848.GA11915@LK-Perkele-V2.elisa-laajakaista.fi>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <20170510192848.GA11915@LK-Perkele-V2.elisa-laajakaista.fi>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart1524605.55TmeF9BDk"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 11 May 2017 10:59:42 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/5g4lV9ASvY5im2m3hPtdkScKHt4>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 May 2017 11:01:54 -0000

--nextPart1524605.55TmeF9BDk
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

On Wednesday, 10 May 2017 21:28:48 CEST Ilari Liusvaara wrote:
> On Wed, May 10, 2017 at 07:28:51PM +0200, Hubert Kario wrote:
> > Yes, encrypted SNI was discussed and ultimately rejected.
> >=20
> > But do we really have to send the literal value? Don't we need to just
> > make
> > sure that the client and server agree on the host that the client wants=
 to
> > connect?
> >=20
> > Couldn't we "encrypt" the SNI by hashing the host name with a salt,
> > sending
> > the salt and the resulting hash, making the server calculate the same h=
ash
> > with each of the virtual host names it supports and comparing with the
> > client provided value?
>=20
> What makes encrypting SNI nasty is replay attacks.

What if we specify that the salt is the client key share?


=2D-=20
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech Republic
--nextPart1524605.55TmeF9BDk
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJZFEQcAAoJEJKo0bgB0vX1HacP/0AXOlYii3t7n/Ti8rqTUOAD
A8W0nw7v2uoVCYiuCaXeHX/F7GZRWYax18wdVZ+3krlLvlcfLIB0Kct5OuSnaI6o
nt5WkEKziSge84tqDEkWdvmYFEH6QTciJOxPiX3qR81QQHFv99DNgj9B8q2mZDqf
66aeLEtnkn1RDprRnFKfJd3l5yPAjOyXfOh7AYHE0IsJNicjeethWmARuPVRsn3V
rK8stzYBzykC1INk5dHTHTF7zi8H9m1CmU5Yp2IDUwK+TxIGhzLaarGRdUPzNQpv
3QZNxxpoq4fbr/fd5cFqpd7YqBVUgCz/JdPB3r5Fu6U2TdITup8Q2IvqDmXGwZmU
bLPcR1flgB+6R4WUS0DI9zdWJgMfi51/LZNSxZK/rSb6e7X8q8HVg3UsviYId2tV
beNiCtj9vf0tB6wO9+HLDzDnSxH1a3+rPBCVdcNuPgzB+fiIYOshC60Hfy/pgPzO
1w+nL0+5jAreFidrR24oyLUdoIIJYtNFaQlhzDLtF4QHEeNOGNtoVaxp+GgFPczA
TCpQU7jJH2o3zhVsv2lnJFLXlRgYYZPDzYT3uTAHuQyp/ROgGu/ycCUKoU+KysAD
sMfLREFfRrBiKula0pofQ5tkrB8Zuj7F8kwXsINTz6cUG9Xyb9N47cYpOW3E73+O
qH8Thrgz6aJbgGO/v8gk
=jKde
-----END PGP SIGNATURE-----

--nextPart1524605.55TmeF9BDk--


From nobody Thu May 11 04:11:08 2017
Return-Path: <hkario@redhat.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6CC4512EC3D for <tls@ietfa.amsl.com>; Thu, 11 May 2017 04:11:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.923
X-Spam-Level: 
X-Spam-Status: No, score=-6.923 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 ch43Yd9XJq8R for <tls@ietfa.amsl.com>; Thu, 11 May 2017 04:11:05 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 60B8F12EC40 for <tls@ietf.org>; Thu, 11 May 2017 04:08:48 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 480427F7AE; Thu, 11 May 2017 10:58:29 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 480427F7AE
Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=hkario@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 480427F7AE
Received: from pintsize.usersys.redhat.com (dhcp-0-115.brq.redhat.com [10.34.0.115]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F05125C8AE; Thu, 11 May 2017 10:58:28 +0000 (UTC)
From: Hubert Kario <hkario@redhat.com>
To: tls@ietf.org
Date: Thu, 11 May 2017 12:58:21 +0200
Message-ID: <2045926.sutFeuuH9X@pintsize.usersys.redhat.com>
In-Reply-To: <20865FC2-A021-4EAC-ACDA-E400855B5CE0@dukhovni.org>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <2478514.aZun5FUmZT@pintsize.usersys.redhat.com> <20865FC2-A021-4EAC-ACDA-E400855B5CE0@dukhovni.org>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart14513970.6hmDUg8LNm"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 11 May 2017 10:58:29 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Z6nvSlCSu03gOZdUOn0nXP8BldM>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 May 2017 11:11:07 -0000

--nextPart14513970.6hmDUg8LNm
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

On Wednesday, 10 May 2017 21:04:53 CEST Viktor Dukhovni wrote:
> > On May 10, 2017, at 2:47 PM, Hubert Kario <hkario@redhat.com> wrote:
> >=20
> > But in general, I wonder if we didn't approach the SNI from the wrong s=
ide
> > - as I said, we may not need to encrypt it, we just make sure that clie=
nt
> > and server agree on the virtual host the connection is going to.
>=20
> They can do that with a name in the clear.  If the name is to be hidden
> from passive observers, then you do need encryption so that only the
> client and server, and not the passive observers, can recover the name.

You are going in the exact direction I'm saying we should not go, for the s=
ame=20
reason you said:

> I do believe this was discussed at some length previously.

There are multiple schemes that allow the peers to make sure that both of t=
hem=20
mean X without outright saying "X". Salting and hashing is one, including i=
t=20
in key exchange, (SRP style) is another.
=2D-=20
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech Republic
--nextPart14513970.6hmDUg8LNm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJZFEPNAAoJEJKo0bgB0vX1cesQAKFtRoeWnrTCQYX69bKIFmbN
hdLUVTwumiJo2w+KtTkgxhn32rg+nTaCnxUhnjmdffZOynphfXUsdD0Ai51894Nd
j3a7qPcPMZNs1/HyTTPoPtFkBJxjVDkmGjthHQXsOT46auBXTS8uNWMw8Ot5B28y
fBUH6943j839xqzLDgwvd29wzxMXq7BEUIJUan88OR0xEKiBFcNM3MYXFiHaEDjb
32nPZQE422ruQTPzq68m7T3vZTFq/vhvybI8Ap4ZcPU0PnMcMQEJJXFt2LZUDd5o
vyZdviaZl1gyX5Sv2BpJclMhhq39XQwYifsTZfLjDfCVUWtZ5MWQ2kpFfG/tUdyA
BLGsBzdJBMvasUUj5wc0GBtzgim0suH4RNNI3sSrhxsiBMcPd0Cos4OxrDK951RW
BA5KtSyNrytMIIlnxlNJhNM/8710wzL+rcypmV7/erLogC1CXLl0TyLIlJXbDIBt
QbU3iQPY6Lcyl8qQaqRZSlhjqfTjHhx+WSpct9AboKiKWJUfAKNps9IzRpTgi+yw
8UnljHQnXKTunL7tbtDUswPKfv6X2gKoFNra1XGhztfEU3FoAkg+Ox+INIFgwm56
mb0BgOkIy+18aOdpkvKjMdQoRJW9UyZ/2KQoprc/qCRSX+kXC1h/f6BKl4CKIiRb
69rxF5NkxdbqtbKMLSVW
=xQ6h
-----END PGP SIGNATURE-----

--nextPart14513970.6hmDUg8LNm--


From nobody Thu May 11 07:38:12 2017
Return-Path: <bsniffen@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E85B9127B5A for <tls@ietfa.amsl.com>; Thu, 11 May 2017 07:38:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.803
X-Spam-Level: 
X-Spam-Status: No, score=-0.803 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 0FLRU_2XI8An for <tls@ietfa.amsl.com>; Thu, 11 May 2017 07:38:09 -0700 (PDT)
Received: from prod-mail-xrelay08.akamai.com (prod-mail-xrelay08.akamai.com [96.6.114.112]) by ietfa.amsl.com (Postfix) with ESMTP id C775713147C for <tls@ietf.org>; Thu, 11 May 2017 07:31:27 -0700 (PDT)
Received: from prod-mail-xrelay08.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 5A3C4200019; Thu, 11 May 2017 14:31:27 +0000 (GMT)
Received: from prod-mail-relay09.akamai.com (prod-mail-relay09.akamai.com [172.27.22.68]) by prod-mail-xrelay08.akamai.com (Postfix) with ESMTP id 43DCA200008; Thu, 11 May 2017 14:31:27 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1494513087; bh=W38lspmMkOzfzN9v7kzes6QJJDrIjis/q3yZ2UG6fNU=; l=1412; h=From:To:In-Reply-To:References:Date:From; b=CFeDV65Pon+P1uiwQlnXXGov9F/PtY0J9OjN3LteN9r5NimQcH2rXPuPhytu/UPfK HaQ5YvWV/nfJG6kUkrnZZZBHRgB1lFtW8fDyzyvTmRXaGajxfbh0ahJwuR7QAuiAJr qQb1q/Tm/2eEvyGDIXCIfemEHEcCe+/781kxDbbg=
Received: from Tereva.local (unknown [172.19.40.142]) by prod-mail-relay09.akamai.com (Postfix) with ESMTP id DFE2A1E07C; Thu, 11 May 2017 14:31:26 +0000 (GMT)
From: Brian Sniffen <bsniffen@akamai.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Christian Huitema <huitema@huitema.net>, tls@ietf.org
In-Reply-To: <87ziekihp6.fsf@fifthhorseman.net>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <5920A6B3-66F5-44D5-A367-82AD6431A6C4@dukhovni.org> <2478514.aZun5FUmZT@pintsize.usersys.redhat.com> <20865FC2-A021-4EAC-ACDA-E400855B5CE0@dukhovni.org> <b117285e-4820-3ed8-9eb8-0f0d09e17f09@huitema.net> <87ziekihp6.fsf@fifthhorseman.net>
Date: Thu, 11 May 2017 10:31:26 -0400
Message-ID: <m28tm34g8x.fsf@abstraction.kendall.corp.akamai.com>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/3nb-FIhKXgW2vRnGaGzAV73iROg>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 May 2017 14:38:11 -0000

Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:

> On Wed 2017-05-10 12:12:34 -0700, Christian Huitema wrote:
>> It certainly was. But then the clear text SNI is a gaping privacy hole
>> in TLS, the kind of issue that should keep us awake at night until it is
>> resolved. We need to make sure that we make progress, rather than rehash
>> the old arguments. Maybe we should invest some time and document the
>> various proposals in a draft. I am willing to work on that. Any other
>> volunteers?
>
> I agree with Christian's assessment of the problem, and i'd be
> interested in collaborating on such a draft.

Who's the audience for that draft?  If it's meant to document the blind
alleys we've found, perhaps we could list both alleys, and the walls at
the end:

  - hash the name [adversaries can hash too]
  - hash the name with a salt [adversaries can check the salted hash
    too, as if operating all the banned sites]
  - encrypt the SNI under the pre-shared key

But beware of:

  - the adversary can replay this SNI and see what site he gets
  - DDoS risk: servers can't be try lots of crypto (no asymmetric ops,
    no operations that scale linearly with number of sites hosted)
  - not everybody's going to do this, not even every TLS 1.3 instance
  - if networks can't track activity, some will push users to stay on
    TLS 1.2.

-Brian

-- 
Brian Sniffen
Akamai Technologies


From nobody Thu May 11 08:05:12 2017
Return-Path: <dkg@fifthhorseman.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BC51F1294E2 for <tls@ietfa.amsl.com>; Thu, 11 May 2017 08:05:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level: 
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=ham 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 hdsTc_gx1k3g for <tls@ietfa.amsl.com>; Thu, 11 May 2017 08:05:08 -0700 (PDT)
Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by ietfa.amsl.com (Postfix) with ESMTP id 461D612FC17 for <tls@ietf.org>; Thu, 11 May 2017 07:57:59 -0700 (PDT)
Received: from fifthhorseman.net (unknown [205.232.71.148]) by che.mayfirst.org (Postfix) with ESMTPSA id B4F98F993; Thu, 11 May 2017 10:57:58 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id BF6DA2068B; Thu, 11 May 2017 10:21:36 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Roland Zink <roland@zinks.de>, Christian Huitema <huitema@huitema.net>, tls@ietf.org
In-Reply-To: <95423440-7d9a-6568-0e80-e58e3e27a373@zinks.de>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <a6029246-46f6-d698-983f-b668d70e2780@zinks.de> <1be2b15e-2e96-89f4-fe72-7f35a03ae99b@huitema.net> <95423440-7d9a-6568-0e80-e58e3e27a373@zinks.de>
Date: Thu, 11 May 2017 10:21:36 -0400
Message-ID: <87mvajiidr.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/NNBK1tXiiWVTJDRPlcqFBAGxQIo>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 May 2017 15:05:10 -0000

On Thu 2017-05-11 00:03:15 +0200, Roland Zink wrote:
> Not necessarily as you may for example use the path part of a URL to 
> distinguish between services.

if we're talking about HTTPS, this approach raises a series of potential
security issues thanks to the same-origin policy and other host- or
domain-specific features of the web security model.  It doesn't solve
the situation where you'd like the services to be independent.

                --dkg


From nobody Thu May 11 11:07:30 2017
Return-Path: <hkario@redhat.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9DFFB129405 for <tls@ietfa.amsl.com>; Thu, 11 May 2017 11:07:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.923
X-Spam-Level: 
X-Spam-Status: No, score=-6.923 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 rLjbAbX8nW-G for <tls@ietfa.amsl.com>; Thu, 11 May 2017 11:07:27 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 18BCC1293DF for <tls@ietf.org>; Thu, 11 May 2017 11:02:07 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 60B39C059741; Thu, 11 May 2017 18:02:06 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 60B39C059741
Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=hkario@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 60B39C059741
Received: from pintsize.usersys.redhat.com (ovpn-200-17.brq.redhat.com [10.40.200.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EC11F18019; Thu, 11 May 2017 18:02:05 +0000 (UTC)
From: Hubert Kario <hkario@redhat.com>
To: tls@ietf.org
Date: Thu, 11 May 2017 20:01:58 +0200
Message-ID: <2687686.v67HcTzOUq@pintsize.usersys.redhat.com>
In-Reply-To: <m28tm34g8x.fsf@abstraction.kendall.corp.akamai.com>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <87ziekihp6.fsf@fifthhorseman.net> <m28tm34g8x.fsf@abstraction.kendall.corp.akamai.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart31140468.tutHbUG5nQ"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 11 May 2017 18:02:06 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/HIyjlhwK0Vayo7PfpZlk7Q3zvKI>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 May 2017 18:07:29 -0000

--nextPart31140468.tutHbUG5nQ
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

On Thursday, 11 May 2017 16:31:26 CEST Brian Sniffen wrote:
> Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:
> > On Wed 2017-05-10 12:12:34 -0700, Christian Huitema wrote:
> >> It certainly was. But then the clear text SNI is a gaping privacy hole
> >> in TLS, the kind of issue that should keep us awake at night until it =
is
> >> resolved. We need to make sure that we make progress, rather than reha=
sh
> >> the old arguments. Maybe we should invest some time and document the
> >> various proposals in a draft. I am willing to work on that. Any other
> >> volunteers?
> >=20
> > I agree with Christian's assessment of the problem, and i'd be
> > interested in collaborating on such a draft.
>=20
> Who's the audience for that draft?  If it's meant to document the blind
> alleys we've found, perhaps we could list both alleys, and the walls at
> the end:
>=20
>   - hash the name [adversaries can hash too]
>   - hash the name with a salt [adversaries can check the salted hash
>     too, as if operating all the banned sites]
>   - encrypt the SNI under the pre-shared key
>=20
> But beware of:
>=20
>   - the adversary can replay this SNI and see what site he gets
>   - DDoS risk: servers can't be try lots of crypto (no asymmetric ops,
>     no operations that scale linearly with number of sites hosted)

Doesn't that create a Catch 22?

I need to get the key to encrypt the SNI. But if we don't want the names to=
=20
leak, how do I authenticate the key without telling the server what=20
certificate I will accept to authenticate the key?

That doesn't look to me like a problem we can solve with typical symmetric =
or=20
asymmetric crypto - it looks to me like more of a zero-knowledge proof issu=
e.

=2D-=20
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech Republic
--nextPart31140468.tutHbUG5nQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJZFKcWAAoJEJKo0bgB0vX15WYP/3RrgLhLK4DKLzItTnQYtHtf
DLel+zQ/VQHkaQUuBqRDlX4Z2BN4SA/aHoho9b+Xd2aBq6B0kxQis9Sg/hHV7zX1
qszjrV4j8B/SJM8cOKF58Badl9oEdmSacMnXdXIN1YL+4b3Gt01W4everrxP3bbI
2C32UcCNs1ZY4l3AI1RDoDv+y82DBbNngOYJH4v2mHpg/smtpMChTl8LIJ8Jpz0T
YxxOMqK0Hj9UrpN0KvWO+kgm1361wQxv6v7R06T9WJjOUib38Z694AIhTz3TM0qc
c+QibVr7Bj0tOrrYqXzS+/mFlp01CNOezIFptclQbH1QvrMJVrDIw3N6dnYxJqNK
ymmdSo0O4pL3xtlFIT5ljxT6q9sNM0GP641SGdbAf/EVnziDNc24ojUBzvf569TP
e9JRVB3dCCsds2VqCXmIsze80lcKOI1WuI00poogiE0DgOoo6F7OT1BvpIytCtIs
XaqHhU3Y4YAWKlM84qiisHKbpTc2LXChmlCdYmbyWpGubTguI+fAm/bUThfEZ7Rx
BfsRgldAiklIrAN189bBoB2Y6dTcSGn+fOjc0rocM3lZ0L5ZP0rDqGDJOfENjGxC
TfKqEDClkUV54G0JM7Y3xd1E6UtUfVBiOa51i6lHzfpJiMGvoYbUuZq8cUr1kR1D
whjjJ07tXwD9EUMps3wv
=dF0O
-----END PGP SIGNATURE-----

--nextPart31140468.tutHbUG5nQ--


From nobody Thu May 11 11:40:41 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 36DD112944A for <tls@ietfa.amsl.com>; Thu, 11 May 2017 11:40:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_20=-0.001] autolearn=ham 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 hZtlxqLgg06j for <tls@ietfa.amsl.com>; Thu, 11 May 2017 11:40:38 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 47C75129C41 for <tls@ietf.org>; Thu, 11 May 2017 11:35:15 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 751677A3309; Thu, 11 May 2017 18:35:14 +0000 (UTC)
Date: Thu, 11 May 2017 18:35:14 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: tls@ietf.org
Message-ID: <20170511183514.GE25754@mournblade.imrryr.org>
Reply-To: tls@ietf.org
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <87ziekihp6.fsf@fifthhorseman.net> <m28tm34g8x.fsf@abstraction.kendall.corp.akamai.com> <2687686.v67HcTzOUq@pintsize.usersys.redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2687686.v67HcTzOUq@pintsize.usersys.redhat.com>
User-Agent: Mutt/1.7.2 (2016-11-26)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/P0iJqvbGx2YWf8aBdSASfLWuR78>
Subject: Re: [TLS] "Encrypted" SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 May 2017 18:40:40 -0000

On Thu, May 11, 2017 at 08:01:58PM +0200, Hubert Kario wrote:

> > But beware of:
> > 
> >   - the adversary can replay this SNI and see what site he gets
> >   - DDoS risk: servers can't be try lots of crypto (no asymmetric ops,
> >     no operations that scale linearly with number of sites hosted)
> 
> Doesn't that create a Catch 22?
> 
> I need to get the key to encrypt the SNI. But if we don't want the names to 
> leak, how do I authenticate the key without telling the server what 
> certificate I will accept to authenticate the key?
> 
> That doesn't look to me like a problem we can solve with typical symmetric or 
> asymmetric crypto - it looks to me like more of a zero-knowledge proof issue.

No zero-knowledge schemes come to mind that are suitable to this task.

What can work, but costs latency is to do anon-(EC)DH key agreement
first, and only *then* exchange certificates under the established
keys and sign the session transcripts as required.  That is enable
encryption first, and authentication second, with SNI sent after
you have an unauthenticated encrypted channel.

Yes, an active MiTM attack could capture the SNI, but it would
prevent full session establishment, and so would be tamper-evident.

(One might imagine that initial opportunistic crypto being TCPinc,
with channel bindings extracted into a light-weight authentication
protocol on top, that no longer needs to do the key agreement bits).

The TLS 1.3 draft protocol, while eschewing weaker crypto primitives,
seems optimized more for lower-latency than for greater resistance
to traffic analysis.  I don't think that you can have both.

To really address the issue, one needs a more complete architecture,
that combines all the relevant bits of TCP, TLS and HTTP, ....
Such holistic (r)evolution is extremely difficult.

-- 
	Viktor.


From nobody Thu May 11 13:12:36 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C9CD912EAB4 for <tls@ietfa.amsl.com>; Thu, 11 May 2017 13:12:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.5
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5 tests=[BAYES_05=-0.5] autolearn=ham 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 iHWCnX2tnwl6 for <tls@ietfa.amsl.com>; Thu, 11 May 2017 13:12:33 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C0F0131452 for <tls@ietf.org>; Thu, 11 May 2017 13:06:39 -0700 (PDT)
Received: from [10.70.192.184] (unknown [38.86.167.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id B15247A32F1 for <tls@ietf.org>; Thu, 11 May 2017 20:06:37 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAMoSCWaQNP2AG1+U0hVQUjcT0qUnwzzi6sfQZfpY=Q+A--zW9w@mail.gmail.com>
Date: Thu, 11 May 2017 16:06:37 -0400
Content-Transfer-Encoding: 7bit
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <29AB09F3-AD52-4DE8-AD28-B76CB6AB6B1D@dukhovni.org>
References: <CAMoSCWYokkJO7NdJ78SpviiUoZdDzD225JnS+QW0KZcVMty2Hg@mail.gmail.com> <CABkgnnVdY7esjLTPakjV6i781eFMdXbZg+PbgLoVmGLdxMh_Bg@mail.gmail.com> <CAMoSCWaQNP2AG1+U0hVQUjcT0qUnwzzi6sfQZfpY=Q+A--zW9w@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/OE3puVxX1uvLW2JXtBToBFtzyjQ>
Subject: Re: [TLS] Alerts
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 May 2017 20:12:35 -0000

> On May 11, 2017, at 4:21 AM, Matt Caswell <frodo@baggins.org> wrote:
> 
> If the view is that the more specific alerts are helpful, then I'd
> suggest amending the wording in the "Server Certificate Selection"
> section to remove the bit about the "unsupported_certificate" alert
> and (possibly) replace with a reference to the set of alerts that
> might be sent instead.

It can be quite difficult for users to understand why a remote peer
aborted the TLS handshake.  More specific alerts are quite helpful.
Distinguishing between expiration and insufficiently strong keys or
digests, etc., makes troubleshoots easier and does not compromise
sensitive cryptographic material.

-- 
	Viktor.


From nobody Fri May 12 06:51:24 2017
Return-Path: <frodo@baggins.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2C3B612EC3A for <tls@ietfa.amsl.com>; Fri, 12 May 2017 06:51:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.601
X-Spam-Level: 
X-Spam-Status: No, score=0.601 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SORBS_SPAM=0.5, URIBL_BLOCKED=0.001] autolearn=ham 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 GAOatRV25gWS for <tls@ietfa.amsl.com>; Fri, 12 May 2017 06:51:21 -0700 (PDT)
Received: from mx496502.smtp-engine.com (mx496502.smtp-engine.com [IPv6:2001:8d8:968:7d00::19:7e53]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DE40A1294FA for <tls@ietf.org>; Fri, 12 May 2017 06:46:13 -0700 (PDT)
Received: from mail-it0-f51.google.com (mail-it0-f51.google.com [209.85.214.51]) by mx496502.smtp-engine.com (Postfix) with ESMTPSA id D7C7B1D5A for <tls@ietf.org>; Fri, 12 May 2017 14:46:11 +0100 (BST)
Received: by mail-it0-f51.google.com with SMTP id c15so10786716ith.0 for <tls@ietf.org>; Fri, 12 May 2017 06:46:11 -0700 (PDT)
X-Gm-Message-State: AODbwcCExDTSi+atF4y7lmlyybXTuQkZj+nOnrqTpSztexS/Xn5ztYHJ 8mypnTSwuXoqOeomn3Rvx3bDaWMVUg==
X-Received: by 10.36.131.137 with SMTP id d131mr3717167ite.113.1494596770269;  Fri, 12 May 2017 06:46:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.127.79 with HTTP; Fri, 12 May 2017 06:46:09 -0700 (PDT)
In-Reply-To: <29AB09F3-AD52-4DE8-AD28-B76CB6AB6B1D@dukhovni.org>
References: <CAMoSCWYokkJO7NdJ78SpviiUoZdDzD225JnS+QW0KZcVMty2Hg@mail.gmail.com> <CABkgnnVdY7esjLTPakjV6i781eFMdXbZg+PbgLoVmGLdxMh_Bg@mail.gmail.com> <CAMoSCWaQNP2AG1+U0hVQUjcT0qUnwzzi6sfQZfpY=Q+A--zW9w@mail.gmail.com> <29AB09F3-AD52-4DE8-AD28-B76CB6AB6B1D@dukhovni.org>
From: Matt Caswell <frodo@baggins.org>
Date: Fri, 12 May 2017 14:46:09 +0100
X-Gmail-Original-Message-ID: <CAMoSCWYow2KuuyjrkqZeL+Vw72v_wwavYY6OckEGGgLAPr4QEQ@mail.gmail.com>
Message-ID: <CAMoSCWYow2KuuyjrkqZeL+Vw72v_wwavYY6OckEGGgLAPr4QEQ@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/LglHkDsGBgtNyow1ufa11H0V7xM>
Subject: Re: [TLS] Alerts
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 May 2017 13:51:23 -0000

On 11 May 2017 at 21:06, Viktor Dukhovni <ietf-dane@dukhovni.org> wrote:
>
>> On May 11, 2017, at 4:21 AM, Matt Caswell <frodo@baggins.org> wrote:
>>
>> If the view is that the more specific alerts are helpful, then I'd
>> suggest amending the wording in the "Server Certificate Selection"
>> section to remove the bit about the "unsupported_certificate" alert
>> and (possibly) replace with a reference to the set of alerts that
>> might be sent instead.
>
> It can be quite difficult for users to understand why a remote peer
> aborted the TLS handshake.  More specific alerts are quite helpful.
> Distinguishing between expiration and insufficiently strong keys or
> digests, etc., makes troubleshoots easier and does not compromise
> sensitive cryptographic material.

That seems reasonable to me.

https://github.com/tlswg/tls13-spec/pull/1013

Matt


From nobody Fri May 12 07:47:56 2017
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 0A04712EC43; Fri, 12 May 2017 07:47:41 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.50.0
Auto-Submitted: auto-generated
Precedence: bulk
Cc: The IESG <iesg@ietf.org>, Sean Turner <sean@sn3rd.com>, draft-ietf-tls-rfc4492bis@ietf.org, Kathleen.Moriarty.ietf@gmail.com, tls@ietf.org, rfc-editor@rfc-editor.org, sean@sn3rd.com, tls-chairs@ietf.org
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-ID: <149460046103.13483.10879441412915115092.idtracker@ietfa.amsl.com>
Date: Fri, 12 May 2017 07:47:41 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/3QLSiFFfzoeQf-vRHxdydYFWNCI>
Subject: [TLS] Protocol Action: 'Elliptic Curve Cryptography (ECC) Cipher Suites for Transport Layer Security (TLS) Versions 1.2 and Earlier' to Proposed Standard (draft-ietf-tls-rfc4492bis-17.txt)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 May 2017 14:47:41 -0000

The IESG has approved the following document:
- 'Elliptic Curve Cryptography (ECC) Cipher Suites for Transport Layer
   Security (TLS) Versions 1.2 and Earlier'
  (draft-ietf-tls-rfc4492bis-17.txt) as Proposed Standard

This document is the product of the Transport Layer Security Working
Group.

The IESG contact persons are Kathleen Moriarty and Eric Rescorla.

A URL of this Internet Draft is:
https://datatracker.ietf.org/doc/draft-ietf-tls-rfc4492bis/





Technical Summary

 This document adds Elliptic Curve Cryptography (ECC) cipher suites to
 TLS 1.0-1.2.  These cipher suites have some technical
 advantages over the currently defined RSA and DH/DSS cipher suites in
 terms of key size and performance.  This document does not entail any
 changes to the TLS base specification.

 Note that Appendix B lists the changes from RFC 4492.

Working Group Summary

 The WG was able to achieve consensus on advancing this
 document to Proposed Standard.  Moving RFC 4492 to Standards
 Track was the main reason for the draft.  It seemed odd to specify
 MTI algorithms based on ECC in TLS1.3 and have the TLS1.0-1.2
 RFC for the same algorithms be Informational.

Note that we needed to consult the CFRG on the "use of contexts".
Our thanks to them for contributing to this work.

Document Quality

 This is a bis draft so the majority of the draft has been reviewed by
 the IETF already.  The -00 version of the individual draft allows easy
 diff to what was published as RFC 4492.  Note that more was taken
 out than put in.

Personnel

 Sean Turner is the Document Shepherd.
 Kathleen Moriarty is the responsible AD.


From nobody Fri May 12 19:11:16 2017
Return-Path: <kathleen.moriarty.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9933212EBC6 for <tls@ietfa.amsl.com>; Fri, 12 May 2017 19:11:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 8OZroHmGcFMH for <tls@ietfa.amsl.com>; Fri, 12 May 2017 19:11:14 -0700 (PDT)
Received: from mail-pg0-x235.google.com (mail-pg0-x235.google.com [IPv6:2607:f8b0:400e:c05::235]) (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 D6C15129B26 for <tls@ietf.org>; Fri, 12 May 2017 19:08:18 -0700 (PDT)
Received: by mail-pg0-x235.google.com with SMTP id q125so18098398pgq.2 for <tls@ietf.org>; Fri, 12 May 2017 19:08:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=hfDOzwYpxTAPM5vjodUUQSsSlkIAZ5ttCxFEZLF+i4U=; b=YWTPZYPDQuVonCT5CyUSd+rONOw1tak/1BC0ON7XRA3jcNcC7MUzP2g7KgogtxSYuO K/rquM5fjRRn10I4evlwBkh5NoaBgPL2FpakNV4NFJjjGaJP6uIA82RxN5qvge9SCsnM ABuWYweZmug2+F90tUaF2por4XdczGRJlreXjPc2xov3iR25RDcRJEfhEu68/hTGHUmz lgGIhtXIr/FbB8T7uV7cFDlKRq/KwUM1QnFbGJnXfZX66c2PnSOFu4Iz733DpcIPkWJq jVQ3aaxh1KiNH9ZYS0Y5agvg2xX6oBhX3DPWcGhmIkbIuHC60rS9GtvmX4Jf6NeZB46v KXTg==
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=hfDOzwYpxTAPM5vjodUUQSsSlkIAZ5ttCxFEZLF+i4U=; b=UH2LCmXhbXQ9XIsh8C/7HTMhbLXRsGH5BNiLWxUPA8Uv2Ra4tt2QrRXYzHQ7Tn6VHk ssajTmJMeJSZdx/OO2M4jqLSeb+qpnLixsOfiSKUydELAAJfwJ0q7kPbpl1FScHOIF7i oc5KMCnRGWzI62PZ8e+reMdALm+MElw6pLqL6tFJ5ZmUyDlSRS81Mi2k2Qb53eUo3Mbz vO9zwxHGBkAMQyC9Zra35S9eog52iDrnCYYCe0wTAc1YPR5jt6HWGzdVnyglWSKnEsjK 1Z7AzwjRfrWIGRPx7E/KV/jGGvEBK+LAP2/fKSMWLNz1/OrqE06Z5Oumn3fN9HoIV7Qn NLdQ==
X-Gm-Message-State: AODbwcAq5+xLd165LSzmlEl2I9joek2iHA0aREIr30YVqb46eF+klwJ2 h4O9fY5uuml50XLw3KUbpse+XygRMM5Y
X-Received: by 10.98.141.199 with SMTP id p68mr3803527pfk.55.1494641298216; Fri, 12 May 2017 19:08:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.161.226 with HTTP; Fri, 12 May 2017 19:07:37 -0700 (PDT)
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Date: Fri, 12 May 2017 22:07:37 -0400
Message-ID: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com>
To: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/nKLHMTVJ-h2OQy69a6i5BP-yJmw>
Subject: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 May 2017 02:11:16 -0000

Hello,

Thank you all for your work on TLS 1.3.  The list has still been
active on a few topics, so I want to see how that all settles out in
addition to the questions I have on the draft below.

Introduction:

1. Since this is going for IETF last call soon and there has been
review of the draft (workshop, but is clearly ongoing from the list
discussions), should the first sentence of the Introductions be
removed?

   DISCLAIMER: This is a WIP draft of TLS 1.3 and has not yet seen
   significant security analysis.

2. Section 4.2.9 - There should be some mention or pointer to the
security considerations and recommendations on replay attacks for
0-RTT from this section.  I don't see any mention of discouraging
0-RTT from being a default and think that would be good for
applications that use TLS expecting replay protection.  I know the WG
agreed to keeping 0-RTT, but I think it's very important to make the
issues clear and not have this come up as a default in any
implementation/deployment for unsuspecting users.  Part of this will
get down to implementation specifics and configuration options, but
offering some guidance is important. This document will be read by
many, not just developers.

Since clients have to initiate 0-RTT, the user has to have some idea
that replay attacks are possible and accept that risk.  If this were
used in web applications, then all servers that don't want to see
replay attacks (banking, etc.), would have to have explicitly reject
this usage.  As such, there needs to be very strong guidance to this
point. Would it be that browsers configure this as a default or
something users would have to turn on or just leave it as an option
(with warnings) for a client to enable?  Would servers have clear
information in configuration files (or setup) about the implications
of this option for those that don't read the RFC and are not aware of
this problem?

Most of this discussion belongs directly in the security consideration
section, but there has to be mention of it with a reference from
section 4.2.9.  It's not just an API consideration, this is for
developers, implementers, and users of the protocol. Many other
protocols use TLS beside HTTP and do so with the expectation of replay
protection.

While Appendix C1 is helpful, I don't think it's enough.  It's
disappointing to see a protocol with a replay attack written as a
prominent feature of TLS 1.3 and little discouragement from use.


3. Section 4.2.

   "In general, detailed certificate validation procedures are out of
   scope for TLS (see [RFC5280]).  This section provides TLS-specific
   requirements."

I don't see an explanation of why it is out-of-scope.  The reference
is just to RFC5280, which seems odd.  I would expect the reference to
be to something that explains why it is out-of-scope.

RFC7525 has use of RFC5280 as a best practice for server identity
verification and revocation checks for TLS 1.2.  Is this just for TLS
1.3?  Why?
RFC3280 is cited for revocation in the TLS 1.2 RFC.  I think a little
explanation here would be helpful since this seems to be a departure
(or reference to the changes section).

If RFC5280 remains out-of-scope, this section should fully describe
the certificate validation process for TLS 1.3. I think you need to
list out everything that should be checked as opposed to just
including one example:

   "Also, if some aspect of the certificate chain was
   unacceptable (e.g., it was not signed by a known, trusted CA), the
   server MAY at its discretion either continue the handshake
   (considering the client unauthenticated) or abort the handshake."


4. Section 6.2 Error Alerts

In addition to sending the error, I don't see any mention of the error
being logged on the server side, shouldn't that be specified?  Logging
errors (at least in debug modes when needed) provides valuable
troubleshooting information and many applications don't do an adequate
job of logging, so I think it's important to call that out here as a
recommendation.



-- 

Best regards,
Kathleen


From nobody Fri May 12 20:01:59 2017
Return-Path: <davemgarrett@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BF67112942F for <tls@ietfa.amsl.com>; Fri, 12 May 2017 20:01:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 trnOkor3SP5D for <tls@ietfa.amsl.com>; Fri, 12 May 2017 20:01:55 -0700 (PDT)
Received: from mail-qk0-x232.google.com (mail-qk0-x232.google.com [IPv6:2607:f8b0:400d:c09::232]) (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 240431293FD for <tls@ietf.org>; Fri, 12 May 2017 19:58:52 -0700 (PDT)
Received: by mail-qk0-x232.google.com with SMTP id y201so61648066qka.0 for <tls@ietf.org>; Fri, 12 May 2017 19:58:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-transfer-encoding:message-id; bh=n4r+Y+GSXfHWVMfWeraWL8r3J5iKZq8ekRO9CE5U8bw=; b=vcBj3xQHsUGMq2qFwmU2zPz22Me5gvkWKUsZoR2Wb31moxBkaapNykqhfZcI33xIzl AA2qBHwroe7i0AqAiJN60nmFwD79zJLU+57EhUI7Uhapi7nAa1tQ+9ThIG8YhqYdVK23 ++PdpXQLtId1lhn8HOsco66vwu4oJl661o1rsqtND4UqQrME90NhhBGl6dwsMgZvlgCv MYflH+gh2aCj0S3VgRRhs66PeE9pTcCQvBCz339+na3KSIQJfo5SBJHkwtREZck7wpkc hc8NgfCUHQQ81yHEOgS3GcIHY+ZSRA9nzk5Xt0VV5RkNh63RIuYm296SAnNwN3d7tHoH oY6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-transfer-encoding:message-id; bh=n4r+Y+GSXfHWVMfWeraWL8r3J5iKZq8ekRO9CE5U8bw=; b=tEA1PepJWxyfjuujI6cYtvolp3e1GoEd+lKpXxjtKiS/Bi17uxzyVzd4r7t0Wkuq5f dgawTVipyCS6TL4NyvmTgmjyhUYY0orh4ylYtdpsO+5L7VNaNXEMuT1RGDa3S2wt+QJ2 EHx+2N53ULe0PjmGQEZCEWS41SEb0BiCKOAa5mLgvHSLQv7pjpQiymlZWZHajJgNnUP7 Letr8q3mgluja7iPvCQHZpyzDNJEGlZOkLIA0Pc+Zjv48H9hW+pahFsEleFn75GNdQQo iTo8nCyyzD/Mb+HHuhRXC+gua4qQ8+91tkdSyUEXBg+TFEScPxSxqfuSIs/JQGLeqizA g39g==
X-Gm-Message-State: AODbwcAqBu80+tvOTT/FFZVK6oqg08NDV4YQ+0MpTUIlXf9yG1Ht3clU cMZ9ReH/gDNsMQ==
X-Received: by 10.55.90.199 with SMTP id o190mr2285883qkb.120.1494644331211; Fri, 12 May 2017 19:58:51 -0700 (PDT)
Received: from dave-laptop.localnet (pool-71-185-36-197.phlapa.fios.verizon.net. [71.185.36.197]) by smtp.gmail.com with ESMTPSA id f201sm2223196qka.59.2017.05.12.19.58.50 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 12 May 2017 19:58:50 -0700 (PDT)
From: Dave Garrett <davemgarrett@gmail.com>
To: tls@ietf.org
Date: Fri, 12 May 2017 22:58:48 -0400
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <b117285e-4820-3ed8-9eb8-0f0d09e17f09@huitema.net> <87ziekihp6.fsf@fifthhorseman.net>
In-Reply-To: <87ziekihp6.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201705122258.49117.davemgarrett@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/vLHWekAfcI6bKfiiSLUBgwIc54Q>
Subject: [TLS]  Encrypted hellos (was Re: "Encrypted" SNI)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 May 2017 03:01:57 -0000

On Wednesday, May 10, 2017 03:28:48 pm Ilari Liusvaara wrote:
> On Wed, May 10, 2017 at 07:28:51PM +0200, Hubert Kario wrote:
> > Yes, encrypted SNI was discussed and ultimately rejected.
> > 
> > But do we really have to send the literal value? Don't we need to just make 
> > sure that the client and server agree on the host that the client wants to 
> > connect?
> > 
> > Couldn't we "encrypt" the SNI by hashing the host name with a salt, sending 
> > the salt and the resulting hash, making the server calculate the same hash 
> > with each of the virtual host names it supports and comparing with the client 
> > provided value?
> 
> What makes encrypting SNI nasty is replay attacks.
> 
> There also was proposal for putting SNI mapping into DNS (which limits the
> leakage if DNS lookups are private). However, I came up with a way to use
> that to attack HTTPS (the usual "default vhost" attacks).

On Wednesday, May 10, 2017 04:24:05 pm Daniel Kahn Gillmor wrote:
> On Wed 2017-05-10 12:12:34 -0700, Christian Huitema wrote:
> > It certainly was. But then the clear text SNI is a gaping privacy hole
> > in TLS, the kind of issue that should keep us awake at night until it is
> > resolved. We need to make sure that we make progress, rather than rehash
> > the old arguments. Maybe we should invest some time and document the
> > various proposals in a draft. I am willing to work on that. Any other
> > volunteers?
> 
> I agree with Christian's assessment of the problem, and i'd be
> interested in collaborating on such a draft.
> 
> The DNS folks are making strides to protect name information (the other
> main place where this kind of data is leaking).  TLS needs to keep up.

Encrypted SNI has been talked to death, and coming up with new schemes that warrant air quotes in the subject around "encrypted" feels like a waste of time. Wouldn't it be better to just focus on finishing the encrypt-all-the-things approach and plan out a way to distribute a host DH key (+ a few params, e.g. port(s)+protocol(s) to use with encrypted hellos) via DNS to encrypt everything straight from the ClientHello? Stick a supported_groups in there as well and we can make HRR unneeded while we're at it. This would also protect against 3rd parties attempting to fingerprint clients via ClientHello parameters. (probably a few other things that could be listed that could be helped, too)

Simply put, some of us were convinced a while ago that encrypted SNI isn't nearly as useful as it first seems, however fully encrypted hellos address that problem and more. I think it'd be better to work towards a more complete solution here than just worrying about SNI.


Dave


From nobody Fri May 12 20:20:28 2017
Return-Path: <huitema@huitema.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E10EA12EA8C for <tls@ietfa.amsl.com>; Fri, 12 May 2017 20:20:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.099
X-Spam-Level: 
X-Spam-Status: No, score=0.099 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham 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 I0VEqvzbteUp for <tls@ietfa.amsl.com>; Fri, 12 May 2017 20:20:20 -0700 (PDT)
Received: from mx43-out1.antispamcloud.com (mx43-out1.antispamcloud.com [138.201.61.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B22201275AB for <tls@ietf.org>; Fri, 12 May 2017 20:17:51 -0700 (PDT)
Received: from xsmtp31.mail2web.com ([168.144.250.234] helo=xsmtp11.mail2web.com) by mx43.antispamcloud.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.86) (envelope-from <huitema@huitema.net>) id 1d9NYz-0006sa-Gp for tls@ietf.org; Sat, 13 May 2017 05:17:49 +0200
Received: from [10.5.2.52] (helo=xmail12.myhosting.com) by xsmtp11.mail2web.com with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from <huitema@huitema.net>) id 1d9NYw-0007jy-WA for tls@ietf.org; Fri, 12 May 2017 23:17:47 -0400
Received: (qmail 25325 invoked from network); 13 May 2017 03:17:46 -0000
Received: from unknown (HELO [192.168.200.68]) (Authenticated-user:_huitema@huitema.net@[72.235.151.78]) (envelope-sender <huitema@huitema.net>) by xmail12.myhosting.com (qmail-ldap-1.03) with ESMTPA for <hkario@redhat.com>; 13 May 2017 03:17:46 -0000
To: Dave Garrett <davemgarrett@gmail.com>, tls@ietf.org
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <b117285e-4820-3ed8-9eb8-0f0d09e17f09@huitema.net> <87ziekihp6.fsf@fifthhorseman.net> <201705122258.49117.davemgarrett@gmail.com>
From: Christian Huitema <huitema@huitema.net>
Message-ID: <156700d9-b0fa-fbee-befe-7245bc768ab5@huitema.net>
Date: Fri, 12 May 2017 20:17:45 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <201705122258.49117.davemgarrett@gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: 168.144.250.234
X-SpamExperts-Domain: xsmtpout.mail2web.com
X-SpamExperts-Username: 168.144.250.0/24
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=168.144.250.0/24@xsmtpout.mail2web.com
X-SpamExperts-Outgoing-Class: unsure
X-SpamExperts-Outgoing-Evidence: Combined (0.26)
X-Recommended-Action: accept
X-Filter-ID: s0sct1PQhAABKnZB5plbIVbU93hg6Kq00BjAzYBqWlVTHAar8Je/lORhy3PZJU8LERWeKKG4PAQY Nyavp7c49FXKwZbSflcvTu2SSy6NnOlTugiLDom8V25hond3K4RsO76XSTAwtV4mg4i2ouCDa4AU hvIWAV5xUW/+gAh4vXpFhIrfazkiIQ2S64PDBtdgRcOb18WfxGyg6Om6u4YYmyY2Uciy+YsO2eLh j7pTswg5hjoyEb9Oq0NWpyO3vrfYzS02aeiYw+GANPqwVsDMNz3dKxLhoxcmaInYbR5vlqGudzLe k2TYFBStSOMccbr5Uz0sPgnpAk2KA2vJwMd1uWhCmLzOxTAcQmFWVARhgNqBNFD3an3wiMp49rVr ybSBcKaDTe3QRRhTm1Fh3Md1t3TFgIfDMShmlQFqCr5hA8xAXSGwpLGc/Znuh3MoIpK0VTUxNuBj oncVGg5uN2OqgLbRF0J+AL6gRRwFcty0/RGJ+cv73CChOPjKA0/DVd83mzKXD5o/Ia+BqyQ7Q0nt IZ2PVtMHd8bHCmdzlxzVIEgwyGTHIAoNFX+jcW7DGmdE6eBVl9/A6GtGi+mfMSANmgQ9/T0zHbtC pLbhgZ6Z/Qhqxiuap5uKiBpffUsHYsfmrbtbs8GJuRKR6hnrta1usy6F/SOWlhnS7qkS/mOkSgD5 8bDUIriOSOQTK7vaz2jBsjp0rjSY76LAIHA6cW4Oa3gnTgPyST4gCHH+dS+0nfbQ44+/NmJ+fq0I Iixf9GclxdwDV/LdQk4Dnvnv/o4ZpIN8Tfe43vaXKX/yihCEqxIlRZaHuAWSnHeK3PdSA6Q+2n/k rhIYlNMbfS0wdTtG+6JGvz6FazW2uq9LM3++XT4UhuDAoR32cV4eNY9hrm4n
X-Report-Abuse-To: spam@quarantine5.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/FjkI0i31VS-FDRGuOEC03o6l_BY>
Subject: Re: [TLS] Encrypted hellos (was Re: "Encrypted" SNI)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 May 2017 03:20:27 -0000

On 5/12/2017 7:58 PM, Dave Garrett wrote:
> Encrypted SNI has been talked to death, and coming up with new schemes =
that warrant air quotes in the subject around "encrypted" feels like a wa=
ste of time. Wouldn't it be better to just focus on finishing the encrypt=
-all-the-things approach and plan out a way to distribute a host DH key (=
+ a few params, e.g. port(s)+protocol(s) to use with encrypted hellos) vi=
a DNS to encrypt everything straight from the ClientHello? Stick a suppor=
ted_groups in there as well and we can make HRR unneeded while we're at i=
t. This would also protect against 3rd parties attempting to fingerprint =
clients via ClientHello parameters. (probably a few other things that cou=
ld be listed that could be helped, too)
The "server DH Key" poses a significant forward secrecy issue. Suppose
that the key is compromised. Now the secret police can find out what
nasty sites was accessed by whom. That can be plus plus not good for
said dissidents.
> Simply put, some of us were convinced a while ago that encrypted SNI is=
n't nearly as useful as it first seems, however fully encrypted hellos ad=
dress that problem and more. I think it'd be better to work towards a mor=
e complete solution here than just worrying about SNI.
EKR did propose a TLS in TLS tunnel back in December 2015:
https://mailarchive.ietf.org/arch/msg/tls/tXvdcqnogZgqmdfCugrV8M90Ftw.
It would effectively encrypt the "inner" Client Hello.

-- Christian Huitema


From nobody Fri May 12 22:23:16 2017
Return-Path: <davemgarrett@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B3F24127B5A for <tls@ietfa.amsl.com>; Fri, 12 May 2017 22:23:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 5cZpEt-I3Tjo for <tls@ietfa.amsl.com>; Fri, 12 May 2017 22:23:13 -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 6CB6C12944A for <tls@ietf.org>; Fri, 12 May 2017 22:21:09 -0700 (PDT)
Received: by mail-qk0-x236.google.com with SMTP id y201so62667629qka.0 for <tls@ietf.org>; Fri, 12 May 2017 22:21:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-transfer-encoding:message-id; bh=LoqyiocEvUm4wyf5Je90THIJtI40CZczKDSEXkMNsG4=; b=S7gMhmRw7nKrE9rPboCLjn9rVTWqMo0WD1TjtWm6ahQdy/CCjpmtoeXr4coxT3mGpc A9Ut9jDsD/buruIAjH0RUEpbLucf27d2ZwpuyuyswxieG4/GIJQRlo7FNSv8jPBMyWv7 5oEIaA2FNYamvEu25k5UUYACGDkihsJivTsYvEhmUObCI2rV+E8dUb0vc5KrMJRgH8yV tzWEfbQ/01Ryf69L0+lrGWZHB4JCMKvF+RV1hD7hayqJurW/g+u3HDTKINB1/UZ8gyRa PmuLvZiQBPmg853O73CcInAD6Y3VwyZ6CbVLU4NAoB7qgS5XzpeQ3Fk4S+/lDmTxbR5h u7sw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-transfer-encoding:message-id; bh=LoqyiocEvUm4wyf5Je90THIJtI40CZczKDSEXkMNsG4=; b=qir9U/X1LqM80kbc+WjNtAcDbVbbKOJpLP27aOCb0I+lmNViG9e52N47fV2GmeOraC d2mHpfFEAeESbCxp1PsRawJIBWpI+UKr1KGUg3DOqfgqGYISqu6UU3CWr2HEZbu82S4J HZZzGfIpGDUGYpQZY862+mRkukRQ82xF0gIVmT/NlmNuApNJIbyb91q0VWdeXXbED7Dm 4W7LVw+bfPhT73019rlDU3xIxmrAjBcT0Z6ov7AgCvIWZ9Rzbbh2kYgEYDdddEMKQqLw YDPErv+cb/sIkepJF0XxbT9e0gbfjH1pzhaJZQRctD7ozG9hkLKkEGpXC9rA5S8CAbuw aPxA==
X-Gm-Message-State: AODbwcBhxXybpKPuN2se84NC/uh7qyywhxTWGW+keJw1EWgBG7JtJeSa 34OjaQuiviGuZw==
X-Received: by 10.55.204.23 with SMTP id r23mr7419356qki.72.1494652868657; Fri, 12 May 2017 22:21:08 -0700 (PDT)
Received: from dave-laptop.localnet (pool-71-185-36-197.phlapa.fios.verizon.net. [71.185.36.197]) by smtp.gmail.com with ESMTPSA id k184sm3821369qkb.48.2017.05.12.22.21.07 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 12 May 2017 22:21:08 -0700 (PDT)
From: Dave Garrett <davemgarrett@gmail.com>
To: Christian Huitema <huitema@huitema.net>
Date: Sat, 13 May 2017 01:21:06 -0400
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
Cc: tls@ietf.org, Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Ilari Liusvaara <ilariliusvaara@welho.com>, Hubert Kario <hkario@redhat.com>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <201705122258.49117.davemgarrett@gmail.com> <156700d9-b0fa-fbee-befe-7245bc768ab5@huitema.net>
In-Reply-To: <156700d9-b0fa-fbee-befe-7245bc768ab5@huitema.net>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Message-Id: <201705130121.06879.davemgarrett@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/2uondkHxMNIqsXSse2BTwOojuAQ>
Subject: Re: [TLS] Encrypted hellos (was Re: "Encrypted" SNI)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 May 2017 05:23:15 -0000

On Friday, May 12, 2017 11:17:45 pm Christian Huitema wrote:
> The "server DH Key" poses a significant forward secrecy issue. Suppose
> that the key is compromised. Now the secret police can find out what
> nasty sites was accessed by whom. That can be plus plus not good for
> said dissidents.

*This is the current situation.* "If the fix is broken, then it won't be fixed anymore" is not really that compelling of an argument, by itself.

Of course the host DH key has an FS risk; it'd need to have a limited validity time and be rotated regularly. (probably weekly) The private key would need to be protected and managed by the host (not the virtual servers), and the public key would need to be given to the virtual servers to be listed in DNS for their domains. An attacker that can get that private key can revert the security to the current status quo, but the handshake would still set up an ephemeral DH key for FS of everything after the hellos (as is the current case, with the well known caveats with 0RTT data).

An attacker that can reliably exfiltrate or completely control that key/host will almost certainly be able to surviel which virtual hosts are connected to no matter what we do. (or more precisely, I think that any gains you can make there are likely to be a lost cause) The only simple solution virtual servers have there is to not use a host you can't actually trust.

Of course, if everyone just switched to IPv6, everyone can get their own unique IP, the offending virtual server nonsense becomes obsolete, and servers could opt-out of SNI entirely (e.g. via a flag in DNS). (yeah, those IPs are of course trackable, though more easily rotatable, but you're not going to get a perfect solution here without something like Tor)

> EKR did propose a TLS in TLS tunnel back in December 2015:
> https://mailarchive.ietf.org/arch/msg/tls/tXvdcqnogZgqmdfCugrV8M90Ftw.
> It would effectively encrypt the "inner" Client Hello.

Same basic concept, different implementation. TLS tunneling would provide some backwards compatibility; ClientHellos would still look like ClientHellos. I was just suggesting the simple generic route of encrypting everything in a non-backwards-compatible way (sent to a specified port that is set up to only handle that and reject everything else). I'd rather let stupid/incompatible stuff just break if we're designing a new opt-in system.

The argument I'm making here isn't about implementation; it's about what to think about implementing to deal with the issues here.


Dave


From nobody Sat May 13 11:12:43 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 12A4B12E856 for <tls@ietfa.amsl.com>; Sat, 13 May 2017 11:12:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] 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 rkj3wgpLjHlo for <tls@ietfa.amsl.com>; Sat, 13 May 2017 11:12:39 -0700 (PDT)
Received: from mail-yb0-x22c.google.com (mail-yb0-x22c.google.com [IPv6:2607:f8b0:4002:c09::22c]) (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 CB4D3129411 for <tls@ietf.org>; Sat, 13 May 2017 11:10:01 -0700 (PDT)
Received: by mail-yb0-x22c.google.com with SMTP id 132so1996472ybq.1 for <tls@ietf.org>; Sat, 13 May 2017 11:10:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7G6ZAEdPen+ege1yvKbdEzXLtzycwVBnxFxVTYt0Kos=; b=FWiROjyN6sN69j/WACXpnak5UqWT0F21dCvxcF+8vouGnsfq8zWxoPBsKGUPyfG0OI KeHhwVklXQyO5mTsKMsWxn3CxgR00CgATfrpgbO/0EQSMhIYPz3eZnBP2qehAnCE8NnZ tyc2S8MjoQPpEyTT5B5jTj3oRLfJHqhzizdgaqa3Neeq7t28OHF4KY98Og5cx9wF0s47 PaHcGRBQ/jaOBsnDYfJiFWtQv7XUNeXx+MTGVaRsf03iHt68wIsBDWEMmOhivlXDDfsb SzVYiqnpL4FModRg+3DOapfu5YxNSbLrA4SLZj+myLPtS5DoerPNj9m5QPelbCbUK1fw /4nQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7G6ZAEdPen+ege1yvKbdEzXLtzycwVBnxFxVTYt0Kos=; b=am8QyH42vcJUau+UtX5SbboSNCzGlerj8oq4tBXbYO/jtHOMC0ICJcI90IMJ9h6fOm Tz0LsCzpo51MzSvS69RyEXe4EkqPo0umOiA/3RTT0QAQJObhPjHlhose5fp3yPrxI8yE aFYJEshiBASlTNCaXY4Nxxaeh6DCf7RVNEuEjRO+1sUeuJatCEZ8qHJkRi1Z6SwgwT1k UNIfHaiQIZOsPhyICbNs/1UQZcAt5XqxFfwCSHlnZifi+X+BpdJ/yx5Sg6e2NSU4AepG CYt/UDqVefDuEUfJRD6JAed0YlHhA8ds0TJ3liaRKrZ/St+xjfDtSCJ3nJcKV+UozR5T vP6g==
X-Gm-Message-State: AODbwcBUSLbTgjUNtWcoJB+naUcuoWlzQrhYeqSjENbCTNRazttCIy1r qPFEfpW265k3s5MSfJaQmPsMA/n9bw==
X-Received: by 10.37.220.15 with SMTP id y15mr7856032ybe.16.1494699000946; Sat, 13 May 2017 11:10:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Sat, 13 May 2017 11:09:20 -0700 (PDT)
In-Reply-To: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sat, 13 May 2017 11:09:20 -0700
Message-ID: <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Cc: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c18f092ff76fb054f6bba4c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/9NCKsNvhZsrHnWhL8b1mJW2nRjo>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 May 2017 18:12:42 -0000

--94eb2c18f092ff76fb054f6bba4c
Content-Type: text/plain; charset="UTF-8"

Hi Kathleen,

Thanks for your review.


> 1. Since this is going for IETF last call soon and there has been
> review of the draft (workshop, but is clearly ongoing from the list
> discussions), should the first sentence of the Introductions be
> removed?
>
>    DISCLAIMER: This is a WIP draft of TLS 1.3 and has not yet seen
>    significant security analysis.

Yeah, we'll remove this.


> 2. Section 4.2.9 - There should be some mention or pointer to the
> security considerations and recommendations on replay attacks for
> 0-RTT from this section.  I don't see any mention of discouraging
> 0-RTT from being a default and think that would be good for
> applications that use TLS expecting replay protection.  I know the WG
> agreed to keeping 0-RTT, but I think it's very important to make the
> issues clear and not have this come up as a default in any
> implementation/deployment for unsuspecting users.  Part of this will
> get down to implementation specifics and configuration options, but
> offering some guidance is important. This document will be read by
> many, not just developers.
>
> Since clients have to initiate 0-RTT, the user has to have some idea
> that replay attacks are possible and accept that risk.  If this were
> used in web applications, then all servers that don't want to see
> replay attacks (banking, etc.), would have to have explicitly reject
> this usage.  As such, there needs to be very strong guidance to this
> point. Would it be that browsers configure this as a default or
> something users would have to turn on or just leave it as an option
> (with warnings) for a client to enable?  Would servers have clear
> information in configuration files (or setup) about the implications
> of this option for those that don't read the RFC and are not aware of
> this problem?
>
> Most of this discussion belongs directly in the security consideration
> section, but there has to be mention of it with a reference from
> section 4.2.9.  It's not just an API consideration, this is for
> developers, implementers, and users of the protocol. Many other
> protocols use TLS beside HTTP and do so with the expectation of replay
> protection.
>
> While Appendix C1 is helpful, I don't think it's enough.  It's
> disappointing to see a protocol with a replay attack written as a
> prominent feature of TLS 1.3 and little discouragement from use.

I agree this should figure more prominently. I'm working on a PR
for this now which addresses at least some of these points, so
I'll hold off on responding to this for now and maybe we can
revisit once that PR has been completed.


> 3. Section 4.2.
>
>    "In general, detailed certificate validation procedures are out of
>    scope for TLS (see [RFC5280]).  This section provides TLS-specific
>    requirements."
>
> I don't see an explanation of why it is out-of-scope.  The reference
> is just to RFC5280, which seems odd.  I would expect the reference to
> be to something that explains why it is out-of-scope.

In general, TLS's policy (dating back to TLS 1.0) has been that the
job of TLS is to carry the certificates and other authentication
material but to leave it up to other parts of the system to
interpret them. It's been a long time since that decision was made,
but from my perspective, there are a number of major reasons:

1. Most of PKI processing (path construction, etc.) is generic and
   not specific to TLS. What is specific to TLS is:

   * How to indicate what your PKI capabilities are
     (see, e.g, S 4.2.4 and 4.3.2)
   * How to stuff the PKI material into the protocol
     (principally S 4.4.2)
   * How to determine whether a given certificate is suitable for
     use in TLS 4.4.4.2 and 4.3.2.1).

   So we want to outsource the generic PKI part


2. It matches the software architecture that people often use,
   which is to have a TLS stack but separate PKI validation. For
   instance, Firefox uses NSS for TLS but moz::pkix for
   validation. Similarly, Chrome uses BoringSSL for TLS
   but the system PKI libraries for validation.


In this case, I think that this text was more intended to
say "and go read 5280 to learn how to do this". To that end,
I suggest we say"


    "In general detailed certificate validation procedures are out of
    scope for TLS. [RFC5280] provides general procedures for
    certificate validation. This section provides TLS-specific
    requirements."


> RFC7525 has use of RFC5280 as a best practice for server identity
> verification and revocation checks for TLS 1.2.  Is this just for TLS
> 1.3?  Why?

I think that these requirements apply equally to TLS 1.3, it's
just that 7525 is older.


> RFC3280 is cited for revocation in the TLS 1.2 RFC.  I think a little
> explanation here would be helpful since this seems to be a departure
> (or reference to the changes section).

This is part of our generalized attempt to update to point to
the latest RFCs in our references. I'll add something to the
references section.
https://github.com/tlswg/tls13-spec/issues/1015


> If RFC5280 remains out-of-scope, this section should fully describe
> the certificate validation process for TLS 1.3. I think you need to
> list out everything that should be checked as opposed to just
> including one example:
>
>    "Also, if some aspect of the certificate chain was
>    unacceptable (e.g., it was not signed by a known, trusted CA), the
>    server MAY at its discretion either continue the handshake
>    (considering the client unauthenticated) or abort the handshake."

In general, I think we'd prefer to avoid providing a catalog of
all the ways that things can go wrong, because there are a lot.
The point of the text here is just supposed to be that servers
don't have to fail if they ask for client auth but they are then
sad about what the client provides. That's actually generally kind
of true, but it's more obvious with client auth because in many
cases the server has many ways of authenticating the client and
can fall back if it doesn't like the cert.


> 4. Section 6.2 Error Alerts
>
> In addition to sending the error, I don't see any mention of the error
> being logged on the server side, shouldn't that be specified?  Logging
> errors (at least in debug modes when needed) provides valuable
> troubleshooting information and many applications don't do an adequate
> job of logging, so I think it's important to call that out here as a
> recommendation.

I agree. I think it would be useful to say something about this. I've
filed https://github.com/tlswg/tls13-spec/issues/1014 to track this.

-Ekr


On Fri, May 12, 2017 at 7:07 PM, Kathleen Moriarty <
kathleen.moriarty.ietf@gmail.com> wrote:

> Hello,
>
> Thank you all for your work on TLS 1.3.  The list has still been
> active on a few topics, so I want to see how that all settles out in
> addition to the questions I have on the draft below.
>
> Introduction:
>
> 1. Since this is going for IETF last call soon and there has been
> review of the draft (workshop, but is clearly ongoing from the list
> discussions), should the first sentence of the Introductions be
> removed?
>
>    DISCLAIMER: This is a WIP draft of TLS 1.3 and has not yet seen
>    significant security analysis.
>
> 2. Section 4.2.9 - There should be some mention or pointer to the
> security considerations and recommendations on replay attacks for
> 0-RTT from this section.  I don't see any mention of discouraging
> 0-RTT from being a default and think that would be good for
> applications that use TLS expecting replay protection.  I know the WG
> agreed to keeping 0-RTT, but I think it's very important to make the
> issues clear and not have this come up as a default in any
> implementation/deployment for unsuspecting users.  Part of this will
> get down to implementation specifics and configuration options, but
> offering some guidance is important. This document will be read by
> many, not just developers.
>
> Since clients have to initiate 0-RTT, the user has to have some idea
> that replay attacks are possible and accept that risk.  If this were
> used in web applications, then all servers that don't want to see
> replay attacks (banking, etc.), would have to have explicitly reject
> this usage.  As such, there needs to be very strong guidance to this
> point. Would it be that browsers configure this as a default or
> something users would have to turn on or just leave it as an option
> (with warnings) for a client to enable?  Would servers have clear
> information in configuration files (or setup) about the implications
> of this option for those that don't read the RFC and are not aware of
> this problem?
>
> Most of this discussion belongs directly in the security consideration
> section, but there has to be mention of it with a reference from
> section 4.2.9.  It's not just an API consideration, this is for
> developers, implementers, and users of the protocol. Many other
> protocols use TLS beside HTTP and do so with the expectation of replay
> protection.
>
> While Appendix C1 is helpful, I don't think it's enough.  It's
> disappointing to see a protocol with a replay attack written as a
> prominent feature of TLS 1.3 and little discouragement from use.
>
>
> 3. Section 4.2.
>
>    "In general, detailed certificate validation procedures are out of
>    scope for TLS (see [RFC5280]).  This section provides TLS-specific
>    requirements."
>
> I don't see an explanation of why it is out-of-scope.  The reference
> is just to RFC5280, which seems odd.  I would expect the reference to
> be to something that explains why it is out-of-scope.
>
> RFC7525 has use of RFC5280 as a best practice for server identity
> verification and revocation checks for TLS 1.2.  Is this just for TLS
> 1.3?  Why?
> RFC3280 is cited for revocation in the TLS 1.2 RFC.  I think a little
> explanation here would be helpful since this seems to be a departure
> (or reference to the changes section).
>
> If RFC5280 remains out-of-scope, this section should fully describe
> the certificate validation process for TLS 1.3. I think you need to
> list out everything that should be checked as opposed to just
> including one example:
>
>    "Also, if some aspect of the certificate chain was
>    unacceptable (e.g., it was not signed by a known, trusted CA), the
>    server MAY at its discretion either continue the handshake
>    (considering the client unauthenticated) or abort the handshake."
>
>
> 4. Section 6.2 Error Alerts
>
> In addition to sending the error, I don't see any mention of the error
> being logged on the server side, shouldn't that be specified?  Logging
> errors (at least in debug modes when needed) provides valuable
> troubleshooting information and many applications don't do an adequate
> job of logging, so I think it's important to call that out here as a
> recommendation.
>
>
>
> --
>
> Best regards,
> Kathleen
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr"><div>Hi Kathleen,</div><div><br></div><div>Thanks for your=
 review.</div><div><br></div><div><br></div><div>&gt; 1. Since this is goin=
g for IETF last call soon and there has been</div><div>&gt; review of the d=
raft (workshop, but is clearly ongoing from the list</div><div>&gt; discuss=
ions), should the first sentence of the Introductions be</div><div>&gt; rem=
oved?</div><div>&gt;=C2=A0</div><div>&gt; =C2=A0 =C2=A0DISCLAIMER: This is =
a WIP draft of TLS 1.3 and has not yet seen</div><div>&gt; =C2=A0 =C2=A0sig=
nificant security analysis.</div><div><br></div><div>Yeah, we&#39;ll remove=
 this.</div><div><br></div><div><br></div><div>&gt; 2. Section 4.2.9 - Ther=
e should be some mention or pointer to the</div><div>&gt; security consider=
ations and recommendations on replay attacks for</div><div>&gt; 0-RTT from =
this section.=C2=A0 I don&#39;t see any mention of discouraging</div><div>&=
gt; 0-RTT from being a default and think that would be good for</div><div>&=
gt; applications that use TLS expecting replay protection.=C2=A0 I know the=
 WG</div><div>&gt; agreed to keeping 0-RTT, but I think it&#39;s very impor=
tant to make the</div><div>&gt; issues clear and not have this come up as a=
 default in any</div><div>&gt; implementation/deployment for unsuspecting u=
sers.=C2=A0 Part of this will</div><div>&gt; get down to implementation spe=
cifics and configuration options, but</div><div>&gt; offering some guidance=
 is important. This document will be read by</div><div>&gt; many, not just =
developers.</div><div>&gt;=C2=A0</div><div>&gt; Since clients have to initi=
ate 0-RTT, the user has to have some idea</div><div>&gt; that replay attack=
s are possible and accept that risk.=C2=A0 If this were</div><div>&gt; used=
 in web applications, then all servers that don&#39;t want to see</div><div=
>&gt; replay attacks (banking, etc.), would have to have explicitly reject<=
/div><div>&gt; this usage.=C2=A0 As such, there needs to be very strong gui=
dance to this</div><div>&gt; point. Would it be that browsers configure thi=
s as a default or</div><div>&gt; something users would have to turn on or j=
ust leave it as an option</div><div>&gt; (with warnings) for a client to en=
able?=C2=A0 Would servers have clear</div><div>&gt; information in configur=
ation files (or setup) about the implications</div><div>&gt; of this option=
 for those that don&#39;t read the RFC and are not aware of</div><div>&gt; =
this problem?</div><div>&gt;=C2=A0</div><div>&gt; Most of this discussion b=
elongs directly in the security consideration</div><div>&gt; section, but t=
here has to be mention of it with a reference from</div><div>&gt; section 4=
.2.9.=C2=A0 It&#39;s not just an API consideration, this is for</div><div>&=
gt; developers, implementers, and users of the protocol. Many other</div><d=
iv>&gt; protocols use TLS beside HTTP and do so with the expectation of rep=
lay</div><div>&gt; protection.</div><div>&gt;=C2=A0</div><div>&gt; While Ap=
pendix C1 is helpful, I don&#39;t think it&#39;s enough.=C2=A0 It&#39;s</di=
v><div>&gt; disappointing to see a protocol with a replay attack written as=
 a</div><div>&gt; prominent feature of TLS 1.3 and little discouragement fr=
om use.</div><div><br></div><div>I agree this should figure more prominentl=
y. I&#39;m working on a PR</div><div>for this now which addresses at least =
some of these points, so</div><div>I&#39;ll hold off on responding to this =
for now and maybe we can</div><div>revisit once that PR has been completed.=
</div><div><br></div><div><br></div><div>&gt; 3. Section 4.2.</div><div>&gt=
;=C2=A0</div><div>&gt; =C2=A0 =C2=A0&quot;In general, detailed certificate =
validation procedures are out of</div><div>&gt; =C2=A0 =C2=A0scope for TLS =
(see [RFC5280]).=C2=A0 This section provides TLS-specific</div><div>&gt; =
=C2=A0 =C2=A0requirements.&quot;</div><div>&gt;=C2=A0</div><div>&gt; I don&=
#39;t see an explanation of why it is out-of-scope.=C2=A0 The reference</di=
v><div>&gt; is just to RFC5280, which seems odd.=C2=A0 I would expect the r=
eference to</div><div>&gt; be to something that explains why it is out-of-s=
cope.</div><div><br></div><div>In general, TLS&#39;s policy (dating back to=
 TLS 1.0) has been that the</div><div>job of TLS is to carry the certificat=
es and other authentication</div><div>material but to leave it up to other =
parts of the system to</div><div>interpret them. It&#39;s been a long time =
since that decision was made,</div><div>but from my perspective, there are =
a number of major reasons:</div><div><br></div><div>1. Most of PKI processi=
ng (path construction, etc.) is generic and</div><div>=C2=A0 =C2=A0not spec=
ific to TLS. What is specific to TLS is:</div><div><br></div><div>=C2=A0 =
=C2=A0* How to indicate what your PKI capabilities are</div><div>=C2=A0 =C2=
=A0 =C2=A0(see, e.g, S 4.2.4 and 4.3.2)</div><div>=C2=A0 =C2=A0* How to stu=
ff the PKI material into the protocol</div><div>=C2=A0 =C2=A0 =C2=A0(princi=
pally S 4.4.2)</div><div>=C2=A0 =C2=A0* How to determine whether a given ce=
rtificate is suitable for</div><div>=C2=A0 =C2=A0 =C2=A0use in TLS 4.4.4.2 =
and 4.3.2.1).</div><div>=C2=A0</div><div>=C2=A0 =C2=A0So we want to outsour=
ce the generic PKI part</div><div><br></div><div><br></div><div>2. It match=
es the software architecture that people often use,</div><div>=C2=A0 =C2=A0=
which is to have a TLS stack but separate PKI validation. For</div><div>=C2=
=A0 =C2=A0instance, Firefox uses NSS for TLS but moz::pkix for</div><div>=
=C2=A0 =C2=A0validation. Similarly, Chrome uses BoringSSL for TLS</div><div=
>=C2=A0 =C2=A0but the system PKI libraries for validation.</div><div><br></=
div><div><br></div><div>In this case, I think that this text was more inten=
ded to</div><div>say &quot;and go read 5280 to learn how to do this&quot;. =
To that end,</div><div>I suggest we say&quot;</div><div><br></div><div>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</div><div>=C2=A0 =C2=A0 &quot=
;In general detailed certificate validation procedures are out of</div><div=
>=C2=A0 =C2=A0 scope for TLS. [RFC5280] provides general procedures for</di=
v><div>=C2=A0 =C2=A0 certificate validation. This section provides TLS-spec=
ific</div><div>=C2=A0 =C2=A0 requirements.&quot;</div><div><br></div><div><=
br></div><div>&gt; RFC7525 has use of RFC5280 as a best practice for server=
 identity</div><div>&gt; verification and revocation checks for TLS 1.2.=C2=
=A0 Is this just for TLS</div><div>&gt; 1.3?=C2=A0 Why?</div><div><br></div=
><div>I think that these requirements apply equally to TLS 1.3, it&#39;s</d=
iv><div>just that 7525 is older.</div><div><br></div><div><br></div><div>&g=
t; RFC3280 is cited for revocation in the TLS 1.2 RFC.=C2=A0 I think a litt=
le</div><div>&gt; explanation here would be helpful since this seems to be =
a departure</div><div>&gt; (or reference to the changes section).</div><div=
><br></div><div>This is part of our generalized attempt to update to point =
to</div><div>the latest RFCs in our references. I&#39;ll add something to t=
he</div><div>references section.</div><div><a href=3D"https://github.com/tl=
swg/tls13-spec/issues/1015">https://github.com/tlswg/tls13-spec/issues/1015=
</a></div><div><br></div><div><br></div><div>&gt; If RFC5280 remains out-of=
-scope, this section should fully describe</div><div>&gt; the certificate v=
alidation process for TLS 1.3. I think you need to</div><div>&gt; list out =
everything that should be checked as opposed to just</div><div>&gt; includi=
ng one example:</div><div>&gt;=C2=A0</div><div>&gt; =C2=A0 =C2=A0&quot;Also=
, if some aspect of the certificate chain was</div><div>&gt; =C2=A0 =C2=A0u=
nacceptable (e.g., it was not signed by a known, trusted CA), the</div><div=
>&gt; =C2=A0 =C2=A0server MAY at its discretion either continue the handsha=
ke</div><div>&gt; =C2=A0 =C2=A0(considering the client unauthenticated) or =
abort the handshake.&quot;</div><div><br></div><div>In general, I think we&=
#39;d prefer to avoid providing a catalog of</div><div>all the ways that th=
ings can go wrong, because there are a lot.</div><div>The point of the text=
 here is just supposed to be that servers</div><div>don&#39;t have to fail =
if they ask for client auth but they are then</div><div>sad about what the =
client provides. That&#39;s actually generally kind</div><div>of true, but =
it&#39;s more obvious with client auth because in many</div><div>cases the =
server has many ways of authenticating the client and</div><div>can fall ba=
ck if it doesn&#39;t like the cert.</div><div><br></div><div><br></div><div=
>&gt; 4. Section 6.2 Error Alerts</div><div>&gt;=C2=A0</div><div>&gt; In ad=
dition to sending the error, I don&#39;t see any mention of the error</div>=
<div>&gt; being logged on the server side, shouldn&#39;t that be specified?=
=C2=A0 Logging</div><div>&gt; errors (at least in debug modes when needed) =
provides valuable</div><div>&gt; troubleshooting information and many appli=
cations don&#39;t do an adequate</div><div>&gt; job of logging, so I think =
it&#39;s important to call that out here as a</div><div>&gt; recommendation=
.</div><div><br></div><div>I agree. I think it would be useful to say somet=
hing about this. I&#39;ve</div><div>filed <a href=3D"https://github.com/tls=
wg/tls13-spec/issues/1014">https://github.com/tlswg/tls13-spec/issues/1014<=
/a> to track this.</div><div><br></div><div>-Ekr</div><div><br></div></div>=
<div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, May 12, 2=
017 at 7:07 PM, Kathleen Moriarty <span dir=3D"ltr">&lt;<a href=3D"mailto:k=
athleen.moriarty.ietf@gmail.com" target=3D"_blank">kathleen.moriarty.ietf@g=
mail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<b=
r>
<br>
Thank you all for your work on TLS 1.3.=C2=A0 The list has still been<br>
active on a few topics, so I want to see how that all settles out in<br>
addition to the questions I have on the draft below.<br>
<br>
Introduction:<br>
<br>
1. Since this is going for IETF last call soon and there has been<br>
review of the draft (workshop, but is clearly ongoing from the list<br>
discussions), should the first sentence of the Introductions be<br>
removed?<br>
<br>
=C2=A0 =C2=A0DISCLAIMER: This is a WIP draft of TLS 1.3 and has not yet see=
n<br>
=C2=A0 =C2=A0significant security analysis.<br>
<br>
2. Section 4.2.9 - There should be some mention or pointer to the<br>
security considerations and recommendations on replay attacks for<br>
0-RTT from this section.=C2=A0 I don&#39;t see any mention of discouraging<=
br>
0-RTT from being a default and think that would be good for<br>
applications that use TLS expecting replay protection.=C2=A0 I know the WG<=
br>
agreed to keeping 0-RTT, but I think it&#39;s very important to make the<br=
>
issues clear and not have this come up as a default in any<br>
implementation/deployment for unsuspecting users.=C2=A0 Part of this will<b=
r>
get down to implementation specifics and configuration options, but<br>
offering some guidance is important. This document will be read by<br>
many, not just developers.<br>
<br>
Since clients have to initiate 0-RTT, the user has to have some idea<br>
that replay attacks are possible and accept that risk.=C2=A0 If this were<b=
r>
used in web applications, then all servers that don&#39;t want to see<br>
replay attacks (banking, etc.), would have to have explicitly reject<br>
this usage.=C2=A0 As such, there needs to be very strong guidance to this<b=
r>
point. Would it be that browsers configure this as a default or<br>
something users would have to turn on or just leave it as an option<br>
(with warnings) for a client to enable?=C2=A0 Would servers have clear<br>
information in configuration files (or setup) about the implications<br>
of this option for those that don&#39;t read the RFC and are not aware of<b=
r>
this problem?<br>
<br>
Most of this discussion belongs directly in the security consideration<br>
section, but there has to be mention of it with a reference from<br>
section 4.2.9.=C2=A0 It&#39;s not just an API consideration, this is for<br=
>
developers, implementers, and users of the protocol. Many other<br>
protocols use TLS beside HTTP and do so with the expectation of replay<br>
protection.<br>
<br>
While Appendix C1 is helpful, I don&#39;t think it&#39;s enough.=C2=A0 It&#=
39;s<br>
disappointing to see a protocol with a replay attack written as a<br>
prominent feature of TLS 1.3 and little discouragement from use.<br>
<br>
<br>
3. Section 4.2.<br>
<br>
=C2=A0 =C2=A0&quot;In general, detailed certificate validation procedures a=
re out of<br>
=C2=A0 =C2=A0scope for TLS (see [RFC5280]).=C2=A0 This section provides TLS=
-specific<br>
=C2=A0 =C2=A0requirements.&quot;<br>
<br>
I don&#39;t see an explanation of why it is out-of-scope.=C2=A0 The referen=
ce<br>
is just to RFC5280, which seems odd.=C2=A0 I would expect the reference to<=
br>
be to something that explains why it is out-of-scope.<br>
<br>
RFC7525 has use of RFC5280 as a best practice for server identity<br>
verification and revocation checks for TLS 1.2.=C2=A0 Is this just for TLS<=
br>
1.3?=C2=A0 Why?<br>
RFC3280 is cited for revocation in the TLS 1.2 RFC.=C2=A0 I think a little<=
br>
explanation here would be helpful since this seems to be a departure<br>
(or reference to the changes section).<br>
<br>
If RFC5280 remains out-of-scope, this section should fully describe<br>
the certificate validation process for TLS 1.3. I think you need to<br>
list out everything that should be checked as opposed to just<br>
including one example:<br>
<br>
=C2=A0 =C2=A0&quot;Also, if some aspect of the certificate chain was<br>
=C2=A0 =C2=A0unacceptable (e.g., it was not signed by a known, trusted CA),=
 the<br>
=C2=A0 =C2=A0server MAY at its discretion either continue the handshake<br>
=C2=A0 =C2=A0(considering the client unauthenticated) or abort the handshak=
e.&quot;<br>
<br>
<br>
4. Section 6.2 Error Alerts<br>
<br>
In addition to sending the error, I don&#39;t see any mention of the error<=
br>
being logged on the server side, shouldn&#39;t that be specified?=C2=A0 Log=
ging<br>
errors (at least in debug modes when needed) provides valuable<br>
troubleshooting information and many applications don&#39;t do an adequate<=
br>
job of logging, so I think it&#39;s important to call that out here as a<br=
>
recommendation.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
<br>
--<br>
<br>
Best regards,<br>
Kathleen<br>
<br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</font></span></blockquote></div><br></div>

--94eb2c18f092ff76fb054f6bba4c--


From nobody Sat May 13 13:27:48 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C510129329 for <tls@ietfa.amsl.com>; Sat, 13 May 2017 13:27:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 4FpgAzKAWQFb for <tls@ietfa.amsl.com>; Sat, 13 May 2017 13:27:44 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2.welho.com [83.102.41.24]) by ietfa.amsl.com (Postfix) with ESMTP id A83F7129423 for <tls@ietf.org>; Sat, 13 May 2017 13:24:56 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 1BD66226A9; Sat, 13 May 2017 23:24:53 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id bdaciRD6GTeg; Sat, 13 May 2017 23:24:52 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id AC87B2313; Sat, 13 May 2017 23:24:52 +0300 (EEST)
Date: Sat, 13 May 2017 23:24:51 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Colm =?utf-8?Q?MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: "Salz, Rich" <rsalz@akamai.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170513202451.GA14826@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <9f5858c8d86742b9aa82bdac46590c92@usma1ex-dag1mb1.msg.corp.akamai.com> <CAAF6GDcGQ0YTYFFD+HVD71O9GCW7V3r_UNce1LQsHF1Zs9aBLQ@mail.gmail.com> <6ce1dc8757fa4f6693263c8e4f06f277@usma1ex-dag1mb1.msg.corp.akamai.com> <CAAF6GDd5jnuSHw3JLTuCCKWjwKHcW=nfNac=w5UprM-gPJocQw@mail.gmail.com> <20170509181227.GA9346@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDcUu24NZbzxA0x6+OFkU2HRy8rtrQgQ_9U_j8CGjVOjLw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAAF6GDcUu24NZbzxA0x6+OFkU2HRy8rtrQgQ_9U_j8CGjVOjLw@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/gRiO0CuqaMYOM9tv4itrxABD0UY>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 May 2017 20:27:47 -0000

On Tue, May 09, 2017 at 11:44:14AM -0700, Colm MacCÃ¡rthaigh wrote:
> On Tue, May 9, 2017 at 11:12 AM, Ilari Liusvaara <ilariliusvaara@welho.com>
> wrote:

> 
> Because HTTP specification expressly forbids any and all updates and
> > writes using safe methods. Ignoring that causes very severe security
> > vulernabilities even today (e.g., causes essentially undefendable CSRF
> > attacks).
> >
> 
> These aren't browser requests, they can be SDK and other clients making
> HTTP API requests. That's much more common too, by volume. CSRF isn't an
> issue in cases like that.

Hope your API is actually idempotent, because the HTTP code, which sits
below the SDK code can replay requests on its own...
 
> I think everything I'm writing applies even for a careful REST-compliant
> case too. Even if the client is using PUT or POST or DELETE or whatever,
> the same kind of transactional semantics apply. All it takes is a
> disconnect between the settings in any of the middle transport layers and
> the expectations of the underlying protocol. I just think that disconnect
> is very predictable.

PUT and DELETE are also subject to autoretry. Which means that any
PUT or DELETE in failed 0-RTT can be immediately replayed as 1-RTT by
the HTTP code.

However, POST is not subject to autoretry. Which means that any POST
in failed 0-RTT must be reported to next layer as "error: connection to
server lost before reply was received". Which is the same error if
server somehow sent a TLS close_notify with pending POST (which is
considered autenticated close!).

(In HTTP/2, if the server explicitly refuses the stream POST is on,
that does not count as fatal failure, and the http library can
autoretry).

The next layer can then decide to retry the request upon getting the
connection lost error. However, in such situation, one _always_ needs
to handle possible reordering, _regardless_ of 0-RTT or TLS version!



Unified-stream model has the following to keep in mind:

- The client TLS library APIs must not be subject to races that may
  cause data corruption if server rejects 0-RTT (_including_ selecting
  different application-layer protocol).
- The 0-RTT data may not be suitable for replay, even if application-
  layer protocol matches. And 0-RTT containing HTTP POSTs is the not
  the only case even in HTTP (e.g. what Tokbind has specified so far
  renders such replay unsafe even for GET).



Two recommendations:

- Always require strong 0-RTT anti-replay, even accross servers. The
  attacks raising from failing to do this are just too severe and
  virtually impossible to address in any other way.
- Clients shall treat any 0-RTT data sent as potentially received by
  the server, _even_ if server refuses the 0-RTT.




-Ilari


From nobody Mon May 15 03:46:54 2017
Return-Path: <dromasca@gmail.com>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id EE7D0126E64; Mon, 15 May 2017 03:46:35 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Dan Romascanu <dromasca@gmail.com>
To: <gen-art@ietf.org>
Cc: draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, ietf@ietf.org, tls@ietf.org, dromasca@gmail.com
X-Test-IDTracker: no
X-IETF-IDTracker: 6.50.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149484519593.2843.448630358757818654@ietfa.amsl.com>
Date: Mon, 15 May 2017 03:46:35 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/F6QX0bJj1h0bwaSF_6cygmE2T5I>
Subject: [TLS] Genart last call review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 May 2017 10:46:36 -0000

Reviewer: Dan Romascanu
Review result: Ready with Issues

I am the assigned Gen-ART reviewer for this draft. The General Area
Review Team (Gen-ART) reviews all IETF documents being processed
by the IESG for the IETF Chair.  Please treat these comments just
like any other last call comments.

For more information, please see the FAQ at

<https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.

Document: draft-ietf-tls-ecdhe-psk-aead-??
Reviewer: Dan Romascanu
Review Date: 2017-05-15
IETF LC End Date: 2017-05-18
IESG Telechat date: 2017-05-25

Summary:

This is a straight-forward and clear document that defines several new
cipher suites for the Transport Layer Security (TLS) protocol version
1.2 and higher, based on the Ephemeral Elliptic Curve Diffie-Hellman
with Pre-Shared Key (ECDHE_PSK) key exchange together with the
Authenticated Encryption with Associated Data (AEAD) algorithms
AES-GCM and AES-CCM. The document is well written and I appreciate the
effort to clarify in the Introduction the context, what was missing,
and why the document is necessary. The document is Ready, there is one
issue about support for TLS version 1.3 and higher that may need some
text clarification. 

Major issues:

Minor issues:

Section 4 ('Applicable TLS Versions') describes in details how the
cipher suites defined in the document make use of the authenticated
encryption with additional data (AEAD) defined in TLS 1.2 [RFC5246]
and DTLS 1.2 [RFC6347]. About TLS 1.3 it just says: 

' TLS 1.3 and above version, negotiate and support these cipher suites
in a different way.'

This may raise some concerns as 'in a different way' is ambiguous,
especially compared to the details included for TLS 1.2. Moreover, TLS
1.3 is still work-in-progress, and I believe that this document when
approved needs to wait for TLS 1.3 to be approved for publication.
Will anything change, or need to be added? Some better clarification
text would help IMO. 

Nits/editorial comments: 



From nobody Mon May 15 05:01:44 2017
Return-Path: <hkario@redhat.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 877DC124BFA for <tls@ietfa.amsl.com>; Mon, 15 May 2017 05:01:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.223
X-Spam-Level: 
X-Spam-Status: No, score=-4.223 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 0KFLsFoTGvYE for <tls@ietfa.amsl.com>; Mon, 15 May 2017 05:01:40 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 29816129AB6 for <tls@ietf.org>; Mon, 15 May 2017 04:56:53 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E84C04E02D; Mon, 15 May 2017 11:56:51 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E84C04E02D
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=hkario@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com E84C04E02D
Received: from pintsize.usersys.redhat.com (dhcp-0-115.brq.redhat.com [10.34.0.115]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5E44E60465; Mon, 15 May 2017 11:56:51 +0000 (UTC)
From: Hubert Kario <hkario@redhat.com>
To: Dave Garrett <davemgarrett@gmail.com>
Cc: Christian Huitema <huitema@huitema.net>, tls@ietf.org, Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Ilari Liusvaara <ilariliusvaara@welho.com>
Date: Mon, 15 May 2017 13:56:44 +0200
Message-ID: <4227474.urTlPk55X7@pintsize.usersys.redhat.com>
In-Reply-To: <201705130121.06879.davemgarrett@gmail.com>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <156700d9-b0fa-fbee-befe-7245bc768ab5@huitema.net> <201705130121.06879.davemgarrett@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart1634888.hoYrUcqyKQ"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 15 May 2017 11:56:52 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/S_RHjm13LmIW9egYIK6V8cJxT1I>
Subject: Re: [TLS] Encrypted hellos (was Re: "Encrypted" SNI)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 May 2017 12:01:42 -0000

--nextPart1634888.hoYrUcqyKQ
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

On Saturday, 13 May 2017 07:21:06 CEST Dave Garrett wrote:
> On Friday, May 12, 2017 11:17:45 pm Christian Huitema wrote:
> > The "server DH Key" poses a significant forward secrecy issue. Suppose
> > that the key is compromised. Now the secret police can find out what
> > nasty sites was accessed by whom. That can be plus plus not good for
> > said dissidents.
>=20
> *This is the current situation.* "If the fix is broken, then it won't be
> fixed anymore" is not really that compelling of an argument, by itself.
>=20
> Of course the host DH key has an FS risk; it'd need to have a limited
> validity time and be rotated regularly. (probably weekly)

you then need mechanism to indicate which DNS key share client is using or =
all=20
the connections would start failing on key rollover. And have to deal with =
all=20
the "fun" stuff related to key rollovers.

> The private key
> would need to be protected and managed by the host (not the virtual
> servers)

yes, the key MUST be assigned to a specific IP, not virtual host

> > EKR did propose a TLS in TLS tunnel back in December 2015:
> > https://mailarchive.ietf.org/arch/msg/tls/tXvdcqnogZgqmdfCugrV8M90Ftw.
> > It would effectively encrypt the "inner" Client Hello.
>=20
> Same basic concept, different implementation. TLS tunneling would provide
> some backwards compatibility; ClientHellos would still look like
> ClientHellos. I was just suggesting the simple generic route of encrypting
> everything in a non-backwards-compatible way (sent to a specified port th=
at
> is set up to only handle that and reject everything else). I'd rather let
> stupid/incompatible stuff just break if we're designing a new opt-in
> system.
>=20
> The argument I'm making here isn't about implementation; it's about what =
to
> think about implementing to deal with the issues here.

I respectfully disagree. That system requires tight coupling between the TL=
S=20
implementation and DNS. This is not something that facilitates TLS deployme=
nt.=20
We want more TLS/HTTPS deployment, not less.

=2D-=20
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech Republic
--nextPart1634888.hoYrUcqyKQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJZGZd8AAoJEJKo0bgB0vX1u0EP/07zlCYYnBfRi7mM36ZXdoyP
YYnUeV2NwZ42laXp/H9n9VrEFd4UmDZqt2vpHw/h4OtW7N3dwFr43fXZPBUYg9NN
fV68AsBG0/8dCQO/UBNGIGyk+a+6YGAej6IkbcUnhSYxwWKlXE7Q45Hd0QawaGcX
ekOJyecx6DZrY0LdKjQbXwZX+jU3okhjVkoRgiwmfRj2Pr62Sb+hwPsK697TFSqZ
5331s03QtTvZQcQHfOKh6UE8vTYVouNAznPAC2H28u9iYjXiUIZYyxRB4QThEgZ8
ENoxLGzKwgeDwNNmp1BuAVV6TvDUDOuqCdq7h13J7HrjTJDuGw9+m0gWYoMDEDvS
YbSOXXRFo3qRm4I4oMCm2eSGvbGsBct28tXCzDTQITFRd3UlfqNX8rypOlRYMi30
olOA4pWT66cz1rygR0vGDekmrxg3YF6CULs9HW9sAkLCc+qGllj0YiRASzQqBpz2
Lf0OfR/rKb2ZrMTTwmz9j2oHcc54CZOdd134+BRRdzzddLN62U7+nAhKvAu0Mxtf
msBNS5gOpWJSJe7Uv6GGRj93YraPZvrwQKP8Md+d/x49SZJdUb4HSv9nTH5gSngJ
4d6AZ+X9Zsx/jQRMKqXh7z/8BIQMlJ+7dWQgPyfyBpDVUnut+equUsu9PuhEHNXI
4Cx9BIPr0EWrAc2S26xL
=BQiZ
-----END PGP SIGNATURE-----

--nextPart1634888.hoYrUcqyKQ--


From nobody Mon May 15 07:12:11 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 19B6D126B6E for <tls@ietfa.amsl.com>; Mon, 15 May 2017 07:12:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level: 
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=ham 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 4vqcxuXjT32h for <tls@ietfa.amsl.com>; Mon, 15 May 2017 07:12:07 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C26812EB17 for <tls@ietf.org>; Mon, 15 May 2017 07:05:53 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 709077A32F1 for <tls@ietf.org>; Mon, 15 May 2017 14:05:52 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: TLS WG <tls@ietf.org>
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Message-Id: <98E0B43D-2225-460A-99EB-E0B67711FEC0@dukhovni.org>
Date: Mon, 15 May 2017 10:05:50 -0400
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/j5IqC4TUUJ5mSRORvh1sq6VjQA0>
Subject: [TLS] FYI: SMTP TLS Milestone
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 May 2017 14:12:09 -0000

In the most recent Google email transparency reports:

	https://www.google.com/transparencyreport/saferemail/

we see for the first time an essentially equal (and some days slightly
greater) fraction of inbound and outbound email using STARTTLS.

Between Apr 15th and May 6th the STARTTLS use ranges are:

	Outbound: 85% -- 88%
	Inbound:  84% -- 87%

At current trends crossing 90% seems plausible within a year.  Non
STARTTLS SMTP is gradually heading for extinction.

-- 
	Viktor.


From nobody Mon May 15 09:51:00 2017
Return-Path: <kathleen.moriarty.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 569751294B7 for <tls@ietfa.amsl.com>; Mon, 15 May 2017 09:50:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 xf11k0rzJFEy for <tls@ietfa.amsl.com>; Mon, 15 May 2017 09:50:56 -0700 (PDT)
Received: from mail-pg0-x22d.google.com (mail-pg0-x22d.google.com [IPv6:2607:f8b0:400e:c05::22d]) (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 339AD128954 for <tls@ietf.org>; Mon, 15 May 2017 09:47:38 -0700 (PDT)
Received: by mail-pg0-x22d.google.com with SMTP id x64so43403122pgd.3 for <tls@ietf.org>; Mon, 15 May 2017 09:47:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5n7XUCgIpu2DfWTkLj/2n9qcASiVVfR3We8Mt6kFRvs=; b=eTMXNt4/UFuiv92hxlTz6yXhtlXmnUcqlbCMci3CCcCL3Zwf7vBfWSAyi/09mumIO9 MJEgyBUC3+EKZHZ1AcYWt6SsNxcFZ6dmmbNH0PVTnxT4Ymwx4ZTUEIzld26Ic+7MfLET PQiwEm+RAyVky82AZzTFPAfvERE8xvZztc4ekCOse9sTEz+x/cqp8BDJeNg339VHk5JW UF3TAu5zx0V6gLkkgmlHOPgJ/DP7dxPs+cRaWy+t5Yeu2EO966mHTX5WSniE7FTTPLwc OVKrz1phWyY43vyCDUphk7gZSLBjCksMy2+0z4zuGjcw44/2iYPwikuNpIgxZu/K81I9 eReQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5n7XUCgIpu2DfWTkLj/2n9qcASiVVfR3We8Mt6kFRvs=; b=dOKXx/tiOvzqGAOnl0hVK0l9cc0AGtUgF8bUZac+vqMR+KQTR6wVk8wGH5bWwF4pWN mBdh+qc4X9N2OG/AYZk2Z539v7W90u9xQJmc/jF/VlhUs0igKMd4upO3tDF64UCTzGvE s0Xuv3IiacBiY6UzhQSTD4U/V1GQjCxbJk3dR/Mzk8UWd0XaLVRuzXv4DQY6nYycR1/i 4M+KSBj8JTUF5Vr5Iyu/FrpG0JHuxXcnW3z1UwIKtbumz6nwy/z+DGPPSB0i+fopBrgG Kl4VCm/yp2wavE1PwdJVSdcWuDV6E0XKbTVSvzh6WUxtScmJ4fLOi/Qh1pLlQXPPJU+A 09rQ==
X-Gm-Message-State: AODbwcBc6ZF0OLkb/H2UQGI28vnb0V1n3ZaT7BU/G7oCk6WdJCHT0MvJ lU0EDCUgVudyfdAGimXg+hWZhJE/uw==
X-Received: by 10.84.241.132 with SMTP id b4mr9831729pll.107.1494866857616; Mon, 15 May 2017 09:47:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.186.135 with HTTP; Mon, 15 May 2017 09:46:56 -0700 (PDT)
In-Reply-To: <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Date: Mon, 15 May 2017 12:46:56 -0400
Message-ID: <CAHbuEH540KqHrj7BparyasoSuZrH71od6oLvn04o9UqzKvz9iw@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/lpPwYHh1IkxXYRMRO4NK6TAEK-Y>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 May 2017 16:50:59 -0000

Hi Eric,

Thanks for your response.  Sorry for the delay, I'v been traveling.
The responses sound good, I do have a clarification and will respond
inline.

On Sat, May 13, 2017 at 2:09 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> Hi Kathleen,
>
> Thanks for your review.
>
>
>> 1. Since this is going for IETF last call soon and there has been
>> review of the draft (workshop, but is clearly ongoing from the list
>> discussions), should the first sentence of the Introductions be
>> removed?
>>
>>    DISCLAIMER: This is a WIP draft of TLS 1.3 and has not yet seen
>>    significant security analysis.
>
> Yeah, we'll remove this.
>
>
>> 2. Section 4.2.9 - There should be some mention or pointer to the
>> security considerations and recommendations on replay attacks for
>> 0-RTT from this section.  I don't see any mention of discouraging
>> 0-RTT from being a default and think that would be good for
>> applications that use TLS expecting replay protection.  I know the WG
>> agreed to keeping 0-RTT, but I think it's very important to make the
>> issues clear and not have this come up as a default in any
>> implementation/deployment for unsuspecting users.  Part of this will
>> get down to implementation specifics and configuration options, but
>> offering some guidance is important. This document will be read by
>> many, not just developers.
>>
>> Since clients have to initiate 0-RTT, the user has to have some idea
>> that replay attacks are possible and accept that risk.  If this were
>> used in web applications, then all servers that don't want to see
>> replay attacks (banking, etc.), would have to have explicitly reject
>> this usage.  As such, there needs to be very strong guidance to this
>> point. Would it be that browsers configure this as a default or
>> something users would have to turn on or just leave it as an option
>> (with warnings) for a client to enable?  Would servers have clear
>> information in configuration files (or setup) about the implications
>> of this option for those that don't read the RFC and are not aware of
>> this problem?
>>
>> Most of this discussion belongs directly in the security consideration
>> section, but there has to be mention of it with a reference from
>> section 4.2.9.  It's not just an API consideration, this is for
>> developers, implementers, and users of the protocol. Many other
>> protocols use TLS beside HTTP and do so with the expectation of replay
>> protection.
>>
>> While Appendix C1 is helpful, I don't think it's enough.  It's
>> disappointing to see a protocol with a replay attack written as a
>> prominent feature of TLS 1.3 and little discouragement from use.
>
> I agree this should figure more prominently. I'm working on a PR
> for this now which addresses at least some of these points, so
> I'll hold off on responding to this for now and maybe we can
> revisit once that PR has been completed.
>

Thank you.
>
>> 3. Section 4.2.
>>
>>    "In general, detailed certificate validation procedures are out of
>>    scope for TLS (see [RFC5280]).  This section provides TLS-specific
>>    requirements."
>>
>> I don't see an explanation of why it is out-of-scope.  The reference
>> is just to RFC5280, which seems odd.  I would expect the reference to
>> be to something that explains why it is out-of-scope.
>
> In general, TLS's policy (dating back to TLS 1.0) has been that the
> job of TLS is to carry the certificates and other authentication
> material but to leave it up to other parts of the system to
> interpret them. It's been a long time since that decision was made,
> but from my perspective, there are a number of major reasons:
>
> 1. Most of PKI processing (path construction, etc.) is generic and
>    not specific to TLS. What is specific to TLS is:
>
>    * How to indicate what your PKI capabilities are
>      (see, e.g, S 4.2.4 and 4.3.2)
>    * How to stuff the PKI material into the protocol
>      (principally S 4.4.2)
>    * How to determine whether a given certificate is suitable for
>      use in TLS 4.4.4.2 and 4.3.2.1).
>
>    So we want to outsource the generic PKI part
>
>
> 2. It matches the software architecture that people often use,
>    which is to have a TLS stack but separate PKI validation. For
>    instance, Firefox uses NSS for TLS but moz::pkix for
>    validation. Similarly, Chrome uses BoringSSL for TLS
>    but the system PKI libraries for validation.
>
>
> In this case, I think that this text was more intended to
> say "and go read 5280 to learn how to do this". To that end,
> I suggest we say"
>
>
>     "In general detailed certificate validation procedures are out of
>     scope for TLS. [RFC5280] provides general procedures for
>     certificate validation. This section provides TLS-specific
>     requirements."
>

This reads much better, thank you.  However, shouldn't it say TLS1.3
since TLS 1.2 referenced RFC3280 and subsequently in RFC7525 includes
use of RFC5280 as a best practice.  It may be true for TLS 1.0 and
1.1, but it changed for TLS 1.2/

>
>> RFC7525 has use of RFC5280 as a best practice for server identity
>> verification and revocation checks for TLS 1.2.  Is this just for TLS
>> 1.3?  Why?
>
> I think that these requirements apply equally to TLS 1.3, it's
> just that 7525 is older.

I think this was poor phrasing on my part for the point.  and is
hopefully clarified in my response above.  RFC7525 came after TLS 1.2
and updated it's guidance recommending 5280.

>
>
>> RFC3280 is cited for revocation in the TLS 1.2 RFC.  I think a little
>> explanation here would be helpful since this seems to be a departure
>> (or reference to the changes section).
>
> This is part of our generalized attempt to update to point to
> the latest RFCs in our references. I'll add something to the
> references section.
> https://github.com/tlswg/tls13-spec/issues/1015
>
>
>> If RFC5280 remains out-of-scope, this section should fully describe
>> the certificate validation process for TLS 1.3. I think you need to
>> list out everything that should be checked as opposed to just
>> including one example:
>>
>>    "Also, if some aspect of the certificate chain was
>>    unacceptable (e.g., it was not signed by a known, trusted CA), the
>>    server MAY at its discretion either continue the handshake
>>    (considering the client unauthenticated) or abort the handshake."
>
> In general, I think we'd prefer to avoid providing a catalog of
> all the ways that things can go wrong, because there are a lot.
> The point of the text here is just supposed to be that servers
> don't have to fail if they ask for client auth but they are then
> sad about what the client provides. That's actually generally kind
> of true, but it's more obvious with client auth because in many
> cases the server has many ways of authenticating the client and
> can fall back if it doesn't like the cert.

>From list discussions, the underspecification seems to be causing some
interoperability problems.  Maybe a response to the list discussion
with this point will result in something to improve this section and
clarity for developers.  I'll look in the next update.  Thank you.

>
>
>> 4. Section 6.2 Error Alerts
>>
>> In addition to sending the error, I don't see any mention of the error
>> being logged on the server side, shouldn't that be specified?  Logging
>> errors (at least in debug modes when needed) provides valuable
>> troubleshooting information and many applications don't do an adequate
>> job of logging, so I think it's important to call that out here as a
>> recommendation.
>
> I agree. I think it would be useful to say something about this. I've
> filed https://github.com/tlswg/tls13-spec/issues/1014 to track this.

Thank you, this is very helpful.

Best regards,
Kathleen

>
> -Ekr
>
>
> On Fri, May 12, 2017 at 7:07 PM, Kathleen Moriarty
> <kathleen.moriarty.ietf@gmail.com> wrote:
>>
>> Hello,
>>
>> Thank you all for your work on TLS 1.3.  The list has still been
>> active on a few topics, so I want to see how that all settles out in
>> addition to the questions I have on the draft below.
>>
>> Introduction:
>>
>> 1. Since this is going for IETF last call soon and there has been
>> review of the draft (workshop, but is clearly ongoing from the list
>> discussions), should the first sentence of the Introductions be
>> removed?
>>
>>    DISCLAIMER: This is a WIP draft of TLS 1.3 and has not yet seen
>>    significant security analysis.
>>
>> 2. Section 4.2.9 - There should be some mention or pointer to the
>> security considerations and recommendations on replay attacks for
>> 0-RTT from this section.  I don't see any mention of discouraging
>> 0-RTT from being a default and think that would be good for
>> applications that use TLS expecting replay protection.  I know the WG
>> agreed to keeping 0-RTT, but I think it's very important to make the
>> issues clear and not have this come up as a default in any
>> implementation/deployment for unsuspecting users.  Part of this will
>> get down to implementation specifics and configuration options, but
>> offering some guidance is important. This document will be read by
>> many, not just developers.
>>
>> Since clients have to initiate 0-RTT, the user has to have some idea
>> that replay attacks are possible and accept that risk.  If this were
>> used in web applications, then all servers that don't want to see
>> replay attacks (banking, etc.), would have to have explicitly reject
>> this usage.  As such, there needs to be very strong guidance to this
>> point. Would it be that browsers configure this as a default or
>> something users would have to turn on or just leave it as an option
>> (with warnings) for a client to enable?  Would servers have clear
>> information in configuration files (or setup) about the implications
>> of this option for those that don't read the RFC and are not aware of
>> this problem?
>>
>> Most of this discussion belongs directly in the security consideration
>> section, but there has to be mention of it with a reference from
>> section 4.2.9.  It's not just an API consideration, this is for
>> developers, implementers, and users of the protocol. Many other
>> protocols use TLS beside HTTP and do so with the expectation of replay
>> protection.
>>
>> While Appendix C1 is helpful, I don't think it's enough.  It's
>> disappointing to see a protocol with a replay attack written as a
>> prominent feature of TLS 1.3 and little discouragement from use.
>>
>>
>> 3. Section 4.2.
>>
>>    "In general, detailed certificate validation procedures are out of
>>    scope for TLS (see [RFC5280]).  This section provides TLS-specific
>>    requirements."
>>
>> I don't see an explanation of why it is out-of-scope.  The reference
>> is just to RFC5280, which seems odd.  I would expect the reference to
>> be to something that explains why it is out-of-scope.
>>
>> RFC7525 has use of RFC5280 as a best practice for server identity
>> verification and revocation checks for TLS 1.2.  Is this just for TLS
>> 1.3?  Why?
>> RFC3280 is cited for revocation in the TLS 1.2 RFC.  I think a little
>> explanation here would be helpful since this seems to be a departure
>> (or reference to the changes section).
>>
>> If RFC5280 remains out-of-scope, this section should fully describe
>> the certificate validation process for TLS 1.3. I think you need to
>> list out everything that should be checked as opposed to just
>> including one example:
>>
>>    "Also, if some aspect of the certificate chain was
>>    unacceptable (e.g., it was not signed by a known, trusted CA), the
>>    server MAY at its discretion either continue the handshake
>>    (considering the client unauthenticated) or abort the handshake."
>>
>>
>> 4. Section 6.2 Error Alerts
>>
>> In addition to sending the error, I don't see any mention of the error
>> being logged on the server side, shouldn't that be specified?  Logging
>> errors (at least in debug modes when needed) provides valuable
>> troubleshooting information and many applications don't do an adequate
>> job of logging, so I think it's important to call that out here as a
>> recommendation.
>>
>>
>>
>> --
>>
>> Best regards,
>> Kathleen
>>
>> _______________________________________________
>> TLS mailing list
>> TLS@ietf.org
>> https://www.ietf.org/mailman/listinfo/tls
>
>



-- 

Best regards,
Kathleen


From nobody Mon May 15 12:41:48 2017
Return-Path: <housley@vigilsec.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C1F2129AF9 for <tls@ietfa.amsl.com>; Mon, 15 May 2017 12:41:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.5
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5 tests=[BAYES_05=-0.5] autolearn=ham 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 BQcgjTSS0JXj for <tls@ietfa.amsl.com>; Mon, 15 May 2017 12:41:45 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 03CD012EAA1 for <tls@ietf.org>; Mon, 15 May 2017 12:38:43 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 42367300581 for <tls@ietf.org>; Mon, 15 May 2017 15:38:42 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id CZtYQHRxf6Ms for <tls@ietf.org>; Mon, 15 May 2017 15:38:40 -0400 (EDT)
Received: from a860b60074bd.home (pool-108-45-101-150.washdc.fios.verizon.net [108.45.101.150]) by mail.smeinc.net (Postfix) with ESMTPSA id 678F030056B; Mon, 15 May 2017 15:38:40 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com>
Date: Mon, 15 May 2017 15:38:43 -0400
Cc: IETF TLS <tls@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>, Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/a1m7ZfgGA3hyXqtv8a9FUso9xUc>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 May 2017 19:41:47 -0000

Just commenting on Section 4.2 =E2=80=A6

>=20
> > 3. Section 4.2.
> >=20
> >    "In general, detailed certificate validation procedures are out =
of
> >    scope for TLS (see [RFC5280]).  This section provides =
TLS-specific
> >    requirements."
> >=20
> > I don't see an explanation of why it is out-of-scope.  The reference
> > is just to RFC5280, which seems odd.  I would expect the reference =
to
> > be to something that explains why it is out-of-scope.

I think the the separation of certificate path validation from the TLS =
protocol is correct, but perhaps this can be explained differently.  =
Perhaps the approach should be that TLS depends upon certificate path =
validation as described in RFC 5280.

> In general, TLS's policy (dating back to TLS 1.0) has been that the
> job of TLS is to carry the certificates and other authentication
> material but to leave it up to other parts of the system to
> interpret them. It's been a long time since that decision was made,
> but from my perspective, there are a number of major reasons:
>=20
> 1. Most of PKI processing (path construction, etc.) is generic and
>    not specific to TLS. What is specific to TLS is:
>=20
>    * How to indicate what your PKI capabilities are
>      (see, e.g, S 4.2.4 and 4.3.2)
>    * How to stuff the PKI material into the protocol
>      (principally S 4.4.2)
>    * How to determine whether a given certificate is suitable for
>      use in TLS 4.4.4.2 and 4.3.2.1).
> =20
>    So we want to outsource the generic PKI part
>=20
>=20
> 2. It matches the software architecture that people often use,
>    which is to have a TLS stack but separate PKI validation. For
>    instance, Firefox uses NSS for TLS but moz::pkix for
>    validation. Similarly, Chrome uses BoringSSL for TLS
>    but the system PKI libraries for validation.
>=20
>=20
> In this case, I think that this text was more intended to
> say "and go read 5280 to learn how to do this". To that end,
> I suggest we say"
>=20
>             =20
>     "In general detailed certificate validation procedures are out of
>     scope for TLS. [RFC5280] provides general procedures for
>     certificate validation. This section provides TLS-specific
>     requirements.=E2=80=9D

I agree with the reasoning, however the dependency on RFC 5280 should be =
called out in a MUST statement.  I suggest something like:

    "TLS depends on certificate path validation, and a conformant
    TLS implementation MUST implement certificate paths validation
    in a manner that achieves the same result as [RFC5280]. This
    section provides TLS-specific requirements.=E2=80=9D

Note that RFC 5280 is already a normative reference.

Russ


From nobody Mon May 15 13:13:51 2017
Return-Path: <davemgarrett@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E7058129A97 for <tls@ietfa.amsl.com>; Mon, 15 May 2017 13:13:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 xwmGwSTAHUaG for <tls@ietfa.amsl.com>; Mon, 15 May 2017 13:13:48 -0700 (PDT)
Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::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 1358B129482 for <tls@ietf.org>; Mon, 15 May 2017 13:10:04 -0700 (PDT)
Received: by mail-qt0-x236.google.com with SMTP id c13so46122668qtc.1 for <tls@ietf.org>; Mon, 15 May 2017 13:10:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-transfer-encoding:message-id; bh=FrNWW/ByXOUB8DEZA+lHd+vt5vHF64+yteGzHNQ1zF4=; b=qPkNPjHr+zLwbUlk2dnfSBEFB1l5dzL4kdopvnFdiYpUSGYfvmcm91R5w9SeA2GeR9 FLJ+pTNlKqKtXsG74hoWqQwN/ZH3o/cGv44B+mKH4f6TQFtBRBYeq1TbdeEQBXDD/xNr UhzKgK/OMJZWqzWribne8yVvpTiLRHRaTVaoiGtEJEt4qbIMiPQqF1L3+9biK/t08ogW 6wckbN1YPYEC/r3olObdvLmdjcMNbMwkF7ltyL4M0GwgqTRG/iXJosHgkZZb4RFroGt8 sPA14gDmdSZmcT8Siz+V/aFe+fqeKx1fCqDpIT24lD6iyyqh6W+JKblOopSLJhaMTXqV f+Lw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-transfer-encoding:message-id; bh=FrNWW/ByXOUB8DEZA+lHd+vt5vHF64+yteGzHNQ1zF4=; b=YCkjhNOB2Kjuhi1EHI/ngQfppscCbDjgArMig/JmUIt629u3cGZPJPkb8oTCw0hcEe Ekz0gRBPdV5iJeqH8OLB266brBJp33Vs+FdTuw3ZEMjG0xeDF+CF+JAWqMGI1OXJPpIo x28nJ3Uh+inBfpTtJHNk9i+zg4/+MgqQe34e8EIr0BJtS6C/UvThgp0eOA2OUB8Xjyz7 SAloT84DopmNj+KAyJT///dC33ENz2jOmAjKwVAqVMa8FhmxEH4qIumJ3estA5qH4pDH A8U7EsLwUcn4XkrHrnp4C9Zp7SVXd1KmBNrNmkWvlTmdxdEDmeifbueM2p7nQTFvf0i6 pzVw==
X-Gm-Message-State: AODbwcCs33t0FsShsu2tjpbxbca5wAsZx+AEOH+qyIrj2bJia8/rRblV pO88AmftzqMRfQ==
X-Received: by 10.237.60.74 with SMTP id u10mr6896489qte.205.1494879003053; Mon, 15 May 2017 13:10:03 -0700 (PDT)
Received: from dave-laptop.localnet (pool-71-185-36-197.phlapa.fios.verizon.net. [71.185.36.197]) by smtp.gmail.com with ESMTPSA id c18sm9099419qkg.32.2017.05.15.13.10.02 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 15 May 2017 13:10:02 -0700 (PDT)
From: Dave Garrett <davemgarrett@gmail.com>
To: Hubert Kario <hkario@redhat.com>
Date: Mon, 15 May 2017 16:10:00 -0400
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
Cc: Christian Huitema <huitema@huitema.net>, tls@ietf.org, Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Ilari Liusvaara <ilariliusvaara@welho.com>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <201705130121.06879.davemgarrett@gmail.com> <4227474.urTlPk55X7@pintsize.usersys.redhat.com>
In-Reply-To: <4227474.urTlPk55X7@pintsize.usersys.redhat.com>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <201705151610.01070.davemgarrett@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ihJeiFs_2-tVd-q740IkF2OsyGw>
Subject: Re: [TLS] Encrypted hellos (was Re: "Encrypted" SNI)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 May 2017 20:13:50 -0000

On Monday, May 15, 2017 07:56:44 am Hubert Kario wrote:
> On Saturday, 13 May 2017 07:21:06 CEST Dave Garrett wrote:
> > On Friday, May 12, 2017 11:17:45 pm Christian Huitema wrote:
> > > The "server DH Key" poses a significant forward secrecy issue. Suppose
> > > that the key is compromised. Now the secret police can find out what
> > > nasty sites was accessed by whom. That can be plus plus not good for
> > > said dissidents.
> > 
> > *This is the current situation.* "If the fix is broken, then it won't be
> > fixed anymore" is not really that compelling of an argument, by itself.
> > 
> > Of course the host DH key has an FS risk; it'd need to have a limited
> > validity time and be rotated regularly. (probably weekly)
> 
> you then need mechanism to indicate which DNS key share client is using or all 
> the connections would start failing on key rollover. And have to deal with all 
> the "fun" stuff related to key rollovers.

It's possible to conceive of a way to do this with minimal trial decryption,
or instead, we could just rotate the port with the key. (confusing firewalls
is of course a problem, but that's something that could be dealt with)

> > The private key
> > would need to be protected and managed by the host (not the virtual
> > servers)
> 
> yes, the key MUST be assigned to a specific IP, not virtual host
> 
> > > EKR did propose a TLS in TLS tunnel back in December 2015:
> > > https://mailarchive.ietf.org/arch/msg/tls/tXvdcqnogZgqmdfCugrV8M90Ftw.
> > > It would effectively encrypt the "inner" Client Hello.
> > 
> > Same basic concept, different implementation. TLS tunneling would provide
> > some backwards compatibility; ClientHellos would still look like
> > ClientHellos. I was just suggesting the simple generic route of encrypting
> > everything in a non-backwards-compatible way (sent to a specified port that
> > is set up to only handle that and reject everything else). I'd rather let
> > stupid/incompatible stuff just break if we're designing a new opt-in
> > system.
> > 
> > The argument I'm making here isn't about implementation; it's about what to
> > think about implementing to deal with the issues here.
> 
> I respectfully disagree. That system requires tight coupling between the TLS 
> implementation and DNS. This is not something that facilitates TLS deployment. 
> We want more TLS/HTTPS deployment, not less.

I completely understand why you'd disagree on these grounds. My argument is
that whilst this does require a significant amount of coordination, it's a more
productive route than just focusing on SNI encryption, which still has its own
share of problems. (hence us not agreeing on a way to do it yet)

The most practical short-term route would likely be to continue to hold our noses
and expect cleartext SNI, but maybe provide a very simple way for servers to put
a flag in a DNS record to opt-out entirely when they can do without.


Dave


From nobody Mon May 15 13:21:57 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6E4C7127ABE for <tls@ietfa.amsl.com>; Mon, 15 May 2017 13:21:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.5
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5 tests=[BAYES_05=-0.5] autolearn=ham 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 2nbXmYyFfni5 for <tls@ietfa.amsl.com>; Mon, 15 May 2017 13:21:54 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3523E129463 for <tls@ietf.org>; Mon, 15 May 2017 13:19:09 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 68F407A32F1 for <tls@ietf.org>; Mon, 15 May 2017 20:19:08 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com>
Date: Mon, 15 May 2017 16:19:07 -0400
Content-Transfer-Encoding: 7bit
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <A599DB83-54A6-469F-9F8B-78831F0EF70F@dukhovni.org>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com> <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/xHAPBBXzAn-Y7a_v1lenTFonoqc>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 May 2017 20:21:55 -0000

> On May 15, 2017, at 3:38 PM, Russ Housley <housley@vigilsec.com> wrote:
> 
>>> I don't see an explanation of why it is out-of-scope.  The reference
>>> is just to RFC5280, which seems odd.  I would expect the reference to
>>> be to something that explains why it is out-of-scope.
> 
> I think the the separation of certificate path validation from the TLS
> protocol is correct, but perhaps this can be explained differently.
> Perhaps the approach should be that TLS depends upon certificate path
> validation as described in RFC 5280.

That's not always true.  With DANE-EE(3) TLSA records there is no
path validation.  You just validate the EE certificate directly.

With DANE-EE(2), there's an RFC5280 chain, but it terminates on
a trust-anchor provided by the peer as part of its chain, with
a hash in DNS.

With unauthenticated opportunistic TLS, the peer's chain is ignored
entirely.

How and whether the peer's certificate message is used is properly
outside TLS.

-- 
	Viktor.


From nobody Mon May 15 16:05:12 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC3BD129B6A for <tls@ietfa.amsl.com>; Mon, 15 May 2017 16:05:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] 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 S9hxt509ucjK for <tls@ietfa.amsl.com>; Mon, 15 May 2017 16:05:06 -0700 (PDT)
Received: from mail-yb0-x230.google.com (mail-yb0-x230.google.com [IPv6:2607:f8b0:4002:c09::230]) (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 012A712EAAC for <tls@ietf.org>; Mon, 15 May 2017 16:02:35 -0700 (PDT)
Received: by mail-yb0-x230.google.com with SMTP id p143so31384129yba.2 for <tls@ietf.org>; Mon, 15 May 2017 16:02:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=z9F5S9PZFu3BleSu/wO0k7VLjkvB9/CqM0Fj/sO1GLU=; b=JOk9dgA0Ca0Bn9z5WgNmvdt59VyTbRL0IN4S/cZdMlgCnW1xF8vqIbvbekJGAbaXT4 4sigI+EpWB8eQ42weHKwZgjKWCg2q1LqzzhLq2pWfIB3QySfJO5wznrlJI00YM+Wdcet +P3rjQQ0f1XNmh7ktdaAE4XAnxdb3HazseWbr3zt7s9TjMw/b0i5p9MxXTXOupgLPXVD 2cUlBKjjaGxwhOHcm6lKghZUZmoWroW6pLhdm//KzdzsJ1cZdaQ2EASg79fE6NAmwLMA n8iSgKLye81MTwX55tPzM+AbiWFSV1RCS0ki9TXTPftvUeEbn5UfqlO16voDJjsb1C2D wDxw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=z9F5S9PZFu3BleSu/wO0k7VLjkvB9/CqM0Fj/sO1GLU=; b=Blvxr8s8gqecEaxdi7E/wgg+KdQhTmPPgrqhbIjB3yPI2DkH3fnoATJvtZJBZtElDe HRa40K44X6ZWTwDn8BIOsg2MLLiBlSue8jNmO4RuoZmvOrPEFDGUJ40ZPrngf1y5W5HR gWXyyNFU6XHwNGTnoGWlcD0oLTunJFZX1XSPOFgbUrXdfN5gLqsJZc4SRTh3Wy/+pO1M 7Vlj29bfLEdurTtWrI2S9YUKu69/nteSbg0tLEzISySs4/eoFXluV70vJW7KwdLSuNwm 5l6RAw6aqOyHRs1NAVAMMU8VpPinJPzHFRWJRyzIP4RLy2q5Fwzqr4mvv/TAUoTeuqoG uhXg==
X-Gm-Message-State: AODbwcAz7syUYWVX4sbdgHLbSzDQgAH1aAbz9+0X8zxhS8VFSQuwxB1e CATrBySBkSwLCaDQ5PC0I2fFgnYV0Q==
X-Received: by 10.37.218.10 with SMTP id n10mr6882271ybf.117.1494889354187; Mon, 15 May 2017 16:02:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Mon, 15 May 2017 16:01:53 -0700 (PDT)
In-Reply-To: <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com> <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Mon, 15 May 2017 16:01:53 -0700
Message-ID: <CABcZeBPGK9BguF6OJo=QT3Sx1mLwBQJhh4JiBkAmws5umvctSg@mail.gmail.com>
To: Russ Housley <housley@vigilsec.com>
Cc: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, IETF TLS <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c07ceaeef6f48054f980c9a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Sy-87dElE5d-5PWuaCb6_7-JhQQ>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 May 2017 23:05:11 -0000

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

On Mon, May 15, 2017 at 12:38 PM, Russ Housley <housley@vigilsec.com> wrote=
:

> Just commenting on Section 4.2 =E2=80=A6
>
> >
> > > 3. Section 4.2.
> > >
> > >    "In general, detailed certificate validation procedures are out of
> > >    scope for TLS (see [RFC5280]).  This section provides TLS-specific
> > >    requirements."
> > >
> > > I don't see an explanation of why it is out-of-scope.  The reference
> > > is just to RFC5280, which seems odd.  I would expect the reference to
> > > be to something that explains why it is out-of-scope.
>
> I think the the separation of certificate path validation from the TLS
> protocol is correct, but perhaps this can be explained differently.
> Perhaps the approach should be that TLS depends upon certificate path
> validation as described in RFC 5280.
>
> > In general, TLS's policy (dating back to TLS 1.0) has been that the
> > job of TLS is to carry the certificates and other authentication
> > material but to leave it up to other parts of the system to
> > interpret them. It's been a long time since that decision was made,
> > but from my perspective, there are a number of major reasons:
> >
> > 1. Most of PKI processing (path construction, etc.) is generic and
> >    not specific to TLS. What is specific to TLS is:
> >
> >    * How to indicate what your PKI capabilities are
> >      (see, e.g, S 4.2.4 and 4.3.2)
> >    * How to stuff the PKI material into the protocol
> >      (principally S 4.4.2)
> >    * How to determine whether a given certificate is suitable for
> >      use in TLS 4.4.4.2 and 4.3.2.1).
> >
> >    So we want to outsource the generic PKI part
> >
> >
> > 2. It matches the software architecture that people often use,
> >    which is to have a TLS stack but separate PKI validation. For
> >    instance, Firefox uses NSS for TLS but moz::pkix for
> >    validation. Similarly, Chrome uses BoringSSL for TLS
> >    but the system PKI libraries for validation.
> >
> >
> > In this case, I think that this text was more intended to
> > say "and go read 5280 to learn how to do this". To that end,
> > I suggest we say"
> >
> >
> >     "In general detailed certificate validation procedures are out of
> >     scope for TLS. [RFC5280] provides general procedures for
> >     certificate validation. This section provides TLS-specific
> >     requirements.=E2=80=9D
>
> I agree with the reasoning, however the dependency on RFC 5280 should be
> called out in a MUST statement.  I suggest something like:
>
>     "TLS depends on certificate path validation, and a conformant
>     TLS implementation MUST implement certificate paths validation
>     in a manner that achieves the same result as [RFC5280]. This
>     section provides TLS-specific requirements.=E2=80=9D
>
> Note that RFC 5280 is already a normative reference.
>

A MUST here would be a pretty material change to historical TLS practice.
As Viktor says, there are TLS-using applications that just don't validate
the cert via 5280 at all.

-Ekr


> Russ
>
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Mon, May 15, 2017 at 12:38 PM, Russ Housley <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:housley@vigilsec.com" target=3D"_blank">housley@vigilsec.co=
m</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Just commenting o=
n Section 4.2 =E2=80=A6<br>
<span class=3D""><br>
&gt;<br>
&gt; &gt; 3. Section 4.2.<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 =C2=A0 &quot;In general, detailed certificate validation pr=
ocedures are out of<br>
&gt; &gt;=C2=A0 =C2=A0 scope for TLS (see [RFC5280]).=C2=A0 This section pr=
ovides TLS-specific<br>
&gt; &gt;=C2=A0 =C2=A0 requirements.&quot;<br>
&gt; &gt;<br>
&gt; &gt; I don&#39;t see an explanation of why it is out-of-scope.=C2=A0 T=
he reference<br>
&gt; &gt; is just to RFC5280, which seems odd.=C2=A0 I would expect the ref=
erence to<br>
&gt; &gt; be to something that explains why it is out-of-scope.<br>
<br>
</span>I think the the separation of certificate path validation from the T=
LS protocol is correct, but perhaps this can be explained differently.=C2=
=A0 Perhaps the approach should be that TLS depends upon certificate path v=
alidation as described in RFC 5280.<br>
<div><div class=3D"h5"><br>
&gt; In general, TLS&#39;s policy (dating back to TLS 1.0) has been that th=
e<br>
&gt; job of TLS is to carry the certificates and other authentication<br>
&gt; material but to leave it up to other parts of the system to<br>
&gt; interpret them. It&#39;s been a long time since that decision was made=
,<br>
&gt; but from my perspective, there are a number of major reasons:<br>
&gt;<br>
&gt; 1. Most of PKI processing (path construction, etc.) is generic and<br>
&gt;=C2=A0 =C2=A0 not specific to TLS. What is specific to TLS is:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 * How to indicate what your PKI capabilities are<br>
&gt;=C2=A0 =C2=A0 =C2=A0 (see, e.g, S 4.2.4 and 4.3.2)<br>
&gt;=C2=A0 =C2=A0 * How to stuff the PKI material into the protocol<br>
&gt;=C2=A0 =C2=A0 =C2=A0 (principally S 4.4.2)<br>
&gt;=C2=A0 =C2=A0 * How to determine whether a given certificate is suitabl=
e for<br>
&gt;=C2=A0 =C2=A0 =C2=A0 use in TLS 4.4.4.2 and 4.3.2.1).<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 So we want to outsource the generic PKI part<br>
&gt;<br>
&gt;<br>
&gt; 2. It matches the software architecture that people often use,<br>
&gt;=C2=A0 =C2=A0 which is to have a TLS stack but separate PKI validation.=
 For<br>
&gt;=C2=A0 =C2=A0 instance, Firefox uses NSS for TLS but moz::pkix for<br>
&gt;=C2=A0 =C2=A0 validation. Similarly, Chrome uses BoringSSL for TLS<br>
&gt;=C2=A0 =C2=A0 but the system PKI libraries for validation.<br>
&gt;<br>
&gt;<br>
&gt; In this case, I think that this text was more intended to<br>
&gt; say &quot;and go read 5280 to learn how to do this&quot;. To that end,=
<br>
&gt; I suggest we say&quot;<br>
&gt;<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0&quot;In general detailed certificate validation pr=
ocedures are out of<br>
&gt;=C2=A0 =C2=A0 =C2=A0scope for TLS. [RFC5280] provides general procedure=
s for<br>
&gt;=C2=A0 =C2=A0 =C2=A0certificate validation. This section provides TLS-s=
pecific<br>
</div></div>&gt;=C2=A0 =C2=A0 =C2=A0requirements.=E2=80=9D<br>
<br>
I agree with the reasoning, however the dependency on RFC 5280 should be ca=
lled out in a MUST statement.=C2=A0 I suggest something like:<br>
<br>
=C2=A0 =C2=A0 &quot;TLS depends on certificate path validation, and a confo=
rmant<br>
=C2=A0 =C2=A0 TLS implementation MUST implement certificate paths validatio=
n<br>
=C2=A0 =C2=A0 in a manner that achieves the same result as [RFC5280]. This<=
br>
=C2=A0 =C2=A0 section provides TLS-specific requirements.=E2=80=9D<br>
<br>
Note that RFC 5280 is already a normative reference.<br></blockquote><div><=
br></div><div>A MUST here would be a pretty material change to historical T=
LS practice.</div><div>As Viktor says, there are TLS-using applications tha=
t just don&#39;t validate</div><div>the cert via 5280 at all.</div><div><br=
></div><div>-Ekr</div><div><br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Russ<br>
<br>
</font></span></blockquote></div><br></div></div>

--94eb2c07ceaeef6f48054f980c9a--


From nobody Tue May 16 04:38:46 2017
Return-Path: <hkario@redhat.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9E42712950B for <tls@ietfa.amsl.com>; Tue, 16 May 2017 04:38:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.522
X-Spam-Level: 
X-Spam-Status: No, score=-5.522 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 4LFIr3XKUI4R for <tls@ietfa.amsl.com>; Tue, 16 May 2017 04:38:39 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 74DFE127867 for <tls@ietf.org>; Tue, 16 May 2017 04:35:27 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2D65380C27; Tue, 16 May 2017 11:35:21 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 2D65380C27
Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=hkario@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 2D65380C27
Received: from pintsize.usersys.redhat.com (dhcp-0-115.brq.redhat.com [10.34.0.115]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 197E0889A4; Tue, 16 May 2017 11:35:18 +0000 (UTC)
From: Hubert Kario <hkario@redhat.com>
To: Dave Garrett <davemgarrett@gmail.com>
Cc: Christian Huitema <huitema@huitema.net>, tls@ietf.org, Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Ilari Liusvaara <ilariliusvaara@welho.com>
Date: Tue, 16 May 2017 13:35:16 +0200
Message-ID: <2347596.YMnKhrj8b1@pintsize.usersys.redhat.com>
In-Reply-To: <201705151610.01070.davemgarrett@gmail.com>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <4227474.urTlPk55X7@pintsize.usersys.redhat.com> <201705151610.01070.davemgarrett@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart1918567.K44z8E1iTr"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 16 May 2017 11:35:26 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/-jlWF2RxyqCxEX0_f0DBiEiQBhE>
Subject: Re: [TLS] Encrypted hellos (was Re: "Encrypted" SNI)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 11:38:43 -0000

--nextPart1918567.K44z8E1iTr
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

On Monday, 15 May 2017 22:10:00 CEST Dave Garrett wrote:
> On Monday, May 15, 2017 07:56:44 am Hubert Kario wrote:
> > On Saturday, 13 May 2017 07:21:06 CEST Dave Garrett wrote:
> > > On Friday, May 12, 2017 11:17:45 pm Christian Huitema wrote:
> > > > EKR did propose a TLS in TLS tunnel back in December 2015:
> > > > https://mailarchive.ietf.org/arch/msg/tls/tXvdcqnogZgqmdfCugrV8M90F=
tw.
> > > > It would effectively encrypt the "inner" Client Hello.
> > >=20
> > > Same basic concept, different implementation. TLS tunneling would
> > > provide
> > > some backwards compatibility; ClientHellos would still look like
> > > ClientHellos. I was just suggesting the simple generic route of
> > > encrypting
> > > everything in a non-backwards-compatible way (sent to a specified port
> > > that
> > > is set up to only handle that and reject everything else). I'd rather
> > > let
> > > stupid/incompatible stuff just break if we're designing a new opt-in
> > > system.
> > >=20
> > > The argument I'm making here isn't about implementation; it's about w=
hat
> > > to
> > > think about implementing to deal with the issues here.
> >=20
> > I respectfully disagree. That system requires tight coupling between the
> > TLS implementation and DNS. This is not something that facilitates TLS
> > deployment. We want more TLS/HTTPS deployment, not less.
>=20
> I completely understand why you'd disagree on these grounds. My argument =
is
> that whilst this does require a significant amount of coordination, it's a
> more productive route than just focusing on SNI encryption, which still h=
as
> its own share of problems. (hence us not agreeing on a way to do it yet)

Is there anything else sensitive in the Client Hello? Either way, to proper=
ly=20
encrypt SNI with forward secrecy requires the same system that would be=20
necessary to encrypt the whole Client Hello.

> The most practical short-term route would likely be to continue to hold o=
ur
> noses and expect cleartext SNI, but maybe provide a very simple way for
> servers to put a flag in a DNS record to opt-out entirely when they can do
> without.

The point of encrypting SNI is so that you can hide a website on a shared=20
hosting host. If you have just one website on a host, there's nothing to=20
hide... Opting out by servers also makes the interesting targets more visib=
le=20
(see also: email encryption).

=2D-=20
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech Republic
--nextPart1918567.K44z8E1iTr
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJZGuP0AAoJEJKo0bgB0vX1MZYP/iIV92cy/VmU8JrgVGh3ovoy
Wf/6jJKzQRINRiN0c89bX5/MTidq4oPtwI87pMbb7c8mJ2UuaKgJ8Lzjr4Y/Y2BU
rAfi+8z1FfD/IBXz/nbZhwdTFXb5+FNmH1+AmOTVPxqjkrzC/s+eTe3ZbzfNC+Rq
Jw51qdf5cNoYaButFqGHRk961kL3oGPZP87knkOcekLpjQsxHrcp8lxFCvmJifjG
24UpFoGC3+KvdqXNJUOvuIB5c5Hfr5NPLhFjItiI3v8mAVQl5/gUvnpTYToeFHGZ
yFgufqbLoLVS0aZ+3n7vl0yc/VuaOB85/cOE5hADfIZMdmXQEJQFDxOgTPVw5D1E
HycZl47cIMjTZXcaAO/6mPlairBjRPhMpDaASJFr7c8sOCfLQlxeQ3FprYya34ut
UBx8h1kV7EpiH52jgu2i4WePnlKJ8Z5J/Kh6yq+Top+99C19X8mDM38dyRDkmvQH
iIaZNHmX5JtEt4HRN7rZCTwUvsp6rqZ1Rl9DK0oEmvCddROeeEne6WZCuWC3Mkjm
T6FR3bbgxBdTJ8BTS6B+J4mXDoTrIfAGviULGYf0o0xZQ2UyRO/+Gw69AcHl6wVN
zl0tgppRnQ6+U+R0+zONOIzJoZL0AMspKVTlfAhDOasRswOX+sPtQuv+qB3SsdOq
VS1oJ42KiBGNAv90TvJP
=Hm0B
-----END PGP SIGNATURE-----

--nextPart1918567.K44z8E1iTr--


From nobody Tue May 16 05:53:47 2017
Return-Path: <ietf-secretariat-reply@ietf.org>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id E5D1912EBA8; Tue, 16 May 2017 05:53:40 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
To: <tls@ietf.org>, <draft-ghedini-tls-certificate-compression@ietf.org>, <tls-chairs@ietf.org>, 
X-Test-IDTracker: no
X-IETF-IDTracker: 6.50.1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149493922093.11951.17556682083036312398.idtracker@ietfa.amsl.com>
Date: Tue, 16 May 2017 05:53:40 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/g_rHgAi4Ai9GXwmhlG6bj250ZMI>
Subject: [TLS] The TLS WG has placed draft-ghedini-tls-certificate-compression in state "Call For Adoption By WG Issued"
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 12:53:41 -0000

The TLS WG has placed draft-ghedini-tls-certificate-compression in state

Call For Adoption By WG Issued (entered by Sean Turner)

The document is available at
https://datatracker.ietf.org/doc/draft-ghedini-tls-certificate-compression/


From nobody Tue May 16 05:56:24 2017
Return-Path: <sean@sn3rd.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E89412EB6D for <tls@ietfa.amsl.com>; Tue, 16 May 2017 05:56:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sn3rd.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 vqnZK5RAMWao for <tls@ietfa.amsl.com>; Tue, 16 May 2017 05:56:21 -0700 (PDT)
Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (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 5A394129C48 for <tls@ietf.org>; Tue, 16 May 2017 05:52:33 -0700 (PDT)
Received: by mail-io0-x234.google.com with SMTP id f102so92354737ioi.2 for <tls@ietf.org>; Tue, 16 May 2017 05:52:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sn3rd.com; s=google; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=QjbRTMYwp8e349jA3/BuwOa0j7/tdXS583aukLQPvhI=; b=aqm1sO9o9vKMqUn9565V1MT4bGA9OJdIGQFX/uV6Yb57EjeDd+IrqMs5iPHpGTrmtH zkTX6pmAizH2NmU14mznXTAoKwPFeL8SfuSBEhnM43ZQyRjBOSBQeJzcLhEOTR7K5rY1 tEfS32pUagOqiot+vS2ce64vm6ko/AQC8kBfk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=QjbRTMYwp8e349jA3/BuwOa0j7/tdXS583aukLQPvhI=; b=D2LbzpPzekDUXWTmY8loSQTQexkJxMJb++pHtSC04lRDGrubzef9xpgtEjo/euCThQ ATK03wNWEXvuUJ+mLtHj+89Dz+XYAsZK1nUFyNv2ov5nO8CVAvuXTNpDRJorsfEtHmkR EWqbKxEznkFqe2NyBVI6HfkSuMtootVNB774eT1xvK5lWQ6VwxjaTlXzqQnMLaUPQBs8 Mzvtc0PHQmM4/ztWC3ni2HQzdSdrugegOxjf4JVzmYcZMlh0dqb7YgteovWQquPMtkxG u8Cc39E6DIjxFUKAtoOAEKF+XsIvaT0cHCke2g5G/OxozmAve50OIjEM+ZqDDVv/Mpfb jB+Q==
X-Gm-Message-State: AODbwcCujuwBM1usw86SdwomQ2L9DS0/LQeMs5agZFW4BYAqefm3e13Y Ldy87SoH5GGrJQnbB2I=
X-Received: by 10.107.13.5 with SMTP id 5mr9786610ion.221.1494939152439; Tue, 16 May 2017 05:52:32 -0700 (PDT)
Received: from [5.5.33.117] (vpn.snozzages.com. [204.42.252.17]) by smtp.gmail.com with ESMTPSA id 78sm6478864iou.36.2017.05.16.05.52.30 for <tls@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 May 2017 05:52:31 -0700 (PDT)
From: Sean Turner <sean@sn3rd.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Message-Id: <11E2F0BE-9F26-455F-9C99-E2B77245EF62@sn3rd.com>
Date: Tue, 16 May 2017 08:52:26 -0400
To: "<tls@ietf.org>" <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/U5AmA9OerD_9zTBNWl7ZBC3-HOE>
Subject: [TLS] WG Call for adoption of draft-ghedini-tls-certificate-compression
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 12:56:22 -0000

All,

At the IETF 98 meeting in Chicago, there was support in the room to =
adopt =
https://datatracker.ietf.org/doc/draft-ghedini-tls-certificate-compression=
/. We are looking for feedback on adopting this draft form the list. =
Please respond if you support the draft and are willing to review it. If =
you object to its adoption, please let us know why. Please respond to =
the list by 20170530.

Cheers,

J&S

Apologies - we dropped the ball on this adoption call, the call should =
have gone out with the others.=


From nobody Tue May 16 06:19:29 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8621812EB7F for <tls@ietfa.amsl.com>; Tue, 16 May 2017 06:19:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] 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 Pp6vtAinxqtR for <tls@ietfa.amsl.com>; Tue, 16 May 2017 06:19:25 -0700 (PDT)
Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (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 D19F3126E01 for <tls@ietf.org>; Tue, 16 May 2017 06:15:34 -0700 (PDT)
Received: by mail-yw0-x22b.google.com with SMTP id l14so52608438ywk.1 for <tls@ietf.org>; Tue, 16 May 2017 06:15:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=h8G3osOmTchTvJ7DPG53D+h82Yt99JA93yFvxAgEj6I=; b=umhJgAWImvwBFGVtEMsdnB/WA+zbxXYmKvF/knzd40kOi6sW5m3TVGtLqnqTnh0Cl7 So8UT8v+kKBTyyJOtYAwWcxdjCLe1/JtQko3XWoOUkQynoQ+wteERZsf4m5PeSvftZoX KBPFUqUOhkpLAvoPW40eCIn6zYniZYHRhbCHCh8NUbfbqLvIfa/RpU+LiQC8LRDdtaaE NImNR1Da0sfWcRRfUUXJ3UEm3rcQ0JUv2TRKf2G17wvUvswFJtdQM6/j5BPBvzNX8+WA BRXi2qgRakUVZ20k7DHNgw8/KxZZtpSdviXvDO0ClMARpoWEQJrjOgujnmg1JykjLFCn 54Tw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=h8G3osOmTchTvJ7DPG53D+h82Yt99JA93yFvxAgEj6I=; b=WSC7qnklXvoQLDlJDGSS/xudDlsC/7h6rlPukP53QajMdNyUoyvCqrkw409HBfqgpT QcSlSKL3YpgL2QfU03dEF3/42UPKDq3iydoAZSFwXxC0ziHyoIvbsPl6mv2wPITnDTnV ERhSUB8R/nQNzYfQh+VzAgxWcLVhmuL1fyXUBfM5lBsSIKWm3euE9D4K6qL5yjG+yS38 0s2j7T2hexudZluxjZQBxSXKufKQ+936606b3632DwO4Y1xI/ssD5i/fNNzWm4boPZ5C Wy3j0dZK8KWVcGzYE6iaKhM1On+MqKVpSKWZDn+87GJ4MwOzPhzX/2q4EKePC2vQqLub Ay0A==
X-Gm-Message-State: AODbwcBSlb5guUq7XEYklcXryoMP3JuPLBn3ozPls/i2mZE9Jr0KOVWo bH93YSjGm7iP83ODe+aV5CsLlF35hRUD
X-Received: by 10.129.85.83 with SMTP id j80mr9204895ywb.283.1494940534093; Tue, 16 May 2017 06:15:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Tue, 16 May 2017 06:14:53 -0700 (PDT)
In-Reply-To: <11E2F0BE-9F26-455F-9C99-E2B77245EF62@sn3rd.com>
References: <11E2F0BE-9F26-455F-9C99-E2B77245EF62@sn3rd.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 16 May 2017 06:14:53 -0700
Message-ID: <CABcZeBNU0D7xWj0JVed7NitVW5sLOj=N6F=RojotY2kSpzqB1g@mail.gmail.com>
To: Sean Turner <sean@sn3rd.com>
Cc: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a113f3cbe7ecd7c054fa3f707"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/YyQD0-1foitayfbcf5ChjozyW24>
Subject: Re: [TLS] WG Call for adoption of draft-ghedini-tls-certificate-compression
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 13:19:28 -0000

--001a113f3cbe7ecd7c054fa3f707
Content-Type: text/plain; charset="UTF-8"

I am in favor of adoption

On Tue, May 16, 2017 at 5:52 AM, Sean Turner <sean@sn3rd.com> wrote:

> All,
>
> At the IETF 98 meeting in Chicago, there was support in the room to adopt
> https://datatracker.ietf.org/doc/draft-ghedini-tls-
> certificate-compression/. We are looking for feedback on adopting this
> draft form the list. Please respond if you support the draft and are
> willing to review it. If you object to its adoption, please let us know
> why. Please respond to the list by 20170530.
>
> Cheers,
>
> J&S
>
> Apologies - we dropped the ball on this adoption call, the call should
> have gone out with the others.
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr">I am in favor of adoption</div><div class=3D"gmail_extra">=
<br><div class=3D"gmail_quote">On Tue, May 16, 2017 at 5:52 AM, Sean Turner=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:sean@sn3rd.com" target=3D"_blank">=
sean@sn3rd.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">All,=
<br>
<br>
At the IETF 98 meeting in Chicago, there was support in the room to adopt <=
a href=3D"https://datatracker.ietf.org/doc/draft-ghedini-tls-certificate-co=
mpression/" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.o=
rg/<wbr>doc/draft-ghedini-tls-<wbr>certificate-compression/</a>. We are loo=
king for feedback on adopting this draft form the list. Please respond if y=
ou support the draft and are willing to review it. If you object to its ado=
ption, please let us know why. Please respond to the list by 20170530.<br>
<br>
Cheers,<br>
<br>
J&amp;S<br>
<br>
Apologies - we dropped the ball on this adoption call, the call should have=
 gone out with the others.<br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</blockquote></div><br></div>

--001a113f3cbe7ecd7c054fa3f707--


From nobody Tue May 16 06:25:19 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6004412EBB1 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 06:25:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 KJCPkLXGcHiJ for <tls@ietfa.amsl.com>; Tue, 16 May 2017 06:25:15 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 97323129B9A for <tls@ietf.org>; Tue, 16 May 2017 06:20:51 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4GD85ws009902; Tue, 16 May 2017 14:20:49 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=oRkK4QJOY+SuYH24VsN6C+zP/DgClBevYFVwYMsmxBM=; b=XHW/LOAkJkcG3yEXaZjDuJnCVWvKsGFLLVWPN9qVe+quvAUtBHkUePm8LkI2MD0fy9fC VdtrjD0/P5RU5UTIyAYaPw+OAtEHWAqy69xNLiQXTRy9oRVypojo5jKYeSAkeJH/jLjf pfPrMCH9I0MVyjljRDpd19RQC9mJ2sEKry9aXDl71ZUZWicUIec1EjO38rGfs6rTWl2a B/OmaCUwLKgQhkcKfKYqFxEOjD5VDGB6k3RlofS9YXWrKcSvExCLOH8FnhzEDHPqQqb8 dAo7G2oKzoKFeQiazeDXx5qoyo6VCsjSAbmMxr9fNwll9YAgWqKqls1QSBa9yBjE4kuo 1g== 
Received: from prod-mail-ppoint4 ([96.6.114.87]) by m0050096.ppops.net-00190b01. with ESMTP id 2ag0980nf7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2017 14:20:48 +0100
Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4GDGG6u027485; Tue, 16 May 2017 09:20:48 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.32]) by prod-mail-ppoint4.akamai.com with ESMTP id 2adwfvh0fe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 16 May 2017 09:20:48 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb2.msg.corp.akamai.com (172.27.123.102) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 16 May 2017 09:20:46 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1263.000; Tue, 16 May 2017 09:20:45 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: Sean Turner <sean@sn3rd.com>, "<tls@ietf.org>" <tls@ietf.org>
Thread-Topic: [TLS] WG Call for adoption of draft-ghedini-tls-certificate-compression
Thread-Index: AQHSzkPWX08RdJSDgk2M2rWp04bY96H28dkg
Date: Tue, 16 May 2017 13:20:45 +0000
Message-ID: <7ccc5e9962dc4a4aa8fa3983eb6b122b@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <11E2F0BE-9F26-455F-9C99-E2B77245EF62@sn3rd.com>
In-Reply-To: <11E2F0BE-9F26-455F-9C99-E2B77245EF62@sn3rd.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.32.243]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-16_03:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705160109
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-16_03:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705160109
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Tv4Dr5P08L6cNqD9cnHblrG4cxE>
Subject: Re: [TLS] WG Call for adoption of draft-ghedini-tls-certificate-compression
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 13:25:17 -0000

In favor, will review.


From nobody Tue May 16 08:21:59 2017
Return-Path: <housley@vigilsec.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E8AFA12EAEA for <tls@ietfa.amsl.com>; Tue, 16 May 2017 08:21:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 rWHhhcTsKxGb for <tls@ietfa.amsl.com>; Tue, 16 May 2017 08:21:57 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 60ACE12940C for <tls@ietf.org>; Tue, 16 May 2017 08:17:48 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 98AC1300538 for <tls@ietf.org>; Tue, 16 May 2017 11:17:47 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id hLKw3UQ4k8wB for <tls@ietf.org>; Tue, 16 May 2017 11:17:45 -0400 (EDT)
Received: from a860b60074bd.home (pool-108-45-101-150.washdc.fios.verizon.net [108.45.101.150]) by mail.smeinc.net (Postfix) with ESMTPSA id EAEDB30029F; Tue, 16 May 2017 11:17:44 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Message-Id: <0ED5F216-365D-432E-B390-D95014ED5676@vigilsec.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_92C1E551-7AE4-46DA-919E-1EADF32EF45A"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Tue, 16 May 2017 11:17:44 -0400
In-Reply-To: <CABcZeBPGK9BguF6OJo=QT3Sx1mLwBQJhh4JiBkAmws5umvctSg@mail.gmail.com>
Cc: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, IETF TLS <tls@ietf.org>
To: Eric Rescorla <ekr@rtfm.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com> <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com> <CABcZeBPGK9BguF6OJo=QT3Sx1mLwBQJhh4JiBkAmws5umvctSg@mail.gmail.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/XDlx4npR8ittIVvmLdCoWO-gQQg>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 15:21:59 -0000

--Apple-Mail=_92C1E551-7AE4-46DA-919E-1EADF32EF45A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On May 15, 2017, at 7:01 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>=20
>=20
>=20
> On Mon, May 15, 2017 at 12:38 PM, Russ Housley <housley@vigilsec.com =
<mailto:housley@vigilsec.com>> wrote:
> Just commenting on Section 4.2 =E2=80=A6
>=20
> >
> > > 3. Section 4.2.
> > >
> > >    "In general, detailed certificate validation procedures are out =
of
> > >    scope for TLS (see [RFC5280]).  This section provides =
TLS-specific
> > >    requirements."
> > >
> > > I don't see an explanation of why it is out-of-scope.  The =
reference
> > > is just to RFC5280, which seems odd.  I would expect the reference =
to
> > > be to something that explains why it is out-of-scope.
>=20
> I think the the separation of certificate path validation from the TLS =
protocol is correct, but perhaps this can be explained differently.  =
Perhaps the approach should be that TLS depends upon certificate path =
validation as described in RFC 5280.
>=20
> > In general, TLS's policy (dating back to TLS 1.0) has been that the
> > job of TLS is to carry the certificates and other authentication
> > material but to leave it up to other parts of the system to
> > interpret them. It's been a long time since that decision was made,
> > but from my perspective, there are a number of major reasons:
> >
> > 1. Most of PKI processing (path construction, etc.) is generic and
> >    not specific to TLS. What is specific to TLS is:
> >
> >    * How to indicate what your PKI capabilities are
> >      (see, e.g, S 4.2.4 and 4.3.2)
> >    * How to stuff the PKI material into the protocol
> >      (principally S 4.4.2)
> >    * How to determine whether a given certificate is suitable for
> >      use in TLS 4.4.4.2 and 4.3.2.1).
> >
> >    So we want to outsource the generic PKI part
> >
> >
> > 2. It matches the software architecture that people often use,
> >    which is to have a TLS stack but separate PKI validation. For
> >    instance, Firefox uses NSS for TLS but moz::pkix for
> >    validation. Similarly, Chrome uses BoringSSL for TLS
> >    but the system PKI libraries for validation.
> >
> >
> > In this case, I think that this text was more intended to
> > say "and go read 5280 to learn how to do this". To that end,
> > I suggest we say"
> >
> >
> >     "In general detailed certificate validation procedures are out =
of
> >     scope for TLS. [RFC5280] provides general procedures for
> >     certificate validation. This section provides TLS-specific
> >     requirements.=E2=80=9D
>=20
> I agree with the reasoning, however the dependency on RFC 5280 should =
be called out in a MUST statement.  I suggest something like:
>=20
>     "TLS depends on certificate path validation, and a conformant
>     TLS implementation MUST implement certificate paths validation
>     in a manner that achieves the same result as [RFC5280]. This
>     section provides TLS-specific requirements.=E2=80=9D
>=20
> Note that RFC 5280 is already a normative reference.
>=20
> A MUST here would be a pretty material change to historical TLS =
practice.
> As Viktor says, there are TLS-using applications that just don't =
validate
> the cert via 5280 at all.

I think we want to say that if the certificates are used, then the =
certification path MUST be validated in a manner that is compatible with =
Internet X.509 certificate profile [RFC5280]; however, other approaches =
to validation of the public key, such as the DANE TLSA resource record =
[RFC6698], are also acceptable.

Russ



--Apple-Mail=_92C1E551-7AE4-46DA-919E-1EADF32EF45A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On May 15, 2017, at 7:01 PM, Eric Rescorla &lt;<a =
href=3D"mailto:ekr@rtfm.com" class=3D"">ekr@rtfm.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
dir=3D"ltr" class=3D""><br class=3D""><div class=3D"gmail_extra"><br =
class=3D""><div class=3D"gmail_quote">On Mon, May 15, 2017 at 12:38 PM, =
Russ Housley <span dir=3D"ltr" class=3D"">&lt;<a =
href=3D"mailto:housley@vigilsec.com" target=3D"_blank" =
class=3D"">housley@vigilsec.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">Just commenting on =
Section 4.2 =E2=80=A6<br class=3D"">
<span class=3D""><br class=3D"">
&gt;<br class=3D"">
&gt; &gt; 3. Section 4.2.<br class=3D"">
&gt; &gt;<br class=3D"">
&gt; &gt;&nbsp; &nbsp; "In general, detailed certificate validation =
procedures are out of<br class=3D"">
&gt; &gt;&nbsp; &nbsp; scope for TLS (see [RFC5280]).&nbsp; This section =
provides TLS-specific<br class=3D"">
&gt; &gt;&nbsp; &nbsp; requirements."<br class=3D"">
&gt; &gt;<br class=3D"">
&gt; &gt; I don't see an explanation of why it is out-of-scope.&nbsp; =
The reference<br class=3D"">
&gt; &gt; is just to RFC5280, which seems odd.&nbsp; I would expect the =
reference to<br class=3D"">
&gt; &gt; be to something that explains why it is out-of-scope.<br =
class=3D"">
<br class=3D"">
</span>I think the the separation of certificate path validation from =
the TLS protocol is correct, but perhaps this can be explained =
differently.&nbsp; Perhaps the approach should be that TLS depends upon =
certificate path validation as described in RFC 5280.<br class=3D"">
<div class=3D""><div class=3D"h5"><br class=3D"">
&gt; In general, TLS's policy (dating back to TLS 1.0) has been that =
the<br class=3D"">
&gt; job of TLS is to carry the certificates and other authentication<br =
class=3D"">
&gt; material but to leave it up to other parts of the system to<br =
class=3D"">
&gt; interpret them. It's been a long time since that decision was =
made,<br class=3D"">
&gt; but from my perspective, there are a number of major reasons:<br =
class=3D"">
&gt;<br class=3D"">
&gt; 1. Most of PKI processing (path construction, etc.) is generic =
and<br class=3D"">
&gt;&nbsp; &nbsp; not specific to TLS. What is specific to TLS is:<br =
class=3D"">
&gt;<br class=3D"">
&gt;&nbsp; &nbsp; * How to indicate what your PKI capabilities are<br =
class=3D"">
&gt;&nbsp; &nbsp; &nbsp; (see, e.g, S 4.2.4 and 4.3.2)<br class=3D"">
&gt;&nbsp; &nbsp; * How to stuff the PKI material into the protocol<br =
class=3D"">
&gt;&nbsp; &nbsp; &nbsp; (principally S 4.4.2)<br class=3D"">
&gt;&nbsp; &nbsp; * How to determine whether a given certificate is =
suitable for<br class=3D"">
&gt;&nbsp; &nbsp; &nbsp; use in TLS 4.4.4.2 and 4.3.2.1).<br class=3D"">
&gt;<br class=3D"">
&gt;&nbsp; &nbsp; So we want to outsource the generic PKI part<br =
class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; 2. It matches the software architecture that people often use,<br =
class=3D"">
&gt;&nbsp; &nbsp; which is to have a TLS stack but separate PKI =
validation. For<br class=3D"">
&gt;&nbsp; &nbsp; instance, Firefox uses NSS for TLS but moz::pkix =
for<br class=3D"">
&gt;&nbsp; &nbsp; validation. Similarly, Chrome uses BoringSSL for =
TLS<br class=3D"">
&gt;&nbsp; &nbsp; but the system PKI libraries for validation.<br =
class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; In this case, I think that this text was more intended to<br =
class=3D"">
&gt; say "and go read 5280 to learn how to do this". To that end,<br =
class=3D"">
&gt; I suggest we say"<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt;&nbsp; &nbsp; &nbsp;"In general detailed certificate validation =
procedures are out of<br class=3D"">
&gt;&nbsp; &nbsp; &nbsp;scope for TLS. [RFC5280] provides general =
procedures for<br class=3D"">
&gt;&nbsp; &nbsp; &nbsp;certificate validation. This section provides =
TLS-specific<br class=3D"">
</div></div>&gt;&nbsp; &nbsp; &nbsp;requirements.=E2=80=9D<br class=3D"">
<br class=3D"">
I agree with the reasoning, however the dependency on RFC 5280 should be =
called out in a MUST statement.&nbsp; I suggest something like:<br =
class=3D"">
<br class=3D"">
&nbsp; &nbsp; "TLS depends on certificate path validation, and a =
conformant<br class=3D"">
&nbsp; &nbsp; TLS implementation MUST implement certificate paths =
validation<br class=3D"">
&nbsp; &nbsp; in a manner that achieves the same result as [RFC5280]. =
This<br class=3D"">
&nbsp; &nbsp; section provides TLS-specific requirements.=E2=80=9D<br =
class=3D"">
<br class=3D"">
Note that RFC 5280 is already a normative reference.<br =
class=3D""></blockquote><div class=3D""><br class=3D""></div><div =
class=3D"">A MUST here would be a pretty material change to historical =
TLS practice.</div><div class=3D"">As Viktor says, there are TLS-using =
applications that just don't validate</div><div class=3D"">the cert via =
5280 at all.</div></div></div></div></div></blockquote><br =
class=3D""></div><div>I think we want to say that if the certificates =
are used, then the certification path MUST be validated in a manner that =
is compatible with Internet X.509 certificate profile [RFC5280]; =
however, other approaches to validation of the public key, such as the =
DANE TLSA resource record [RFC6698], are also acceptable.</div><div><br =
class=3D""></div><div>Russ</div><div><br class=3D""></div><br =
class=3D""></body></html>=

--Apple-Mail=_92C1E551-7AE4-46DA-919E-1EADF32EF45A--


From nobody Tue May 16 08:24:54 2017
Return-Path: <kathleen.moriarty.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1924612EB86 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 08:24:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Mx2NfT6Y0ss5 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 08:24:51 -0700 (PDT)
Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com [IPv6:2607:f8b0:400e:c00::231]) (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 C69F41296C9 for <tls@ietf.org>; Tue, 16 May 2017 08:20:46 -0700 (PDT)
Received: by mail-pf0-x231.google.com with SMTP id n23so77080424pfb.2 for <tls@ietf.org>; Tue, 16 May 2017 08:20:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=pMYdp1DxTp/R4wNvszvLlcSnO5uRdQ0D3ARy6JsOBak=; b=B4+dyd6CUcVhF2jfP0HsNwQgTsFDIbkhMrEqxlSHiPQb3/QhS4eBPW6ZMTw+MuqQ1r Gh2qvkVHQ/J37DbIW0WBcBgqDYChmxKz8E7Z/0EmABFlHUFk4nr0netjnu0ethUGfUco eT08MgaVidudgOkjh4CFK8XAZ5/vUgxFTQmusNcf/XDxWKd9IhNcz6+8ussDUhC4F1An cXUB7i7jeZ1Q35efJzhM9c4g1kHcncVdxQudYbE1uBaFk36p9SqyRj7sJhuPTk06qcI+ b5Q5YylYghNr0iEUGwSkEhMWz8OZnoGLhPe9SD4clcJnl+aE55Ice8WLM3+F3NQH2jQI dCqg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=pMYdp1DxTp/R4wNvszvLlcSnO5uRdQ0D3ARy6JsOBak=; b=FEJ8VzxTsm+WVr4rh1g0vh0EJ9trK2KmZ2cyoYJkbF1OKNUPGsPmNB4KGI22VPQbVN B50RUS4nv8jv+NunU+uiTr77NUUDktMVSgGKbFi9u9Xqgtc7tb1p1vHkK3i/q1GuwW4p QDXxLwxOGKRkfGamXVb/nkQTdMstjC25j1RnuhLi9vDG7cRzIexty5dEUQwJ8ha9kWZt rGecgUql/6sZb9IO/7Y8mteRYtoWKbW1s09b2t+hDGiwb6WvbrCcLxdidxNyVlk3YDMV lNCm9Iyk1zfSnXKFK2Mc+djXNhkzICOGKdPMQ0abLvl2RlsnC+OPTgopdJj/JAWv+VO+ ABGg==
X-Gm-Message-State: AODbwcBfk36tCI4fvaV1dot0HzWDS7Q+hDQrN1IZeVBlW7sWYiuYxCum sEw5XOUIrH+RUtz7KAk6z/3Ai0sVJg==
X-Received: by 10.84.202.163 with SMTP id x32mr3307826pld.51.1494948046372; Tue, 16 May 2017 08:20:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.186.135 with HTTP; Tue, 16 May 2017 08:20:05 -0700 (PDT)
In-Reply-To: <0ED5F216-365D-432E-B390-D95014ED5676@vigilsec.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com> <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com> <CABcZeBPGK9BguF6OJo=QT3Sx1mLwBQJhh4JiBkAmws5umvctSg@mail.gmail.com> <0ED5F216-365D-432E-B390-D95014ED5676@vigilsec.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Date: Tue, 16 May 2017 11:20:05 -0400
Message-ID: <CAHbuEH7iYYrFaro9xf3bgO+i9EYgNR6xDJoUPGDf+o_cNf3+sQ@mail.gmail.com>
To: Russ Housley <housley@vigilsec.com>
Cc: Eric Rescorla <ekr@rtfm.com>, IETF TLS <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/kFcds2wb5-COvrWkAsgnaWIDiI8>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 15:24:53 -0000

On Tue, May 16, 2017 at 11:17 AM, Russ Housley <housley@vigilsec.com> wrote=
:
>
> On May 15, 2017, at 7:01 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>
>
>
> On Mon, May 15, 2017 at 12:38 PM, Russ Housley <housley@vigilsec.com> wro=
te:
>>
>> Just commenting on Section 4.2 =E2=80=A6
>>
>> >
>> > > 3. Section 4.2.
>> > >
>> > >    "In general, detailed certificate validation procedures are out o=
f
>> > >    scope for TLS (see [RFC5280]).  This section provides TLS-specifi=
c
>> > >    requirements."
>> > >
>> > > I don't see an explanation of why it is out-of-scope.  The reference
>> > > is just to RFC5280, which seems odd.  I would expect the reference t=
o
>> > > be to something that explains why it is out-of-scope.
>>
>> I think the the separation of certificate path validation from the TLS
>> protocol is correct, but perhaps this can be explained differently.  Per=
haps
>> the approach should be that TLS depends upon certificate path validation=
 as
>> described in RFC 5280.
>>
>> > In general, TLS's policy (dating back to TLS 1.0) has been that the
>> > job of TLS is to carry the certificates and other authentication
>> > material but to leave it up to other parts of the system to
>> > interpret them. It's been a long time since that decision was made,
>> > but from my perspective, there are a number of major reasons:
>> >
>> > 1. Most of PKI processing (path construction, etc.) is generic and
>> >    not specific to TLS. What is specific to TLS is:
>> >
>> >    * How to indicate what your PKI capabilities are
>> >      (see, e.g, S 4.2.4 and 4.3.2)
>> >    * How to stuff the PKI material into the protocol
>> >      (principally S 4.4.2)
>> >    * How to determine whether a given certificate is suitable for
>> >      use in TLS 4.4.4.2 and 4.3.2.1).
>> >
>> >    So we want to outsource the generic PKI part
>> >
>> >
>> > 2. It matches the software architecture that people often use,
>> >    which is to have a TLS stack but separate PKI validation. For
>> >    instance, Firefox uses NSS for TLS but moz::pkix for
>> >    validation. Similarly, Chrome uses BoringSSL for TLS
>> >    but the system PKI libraries for validation.
>> >
>> >
>> > In this case, I think that this text was more intended to
>> > say "and go read 5280 to learn how to do this". To that end,
>> > I suggest we say"
>> >
>> >
>> >     "In general detailed certificate validation procedures are out of
>> >     scope for TLS. [RFC5280] provides general procedures for
>> >     certificate validation. This section provides TLS-specific
>> >     requirements.=E2=80=9D
>>
>> I agree with the reasoning, however the dependency on RFC 5280 should be
>> called out in a MUST statement.  I suggest something like:
>>
>>     "TLS depends on certificate path validation, and a conformant
>>     TLS implementation MUST implement certificate paths validation
>>     in a manner that achieves the same result as [RFC5280]. This
>>     section provides TLS-specific requirements.=E2=80=9D
>>
>> Note that RFC 5280 is already a normative reference.
>
>
> A MUST here would be a pretty material change to historical TLS practice.
> As Viktor says, there are TLS-using applications that just don't validate
> the cert via 5280 at all.
>
>
> I think we want to say that if the certificates are used, then the
> certification path MUST be validated in a manner that is compatible with
> Internet X.509 certificate profile [RFC5280]; however, other approaches t=
o
> validation of the public key, such as the DANE TLSA resource record
> [RFC6698], are also acceptable.

I do like this a lot better as it will help with interoperability and
security, with well defined implementation guidance.

Thank you,
Kathleen

>
> Russ
>
>



--=20

Best regards,
Kathleen


From nobody Tue May 16 08:28:15 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5514112EBC1 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 08:28:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 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_NONE=-0.0001, URIBL_BLOCKED=0.001] 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 p0Nki360lgeL for <tls@ietfa.amsl.com>; Tue, 16 May 2017 08:28:12 -0700 (PDT)
Received: from mail-yb0-x22f.google.com (mail-yb0-x22f.google.com [IPv6:2607:f8b0:4002: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 555F1127599 for <tls@ietf.org>; Tue, 16 May 2017 08:23:56 -0700 (PDT)
Received: by mail-yb0-x22f.google.com with SMTP id 132so17987280ybq.1 for <tls@ietf.org>; Tue, 16 May 2017 08:23:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Hxp7ol9xvKvbTYAd8DGTxmCv59CB/OkGpn781UW8qp0=; b=l1dcbbcmWCx+is7y02Tbp/O6uHUnxrdQukZvlgd1fDQviVVeuPyZkqmHIHqXqb3FOO 83NNW2V4iTFsxJEMGbxTSRUyaWIiwN/hErrvNPdaAkmsi2MVvCYDGhJ/8FsjYU7a6Fcb KJHXgAlSpHSrvROjOYfCoh+65RtempZGXxwjDHEb9qYwXc3EWnCtDRjGCOIMGcPA/QAN P00Zw2wjKJBdWcDGxQd8yefX+d2F2MA6lhH/a7sWp1jNBqVpPtWOX7iZNIp+HCaxS8Uz kyDc9wbjj7JeiNQ18NTM/f4m8uySy5pMeWbxQVwtqoIeiSV1W5lGhsI/xMS7xcjvBQAb 3h2w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Hxp7ol9xvKvbTYAd8DGTxmCv59CB/OkGpn781UW8qp0=; b=ohPhoPmoKEOhzsFV9b0IyBTVB5fr2QRWYCoTpcUvxtJ2hmXAmtxpSxhf0BKo6Ne209 texYUr2bgKZKDR7RtGvDWnN9w647M55wIRSWDGConXx3m5BpYO8a/y7rFq8cMP/OKh0a RT4bm+4WrHppvgceikI6jerCl51Kljy0PGWoXkrTbykBe+AO+VGk4RwXwHNVWPi5N/cd aEC+NbIEukH95ooonhMIJa9MTpsrk7bCqf1At2Q7rtGBdQ18JJCUcJSMsnirgnJkZzyz QwWkXWvledQ6EOEftr5btMR1cEFHAdXeg2ZN5tNu1WFcxvdEGb03gUM5XxRwqC+vOPMG /rlA==
X-Gm-Message-State: AODbwcCqrppd5V9w/75HVzQCc+hCNTTQOml139h3zv49iGOBuAmqgI25 ZvujKXleEJR5Cd8XzyOniAMgyj3L8g==
X-Received: by 10.37.161.196 with SMTP id a62mr10213480ybi.9.1494948235522; Tue, 16 May 2017 08:23:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Tue, 16 May 2017 08:23:15 -0700 (PDT)
In-Reply-To: <0ED5F216-365D-432E-B390-D95014ED5676@vigilsec.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com> <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com> <CABcZeBPGK9BguF6OJo=QT3Sx1mLwBQJhh4JiBkAmws5umvctSg@mail.gmail.com> <0ED5F216-365D-432E-B390-D95014ED5676@vigilsec.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 16 May 2017 08:23:15 -0700
Message-ID: <CABcZeBPnLSbNySpRoGd8gQNBDf9jAEzX8eG6WC96MTmoqdpJHA@mail.gmail.com>
To: Russ Housley <housley@vigilsec.com>
Cc: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, IETF TLS <tls@ietf.org>
Content-Type: multipart/alternative; boundary="f403045c5632897d00054fa5c2df"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/iRRgWs6NxuKjudOJlHZRLk1A0C4>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 15:28:14 -0000

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

On Tue, May 16, 2017 at 8:17 AM, Russ Housley <housley@vigilsec.com> wrote:

>
> On May 15, 2017, at 7:01 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>
>
>
> On Mon, May 15, 2017 at 12:38 PM, Russ Housley <housley@vigilsec.com>
> wrote:
>
>> Just commenting on Section 4.2 =E2=80=A6
>>
>> >
>> > > 3. Section 4.2.
>> > >
>> > >    "In general, detailed certificate validation procedures are out o=
f
>> > >    scope for TLS (see [RFC5280]).  This section provides TLS-specifi=
c
>> > >    requirements."
>> > >
>> > > I don't see an explanation of why it is out-of-scope.  The reference
>> > > is just to RFC5280, which seems odd.  I would expect the reference t=
o
>> > > be to something that explains why it is out-of-scope.
>>
>> I think the the separation of certificate path validation from the TLS
>> protocol is correct, but perhaps this can be explained differently.
>> Perhaps the approach should be that TLS depends upon certificate path
>> validation as described in RFC 5280.
>>
>> > In general, TLS's policy (dating back to TLS 1.0) has been that the
>> > job of TLS is to carry the certificates and other authentication
>> > material but to leave it up to other parts of the system to
>> > interpret them. It's been a long time since that decision was made,
>> > but from my perspective, there are a number of major reasons:
>> >
>> > 1. Most of PKI processing (path construction, etc.) is generic and
>> >    not specific to TLS. What is specific to TLS is:
>> >
>> >    * How to indicate what your PKI capabilities are
>> >      (see, e.g, S 4.2.4 and 4.3.2)
>> >    * How to stuff the PKI material into the protocol
>> >      (principally S 4.4.2)
>> >    * How to determine whether a given certificate is suitable for
>> >      use in TLS 4.4.4.2 and 4.3.2.1).
>> >
>> >    So we want to outsource the generic PKI part
>> >
>> >
>> > 2. It matches the software architecture that people often use,
>> >    which is to have a TLS stack but separate PKI validation. For
>> >    instance, Firefox uses NSS for TLS but moz::pkix for
>> >    validation. Similarly, Chrome uses BoringSSL for TLS
>> >    but the system PKI libraries for validation.
>> >
>> >
>> > In this case, I think that this text was more intended to
>> > say "and go read 5280 to learn how to do this". To that end,
>> > I suggest we say"
>> >
>> >
>> >     "In general detailed certificate validation procedures are out of
>> >     scope for TLS. [RFC5280] provides general procedures for
>> >     certificate validation. This section provides TLS-specific
>> >     requirements.=E2=80=9D
>>
>> I agree with the reasoning, however the dependency on RFC 5280 should be
>> called out in a MUST statement.  I suggest something like:
>>
>>     "TLS depends on certificate path validation, and a conformant
>>     TLS implementation MUST implement certificate paths validation
>>     in a manner that achieves the same result as [RFC5280]. This
>>     section provides TLS-specific requirements.=E2=80=9D
>>
>> Note that RFC 5280 is already a normative reference.
>>
>
> A MUST here would be a pretty material change to historical TLS practice.
> As Viktor says, there are TLS-using applications that just don't validate
> the cert via 5280 at all.
>
>
> I think we want to say that if the certificates are used, then the
> certification path MUST be validated in a manner that is compatible with
> Internet X.509 certificate profile [RFC5280]; however, other approaches t=
o
> validation of the public key, such as the DANE TLSA resource record
> [RFC6698], are also acceptable.
>

I can see how you would want to say that, but it's not really consistent
either
with historical practice or with the way that other standards track RFCs
use TLS
with certificates (see RFC 5763).

-Ekr


> Russ
>
>
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 16, 2017 at 8:17 AM, Russ Housley <span dir=3D"ltr">&lt;<a =
href=3D"mailto:housley@vigilsec.com" target=3D"_blank">housley@vigilsec.com=
</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style=3D"word=
-wrap:break-word"><div><div class=3D"h5"><br><div><blockquote type=3D"cite"=
><div>On May 15, 2017, at 7:01 PM, Eric Rescorla &lt;<a href=3D"mailto:ekr@=
rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt; wrote:</div><br class=3D"m=
_-7876555798157681164Apple-interchange-newline"><div><div dir=3D"ltr"><br><=
div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, May 15, 20=
17 at 12:38 PM, Russ Housley <span dir=3D"ltr">&lt;<a href=3D"mailto:housle=
y@vigilsec.com" target=3D"_blank">housley@vigilsec.com</a>&gt;</span> wrote=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex">Just commenting on Section 4.2 =E2=80=
=A6<br>
<span><br>
&gt;<br>
&gt; &gt; 3. Section 4.2.<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 =C2=A0 &quot;In general, detailed certificate validation pr=
ocedures are out of<br>
&gt; &gt;=C2=A0 =C2=A0 scope for TLS (see [RFC5280]).=C2=A0 This section pr=
ovides TLS-specific<br>
&gt; &gt;=C2=A0 =C2=A0 requirements.&quot;<br>
&gt; &gt;<br>
&gt; &gt; I don&#39;t see an explanation of why it is out-of-scope.=C2=A0 T=
he reference<br>
&gt; &gt; is just to RFC5280, which seems odd.=C2=A0 I would expect the ref=
erence to<br>
&gt; &gt; be to something that explains why it is out-of-scope.<br>
<br>
</span>I think the the separation of certificate path validation from the T=
LS protocol is correct, but perhaps this can be explained differently.=C2=
=A0 Perhaps the approach should be that TLS depends upon certificate path v=
alidation as described in RFC 5280.<br>
<div><div class=3D"m_-7876555798157681164h5"><br>
&gt; In general, TLS&#39;s policy (dating back to TLS 1.0) has been that th=
e<br>
&gt; job of TLS is to carry the certificates and other authentication<br>
&gt; material but to leave it up to other parts of the system to<br>
&gt; interpret them. It&#39;s been a long time since that decision was made=
,<br>
&gt; but from my perspective, there are a number of major reasons:<br>
&gt;<br>
&gt; 1. Most of PKI processing (path construction, etc.) is generic and<br>
&gt;=C2=A0 =C2=A0 not specific to TLS. What is specific to TLS is:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 * How to indicate what your PKI capabilities are<br>
&gt;=C2=A0 =C2=A0 =C2=A0 (see, e.g, S 4.2.4 and 4.3.2)<br>
&gt;=C2=A0 =C2=A0 * How to stuff the PKI material into the protocol<br>
&gt;=C2=A0 =C2=A0 =C2=A0 (principally S 4.4.2)<br>
&gt;=C2=A0 =C2=A0 * How to determine whether a given certificate is suitabl=
e for<br>
&gt;=C2=A0 =C2=A0 =C2=A0 use in TLS 4.4.4.2 and 4.3.2.1).<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 So we want to outsource the generic PKI part<br>
&gt;<br>
&gt;<br>
&gt; 2. It matches the software architecture that people often use,<br>
&gt;=C2=A0 =C2=A0 which is to have a TLS stack but separate PKI validation.=
 For<br>
&gt;=C2=A0 =C2=A0 instance, Firefox uses NSS for TLS but moz::pkix for<br>
&gt;=C2=A0 =C2=A0 validation. Similarly, Chrome uses BoringSSL for TLS<br>
&gt;=C2=A0 =C2=A0 but the system PKI libraries for validation.<br>
&gt;<br>
&gt;<br>
&gt; In this case, I think that this text was more intended to<br>
&gt; say &quot;and go read 5280 to learn how to do this&quot;. To that end,=
<br>
&gt; I suggest we say&quot;<br>
&gt;<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0&quot;In general detailed certificate validation pr=
ocedures are out of<br>
&gt;=C2=A0 =C2=A0 =C2=A0scope for TLS. [RFC5280] provides general procedure=
s for<br>
&gt;=C2=A0 =C2=A0 =C2=A0certificate validation. This section provides TLS-s=
pecific<br>
</div></div>&gt;=C2=A0 =C2=A0 =C2=A0requirements.=E2=80=9D<br>
<br>
I agree with the reasoning, however the dependency on RFC 5280 should be ca=
lled out in a MUST statement.=C2=A0 I suggest something like:<br>
<br>
=C2=A0 =C2=A0 &quot;TLS depends on certificate path validation, and a confo=
rmant<br>
=C2=A0 =C2=A0 TLS implementation MUST implement certificate paths validatio=
n<br>
=C2=A0 =C2=A0 in a manner that achieves the same result as [RFC5280]. This<=
br>
=C2=A0 =C2=A0 section provides TLS-specific requirements.=E2=80=9D<br>
<br>
Note that RFC 5280 is already a normative reference.<br></blockquote><div><=
br></div><div>A MUST here would be a pretty material change to historical T=
LS practice.</div><div>As Viktor says, there are TLS-using applications tha=
t just don&#39;t validate</div><div>the cert via 5280 at all.</div></div></=
div></div></div></blockquote><br></div></div></div><div>I think we want to =
say that if the certificates are used, then the certification path MUST be =
validated in a manner that is compatible with Internet X.509 certificate pr=
ofile [RFC5280]; however, other approaches to validation of the public key,=
 such as the DANE TLSA resource record [RFC6698], are also acceptable.</div=
></div></blockquote><div><br></div><div>I can see how you would want to say=
 that, but it&#39;s not really consistent either</div><div>with historical =
practice or with the way that other standards track RFCs use TLS</div><div>=
with certificates (see RFC 5763).</div><div><br></div><div>-Ekr</div><div><=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex"><div style=3D"word-wrap:break-word"=
><span class=3D"HOEnZb"><font color=3D"#888888"><div><br></div><div>Russ</d=
iv><div><br></div><br></font></span></div></blockquote></div><br></div></di=
v>

--f403045c5632897d00054fa5c2df--


From nobody Tue May 16 08:35:35 2017
Return-Path: <housley@vigilsec.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4A35612EB06 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 08:35:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 y0s2IV-UxtAU for <tls@ietfa.amsl.com>; Tue, 16 May 2017 08:35:32 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0460C12EB12 for <tls@ietf.org>; Tue, 16 May 2017 08:31:31 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 5FAD8300568 for <tls@ietf.org>; Tue, 16 May 2017 11:31:30 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JpQwqmzkPRcb for <tls@ietf.org>; Tue, 16 May 2017 11:31:27 -0400 (EDT)
Received: from a860b60074bd.home (pool-108-45-101-150.washdc.fios.verizon.net [108.45.101.150]) by mail.smeinc.net (Postfix) with ESMTPSA id 9EDC7300567; Tue, 16 May 2017 11:31:27 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Message-Id: <45BECF9F-0BBD-4E2D-B517-77709C0EAC9F@vigilsec.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_7D75D168-4206-4CE8-97DA-1B1FD326B7AD"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Tue, 16 May 2017 11:31:27 -0400
In-Reply-To: <CABcZeBPnLSbNySpRoGd8gQNBDf9jAEzX8eG6WC96MTmoqdpJHA@mail.gmail.com>
Cc: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, IETF TLS <tls@ietf.org>
To: Eric Rescorla <ekr@rtfm.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com> <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com> <CABcZeBPGK9BguF6OJo=QT3Sx1mLwBQJhh4JiBkAmws5umvctSg@mail.gmail.com> <0ED5F216-365D-432E-B390-D95014ED5676@vigilsec.com> <CABcZeBPnLSbNySpRoGd8gQNBDf9jAEzX8eG6WC96MTmoqdpJHA@mail.gmail.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Ebo1U3hp-1ccZOieJ0oH6PhI4Sc>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 15:35:34 -0000

--Apple-Mail=_7D75D168-4206-4CE8-97DA-1B1FD326B7AD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On May 16, 2017, at 11:23 AM, Eric Rescorla <ekr@rtfm.com> wrote:
>=20
>=20
>=20
> On Tue, May 16, 2017 at 8:17 AM, Russ Housley <housley@vigilsec.com =
<mailto:housley@vigilsec.com>> wrote:
>=20
>> On May 15, 2017, at 7:01 PM, Eric Rescorla <ekr@rtfm.com =
<mailto:ekr@rtfm.com>> wrote:
>>=20
>>=20
>>=20
>> On Mon, May 15, 2017 at 12:38 PM, Russ Housley <housley@vigilsec.com =
<mailto:housley@vigilsec.com>> wrote:
>> Just commenting on Section 4.2 =E2=80=A6
>>=20
>> >
>> > > 3. Section 4.2.
>> > >
>> > >    "In general, detailed certificate validation procedures are =
out of
>> > >    scope for TLS (see [RFC5280]).  This section provides =
TLS-specific
>> > >    requirements."
>> > >
>> > > I don't see an explanation of why it is out-of-scope.  The =
reference
>> > > is just to RFC5280, which seems odd.  I would expect the =
reference to
>> > > be to something that explains why it is out-of-scope.
>>=20
>> I think the the separation of certificate path validation from the =
TLS protocol is correct, but perhaps this can be explained differently.  =
Perhaps the approach should be that TLS depends upon certificate path =
validation as described in RFC 5280.
>>=20
>> > In general, TLS's policy (dating back to TLS 1.0) has been that the
>> > job of TLS is to carry the certificates and other authentication
>> > material but to leave it up to other parts of the system to
>> > interpret them. It's been a long time since that decision was made,
>> > but from my perspective, there are a number of major reasons:
>> >
>> > 1. Most of PKI processing (path construction, etc.) is generic and
>> >    not specific to TLS. What is specific to TLS is:
>> >
>> >    * How to indicate what your PKI capabilities are
>> >      (see, e.g, S 4.2.4 and 4.3.2)
>> >    * How to stuff the PKI material into the protocol
>> >      (principally S 4.4.2)
>> >    * How to determine whether a given certificate is suitable for
>> >      use in TLS 4.4.4.2 and 4.3.2.1).
>> >
>> >    So we want to outsource the generic PKI part
>> >
>> >
>> > 2. It matches the software architecture that people often use,
>> >    which is to have a TLS stack but separate PKI validation. For
>> >    instance, Firefox uses NSS for TLS but moz::pkix for
>> >    validation. Similarly, Chrome uses BoringSSL for TLS
>> >    but the system PKI libraries for validation.
>> >
>> >
>> > In this case, I think that this text was more intended to
>> > say "and go read 5280 to learn how to do this". To that end,
>> > I suggest we say"
>> >
>> >
>> >     "In general detailed certificate validation procedures are out =
of
>> >     scope for TLS. [RFC5280] provides general procedures for
>> >     certificate validation. This section provides TLS-specific
>> >     requirements.=E2=80=9D
>>=20
>> I agree with the reasoning, however the dependency on RFC 5280 should =
be called out in a MUST statement.  I suggest something like:
>>=20
>>     "TLS depends on certificate path validation, and a conformant
>>     TLS implementation MUST implement certificate paths validation
>>     in a manner that achieves the same result as [RFC5280]. This
>>     section provides TLS-specific requirements.=E2=80=9D
>>=20
>> Note that RFC 5280 is already a normative reference.
>>=20
>> A MUST here would be a pretty material change to historical TLS =
practice.
>> As Viktor says, there are TLS-using applications that just don't =
validate
>> the cert via 5280 at all.
>=20
> I think we want to say that if the certificates are used, then the =
certification path MUST be validated in a manner that is compatible with =
Internet X.509 certificate profile [RFC5280]; however, other approaches =
to validation of the public key, such as the DANE TLSA resource record =
[RFC6698], are also acceptable.
>=20
> I can see how you would want to say that, but it's not really =
consistent either
> with historical practice or with the way that other standards track =
RFCs use TLS
> with certificates (see RFC 5763).

Actually, that is a great example.  I accept the need for loose =
coupling.

Russ


--Apple-Mail=_7D75D168-4206-4CE8-97DA-1B1FD326B7AD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On May 16, 2017, at 11:23 AM, Eric Rescorla &lt;<a =
href=3D"mailto:ekr@rtfm.com" class=3D"">ekr@rtfm.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
dir=3D"ltr" class=3D""><br class=3D""><div class=3D"gmail_extra"><br =
class=3D""><div class=3D"gmail_quote">On Tue, May 16, 2017 at 8:17 AM, =
Russ Housley <span dir=3D"ltr" class=3D"">&lt;<a =
href=3D"mailto:housley@vigilsec.com" target=3D"_blank" =
class=3D"">housley@vigilsec.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div =
style=3D"word-wrap:break-word" class=3D""><div class=3D""><div =
class=3D"h5"><br class=3D""><div class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D"">On May 15, 2017, at 7:01 PM, Eric Rescorla =
&lt;<a href=3D"mailto:ekr@rtfm.com" target=3D"_blank" =
class=3D"">ekr@rtfm.com</a>&gt; wrote:</div><br =
class=3D"m_-7876555798157681164Apple-interchange-newline"><div =
class=3D""><div dir=3D"ltr" class=3D""><br class=3D""><div =
class=3D"gmail_extra"><br class=3D""><div class=3D"gmail_quote">On Mon, =
May 15, 2017 at 12:38 PM, Russ Housley <span dir=3D"ltr" class=3D"">&lt;<a=
 href=3D"mailto:housley@vigilsec.com" target=3D"_blank" =
class=3D"">housley@vigilsec.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">Just commenting on =
Section 4.2 =E2=80=A6<br class=3D"">
<span class=3D""><br class=3D"">
&gt;<br class=3D"">
&gt; &gt; 3. Section 4.2.<br class=3D"">
&gt; &gt;<br class=3D"">
&gt; &gt;&nbsp; &nbsp; "In general, detailed certificate validation =
procedures are out of<br class=3D"">
&gt; &gt;&nbsp; &nbsp; scope for TLS (see [RFC5280]).&nbsp; This section =
provides TLS-specific<br class=3D"">
&gt; &gt;&nbsp; &nbsp; requirements."<br class=3D"">
&gt; &gt;<br class=3D"">
&gt; &gt; I don't see an explanation of why it is out-of-scope.&nbsp; =
The reference<br class=3D"">
&gt; &gt; is just to RFC5280, which seems odd.&nbsp; I would expect the =
reference to<br class=3D"">
&gt; &gt; be to something that explains why it is out-of-scope.<br =
class=3D"">
<br class=3D"">
</span>I think the the separation of certificate path validation from =
the TLS protocol is correct, but perhaps this can be explained =
differently.&nbsp; Perhaps the approach should be that TLS depends upon =
certificate path validation as described in RFC 5280.<br class=3D"">
<div class=3D""><div class=3D"m_-7876555798157681164h5"><br class=3D"">
&gt; In general, TLS's policy (dating back to TLS 1.0) has been that =
the<br class=3D"">
&gt; job of TLS is to carry the certificates and other authentication<br =
class=3D"">
&gt; material but to leave it up to other parts of the system to<br =
class=3D"">
&gt; interpret them. It's been a long time since that decision was =
made,<br class=3D"">
&gt; but from my perspective, there are a number of major reasons:<br =
class=3D"">
&gt;<br class=3D"">
&gt; 1. Most of PKI processing (path construction, etc.) is generic =
and<br class=3D"">
&gt;&nbsp; &nbsp; not specific to TLS. What is specific to TLS is:<br =
class=3D"">
&gt;<br class=3D"">
&gt;&nbsp; &nbsp; * How to indicate what your PKI capabilities are<br =
class=3D"">
&gt;&nbsp; &nbsp; &nbsp; (see, e.g, S 4.2.4 and 4.3.2)<br class=3D"">
&gt;&nbsp; &nbsp; * How to stuff the PKI material into the protocol<br =
class=3D"">
&gt;&nbsp; &nbsp; &nbsp; (principally S 4.4.2)<br class=3D"">
&gt;&nbsp; &nbsp; * How to determine whether a given certificate is =
suitable for<br class=3D"">
&gt;&nbsp; &nbsp; &nbsp; use in TLS 4.4.4.2 and 4.3.2.1).<br class=3D"">
&gt;<br class=3D"">
&gt;&nbsp; &nbsp; So we want to outsource the generic PKI part<br =
class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; 2. It matches the software architecture that people often use,<br =
class=3D"">
&gt;&nbsp; &nbsp; which is to have a TLS stack but separate PKI =
validation. For<br class=3D"">
&gt;&nbsp; &nbsp; instance, Firefox uses NSS for TLS but moz::pkix =
for<br class=3D"">
&gt;&nbsp; &nbsp; validation. Similarly, Chrome uses BoringSSL for =
TLS<br class=3D"">
&gt;&nbsp; &nbsp; but the system PKI libraries for validation.<br =
class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; In this case, I think that this text was more intended to<br =
class=3D"">
&gt; say "and go read 5280 to learn how to do this". To that end,<br =
class=3D"">
&gt; I suggest we say"<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt;&nbsp; &nbsp; &nbsp;"In general detailed certificate validation =
procedures are out of<br class=3D"">
&gt;&nbsp; &nbsp; &nbsp;scope for TLS. [RFC5280] provides general =
procedures for<br class=3D"">
&gt;&nbsp; &nbsp; &nbsp;certificate validation. This section provides =
TLS-specific<br class=3D"">
</div></div>&gt;&nbsp; &nbsp; &nbsp;requirements.=E2=80=9D<br class=3D"">
<br class=3D"">
I agree with the reasoning, however the dependency on RFC 5280 should be =
called out in a MUST statement.&nbsp; I suggest something like:<br =
class=3D"">
<br class=3D"">
&nbsp; &nbsp; "TLS depends on certificate path validation, and a =
conformant<br class=3D"">
&nbsp; &nbsp; TLS implementation MUST implement certificate paths =
validation<br class=3D"">
&nbsp; &nbsp; in a manner that achieves the same result as [RFC5280]. =
This<br class=3D"">
&nbsp; &nbsp; section provides TLS-specific requirements.=E2=80=9D<br =
class=3D"">
<br class=3D"">
Note that RFC 5280 is already a normative reference.<br =
class=3D""></blockquote><div class=3D""><br class=3D""></div><div =
class=3D"">A MUST here would be a pretty material change to historical =
TLS practice.</div><div class=3D"">As Viktor says, there are TLS-using =
applications that just don't validate</div><div class=3D"">the cert via =
5280 at all.</div></div></div></div></div></blockquote><br =
class=3D""></div></div></div><div class=3D"">I think we want to say that =
if the certificates are used, then the certification path MUST be =
validated in a manner that is compatible with Internet X.509 certificate =
profile [RFC5280]; however, other approaches to validation of the public =
key, such as the DANE TLSA resource record [RFC6698], are also =
acceptable.</div></div></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">I can see how you would want to say =
that, but it's not really consistent either</div><div class=3D"">with =
historical practice or with the way that other standards track RFCs use =
TLS</div><div class=3D"">with certificates (see RFC =
5763).</div></div></div></div></div></blockquote><div><br =
class=3D""></div>Actually, that is a great example. &nbsp;I accept the =
need for loose coupling.</div><div><br =
class=3D""></div><div>Russ</div><div><br class=3D""></div></body></html>=

--Apple-Mail=_7D75D168-4206-4CE8-97DA-1B1FD326B7AD--


From nobody Tue May 16 08:41:28 2017
Return-Path: <kathleen.moriarty.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 64E54126C89 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 08:41:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 v5i0DOCB0k6u for <tls@ietfa.amsl.com>; Tue, 16 May 2017 08:41:24 -0700 (PDT)
Received: from mail-pf0-x233.google.com (mail-pf0-x233.google.com [IPv6:2607:f8b0:400e:c00::233]) (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 0BE1412EBAA for <tls@ietf.org>; Tue, 16 May 2017 08:37:16 -0700 (PDT)
Received: by mail-pf0-x233.google.com with SMTP id e193so82231364pfh.0 for <tls@ietf.org>; Tue, 16 May 2017 08:37:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=NhQYaox2DMOIV75emBmWjWYrSMxIwCjfiHDB8FMg0bc=; b=deAc/atLUrIRVE9H0L1rwB54ZMUXdHevIa5B1i0bszq7QLMyOuGilzJjX2pFalYzZz dVaAKPotlbFAALvFnAwqQGEZF54fX3DxIPaa4X8cpSiH+20Y6qK/PPCKf30mnEhPLw9v R26hPujpkzG4jalXKYjVn/uTorNZt8YTXfLR/Pd1Z+Jxw1R7kR8E+FyNLloVOjwbCAQj 9wSvGVtBzaA2F4KntxIsS57zH6DAqlUMuoisSGLZoMcH4uAXdbXjX7beV3IlNC69idIm PgdHxd5RWsrFhNc7WN439f3CLB51mWHroJHyP3nsuOMd0Bk6kUO0TnPvCKJVYd/VE7oS ZcHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=NhQYaox2DMOIV75emBmWjWYrSMxIwCjfiHDB8FMg0bc=; b=LcphGVsDh8Rbn64Zgw6/heussw1T2iRbaI/TXZBIHStS/SXRJU3givYmKjQ6Bfj11N 2wx0EOy1uIMuz/R/A8pTvVtkgl79xmgL8UGhAnF3G9hPnkybnh8gtmLt1h6EV0yQ8Cm8 j8zOCJL4Hi0wSHoZigL4AgorARnNagSlK4ciHMyARXwmSIY7hENKeQdb13FsnIB63z+s 4j3FzPiGsel9jLjgcnAst/+z9dEFuRwt6KjzmCnpJhQeqqeQ8XtF/iSbspi+bpts5zbP 8h8Sr6EBsTC4mOM4l9PKB18R38x2Vn5MbmrausWU3nnehZ/+74hlyIbEbI9zzV6L3WJi 0ZIw==
X-Gm-Message-State: AODbwcCD4oEHP/yJPFS7GQfrhkK75Xn5W9EtJEytW+PiWajBF/olH6/n ORyD7pP/tRHjU+uve7/DOk79Sanfkg==
X-Received: by 10.99.126.20 with SMTP id z20mr12463127pgc.158.1494949036540; Tue, 16 May 2017 08:37:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.186.135 with HTTP; Tue, 16 May 2017 08:36:36 -0700 (PDT)
In-Reply-To: <45BECF9F-0BBD-4E2D-B517-77709C0EAC9F@vigilsec.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com> <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com> <CABcZeBPGK9BguF6OJo=QT3Sx1mLwBQJhh4JiBkAmws5umvctSg@mail.gmail.com> <0ED5F216-365D-432E-B390-D95014ED5676@vigilsec.com> <CABcZeBPnLSbNySpRoGd8gQNBDf9jAEzX8eG6WC96MTmoqdpJHA@mail.gmail.com> <45BECF9F-0BBD-4E2D-B517-77709C0EAC9F@vigilsec.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Date: Tue, 16 May 2017 11:36:36 -0400
Message-ID: <CAHbuEH7djXnZv-SvOFyLxTb6UWCKj8Hn0ZMS3ccgvviuPuPFKQ@mail.gmail.com>
To: Russ Housley <housley@vigilsec.com>
Cc: Eric Rescorla <ekr@rtfm.com>, IETF TLS <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Xu-oVRrz5Ui1iXL1GKSp3u-0pMw>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 15:41:26 -0000

On Tue, May 16, 2017 at 11:31 AM, Russ Housley <housley@vigilsec.com> wrote=
:
>
> On May 16, 2017, at 11:23 AM, Eric Rescorla <ekr@rtfm.com> wrote:
>
>
>
> On Tue, May 16, 2017 at 8:17 AM, Russ Housley <housley@vigilsec.com> wrot=
e:
>>
>>
>> On May 15, 2017, at 7:01 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>>
>>
>>
>> On Mon, May 15, 2017 at 12:38 PM, Russ Housley <housley@vigilsec.com>
>> wrote:
>>>
>>> Just commenting on Section 4.2 =E2=80=A6
>>>
>>> >
>>> > > 3. Section 4.2.
>>> > >
>>> > >    "In general, detailed certificate validation procedures are out =
of
>>> > >    scope for TLS (see [RFC5280]).  This section provides TLS-specif=
ic
>>> > >    requirements."
>>> > >
>>> > > I don't see an explanation of why it is out-of-scope.  The referenc=
e
>>> > > is just to RFC5280, which seems odd.  I would expect the reference =
to
>>> > > be to something that explains why it is out-of-scope.
>>>
>>> I think the the separation of certificate path validation from the TLS
>>> protocol is correct, but perhaps this can be explained differently.  Pe=
rhaps
>>> the approach should be that TLS depends upon certificate path validatio=
n as
>>> described in RFC 5280.
>>>
>>> > In general, TLS's policy (dating back to TLS 1.0) has been that the
>>> > job of TLS is to carry the certificates and other authentication
>>> > material but to leave it up to other parts of the system to
>>> > interpret them. It's been a long time since that decision was made,
>>> > but from my perspective, there are a number of major reasons:
>>> >
>>> > 1. Most of PKI processing (path construction, etc.) is generic and
>>> >    not specific to TLS. What is specific to TLS is:
>>> >
>>> >    * How to indicate what your PKI capabilities are
>>> >      (see, e.g, S 4.2.4 and 4.3.2)
>>> >    * How to stuff the PKI material into the protocol
>>> >      (principally S 4.4.2)
>>> >    * How to determine whether a given certificate is suitable for
>>> >      use in TLS 4.4.4.2 and 4.3.2.1).
>>> >
>>> >    So we want to outsource the generic PKI part
>>> >
>>> >
>>> > 2. It matches the software architecture that people often use,
>>> >    which is to have a TLS stack but separate PKI validation. For
>>> >    instance, Firefox uses NSS for TLS but moz::pkix for
>>> >    validation. Similarly, Chrome uses BoringSSL for TLS
>>> >    but the system PKI libraries for validation.
>>> >
>>> >
>>> > In this case, I think that this text was more intended to
>>> > say "and go read 5280 to learn how to do this". To that end,
>>> > I suggest we say"
>>> >
>>> >
>>> >     "In general detailed certificate validation procedures are out of
>>> >     scope for TLS. [RFC5280] provides general procedures for
>>> >     certificate validation. This section provides TLS-specific
>>> >     requirements.=E2=80=9D
>>>
>>> I agree with the reasoning, however the dependency on RFC 5280 should b=
e
>>> called out in a MUST statement.  I suggest something like:
>>>
>>>     "TLS depends on certificate path validation, and a conformant
>>>     TLS implementation MUST implement certificate paths validation
>>>     in a manner that achieves the same result as [RFC5280]. This
>>>     section provides TLS-specific requirements.=E2=80=9D
>>>
>>> Note that RFC 5280 is already a normative reference.
>>
>>
>> A MUST here would be a pretty material change to historical TLS practice=
.
>> As Viktor says, there are TLS-using applications that just don't validat=
e
>> the cert via 5280 at all.
>>
>>
>> I think we want to say that if the certificates are used, then the
>> certification path MUST be validated in a manner that is compatible with
>> Internet X.509 certificate profile [RFC5280]; however, other approaches =
to
>> validation of the public key, such as the DANE TLSA resource record
>> [RFC6698], are also acceptable.
>
>
> I can see how you would want to say that, but it's not really consistent
> either
> with historical practice or with the way that other standards track RFCs =
use
> TLS
> with certificates (see RFC 5763).
>
>
> Actually, that is a great example.  I accept the need for loose coupling.

OK, does that put us back to the suggested wording:

    "TLS depends on certificate path validation, and a conformant
     TLS implementation MUST implement certificate paths validation
     in a manner that achieves the same result as [RFC5280]. This
     section provides TLS-specific requirements.=E2=80=9D

For any developers following, does this help enough with any
interoperability questions?

Thanks,
Kathleen

>
> Russ
>



--=20

Best regards,
Kathleen


From britta.hale@ntnu.no  Tue May 16 08:34:54 2017
Return-Path: <britta.hale@ntnu.no>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BAE19129C06 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 08:34:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.503
X-Spam-Level: 
X-Spam-Status: No, score=-1.503 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 NUxLTbBVuxUy for <tls@ietfa.amsl.com>; Tue, 16 May 2017 08:34:53 -0700 (PDT)
Received: from samson.item.ntnu.no (samson.item.ntnu.no [129.241.200.24]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0F7B6128B90 for <tls@ietf.org>; Tue, 16 May 2017 08:30:54 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by samson.item.ntnu.no (Postfix) with ESMTP id DF6A7480089 for <tls@ietf.org>; Tue, 16 May 2017 17:30:52 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at item.ntnu.no
Received: from samson.item.ntnu.no ([127.0.0.1]) by localhost (samson.item.ntnu.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XysAoeEp_D7w for <tls@ietf.org>; Tue, 16 May 2017 17:30:52 +0200 (CEST)
Received: from [192.168.1.168] (84-52-238.131.3p.ntebredband.no [84.52.238.131]) by samson.item.ntnu.no (Postfix) with ESMTPSA id 5C7B4480087 for <tls@ietf.org>; Tue, 16 May 2017 17:30:52 +0200 (CEST)
To: tls@ietf.org
From: Britta Hale <britta.hale@ntnu.no>
Message-ID: <66025639-5ceb-021a-61c4-60620c402a6c@ntnu.no>
Date: Tue, 16 May 2017 17:30:51 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/77GN4qwrwfL0eb9th7a2E1gGL94>
Subject: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 15:46:42 -0000

On the Sunday 30/05 TLS:DIV workshop there was mention of the
EndOfEarlyData message and its status as a handshake message or alert
message.

The main argument mentioned for making EndOfEarlyData a handshake
message is that alert messages usually signal "abortive closure of the
connection" (e.g. fatal alerts). Having an EndOfEarlyData alert could be
misleading (i.e. possibly implying that a session is ending instead of
beginning).

However, this intuition is incorrect. Alerts signal the end-of-use of
keys, not the prohibition of further communication under other keys.
Keys should be deleted and no further data should be sent on the
connection. For TLS 1.2 (7.2.1) it is even made explicitly clear that
session resumption is possible after a close_notify send/receipt.

It seems natural then to make EndOfEarlyData an alert message,
signifying end of 0-RTT data. Specifically, the 0-RTT handshake is
followed by 0-RTT data and finally an EndOfEarlyData alert to end use of
that key, while in parallel the remainder of the handshake and
subsequent session key act almost as a further resumption (i.e. under a
different key).

Making EndOfEarlyData an alert message also allows for clear key
boundaries: if EndOfEarlyData is a handshake message, then we are mixing
messages protected by the the client_early_traffic_secret and
handshake_traffic_secret in the Finished message.

---
Britta


From nobody Tue May 16 09:05:35 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 22B42129B9A for <tls@ietfa.amsl.com>; Tue, 16 May 2017 09:05:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 2eNHdSrYmY4v for <tls@ietfa.amsl.com>; Tue, 16 May 2017 09:05:32 -0700 (PDT)
Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::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 67D8E12EB91 for <tls@ietf.org>; Tue, 16 May 2017 09:00:55 -0700 (PDT)
Received: by mail-lf0-x22f.google.com with SMTP id m18so14588079lfj.0 for <tls@ietf.org>; Tue, 16 May 2017 09:00:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FJXvhcWuf/eujlHwQTTPlmk9ZAxAF/VKiE6Rv52TxIQ=; b=BJ+jVUScDzgK2cyj7Qo/6hGDMjePaf9g/a0qGWVB5oqhovKynlFZRiYvxJoore+Oms aDN+XT2wY9JjnNuw3+YXbD0Q32+Ylb2UNuz34oAnpu1mAfkr5zbZvM3cSFElu9ad2/Bj PUw4D3VVP4KcGW8ZDg7Na8gjz3Q6h5pE0Kf7etmB5Vv5/3kzOxXtHFGiVs0eng3K/9VZ tvteQcvwD4+bdGTfjEQDImhZs2GFpcAJRuCJetiPq7bnb6YmnsyBIlg0rbxmpINAO/ZI sizu0XcgJInGUiNeRD5/XI4G096gwZV0OoWeXXLVLoOyEfWxbrn4mOKZ5XOpgcd4vhP+ mCag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FJXvhcWuf/eujlHwQTTPlmk9ZAxAF/VKiE6Rv52TxIQ=; b=uIbHNKmOqC++HN3GGSOeooscE30yeodkL+rH8xzFby8lJpJRz/AUR1uSRVSOqzAVHe KzavoOVbttci0pkS4G8miNbk9WFU61ftB5dCAoADoqRjCXWfwjiFKRbrMenUKawthzWG kyaX3qyL0lfBFmV8JuVs10gnNUIklyz+33W4Scn63Nc1el112h9Q/wrKVJCDn469jKO0 8RoA7a3wfdtzShrBlbQYPU/Z9PlWZ3eTGZ0AzMhmURcXxqJjcEBsA8WFpyTRF+oaV8Rn xRX5JIt6CLZl6F0SwQE9r7rJUWPbgLw5Vt+nu9kZ+Gu0Hl4IAVgQTe/lHhBtdVmIb9pa kn6Q==
X-Gm-Message-State: AODbwcBdUTbbBNniM2ZBQ6vEA3rTqUeyj8necyH4j3hTdJlxNsJ7WFve IV44jfEo0fANfGRrbOcr+YLWG7qPMg==
X-Received: by 10.25.148.20 with SMTP id w20mr3398032lfd.169.1494950453654; Tue, 16 May 2017 09:00:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Tue, 16 May 2017 09:00:53 -0700 (PDT)
In-Reply-To: <66025639-5ceb-021a-61c4-60620c402a6c@ntnu.no>
References: <66025639-5ceb-021a-61c4-60620c402a6c@ntnu.no>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 16 May 2017 12:00:53 -0400
Message-ID: <CABkgnnVXShc=kjL1GNGshRC2XEcw21PV-8oWtxg+Bxe55=WU6Q@mail.gmail.com>
To: Britta Hale <britta.hale@ntnu.no>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/aa2uTlTsiRNiF2O-ABCoO4agonI>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 16:05:34 -0000

Would we also send an alert on key update?

On 16 May 2017 at 11:30, Britta Hale <britta.hale@ntnu.no> wrote:
> On the Sunday 30/05 TLS:DIV workshop there was mention of the
> EndOfEarlyData message and its status as a handshake message or alert
> message.
>
> The main argument mentioned for making EndOfEarlyData a handshake
> message is that alert messages usually signal "abortive closure of the
> connection" (e.g. fatal alerts). Having an EndOfEarlyData alert could be
> misleading (i.e. possibly implying that a session is ending instead of
> beginning).
>
> However, this intuition is incorrect. Alerts signal the end-of-use of
> keys, not the prohibition of further communication under other keys.
> Keys should be deleted and no further data should be sent on the
> connection. For TLS 1.2 (7.2.1) it is even made explicitly clear that
> session resumption is possible after a close_notify send/receipt.
>
> It seems natural then to make EndOfEarlyData an alert message,
> signifying end of 0-RTT data. Specifically, the 0-RTT handshake is
> followed by 0-RTT data and finally an EndOfEarlyData alert to end use of
> that key, while in parallel the remainder of the handshake and
> subsequent session key act almost as a further resumption (i.e. under a
> different key).
>
> Making EndOfEarlyData an alert message also allows for clear key
> boundaries: if EndOfEarlyData is a handshake message, then we are mixing
> messages protected by the the client_early_traffic_secret and
> handshake_traffic_secret in the Finished message.
>
> ---
> Britta
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls


From nobody Tue May 16 09:44:01 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB422128B51 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 09:43:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 B3p4oHwFi2wx for <tls@ietfa.amsl.com>; Tue, 16 May 2017 09:43:58 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B9758128768 for <tls@ietf.org>; Tue, 16 May 2017 09:37:44 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 6E66D7A32F1 for <tls@ietf.org>; Tue, 16 May 2017 16:37:43 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAHbuEH7djXnZv-SvOFyLxTb6UWCKj8Hn0ZMS3ccgvviuPuPFKQ@mail.gmail.com>
Date: Tue, 16 May 2017 12:37:42 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <854FCD7A-B4C7-4E7A-A45E-7EECAA5E856C@dukhovni.org>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com> <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com> <CABcZeBPGK9BguF6OJo=QT3Sx1mLwBQJhh4JiBkAmws5umvctSg@mail.gmail.com> <0ED5F216-365D-432E-B390-D95014ED5676@vigilsec.com> <CABcZeBPnLSbNySpRoGd8gQNBDf9jAEzX8eG6WC96MTmoqdpJHA@mail.gmail.com> <45BECF9F-0BBD-4E2D-B517-77709C0EAC9F@vigilsec.com> <CAHbuEH7djXnZv-SvOFyLxTb6UWCKj8Hn0ZMS3ccgvviuPuPFKQ@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/qgBtcvCI4tAWecylTCQaACEYpn8>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 16:44:00 -0000

> On May 16, 2017, at 11:36 AM, Kathleen Moriarty =
<kathleen.moriarty.ietf@gmail.com> wrote:
>=20
> OK, does that put us back to the suggested wording:
>=20
>    "TLS depends on certificate path validation, and a conformant
>     TLS implementation MUST implement certificate paths validation
>     in a manner that achieves the same result as [RFC5280]. This
>     section provides TLS-specific requirements.=E2=80=9D
>=20
> For any developers following, does this help enough with any
> interoperability questions?

TLS does not depend on certificate path validation.  Many TLS
*applications* rely PKIX certificate path validation (along with
RFC 6125 server identity verification), but TLS itself supports
various alternative authentication (and non-authentication) modes.

   * PSK or SRP without certificates
   * Opportunistic unauthenticated TLS (perhaps anon-(EC)DH with TLS <=3D =
1.2)
   * TOFU public key pinning
   * Static leaf key or leaf cert matching
   * RFC7250 raw public keys
   * DANE-EE(3) leaf certificate/key verification, without expiration
     or server name checks
   * DANE-EE(3) ... with name checks (where UKS attack are relevant)
   * DANE-TA(2) with RFC5280 chain verification, but the trust-anchor
     is part of the chain, and identified via DNS TLSA records.
   * PKIX-EE(1) which is RFC5280 + DANE leaf cert "constraint"
   * PKIX-TA(0) which is RFC5280 + DANE CA "constraint"

Keeping in mind that many implementations of RFC5280 violate that =
specification
by interpreting EKUs in CA certificates to constrain the kinds of =
certificates
that the CA may issue.  That de-facto usage is I think much more widely =
implemented
than the far too complex X.509 policy constraints (RFC5280 4.2.1.11).

--=20
	Viktor.


From nobody Tue May 16 09:54:35 2017
Return-Path: <kathleen.moriarty.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 001A0129427 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 09:54:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 xDEj7UTtovpW for <tls@ietfa.amsl.com>; Tue, 16 May 2017 09:54:30 -0700 (PDT)
Received: from mail-pg0-x236.google.com (mail-pg0-x236.google.com [IPv6:2607:f8b0:400e:c05::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 682481200F3 for <tls@ietf.org>; Tue, 16 May 2017 09:50:20 -0700 (PDT)
Received: by mail-pg0-x236.google.com with SMTP id u187so79080560pgb.0 for <tls@ietf.org>; Tue, 16 May 2017 09:50:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=xbS/GNEn3cARmbBElQab0Lepx/zi66BHdcze1XNKGHM=; b=F1RJAaUvkdz6RUIWeL5S5xOMwsDd84qF3cn8qIFitZkJkEP6x69lR0sDr1Zlgh8961 opql8fvWEd05EidjtjuE1IZOqb5YKYfaGGgCqDE9OccL/PsGIsFxH7UEMgh/ZpIzEUqi Tiyo5psJHDkHzUYN7NflZAOdR1i/YiDpz2f/hIvfDaiB5zFiuJzGhYiq/TpZPaZ0W74s jG0EXfL19KaprbDrsh7ZaXPwRH7R1+rQ/aCAm3XIPz2l6cyQSDzjV75RZr6te3RBgmM6 pOPIpDAWswOILi0s4rrMrfNoJ5SZCxypMso9SD3L+/nrSZ/35B0A6jm/ywsErdZaiSVP 9G6g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=xbS/GNEn3cARmbBElQab0Lepx/zi66BHdcze1XNKGHM=; b=CFhNNeOXIa5Sen0YQi7b+WUzJFpjcF2wFK9XRQ7g+dqceYow9F9FyJjU31Zrlc3AaO en6ypUB74xQ/kF8539OstLpvpjHBCkTqzg8nYO00TE+Thfg5qbNVxO6npmuJ4UcdvZZl 8MrKLrWBDpWADJ++dlalhWiySwiqVUQbxwgSO9OLRzhZiliE8sbRdlM9uPY6qB5Iiwmz MBZ6jtq/9j9ihjoXy0Fgg/nxdtjb6wz/1+9VlZRIlLgy72EPC5yPMuadJnRPQh9Y3VZd u+vV1gyG2I49KUM2n+H3m4UlVXHEG9JTVvyp93sPUayKUNN/JjW5OfcuI0S64GIOdRV9 fSWQ==
X-Gm-Message-State: AODbwcCQi216TXkvYBKKvVtLVYDYw5wTx8xg28zDGOR/x9mec3DVsnbI 8M2kFdrGUKBjtkfD0wPhbBlwk1GIGtl5
X-Received: by 10.84.193.129 with SMTP id f1mr17400602pld.129.1494953419912; Tue, 16 May 2017 09:50:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.186.135 with HTTP; Tue, 16 May 2017 09:49:39 -0700 (PDT)
In-Reply-To: <854FCD7A-B4C7-4E7A-A45E-7EECAA5E856C@dukhovni.org>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com> <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com> <CABcZeBPGK9BguF6OJo=QT3Sx1mLwBQJhh4JiBkAmws5umvctSg@mail.gmail.com> <0ED5F216-365D-432E-B390-D95014ED5676@vigilsec.com> <CABcZeBPnLSbNySpRoGd8gQNBDf9jAEzX8eG6WC96MTmoqdpJHA@mail.gmail.com> <45BECF9F-0BBD-4E2D-B517-77709C0EAC9F@vigilsec.com> <CAHbuEH7djXnZv-SvOFyLxTb6UWCKj8Hn0ZMS3ccgvviuPuPFKQ@mail.gmail.com> <854FCD7A-B4C7-4E7A-A45E-7EECAA5E856C@dukhovni.org>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Date: Tue, 16 May 2017 12:49:39 -0400
Message-ID: <CAHbuEH5AxUkT_Q5mJ6SrEWkY+GG3P1XNuD_QJX8kR9CfSWw+Xg@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Bld8RXSWQ-WfTIn1SwtsxYcw7sY>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 16:54:34 -0000

On Tue, May 16, 2017 at 12:37 PM, Viktor Dukhovni
<ietf-dane@dukhovni.org> wrote:
>
>> On May 16, 2017, at 11:36 AM, Kathleen Moriarty <kathleen.moriarty.ietf@=
gmail.com> wrote:
>>
>> OK, does that put us back to the suggested wording:
>>
>>    "TLS depends on certificate path validation, and a conformant
>>     TLS implementation MUST implement certificate paths validation
>>     in a manner that achieves the same result as [RFC5280]. This
>>     section provides TLS-specific requirements.=E2=80=9D
>>
>> For any developers following, does this help enough with any
>> interoperability questions?
>
> TLS does not depend on certificate path validation.  Many TLS
> *applications* rely PKIX certificate path validation (along with
> RFC 6125 server identity verification), but TLS itself supports
> various alternative authentication (and non-authentication) modes.
>
>    * PSK or SRP without certificates
>    * Opportunistic unauthenticated TLS (perhaps anon-(EC)DH with TLS <=3D=
 1.2)
>    * TOFU public key pinning
>    * Static leaf key or leaf cert matching
>    * RFC7250 raw public keys
>    * DANE-EE(3) leaf certificate/key verification, without expiration
>      or server name checks
>    * DANE-EE(3) ... with name checks (where UKS attack are relevant)
>    * DANE-TA(2) with RFC5280 chain verification, but the trust-anchor
>      is part of the chain, and identified via DNS TLSA records.
>    * PKIX-EE(1) which is RFC5280 + DANE leaf cert "constraint"
>    * PKIX-TA(0) which is RFC5280 + DANE CA "constraint"
>
> Keeping in mind that many implementations of RFC5280 violate that specifi=
cation
> by interpreting EKUs in CA certificates to constrain the kinds of certifi=
cates
> that the CA may issue.  That de-facto usage is I think much more widely i=
mplemented
> than the far too complex X.509 policy constraints (RFC5280 4.2.1.11).

Sorry, I grabbed the wrong text as I was ineffective at multi-tasking.
I think we are back to the following text and would like to confirm
that and make sure it is agreeable to the WG and implementers:

    "In general detailed certificate validation procedures are out of
    scope for TLS. [RFC5280] provides general procedures for
    certificate validation. This section provides TLS-specific
    requirements."

There's also a thread that was discussing some interoperability
problems related to validation and I'd like to see the resolution for
that as well.

Thanks,
Kathleen

>
> --
>         Viktor.
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls



--=20

Best regards,
Kathleen


From britta.hale@item.ntnu.no  Mon May 15 08:21:07 2017
Return-Path: <britta.hale@item.ntnu.no>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0CD3F129486 for <tls@ietfa.amsl.com>; Mon, 15 May 2017 08:21:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.503
X-Spam-Level: 
X-Spam-Status: No, score=-1.503 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 gCiX4LR7suCn for <tls@ietfa.amsl.com>; Mon, 15 May 2017 08:21:05 -0700 (PDT)
Received: from samson.item.ntnu.no (samson.item.ntnu.no [129.241.200.24]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0E13E124281 for <tls@ietf.org>; Mon, 15 May 2017 08:16:06 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by samson.item.ntnu.no (Postfix) with ESMTP id 72EB648008D for <tls@ietf.org>; Mon, 15 May 2017 17:16:04 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at item.ntnu.no
Received: from samson.item.ntnu.no ([127.0.0.1]) by localhost (samson.item.ntnu.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RK_pi8CjM4Kl for <tls@ietf.org>; Mon, 15 May 2017 17:16:03 +0200 (CEST)
Received: from [129.241.200.211] (dhcp-200-211.item.ntnu.no [129.241.200.211]) by samson.item.ntnu.no (Postfix) with ESMTPSA id E19D7480087 for <tls@ietf.org>; Mon, 15 May 2017 17:16:03 +0200 (CEST)
From: Britta Hale <britta.hale@item.ntnu.no>
To: tls@ietf.org
Message-ID: <83ddc562-aca3-7525-b5d6-714d2b84ae97@item.ntnu.no>
Date: Mon, 15 May 2017 17:16:03 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1Ug5FEA3AGIdaMMwf8dmWIE4J6dujax7M"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/OzVrSz6dZ5oEEvKvUutgIQJXe7g>
X-Mailman-Approved-At: Tue, 16 May 2017 10:31:45 -0700
Subject: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 May 2017 15:48:22 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--1Ug5FEA3AGIdaMMwf8dmWIE4J6dujax7M
Content-Type: multipart/mixed; boundary="K1qx4EPkksrQcvcAKSoPevNhWXxR5cwcg";
 protected-headers="v1"
From: Britta Hale <britta.hale@item.ntnu.no>
To: tls@ietf.org
Message-ID: <83ddc562-aca3-7525-b5d6-714d2b84ae97@item.ntnu.no>
Subject: Comments on EndOfEarlyData

--K1qx4EPkksrQcvcAKSoPevNhWXxR5cwcg
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On the Sunday 30/05 TLS:DIV workshop there was mention of the
EndOfEarlyData message and its status as a handshake message or alert
message.

The main argument mentioned for making EndOfEarlyData a handshake
message is that alert messages usually signal "abortive closure of the
connection" (e.g. fatal alerts). Having an EndOfEarlyData alert could be
misleading (i.e. possibly implying that a session is ending instead of
beginning).

However, this intuition is incorrect. Alerts signal the end-of-use of
keys, not the prohibition of further communication under other keys.
Keys should be deleted and no further data should be sent on the
connection. For TLS 1.2 (7.2.1) it is even made explicitly clear that
session resumption is possible after a close_notify send/receipt.

It seems natural then to make EndOfEarlyData an alert message,
signifying end of 0-RTT data. Specifically, the 0-RTT handshake is
followed by 0-RTT data and finally an EndOfEarlyData alert to end use of
that key, while in parallel the remainder of the handshake and
subsequent session key act almost as a further resumption (i.e. under a
different key).

Making EndOfEarlyData an alert message also allows for clear key
boundaries: if EndOfEarlyData is a handshake message, then we are mixing
messages protected by the the client_early_traffic_secret and
handshake_traffic_secret in the Finished message.

---
Britta


--K1qx4EPkksrQcvcAKSoPevNhWXxR5cwcg--

--1Ug5FEA3AGIdaMMwf8dmWIE4J6dujax7M
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJZGcYzAAoJEH5jOW80LQAqSmQP/Av3Mlw9lO1SIVFqpdz8BM1U
BDpg6Fr+nJJWYmU17ZAPRokc2HkVEO6Ax6ijRsUHE3pJSPCvg/6cx4YAdTAHc/F7
kv8xiksDCS9sakiq00hCIPza5dIFpqyN979MYwZXdVgJrCvI3W3oDSfe4ozNR1lq
FGuDwWO0KHd4/MqcveFzcSjmfnWvuDsd8QHTUbJgRRD+Ufj5Dpwh4P+0H07hj8FX
jZEHdP1gVT6XW+INF/RaSV6BGNzyLKQDdk3o6FiLfzky62j570rG+0z/QGzT8nY6
wMo/IRFygMEfF0KxM716PHfECd8LQKp72melgUAq6njucxWRNlJaWxpFNXbvPkWd
Y7a+JiX+6W4EzMIAds0Lsri2jBWO2rK82pbliFHWwze7I7xGS+VVNmHZYdcT6sVz
rYQBoGkbRXeO2on5AJ27Xb1e7e7tPkbXNqn7ULD4d0yixPL5Pe1deRhkzRTp2xYa
AVgsAYVh/aj+JDAdWfnzWbcjzDnPuX9yg2l01HsxkCuplxJZKQ6TOItwyi9Au2Zl
kgICz9WedEyUCo4R6a1uuc1enWSnIqaz6Oi/9WWaU9zZyXcUg1XCTWR+1f5QEBs7
4OdygS+e9OQyp73/SwIoL/MNqGIrSXdVRpB//jSDRS6imtQfL4g6eVg9nmdKf3wS
KFK/hav5EnFevh1VYnp+
=SjA+
-----END PGP SIGNATURE-----

--1Ug5FEA3AGIdaMMwf8dmWIE4J6dujax7M--


From nobody Tue May 16 10:32:12 2017
Return-Path: <gnu@toad.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 342DB12EAB3 for <tls@ietfa.amsl.com>; Wed, 10 May 2017 13:17:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.078
X-Spam-Level: 
X-Spam-Status: No, score=-0.078 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_BRBL_LASTEXT=1.449, RCVD_IN_XBL=0.375, RP_MATCHES_RCVD=-0.001, 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 G2frv9g8smyj for <tls@ietfa.amsl.com>; Wed, 10 May 2017 13:17:18 -0700 (PDT)
Received: from new.toad.com (new.toad.com [209.237.225.253]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A87D212EAA7 for <tls@ietf.org>; Wed, 10 May 2017 13:17:06 -0700 (PDT)
Received: from new.toad.com (localhost.localdomain [127.0.0.1]) by new.toad.com (8.12.9/8.12.9) with ESMTP id v4AKFtXw029772; Wed, 10 May 2017 13:15:55 -0700
Message-Id: <201705102015.v4AKFtXw029772@new.toad.com>
To: RFC Errata System <rfc-editor@rfc-editor.org>
cc: pwouters@redhat.com, Hannes.Tschofenig@gmx.net, gnu@toad.com, weiler@tislabs.com, kivinen@iki.fi, Kathleen.Moriarty.ietf@gmail.com, ekr@rtfm.com, joe@salowey.net, sean+ietf@sn3rd.com, x@example.net, tls@ietf.org
In-reply-to: <20170510064522.66A00B81089@rfc-editor.org> 
References: <20170510064522.66A00B81089@rfc-editor.org>
Comments: In-reply-to RFC Errata System <rfc-editor@rfc-editor.org> message dated "Tue, 09 May 2017 23:45:22 -0700."
Date: Wed, 10 May 2017 13:15:55 -0700
From: John Gilmore <gnu@toad.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/sW-P8TUMU8t99wQ6KJ1XBut0Y1Q>
X-Mailman-Approved-At: Tue, 16 May 2017 10:32:09 -0700
Subject: Re: [TLS] [Technical Errata Reported] RFC7250 (5013)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2017 20:17:19 -0000

I agree that the erratum is an editorial, not technical, change.

It is a slight improvement on the current wording, but is in no way
required for interoperability, since the same information is available
at the source already cited in the paragraph (the TLS ExtensionType
Values subregistry at IANA).

I recommend that we keep it in the editorial queue for folding
in if/when the RFC is ever revised for other reasons.

	John


From nobody Tue May 16 10:48:34 2017
Return-Path: <rlb@ipv.sx>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BC4A71293F3 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 10:48:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 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_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.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 omrdzUyg3YqR for <tls@ietfa.amsl.com>; Tue, 16 May 2017 10:48:29 -0700 (PDT)
Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::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 B495912944C for <tls@ietf.org>; Tue, 16 May 2017 10:43:34 -0700 (PDT)
Received: by mail-wr0-x236.google.com with SMTP id w50so81330075wrc.0 for <tls@ietf.org>; Tue, 16 May 2017 10:43:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xm/lnQOuqLkXzG+/WtR0Hr+YFtvpzTyoqD701kS4qkY=; b=ri8leqZFXGNv88ljZHhcHo9fsY5u8/R1YXu7Sz9JvwF8pLNObAZmd9PFJ2BlkV5Kol amma4w3+ZcrXRZx+RCcdrtMC7NWnNztfXp65szPt1gm63lZ9UIGWwEKMlGQDQepbK71/ 0iPSSJVooUvhY2tGBFSYr6HzSNappwEGD5he433Sd8FSv/PCNnxQ/BlPBynbGvQOhw1F Zoyw2y0nMOtV31X9KN0vi5jXjEzCgLyp4BsLm/70yl0LQIPr14E2xMSC3aV89BEK/vI3 23+CvmsDYzgom9/d+LqQmEJwHKi9lC/mlX68d2PWQv8AjYW7nXs5azXpCgmVC/c9b5g8 334g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xm/lnQOuqLkXzG+/WtR0Hr+YFtvpzTyoqD701kS4qkY=; b=lpluAuMY0F9NJe0/xl98mzDc35Q2VtFjz3r0Q8b2y5JW6BY0kJjeGDe94XKYhNSQby QwSOCIpaAs6RSYpmekPaPEvXZCnJ1tCqHqCthy1cMx1eeGOuvP2eEsLAlc/GXiXfftg+ kVByEtWCs01trarreix++uXtjN39VtlYI/Ho+GvyU8AWMUfJRrLavj3P28hUeDaHB0J+ /8dXTIcD94707Ro7CfT5/NbYiTvPqZFGgYAnrfEQb9DvwpGfNUMEpxOR3BCp++brpkzi lKf4RJGeVqoXi+L+hBPMlEDyJWU7P4YCZ+H4n0J2FtzevrUpGujLvhLQf/TU0tXli63w l9yA==
X-Gm-Message-State: AODbwcBTuybXGjWLO3XAVj6cUnU7pIbB7pyGlc1QYyCD191X+WpbFRbx TifKIWfK6NGwEPCdlKY+mp5qPMjOUNRk
X-Received: by 10.223.142.135 with SMTP id q7mr8327185wrb.180.1494956613068; Tue, 16 May 2017 10:43:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.179.68 with HTTP; Tue, 16 May 2017 10:43:32 -0700 (PDT)
In-Reply-To: <83ddc562-aca3-7525-b5d6-714d2b84ae97@item.ntnu.no>
References: <83ddc562-aca3-7525-b5d6-714d2b84ae97@item.ntnu.no>
From: Richard Barnes <rlb@ipv.sx>
Date: Tue, 16 May 2017 13:43:32 -0400
Message-ID: <CAL02cgRGSDc9wqxYaWObnh5Aes2m8799rXOz2BPRK8_9ikd21A@mail.gmail.com>
To: Britta Hale <britta.hale@item.ntnu.no>
Cc: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="f403045f4ec4e0a2f9054fa7b55b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/z8gdhyt5wxBVpIXExbrQOM0CIMw>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 17:48:32 -0000

--f403045f4ec4e0a2f9054fa7b55b
Content-Type: text/plain; charset="UTF-8"

On Mon, May 15, 2017 at 11:16 AM, Britta Hale <britta.hale@item.ntnu.no>
wrote:

> On the Sunday 30/05 TLS:DIV workshop there was mention of the
> EndOfEarlyData message and its status as a handshake message or alert
> message.
>
> The main argument mentioned for making EndOfEarlyData a handshake
> message is that alert messages usually signal "abortive closure of the
> connection" (e.g. fatal alerts). Having an EndOfEarlyData alert could be
> misleading (i.e. possibly implying that a session is ending instead of
> beginning).
>
> However, this intuition is incorrect. Alerts signal the end-of-use of
> keys, not the prohibition of further communication under other keys.
> Keys should be deleted and no further data should be sent on the
> connection. For TLS 1.2 (7.2.1) it is even made explicitly clear that
> session resumption is possible after a close_notify send/receipt.
>
> It seems natural then to make EndOfEarlyData an alert message,
> signifying end of 0-RTT data. Specifically, the 0-RTT handshake is
> followed by 0-RTT data and finally an EndOfEarlyData alert to end use of
> that key, while in parallel the remainder of the handshake and
> subsequent session key act almost as a further resumption (i.e. under a
> different key).
>

As has been pointed out elsewhere, other key changes are signaled with a
handshake message (KeyUpdate), so using a handshake message seems more
natural from a protocol point of view.


> Making EndOfEarlyData an alert message also allows for clear key
> boundaries: if EndOfEarlyData is a handshake message, then we are mixing
> messages protected by the the client_early_traffic_secret and
> handshake_traffic_secret in the Finished message.
>

The Finished MAC already mixes data from two different traffic keys
(client/server) and data aren't encrypted at all (ClientHello /
ServerHello).  If you want to argue that the client and server handshake
keys are related by both being derived from the handshake_traffic_secret,
you could just as well argue that all three keys are related by all being
derived from EarlySecret.

--Richard



>
> ---
> Britta
>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Mon, May 15, 2017 at 11:16 AM, Britta Hale <span dir=3D"ltr">&lt;<a =
href=3D"mailto:britta.hale@item.ntnu.no" target=3D"_blank">britta.hale@item=
.ntnu.no</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On the S=
unday 30/05 TLS:DIV workshop there was mention of the<br>
EndOfEarlyData message and its status as a handshake message or alert<br>
message.<br>
<br>
The main argument mentioned for making EndOfEarlyData a handshake<br>
message is that alert messages usually signal &quot;abortive closure of the=
<br>
connection&quot; (e.g. fatal alerts). Having an EndOfEarlyData alert could =
be<br>
misleading (i.e. possibly implying that a session is ending instead of<br>
beginning).<br>
<br>
However, this intuition is incorrect. Alerts signal the end-of-use of<br>
keys, not the prohibition of further communication under other keys.<br>
Keys should be deleted and no further data should be sent on the<br>
connection. For TLS 1.2 (7.2.1) it is even made explicitly clear that<br>
session resumption is possible after a close_notify send/receipt.<br>
<br>
It seems natural then to make EndOfEarlyData an alert message,<br>
signifying end of 0-RTT data. Specifically, the 0-RTT handshake is<br>
followed by 0-RTT data and finally an EndOfEarlyData alert to end use of<br=
>
that key, while in parallel the remainder of the handshake and<br>
subsequent session key act almost as a further resumption (i.e. under a<br>
different key).<br></blockquote><div><br></div><div>As has been pointed out=
 elsewhere, other key changes are signaled with a handshake message (KeyUpd=
ate), so using a handshake message seems more natural from a protocol point=
 of view.<br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Making EndOfEarlyData an alert message also allows for clear key<br>
boundaries: if EndOfEarlyData is a handshake message, then we are mixing<br=
>
messages protected by the the client_early_traffic_secret and<br>
handshake_traffic_secret in the Finished message.<br></blockquote><div><br>=
</div><div>The Finished MAC already mixes data from two different traffic k=
eys (client/server) and data aren&#39;t encrypted at all (ClientHello / Ser=
verHello).=C2=A0 If you want to argue that the client and server handshake =
keys are related by both being derived from the handshake_traffic_secret, y=
ou could just as well argue that all three keys are related by all being de=
rived from EarlySecret.<br></div><div><br></div><div>--Richard<br></div><di=
v><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
---<br>
Britta<br>
<br>
<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br></blockquote></div><br></div></div>

--f403045f4ec4e0a2f9054fa7b55b--


From nobody Tue May 16 10:50:12 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C01412946A for <tls@ietfa.amsl.com>; Tue, 16 May 2017 10:50:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 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_NONE=-0.0001, URIBL_BLOCKED=0.001] 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 6Lv3aIRqGig0 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 10:50:07 -0700 (PDT)
Received: from mail-yb0-x236.google.com (mail-yb0-x236.google.com [IPv6:2607:f8b0:4002: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 23160129489 for <tls@ietf.org>; Tue, 16 May 2017 10:45:21 -0700 (PDT)
Received: by mail-yb0-x236.google.com with SMTP id p143so37183809yba.2 for <tls@ietf.org>; Tue, 16 May 2017 10:45:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=NO2YHmgDavdX8LogEdBbFjVeZfWets18VjC8+abdC/s=; b=EXLN8WuRjR9dvfCqkmlDrda2u2/nVSNIUcOwOIbkDipE7q7ze0bAP7lZw5WvyHBDTY ozsc5K7+WIHgMB1VdI8zAm5X5esG+F0X2z2rS6EcQ3vvrlxjfhXDFjefC0Ca6FKvdXy7 5gQe/g+DkQXZpWdWy0wxH+O/sFJsBx8iFKHUxEDdrNVmBuirrU3lNvWL5PoCb6HODfih Empf1Id/kb/GRpvIUGP83JGqHsxJ2VchmV4dFbogVMEkjJaVG+mqbWRmeIpgZ0478R45 Wpl09aoNVGGl4Pd99Yd+AWoSD4cWgpmz4Tu5UtkWS5ZxORZpp/hYSeJCppRccjlcxpee MbNQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=NO2YHmgDavdX8LogEdBbFjVeZfWets18VjC8+abdC/s=; b=PTkPkOH4qveSi+ZdDE8egnLNPlma4AZGfXwZyJf58/K0ufW+KIHyq2QdG3Z37c1RSX pRmo2NCZzVYfzIgdxNhjoMUVYqDxGmLW+qF9c60W+Jylz8OAMUxvcmAnIP/9P3mRH6eq MYQkGc38asHtFH/FbWpVWZHYy940iWLjKeN+b9GEu/USHgcR6H5noQJ6kurBXNYUHdlp /KPLzu6CqltlLjRTAdCbHo9pMxWi3+/VKf29i4xpMxrDV+faTlMFABbRDntsBCBtZqh0 F03L/EE8Kw1iKpgoejgayX50OEJvKiz+WoNLt7yLTSoRAs1UUwsA5UyuXqX0iv9+Pwd5 Qt/g==
X-Gm-Message-State: AODbwcAI9hWXQIeTSdy/nzmFicrLVWMdwrSaji9SJR9kihTZCLhwbCmi 6SxNix9aO32z+KH3zGOk8xGHiBc7mA==
X-Received: by 10.37.174.24 with SMTP id a24mr10744496ybj.50.1494956720258; Tue, 16 May 2017 10:45:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Tue, 16 May 2017 10:44:39 -0700 (PDT)
In-Reply-To: <CAHbuEH7djXnZv-SvOFyLxTb6UWCKj8Hn0ZMS3ccgvviuPuPFKQ@mail.gmail.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com> <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com> <CABcZeBPGK9BguF6OJo=QT3Sx1mLwBQJhh4JiBkAmws5umvctSg@mail.gmail.com> <0ED5F216-365D-432E-B390-D95014ED5676@vigilsec.com> <CABcZeBPnLSbNySpRoGd8gQNBDf9jAEzX8eG6WC96MTmoqdpJHA@mail.gmail.com> <45BECF9F-0BBD-4E2D-B517-77709C0EAC9F@vigilsec.com> <CAHbuEH7djXnZv-SvOFyLxTb6UWCKj8Hn0ZMS3ccgvviuPuPFKQ@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 16 May 2017 10:44:39 -0700
Message-ID: <CABcZeBOjK_zumDd3XyNDF5TM5ckkpFoHEzxWb_H8=cF4N-CxtQ@mail.gmail.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Cc: Russ Housley <housley@vigilsec.com>, IETF TLS <tls@ietf.org>
Content-Type: multipart/alternative; boundary="f403045da3584499a4054fa7bccb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/IN4mE-5cX6TL51tTL7feBDidwYc>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 17:50:10 -0000

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

On Tue, May 16, 2017 at 8:36 AM, Kathleen Moriarty <
kathleen.moriarty.ietf@gmail.com> wrote:

> On Tue, May 16, 2017 at 11:31 AM, Russ Housley <housley@vigilsec.com>
> wrote:
> >
> > On May 16, 2017, at 11:23 AM, Eric Rescorla <ekr@rtfm.com> wrote:
> >
> >
> >
> > On Tue, May 16, 2017 at 8:17 AM, Russ Housley <housley@vigilsec.com>
> wrote:
> >>
> >>
> >> On May 15, 2017, at 7:01 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> >>
> >>
> >>
> >> On Mon, May 15, 2017 at 12:38 PM, Russ Housley <housley@vigilsec.com>
> >> wrote:
> >>>
> >>> Just commenting on Section 4.2 =E2=80=A6
> >>>
> >>> >
> >>> > > 3. Section 4.2.
> >>> > >
> >>> > >    "In general, detailed certificate validation procedures are ou=
t
> of
> >>> > >    scope for TLS (see [RFC5280]).  This section provides
> TLS-specific
> >>> > >    requirements."
> >>> > >
> >>> > > I don't see an explanation of why it is out-of-scope.  The
> reference
> >>> > > is just to RFC5280, which seems odd.  I would expect the referenc=
e
> to
> >>> > > be to something that explains why it is out-of-scope.
> >>>
> >>> I think the the separation of certificate path validation from the TL=
S
> >>> protocol is correct, but perhaps this can be explained differently.
> Perhaps
> >>> the approach should be that TLS depends upon certificate path
> validation as
> >>> described in RFC 5280.
> >>>
> >>> > In general, TLS's policy (dating back to TLS 1.0) has been that the
> >>> > job of TLS is to carry the certificates and other authentication
> >>> > material but to leave it up to other parts of the system to
> >>> > interpret them. It's been a long time since that decision was made,
> >>> > but from my perspective, there are a number of major reasons:
> >>> >
> >>> > 1. Most of PKI processing (path construction, etc.) is generic and
> >>> >    not specific to TLS. What is specific to TLS is:
> >>> >
> >>> >    * How to indicate what your PKI capabilities are
> >>> >      (see, e.g, S 4.2.4 and 4.3.2)
> >>> >    * How to stuff the PKI material into the protocol
> >>> >      (principally S 4.4.2)
> >>> >    * How to determine whether a given certificate is suitable for
> >>> >      use in TLS 4.4.4.2 and 4.3.2.1).
> >>> >
> >>> >    So we want to outsource the generic PKI part
> >>> >
> >>> >
> >>> > 2. It matches the software architecture that people often use,
> >>> >    which is to have a TLS stack but separate PKI validation. For
> >>> >    instance, Firefox uses NSS for TLS but moz::pkix for
> >>> >    validation. Similarly, Chrome uses BoringSSL for TLS
> >>> >    but the system PKI libraries for validation.
> >>> >
> >>> >
> >>> > In this case, I think that this text was more intended to
> >>> > say "and go read 5280 to learn how to do this". To that end,
> >>> > I suggest we say"
> >>> >
> >>> >
> >>> >     "In general detailed certificate validation procedures are out =
of
> >>> >     scope for TLS. [RFC5280] provides general procedures for
> >>> >     certificate validation. This section provides TLS-specific
> >>> >     requirements.=E2=80=9D
> >>>
> >>> I agree with the reasoning, however the dependency on RFC 5280 should
> be
> >>> called out in a MUST statement.  I suggest something like:
> >>>
> >>>     "TLS depends on certificate path validation, and a conformant
> >>>     TLS implementation MUST implement certificate paths validation
> >>>     in a manner that achieves the same result as [RFC5280]. This
> >>>     section provides TLS-specific requirements.=E2=80=9D
> >>>
> >>> Note that RFC 5280 is already a normative reference.
> >>
> >>
> >> A MUST here would be a pretty material change to historical TLS
> practice.
> >> As Viktor says, there are TLS-using applications that just don't
> validate
> >> the cert via 5280 at all.
> >>
> >>
> >> I think we want to say that if the certificates are used, then the
> >> certification path MUST be validated in a manner that is compatible wi=
th
> >> Internet X.509 certificate profile [RFC5280]; however, other approache=
s
> to
> >> validation of the public key, such as the DANE TLSA resource record
> >> [RFC6698], are also acceptable.
> >
> >
> > I can see how you would want to say that, but it's not really consisten=
t
> > either
> > with historical practice or with the way that other standards track RFC=
s
> use
> > TLS
> > with certificates (see RFC 5763).
> >
> >
> > Actually, that is a great example.  I accept the need for loose couplin=
g.
>
> OK, does that put us back to the suggested wording:
>
>     "TLS depends on certificate path validation, and a conformant
>      TLS implementation MUST implement certificate paths validation
>      in a manner that achieves the same result as [RFC5280]. This
>      section provides TLS-specific requirements.=E2=80=9D
>

Hmm... I don't think so. Wouldn't the fingerprint-matching prescribed by
5763
contradict this?

-Ekr


> For any developers following, does this help enough with any
> interoperability questions?
>
> Thanks,
> Kathleen
>
> >
> > Russ
> >
>
>
>
> --
>
> Best regards,
> Kathleen
>

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Tue, May 16, 2017 at 8:36 AM, Kathleen Moriarty <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:kathleen.moriarty.ietf@gmail.com" target=3D"_blank">kathlee=
n.moriarty.ietf@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex"><div class=3D"HOEnZb"><div class=3D"h5">On Tue, May 16, 2017 at 11:3=
1 AM, Russ Housley &lt;<a href=3D"mailto:housley@vigilsec.com">housley@vigi=
lsec.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On May 16, 2017, at 11:23 AM, Eric Rescorla &lt;<a href=3D"mailto:ekr@=
rtfm.com">ekr@rtfm.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, May 16, 2017 at 8:17 AM, Russ Housley &lt;<a href=3D"mailto:ho=
usley@vigilsec.com">housley@vigilsec.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On May 15, 2017, at 7:01 PM, Eric Rescorla &lt;<a href=3D"mailto:e=
kr@rtfm.com">ekr@rtfm.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, May 15, 2017 at 12:38 PM, Russ Housley &lt;<a href=3D"mail=
to:housley@vigilsec.com">housley@vigilsec.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Just commenting on Section 4.2 =E2=80=A6<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; &gt; 3. Section 4.2.<br>
&gt;&gt;&gt; &gt; &gt;<br>
&gt;&gt;&gt; &gt; &gt;=C2=A0 =C2=A0 &quot;In general, detailed certificate =
validation procedures are out of<br>
&gt;&gt;&gt; &gt; &gt;=C2=A0 =C2=A0 scope for TLS (see [RFC5280]).=C2=A0 Th=
is section provides TLS-specific<br>
&gt;&gt;&gt; &gt; &gt;=C2=A0 =C2=A0 requirements.&quot;<br>
&gt;&gt;&gt; &gt; &gt;<br>
&gt;&gt;&gt; &gt; &gt; I don&#39;t see an explanation of why it is out-of-s=
cope.=C2=A0 The reference<br>
&gt;&gt;&gt; &gt; &gt; is just to RFC5280, which seems odd.=C2=A0 I would e=
xpect the reference to<br>
&gt;&gt;&gt; &gt; &gt; be to something that explains why it is out-of-scope=
.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I think the the separation of certificate path validation from=
 the TLS<br>
&gt;&gt;&gt; protocol is correct, but perhaps this can be explained differe=
ntly.=C2=A0 Perhaps<br>
&gt;&gt;&gt; the approach should be that TLS depends upon certificate path =
validation as<br>
&gt;&gt;&gt; described in RFC 5280.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt; In general, TLS&#39;s policy (dating back to TLS 1.0) has=
 been that the<br>
&gt;&gt;&gt; &gt; job of TLS is to carry the certificates and other authent=
ication<br>
&gt;&gt;&gt; &gt; material but to leave it up to other parts of the system =
to<br>
&gt;&gt;&gt; &gt; interpret them. It&#39;s been a long time since that deci=
sion was made,<br>
&gt;&gt;&gt; &gt; but from my perspective, there are a number of major reas=
ons:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; 1. Most of PKI processing (path construction, etc.) is ge=
neric and<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 not specific to TLS. What is specific to TLS=
 is:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 * How to indicate what your PKI capabilities=
 are<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 (see, e.g, S 4.2.4 and 4.3.2)<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 * How to stuff the PKI material into the pro=
tocol<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 (principally S 4.4.2)<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 * How to determine whether a given certifica=
te is suitable for<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 use in TLS 4.4.4.2 and 4.3.2.1).<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 So we want to outsource the generic PKI part=
<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; 2. It matches the software architecture that people often=
 use,<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 which is to have a TLS stack but separate PK=
I validation. For<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 instance, Firefox uses NSS for TLS but moz::=
pkix for<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 validation. Similarly, Chrome uses BoringSSL=
 for TLS<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 but the system PKI libraries for validation.=
<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; In this case, I think that this text was more intended to=
<br>
&gt;&gt;&gt; &gt; say &quot;and go read 5280 to learn how to do this&quot;.=
 To that end,<br>
&gt;&gt;&gt; &gt; I suggest we say&quot;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0&quot;In general detailed certificate =
validation procedures are out of<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0scope for TLS. [RFC5280] provides gene=
ral procedures for<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0certificate validation. This section p=
rovides TLS-specific<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0requirements.=E2=80=9D<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I agree with the reasoning, however the dependency on RFC 5280=
 should be<br>
&gt;&gt;&gt; called out in a MUST statement.=C2=A0 I suggest something like=
:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0&quot;TLS depends on certificate path valid=
ation, and a conformant<br>
&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0TLS implementation MUST implement certifica=
te paths validation<br>
&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0in a manner that achieves the same result a=
s [RFC5280]. This<br>
&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0section provides TLS-specific requirements.=
=E2=80=9D<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Note that RFC 5280 is already a normative reference.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; A MUST here would be a pretty material change to historical TLS pr=
actice.<br>
&gt;&gt; As Viktor says, there are TLS-using applications that just don&#39=
;t validate<br>
&gt;&gt; the cert via 5280 at all.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I think we want to say that if the certificates are used, then the=
<br>
&gt;&gt; certification path MUST be validated in a manner that is compatibl=
e with<br>
&gt;&gt; Internet X.509 certificate profile [RFC5280]; however, other appro=
aches to<br>
&gt;&gt; validation of the public key, such as the DANE TLSA resource recor=
d<br>
&gt;&gt; [RFC6698], are also acceptable.<br>
&gt;<br>
&gt;<br>
&gt; I can see how you would want to say that, but it&#39;s not really cons=
istent<br>
&gt; either<br>
&gt; with historical practice or with the way that other standards track RF=
Cs use<br>
&gt; TLS<br>
&gt; with certificates (see RFC 5763).<br>
&gt;<br>
&gt;<br>
&gt; Actually, that is a great example.=C2=A0 I accept the need for loose c=
oupling.<br>
<br>
</div></div>OK, does that put us back to the suggested wording:<br>
<span class=3D""><br>
=C2=A0 =C2=A0 &quot;TLS depends on certificate path validation, and a confo=
rmant<br>
=C2=A0 =C2=A0 =C2=A0TLS implementation MUST implement certificate paths val=
idation<br>
=C2=A0 =C2=A0 =C2=A0in a manner that achieves the same result as [RFC5280].=
 This<br>
=C2=A0 =C2=A0 =C2=A0section provides TLS-specific requirements.=E2=80=9D<br=
></span></blockquote><div><br></div><div>Hmm... I don&#39;t think so. Would=
n&#39;t the fingerprint-matching prescribed by 5763</div><div>contradict th=
is?</div><div><br></div><div>-Ekr</div><div><br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex"><span class=3D"">
<br>
</span>For any developers following, does this help enough with any<br>
interoperability questions?<br>
<br>
Thanks,<br>
<div class=3D"HOEnZb"><div class=3D"h5">Kathleen<br>
<br>
&gt;<br>
&gt; Russ<br>
&gt;<br>
<br>
<br>
<br>
--<br>
<br>
Best regards,<br>
Kathleen<br>
</div></div></blockquote></div><br></div></div>

--f403045da3584499a4054fa7bccb--


From nobody Tue May 16 11:22:07 2017
Return-Path: <davidben@google.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C9FB12EC40 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 11:22:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=chromium.org
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 t1Z0s2lNp2iw for <tls@ietfa.amsl.com>; Tue, 16 May 2017 11:22:04 -0700 (PDT)
Received: from mail-pg0-x236.google.com (mail-pg0-x236.google.com [IPv6:2607:f8b0:400e:c05::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 E5A0012EC47 for <tls@ietf.org>; Tue, 16 May 2017 11:17:12 -0700 (PDT)
Received: by mail-pg0-x236.google.com with SMTP id u187so80134704pgb.0 for <tls@ietf.org>; Tue, 16 May 2017 11:17:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=1q04h+FllPT61iLECWHREFsBvzo8Jle8fCJz5o1UpiA=; b=RD0iGiBcAvLE6vkJk3I8htAqpUCYcL17nrXvHcy19FK7Ex+Met9zISEKcRbfCwu+jL LfBfILsv+4iQwJhONeUPKpGlcBv697TIWkKfQyhxFVjj3AWxgn/qzpEkuWiTV0i2vsxb 51CcYF6Yugm+hm5XclGivnauX9D3rkXfkV8R4=
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; bh=1q04h+FllPT61iLECWHREFsBvzo8Jle8fCJz5o1UpiA=; b=fm6yhnd7b7CNvJmkZOLbUKj08Ls9IUUH8PXyiSPUKed7MxI5FQ58CiuNWs1BuCQLAa iF+WrXYg03Hl8YPG0Iv+L8foAajR+waiJUjOk0J1J4tCSt0zNrfh9FTNilVE/Z7LGTkV MZ9jMAjhG6suY/IGYaik5EpVQOPsSQ2Yd7BI0Z/eUkXNfNRWuBGzoN733MsiQ3OO96uG YiSF+6pqf8//XfNAadS8r/D5IPvAgIBKz/24/WVyVvVrAK2DwENkn03Zf7HMirWz7DUw WBRfro7ofmuFMTN3BQzefZRR6RpS95zQEmxNMI+Vf7lHtisa07UhNrjaY+TFFfoOu+m+ K2WA==
X-Gm-Message-State: AODbwcD2PLxAKpEJTUr0ZxBloxBVQg5fIw4EzegY/9N/usDYttV8GXn9 qqC1uWbv0T/vWeM8ujIEqL2G52f4+lyT
X-Received: by 10.99.115.87 with SMTP id d23mr6115868pgn.155.1494958632236; Tue, 16 May 2017 11:17:12 -0700 (PDT)
MIME-Version: 1.0
References: <11E2F0BE-9F26-455F-9C99-E2B77245EF62@sn3rd.com> <7ccc5e9962dc4a4aa8fa3983eb6b122b@usma1ex-dag1mb1.msg.corp.akamai.com>
In-Reply-To: <7ccc5e9962dc4a4aa8fa3983eb6b122b@usma1ex-dag1mb1.msg.corp.akamai.com>
From: David Benjamin <davidben@chromium.org>
Date: Tue, 16 May 2017 18:17:00 +0000
Message-ID: <CAF8qwaCSW1aZv5ko3rtOxt-=eEi8-gYX-ju2v+Dx3hoc2h=3Cw@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>, Sean Turner <sean@sn3rd.com>, "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="f403045c76aa3ade7f054fa82edd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/4wPjAbBd_5XjF_0-_Cc3_eWU3sM>
Subject: Re: [TLS] WG Call for adoption of draft-ghedini-tls-certificate-compression
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 18:22:06 -0000

--f403045c76aa3ade7f054fa82edd
Content-Type: text/plain; charset="UTF-8"

I too am in favor and willing to review it.

On Tue, May 16, 2017 at 9:25 AM Salz, Rich <rsalz@akamai.com> wrote:

> In favor, will review.
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr">I too am in favor and willing to review it.<br><br><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr">On Tue, May 16, 2017 at 9:25 AM Salz, =
Rich &lt;<a href=3D"mailto:rsalz@akamai.com">rsalz@akamai.com</a>&gt; wrote=
:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex">In favor, will review.<br>
<br>
_______________________________________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/tls</a><br>
</blockquote></div></div>

--f403045c76aa3ade7f054fa82edd--


From nobody Tue May 16 11:35:04 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE9B012EC07 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 11:35:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.901
X-Spam-Level: 
X-Spam-Status: No, score=-2.901 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 oiW-20pQzcT2 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 11:35:01 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BFCBD12EC9C for <tls@ietf.org>; Tue, 16 May 2017 11:30:32 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTP id 3791220051C22; Tue, 16 May 2017 11:30:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=3csPntfzTi/feW /VTT44zoVBY8s=; b=alIagqhH3a4AnkGY2M8vO09iULENWs20aqpTEtqRPY7ZJ6 qJqt2PEeIlIrzrkWFe3XnCl/hiiAy6rdb4wWv3N5IiVVE07JpXNrAdUtRTxEMezD vFEZLYZEx2fikHsnx93WoHEWF2xqP3YTn0x00yWuglTKAFKUApDBabQ437tpk=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTPSA id CF59320051C2E; Tue, 16 May 2017 11:30:31 -0700 (PDT)
Date: Tue, 16 May 2017 13:30:30 -0500
From: Nico Williams <nico@cryptonector.com>
To: Richard Barnes <rlb@ipv.sx>
Cc: Britta Hale <britta.hale@item.ntnu.no>, "<tls@ietf.org>" <tls@ietf.org>
Message-ID: <20170516183029.GH10188@localhost>
References: <83ddc562-aca3-7525-b5d6-714d2b84ae97@item.ntnu.no> <CAL02cgRGSDc9wqxYaWObnh5Aes2m8799rXOz2BPRK8_9ikd21A@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAL02cgRGSDc9wqxYaWObnh5Aes2m8799rXOz2BPRK8_9ikd21A@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/JYw1SpRAWsGIZTaL_LBTH-wUbBY>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 18:35:03 -0000

On Tue, May 16, 2017 at 01:43:32PM -0400, Richard Barnes wrote:
> As has been pointed out elsewhere, other key changes are signaled with a
> handshake message (KeyUpdate), so using a handshake message seems more
> natural from a protocol point of view.

And as long as the record type goes in the clear, sending these sorts of
messages all with the same record type (handshake) seems best from a
traffic analysis p.o.v.

Nico
-- 


From nobody Tue May 16 11:37:59 2017
Return-Path: <christopherwood07@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1818712EC92 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 11:37:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.749
X-Spam-Level: 
X-Spam-Status: No, score=-1.749 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 R8MGSpRU3wzs for <tls@ietfa.amsl.com>; Tue, 16 May 2017 11:37:57 -0700 (PDT)
Received: from mail-ua0-x232.google.com (mail-ua0-x232.google.com [IPv6:2607:f8b0:400c:c08::232]) (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 5737F129B00 for <tls@ietf.org>; Tue, 16 May 2017 11:33:31 -0700 (PDT)
Received: by mail-ua0-x232.google.com with SMTP id e55so105613942uaa.2 for <tls@ietf.org>; Tue, 16 May 2017 11:33:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IxfHYSNCbsg1GtJe8383lkMtrbrtPGkmzrquOsqrFeE=; b=DtEx98Jrp6HVoapalCdajXfjr9R3Ox0ZbizPuMSSGl8fdNjYXJMJKBo0GEGdBjguzW A4wJkaEcSuZRp5VmxpusMdqzO7vFr912ONZOVPjpJPPwIUDj7xZR0FxansXsQJN/EXWx 5/jFgXFTBkminnsYQ/AHW2iC5mogXraTiuerk/H51sSykKm0Zun9JWuPEDcYkjJznyqT 1C2jAVLua7cRiviBOdrXcn0AGIqAUj0w7AIfx0e63+xxoBhGJfeBPNkTYw4X8EADDEYr n6ztEBg2f92GedfOwn9sNI4440paJQ0TI5lE4KwJqVodcehPTR/skwGPZdUhOrlgnHDI Q79Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IxfHYSNCbsg1GtJe8383lkMtrbrtPGkmzrquOsqrFeE=; b=sk4f1iyzDuxz8nX87PfekblChoCMQ99Osb/ThHVXWY+9xfKZ5NA5snzuAs9/r19sfh YYaUQPqnydpOx5PJL6Xy1X7NhhdmKTlNIKTYluLs73JLxGIo+0/DIztiK0HwXxgeckhD 6hTxezuUgz514TIeD6g6z9cSBKiP2/GG2gANMOHEyvky+ZJ9dczSLORZjxXxjFS6h6EY AlJ5Cksj8OMHrcSZYoGgUltfuV5N0sq8gla7GmZO1B7FoI3H/uasQ2jAJO5FSb2jW8BJ y9EJqHXyRvNXVQzFMyMUDuOVef3EEVKpW1H/WOZ0JQRZx1xgEUkaT+WIZ7kNdgA31X4g kJaw==
X-Gm-Message-State: AODbwcBnZ0H17HHTPKngTdqPZMd6FSHcmDPmMNP8knZX8aKj6SbJnrAg 10D0McZsg0xvc9LTaE3hR/M/XMc8Ug==
X-Received: by 10.176.23.41 with SMTP id j41mr6893381uaf.32.1494959610371; Tue, 16 May 2017 11:33:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.159.48.19 with HTTP; Tue, 16 May 2017 11:33:30 -0700 (PDT)
In-Reply-To: <CAF8qwaCSW1aZv5ko3rtOxt-=eEi8-gYX-ju2v+Dx3hoc2h=3Cw@mail.gmail.com>
References: <11E2F0BE-9F26-455F-9C99-E2B77245EF62@sn3rd.com> <7ccc5e9962dc4a4aa8fa3983eb6b122b@usma1ex-dag1mb1.msg.corp.akamai.com> <CAF8qwaCSW1aZv5ko3rtOxt-=eEi8-gYX-ju2v+Dx3hoc2h=3Cw@mail.gmail.com>
From: Christopher Wood <christopherwood07@gmail.com>
Date: Tue, 16 May 2017 11:33:30 -0700
Message-ID: <CAO8oSX=Um8c_1_sZkbChy2eXBkb-NCL8xN29FTfa4XmsoJdHMw@mail.gmail.com>
To: David Benjamin <davidben@chromium.org>
Cc: "Salz, Rich" <rsalz@akamai.com>, Sean Turner <sean@sn3rd.com>, "<tls@ietf.org>" <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/eFHKDOBREOay7yTOBDefQWKv5A0>
Subject: Re: [TLS] WG Call for adoption of draft-ghedini-tls-certificate-compression
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 18:37:58 -0000

I am in favor and willing to review it.

Best,
Chris

On Tue, May 16, 2017 at 11:17 AM, David Benjamin <davidben@chromium.org> wrote:
> I too am in favor and willing to review it.
>
>
> On Tue, May 16, 2017 at 9:25 AM Salz, Rich <rsalz@akamai.com> wrote:
>>
>> In favor, will review.
>>
>> _______________________________________________
>> TLS mailing list
>> TLS@ietf.org
>> https://www.ietf.org/mailman/listinfo/tls
>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>


From nobody Tue May 16 12:05:25 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD3DD129526 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 12:05:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 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_NONE=-0.0001, URIBL_BLOCKED=0.001] 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 U0AHGgJCICwX for <tls@ietfa.amsl.com>; Tue, 16 May 2017 12:05:21 -0700 (PDT)
Received: from mail-yb0-x235.google.com (mail-yb0-x235.google.com [IPv6:2607:f8b0:4002:c09::235]) (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 319E712EC82 for <tls@ietf.org>; Tue, 16 May 2017 12:00:39 -0700 (PDT)
Received: by mail-yb0-x235.google.com with SMTP id j17so37757576ybj.0 for <tls@ietf.org>; Tue, 16 May 2017 12:00:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=EOQzo3oxnQ3ArRc45bddyWvFIID2XgcYwIRKM5+uR2k=; b=IB+ZxtjAZtLoPQ/2JB5I9+H4Ojcl6L8mDm6mRA9HzW3e4RzsRZDogGoTiGE9MTGJWa rYL0tzZz2AJoDY/FThK9Tok5nAeq/PDjvLIWsbrO4wKZIU65y5bAKLiB9ePAY1J9TqRD FgCkwQZ6EiTldrWZCe6xnxWJFGor0kERiz4QYXLcW6YHIIcP+hNOMlLg2+r7iZMbm6++ Vwte4E76pf9uCZxUP3VnL8id1bG23ieA+mwyDpd8JrYW9jz5bDGQMyO1iademAPkB5b3 rWVBAxy0srq51oTO4L/2C1WA7MhehM7ljrSoXMhAzt47EJUdsL55bXgyA5nVZIfvp1ZO JaDg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=EOQzo3oxnQ3ArRc45bddyWvFIID2XgcYwIRKM5+uR2k=; b=HvpPF+mWL62IyN1N2FdAmf7zKZxA6/879/kJVqhcla1sv7dM77oVCh3IBKYoC3SUq6 6cJ5nYy8LrgEiot3r5DBUgJ6qaxoNS7lH8QiamAlEanzVfa9TxPR3nQG31GwybSHjHxP a8h/d6gDy1F2wngCe4lnQS6M8sdw8HKKdq29VEuP8Oo/pQwY5Z8iwODXLENuRDWY0Cbz Z+CN6rhWfgvQfFkKmquOyzSVJ2MDRx6i3xfROKh4dRqFO6ag+jhZHUl46fpPZgMua2ef +imjkmXmhMZdVcL2EV4djmziOGnreRCJtwlat8zI/J1e0LddyhKQjL7CtErY/ZJpnISy 7Xsw==
X-Gm-Message-State: AODbwcDhM3ujeWk98i4IFekHRIeya2stx393pCWmQ49O3XccRmFtqpum MjiwuGc0VfUi1YLmUDIjMIJOrFtYfQ8o
X-Received: by 10.37.41.130 with SMTP id p124mr11367915ybp.24.1494961238385; Tue, 16 May 2017 12:00:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Tue, 16 May 2017 11:59:57 -0700 (PDT)
In-Reply-To: <66025639-5ceb-021a-61c4-60620c402a6c@ntnu.no>
References: <66025639-5ceb-021a-61c4-60620c402a6c@ntnu.no>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 16 May 2017 11:59:57 -0700
Message-ID: <CABcZeBMu=9KPvmz-sDknXpa4Vjer=md=ZqsFqGd6WNEFdAxSdg@mail.gmail.com>
To: Britta Hale <britta.hale@ntnu.no>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c14d834914546054fa8c9d7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/1WSS03hH3_6v-WF5pMutFbqmjvY>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 19:05:23 -0000

--94eb2c14d834914546054fa8c9d7
Content-Type: text/plain; charset="UTF-8"

First, let me say I'm largely indifferent to this handshake versus alert
point, so if the WG wants to flip it back, I'm generally OK with that.
With that said, we recently implemented -20 and having it be
a handshake message is somewhat cleaner.


On Tue, May 16, 2017 at 8:30 AM, Britta Hale <britta.hale@ntnu.no> wrote:

> On the Sunday 30/05 TLS:DIV workshop there was mention of the
> EndOfEarlyData message and its status as a handshake message or alert
> message.
>
> The main argument mentioned for making EndOfEarlyData a handshake
> message is that alert messages usually signal "abortive closure of the
> connection" (e.g. fatal alerts). Having an EndOfEarlyData alert could be
> misleading (i.e. possibly implying that a session is ending instead of
> beginning).
>
> However, this intuition is incorrect. Alerts signal the end-of-use of
> keys, not the prohibition of further communication under other keys.
> Keys should be deleted and no further data should be sent on the
> connection.


This last sentence seems to reinforce the motivating intuition here,
namely that the alert signals the end of the *connection*, and so it's
odd to have EOED indicate a key change within a connection.



> For TLS 1.2 (7.2.1) it is even made explicitly clear that
> session resumption is possible after a close_notify send/receipt.
>

Indeed, but that's a session, not a connection


It seems natural then to make EndOfEarlyData an alert message,
> signifying end of 0-RTT data. Specifically, the 0-RTT handshake is
> followed by 0-RTT data and finally an EndOfEarlyData alert to end use of
> that key, while in parallel the remainder of the handshake and
> subsequent session key act almost as a further resumption (i.e. under a
> different key).
>

I can see how you could look at it this way, but I'm not sure that that's
the natural way to look at it. If you're not doing DH, then these are
very much derived from the same PSK and the same client-side
nonce.


Making EndOfEarlyData an alert message also allows for clear key
> boundaries: if EndOfEarlyData is a handshake message, then we are mixing
> messages protected by the the client_early_traffic_secret and
> handshake_traffic_secret in the Finished message.


Well, we also mix unencrypted traffic into the Finished, right? Does this
present a practical problem for analysis?

-Ekr

Britta
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr">First, let me say I&#39;m largely indifferent to this hand=
shake versus alert<div>point, so if the WG wants to flip it back, I&#39;m g=
enerally OK with that.</div><div>With that said, we recently implemented -2=
0 and having it be</div><div>a handshake message is somewhat cleaner.</div>=
<div><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, =
May 16, 2017 at 8:30 AM, Britta Hale <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:britta.hale@ntnu.no" target=3D"_blank">britta.hale@ntnu.no</a>&gt;</span>=
 wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex">On the Sunday 30/05 TLS:DIV works=
hop there was mention of the<br>
EndOfEarlyData message and its status as a handshake message or alert<br>
message.<br>
<br>
The main argument mentioned for making EndOfEarlyData a handshake<br>
message is that alert messages usually signal &quot;abortive closure of the=
<br>
connection&quot; (e.g. fatal alerts). Having an EndOfEarlyData alert could =
be<br>
misleading (i.e. possibly implying that a session is ending instead of<br>
beginning).<br>
<br>
However, this intuition is incorrect. Alerts signal the end-of-use of<br>
keys, not the prohibition of further communication under other keys.<br>
Keys should be deleted and no further data should be sent on the<br>
connection.</blockquote><div><br></div><div>This last sentence seems to rei=
nforce the motivating intuition here,</div><div>namely that the alert signa=
ls the end of the *connection*, and so it&#39;s</div><div>odd to have EOED =
indicate a key change within a connection.</div><div><br></div><div>=C2=A0<=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex">For TLS 1.2 (7.2.1) it is even made exp=
licitly clear that<br>
session resumption is possible after a close_notify send/receipt.<br></bloc=
kquote><div><br></div><div>Indeed, but that&#39;s a session, not a connecti=
on</div><div><br></div><div><br></div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It seems natural then to make EndOfEarlyData an alert message,<br>
signifying end of 0-RTT data. Specifically, the 0-RTT handshake is<br>
followed by 0-RTT data and finally an EndOfEarlyData alert to end use of<br=
>
that key, while in parallel the remainder of the handshake and<br>
subsequent session key act almost as a further resumption (i.e. under a<br>
different key).<br></blockquote><div><br></div><div>I can see how you could=
 look at it this way, but I&#39;m not sure that that&#39;s</div><div>the na=
tural way to look at it. If you&#39;re not doing DH, then these are</div><d=
iv>very much derived from the same PSK and the same client-side</div><div>n=
once.</div><div><br></div><div><br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Making EndOfEarlyData an alert message also allows for clear key<br>
boundaries: if EndOfEarlyData is a handshake message, then we are mixing<br=
>
messages protected by the the client_early_traffic_secret and<br>
handshake_traffic_secret in the Finished message.</blockquote><div><br></di=
v><div>Well, we also mix unencrypted traffic into the Finished, right? Does=
 this</div><div>present a practical problem for analysis?</div><div><br></d=
iv><div>-Ekr<br></div><div><br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Britta<br>
<br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</blockquote></div><br></div></div></div>

--94eb2c14d834914546054fa8c9d7--


From nobody Tue May 16 12:07:54 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5AA85128D6F for <tls@ietfa.amsl.com>; Tue, 16 May 2017 12:07:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] 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 d4juVTL3gEhu for <tls@ietfa.amsl.com>; Tue, 16 May 2017 12:07:50 -0700 (PDT)
Received: from mail-yw0-x233.google.com (mail-yw0-x233.google.com [IPv6:2607:f8b0:4002:c05::233]) (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 8880312EC58 for <tls@ietf.org>; Tue, 16 May 2017 12:02:37 -0700 (PDT)
Received: by mail-yw0-x233.google.com with SMTP id 203so57504718ywe.0 for <tls@ietf.org>; Tue, 16 May 2017 12:02:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1qrfOURrIHof44LfSjEK76MFOA/hbqICYQPo7qyZ5Xw=; b=ull6HJdQwFYmRnj+v/uWLQKQbzGBG1aUSklrtRYdppQh14MxeJpN23OssgXqu3+f/J 7MEz61Zb9lakPp4+WPkWrfnsIPh2IUggBGYqeLDYznA4qUcaPrDa3JB9n+vZx4qkCpo8 6WKgpy8rlaMUvQAa3TBneQC0LU9KEbMcgoOBIDraQu1prYID971cdDfKkp46x0Zd+fUs Ffht3XHIq5LTzBRegQvtILwma1MPawM/eZ49jDIlpQntrxEUziUBRBanQkKK33/2UIo2 ZuFQzGvQ1d6L2qZnIJj1vlI6UkrObUNKRvUgAOFUURTE3BjJsDD3HUUQFrRp1/1uw+yp 0voQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1qrfOURrIHof44LfSjEK76MFOA/hbqICYQPo7qyZ5Xw=; b=RD4UZ4O4l4TTKNCDOc3CEUI+L9TAKPCTbaPFAxVmGoaD5H2BmEk0UReAUYKX/iCLvn bWXzN3m514rHCHCP5bGUUVs3TvEsZ7Iaf6ecR7IbKq39Geg3WtDxEkrhLHiCq/S8IxBp zViJ52PnUBoc1Pv5jM7/A2U7e0p/QkT/Qjk6blZeFQfnrXnk7ZYybSNY5ChUTW7meBH2 yVDpntJ8A+qUpcmlmBmmM52h5ptdOpimYIoMYDeWL8PakA05PXAy5bcQeJRf6XrDIQsf +TRO/SxYZAVsGb3q1c6eJMLYzyGvkv80BK9EBOObYF4neHTpDvJvWIFIfEBX/C+J5WLE RdPg==
X-Gm-Message-State: AODbwcDg7PuG+HcUD9NEtnjMDUEy9q2qumzRdWG6MJWN7ylRqEwfpqRv pROG/+arCqgrk0xy7/HJCXwkTICTOjzZ
X-Received: by 10.129.146.210 with SMTP id j201mr11402152ywg.3.1494961356802;  Tue, 16 May 2017 12:02:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Tue, 16 May 2017 12:01:56 -0700 (PDT)
In-Reply-To: <CAHbuEH5AxUkT_Q5mJ6SrEWkY+GG3P1XNuD_QJX8kR9CfSWw+Xg@mail.gmail.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CABcZeBMMQ8kNWUA4Y6ssMw7h54fPbBxrLbgZtxSkYc7-fzypSA@mail.gmail.com> <9C0E15E5-E852-47E0-B9A6-F807034ECFB8@vigilsec.com> <CABcZeBPGK9BguF6OJo=QT3Sx1mLwBQJhh4JiBkAmws5umvctSg@mail.gmail.com> <0ED5F216-365D-432E-B390-D95014ED5676@vigilsec.com> <CABcZeBPnLSbNySpRoGd8gQNBDf9jAEzX8eG6WC96MTmoqdpJHA@mail.gmail.com> <45BECF9F-0BBD-4E2D-B517-77709C0EAC9F@vigilsec.com> <CAHbuEH7djXnZv-SvOFyLxTb6UWCKj8Hn0ZMS3ccgvviuPuPFKQ@mail.gmail.com> <854FCD7A-B4C7-4E7A-A45E-7EECAA5E856C@dukhovni.org> <CAHbuEH5AxUkT_Q5mJ6SrEWkY+GG3P1XNuD_QJX8kR9CfSWw+Xg@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 16 May 2017 12:01:56 -0700
Message-ID: <CABcZeBP8-J0JaatQjy3DTqr4G7VwdKRKk=OQHRJPgtMvBjhH+g@mail.gmail.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Cc: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c092a40a03c08054fa8d07f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/SOL2THT5bNfANGcqVX7qcLFPRSs>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 19:07:52 -0000

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

On Tue, May 16, 2017 at 9:49 AM, Kathleen Moriarty <
kathleen.moriarty.ietf@gmail.com> wrote:

> On Tue, May 16, 2017 at 12:37 PM, Viktor Dukhovni
> <ietf-dane@dukhovni.org> wrote:
> >
> >> On May 16, 2017, at 11:36 AM, Kathleen Moriarty <
> kathleen.moriarty.ietf@gmail.com> wrote:
> >>
> >> OK, does that put us back to the suggested wording:
> >>
> >>    "TLS depends on certificate path validation, and a conformant
> >>     TLS implementation MUST implement certificate paths validation
> >>     in a manner that achieves the same result as [RFC5280]. This
> >>     section provides TLS-specific requirements.=E2=80=9D
> >>
> >> For any developers following, does this help enough with any
> >> interoperability questions?
> >
> > TLS does not depend on certificate path validation.  Many TLS
> > *applications* rely PKIX certificate path validation (along with
> > RFC 6125 server identity verification), but TLS itself supports
> > various alternative authentication (and non-authentication) modes.
> >
> >    * PSK or SRP without certificates
> >    * Opportunistic unauthenticated TLS (perhaps anon-(EC)DH with TLS <=
=3D
> 1.2)
> >    * TOFU public key pinning
> >    * Static leaf key or leaf cert matching
> >    * RFC7250 raw public keys
> >    * DANE-EE(3) leaf certificate/key verification, without expiration
> >      or server name checks
> >    * DANE-EE(3) ... with name checks (where UKS attack are relevant)
> >    * DANE-TA(2) with RFC5280 chain verification, but the trust-anchor
> >      is part of the chain, and identified via DNS TLSA records.
> >    * PKIX-EE(1) which is RFC5280 + DANE leaf cert "constraint"
> >    * PKIX-TA(0) which is RFC5280 + DANE CA "constraint"
> >
> > Keeping in mind that many implementations of RFC5280 violate that
> specification
> > by interpreting EKUs in CA certificates to constrain the kinds of
> certificates
> > that the CA may issue.  That de-facto usage is I think much more widely
> implemented
> > than the far too complex X.509 policy constraints (RFC5280 4.2.1.11).
>
> Sorry, I grabbed the wrong text as I was ineffective at multi-tasking.
> I think we are back to the following text and would like to confirm
> that and make sure it is agreeable to the WG and implementers:
>
>     "In general detailed certificate validation procedures are out of
>     scope for TLS. [RFC5280] provides general procedures for
>     certificate validation. This section provides TLS-specific
>     requirements."
>
>
Yeah, I think so.



> There's also a thread that was discussing some interoperability
> problems related to validation and I'd like to see the resolution for
> that as well.
>

Matt has provided a PR for that that I'll be looking at this week.

Thanks,
-Ekr


> Thanks,
> Kathleen
>
> >
> > --
> >         Viktor.
> >
> > _______________________________________________
> > TLS mailing list
> > TLS@ietf.org
> > https://www.ietf.org/mailman/listinfo/tls
>
>
>
> --
>
> Best regards,
> Kathleen
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 16, 2017 at 9:49 AM, Kathleen Moriarty <span dir=3D"ltr">&l=
t;<a href=3D"mailto:kathleen.moriarty.ietf@gmail.com" target=3D"_blank">kat=
hleen.moriarty.ietf@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5">On Tue, May 16, 2017 at =
12:37 PM, Viktor Dukhovni<br>
&lt;<a href=3D"mailto:ietf-dane@dukhovni.org">ietf-dane@dukhovni.org</a>&gt=
; wrote:<br>
&gt;<br>
&gt;&gt; On May 16, 2017, at 11:36 AM, Kathleen Moriarty &lt;<a href=3D"mai=
lto:kathleen.moriarty.ietf@gmail.com">kathleen.moriarty.ietf@gmail.<wbr>com=
</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; OK, does that put us back to the suggested wording:<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 &quot;TLS depends on certificate path validation, and=
 a conformant<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0TLS implementation MUST implement certificate p=
aths validation<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0in a manner that achieves the same result as [R=
FC5280]. This<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0section provides TLS-specific requirements.=E2=
=80=9D<br>
&gt;&gt;<br>
&gt;&gt; For any developers following, does this help enough with any<br>
&gt;&gt; interoperability questions?<br>
&gt;<br>
&gt; TLS does not depend on certificate path validation.=C2=A0 Many TLS<br>
&gt; *applications* rely PKIX certificate path validation (along with<br>
&gt; RFC 6125 server identity verification), but TLS itself supports<br>
&gt; various alternative authentication (and non-authentication) modes.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 * PSK or SRP without certificates<br>
&gt;=C2=A0 =C2=A0 * Opportunistic unauthenticated TLS (perhaps anon-(EC)DH =
with TLS &lt;=3D 1.2)<br>
&gt;=C2=A0 =C2=A0 * TOFU public key pinning<br>
&gt;=C2=A0 =C2=A0 * Static leaf key or leaf cert matching<br>
&gt;=C2=A0 =C2=A0 * RFC7250 raw public keys<br>
&gt;=C2=A0 =C2=A0 * DANE-EE(3) leaf certificate/key verification, without e=
xpiration<br>
&gt;=C2=A0 =C2=A0 =C2=A0 or server name checks<br>
&gt;=C2=A0 =C2=A0 * DANE-EE(3) ... with name checks (where UKS attack are r=
elevant)<br>
&gt;=C2=A0 =C2=A0 * DANE-TA(2) with RFC5280 chain verification, but the tru=
st-anchor<br>
&gt;=C2=A0 =C2=A0 =C2=A0 is part of the chain, and identified via DNS TLSA =
records.<br>
&gt;=C2=A0 =C2=A0 * PKIX-EE(1) which is RFC5280 + DANE leaf cert &quot;cons=
traint&quot;<br>
&gt;=C2=A0 =C2=A0 * PKIX-TA(0) which is RFC5280 + DANE CA &quot;constraint&=
quot;<br>
&gt;<br>
&gt; Keeping in mind that many implementations of RFC5280 violate that spec=
ification<br>
&gt; by interpreting EKUs in CA certificates to constrain the kinds of cert=
ificates<br>
&gt; that the CA may issue.=C2=A0 That de-facto usage is I think much more =
widely implemented<br>
&gt; than the far too complex X.509 policy constraints (RFC5280 4.2.1.11).<=
br>
<br>
</div></div>Sorry, I grabbed the wrong text as I was ineffective at multi-t=
asking.<br>
I think we are back to the following text and would like to confirm<br>
that and make sure it is agreeable to the WG and implementers:<br>
<span class=3D""><br>
=C2=A0 =C2=A0 &quot;In general detailed certificate validation procedures a=
re out of<br>
=C2=A0 =C2=A0 scope for TLS. [RFC5280] provides general procedures for<br>
</span>=C2=A0 =C2=A0 certificate validation. This section provides TLS-spec=
ific<br>
=C2=A0 =C2=A0 requirements.&quot;<br>
<br></blockquote><div><br></div><div>Yeah, I think so.</div><div><br></div>=
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
There&#39;s also a thread that was discussing some interoperability<br>
problems related to validation and I&#39;d like to see the resolution for<b=
r>
that as well.<br></blockquote><div><br></div><div>Matt has provided a PR fo=
r that that I&#39;ll be looking at this week.</div><div><br></div><div>Than=
ks,</div><div>-Ekr</div><div><br></div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Kathleen<br>
<span class=3D"im HOEnZb"><br>
&gt;<br>
&gt; --<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Viktor.<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; TLS mailing list<br>
&gt; <a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferre=
r" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br>
<br>
<br>
</span><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
<br>
Best regards,<br>
Kathleen<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</div></div></blockquote></div><br></div></div>

--94eb2c092a40a03c08054fa8d07f--


From nobody Tue May 16 12:10:57 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 27B3312F17A for <tls@ietfa.amsl.com>; Tue, 16 May 2017 12:10:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] 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 L8LITR4PRnor for <tls@ietfa.amsl.com>; Tue, 16 May 2017 12:10:53 -0700 (PDT)
Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) (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 BD33012F257 for <tls@ietf.org>; Tue, 16 May 2017 12:05:38 -0700 (PDT)
Received: by mail-yw0-x234.google.com with SMTP id 203so57545848ywe.0 for <tls@ietf.org>; Tue, 16 May 2017 12:05:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UsFpzhjoonl1H42Upjd5skS1kJrXwwr3fDhmmZeKtq0=; b=ESIrYgCV+8+mI/SZxFtfcB7wZdgmh+HvV3Hxnddsot6/OhDh4w25PwkXc5pjvbKDK/ F12k8EiLIw5qdckgn0iZ3nq1giapEBJRQWDyC6Szm5YdhZ64D+3Ii+vWdldgupVi1ard YUrtteGT81WceaCyZqQopW5OS6Qet7AtBHj0azYVY//rE+lRzPZEFCufD9d5mpiX5Vwj kUBWIkVrCEw6b8XUUfRIMOc7hJ3LzdRTorn3LC/V/nlRFkqhz/fLsfpg1Np/UsDJ/n0N nzmgyTaNeye+Fi+Bgm4w0rRByafO2K/git5yh1Q+bgvGb65/Filz3H+HUVa5VyQKOLSm geDg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UsFpzhjoonl1H42Upjd5skS1kJrXwwr3fDhmmZeKtq0=; b=T0hfi2fJ0+d2J6oQth59nUPZSL4Np16hSNmznfwrsZhygNOsXsnj/o1budTBYBEP52 8jbtCtrQoBb6TnuNyuBFSEXpr0uh/pwGkpIDrqsI8Av2QwZfBmncBBcIKoFObPuF9+KN qT0aQh81jt74lHlFzV1ETuIwwD9fJTvIAWCaKLE8/h0hHLkECIniY7N5vcMpmgxDb4KY HxTUp+wsR6RYZVx2xeoJrLCyBl4TAgAGAaQlUigOVGRF3TLgdOUa99Yucsyw5E4AWKO2 a6fa7N4JVS6GYvndLyHeiRmlX4cKr03nU+O0G5A8qY7cLhL0AzF0y/yTJhF/dIL0eRPN mifQ==
X-Gm-Message-State: AODbwcCYiReNAyDN463CPq9xCMWNe2V/tMlo10aDCUNlgIlzhtyvEXBg fYgRQ5ui73tg4EdwhGH1RuOB9tAYxw==
X-Received: by 10.129.5.14 with SMTP id 14mr10938154ywf.85.1494961538020; Tue, 16 May 2017 12:05:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Tue, 16 May 2017 12:04:57 -0700 (PDT)
In-Reply-To: <20170516183029.GH10188@localhost>
References: <83ddc562-aca3-7525-b5d6-714d2b84ae97@item.ntnu.no> <CAL02cgRGSDc9wqxYaWObnh5Aes2m8799rXOz2BPRK8_9ikd21A@mail.gmail.com> <20170516183029.GH10188@localhost>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 16 May 2017 12:04:57 -0700
Message-ID: <CABcZeBPGMK005HTVhQOujPheXUvZKfOQdz5MwyQs1o80mvArzQ@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: Richard Barnes <rlb@ipv.sx>, "<tls@ietf.org>" <tls@ietf.org>, Britta Hale <britta.hale@item.ntnu.no>
Content-Type: multipart/alternative; boundary="001a114174686d7bd8054fa8db7c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/dA6wVuMhgBfc4UYJlRv8Mm3V5RM>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 19:10:56 -0000

--001a114174686d7bd8054fa8db7c
Content-Type: text/plain; charset="UTF-8"

On Tue, May 16, 2017 at 11:30 AM, Nico Williams <nico@cryptonector.com>
wrote:

> On Tue, May 16, 2017 at 01:43:32PM -0400, Richard Barnes wrote:
> > As has been pointed out elsewhere, other key changes are signaled with a
> > handshake message (KeyUpdate), so using a handshake message seems more
> > natural from a protocol point of view.
>
> And as long as the record type goes in the clear, sending these sorts of
> messages all with the same record type (handshake) seems best from a
> traffic analysis p.o.v.
>

Actually at this point in the handshake the record type is encrypted.

-Ekr


> Nico
> --
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 16, 2017 at 11:30 AM, Nico Williams <span dir=3D"ltr">&lt;<=
a href=3D"mailto:nico@cryptonector.com" target=3D"_blank">nico@cryptonector=
.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D=
"">On Tue, May 16, 2017 at 01:43:32PM -0400, Richard Barnes wrote:<br>
&gt; As has been pointed out elsewhere, other key changes are signaled with=
 a<br>
&gt; handshake message (KeyUpdate), so using a handshake message seems more=
<br>
&gt; natural from a protocol point of view.<br>
<br>
</span>And as long as the record type goes in the clear, sending these sort=
s of<br>
messages all with the same record type (handshake) seems best from a<br>
traffic analysis p.o.v.<br></blockquote><div><br></div><div>Actually at thi=
s point in the handshake the record type is encrypted.</div><div><br></div>=
<div>-Ekr</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Nico<br>
--<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</div></div></blockquote></div><br></div></div>

--001a114174686d7bd8054fa8db7c--


From nobody Tue May 16 12:26:22 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB08112EBBC for <tls@ietfa.amsl.com>; Tue, 16 May 2017 12:26:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.799
X-Spam-Level: 
X-Spam-Status: No, score=-4.799 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 NU6Xb8DGcKmI for <tls@ietfa.amsl.com>; Tue, 16 May 2017 12:26:19 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D9C8F12EAB5 for <tls@ietf.org>; Tue, 16 May 2017 12:21:33 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTP id 6E33520051C26; Tue, 16 May 2017 12:21:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=zBQrs0LgcBE9zJ TPsoGzUTriJkY=; b=xTh1sM0IALKDds+rFhmBFNzyXMk1TgqUi03JzHznanfDEc fogHgbaTv3gbd3TawA/VoTD9htZcO9ubW6t1Ji3KbEq5R4qEAZuCSf3k+flBEg3A jlWviWOg8FhMn2CN8YQgc9GJnzfVmYORlWh/8BWoCeMmcM7H/JdU8t6Vg/czg=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTPSA id 084E820051C25; Tue, 16 May 2017 12:21:32 -0700 (PDT)
Date: Tue, 16 May 2017 14:21:31 -0500
From: Nico Williams <nico@cryptonector.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Richard Barnes <rlb@ipv.sx>, "<tls@ietf.org>" <tls@ietf.org>, Britta Hale <britta.hale@item.ntnu.no>
Message-ID: <20170516192130.GI10188@localhost>
References: <83ddc562-aca3-7525-b5d6-714d2b84ae97@item.ntnu.no> <CAL02cgRGSDc9wqxYaWObnh5Aes2m8799rXOz2BPRK8_9ikd21A@mail.gmail.com> <20170516183029.GH10188@localhost> <CABcZeBPGMK005HTVhQOujPheXUvZKfOQdz5MwyQs1o80mvArzQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABcZeBPGMK005HTVhQOujPheXUvZKfOQdz5MwyQs1o80mvArzQ@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/a43CQ6wba1UjudIAih_dS4ffcjc>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 19:26:21 -0000

On Tue, May 16, 2017 at 12:04:57PM -0700, Eric Rescorla wrote:
> On Tue, May 16, 2017 at 11:30 AM, Nico Williams <nico@cryptonector.com>
> wrote:
> > On Tue, May 16, 2017 at 01:43:32PM -0400, Richard Barnes wrote:
> > > As has been pointed out elsewhere, other key changes are signaled with a
> > > handshake message (KeyUpdate), so using a handshake message seems more
> > > natural from a protocol point of view.
> >
> > And as long as the record type goes in the clear, sending these sorts of
> > messages all with the same record type (handshake) seems best from a
> > traffic analysis p.o.v.
> 
> Actually at this point in the handshake the record type is encrypted.

Oh good.


From nobody Tue May 16 14:14:59 2017
Return-Path: <britta.hale@ntnu.no>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD4CC129B07 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 14:14:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.303
X-Spam-Level: 
X-Spam-Status: No, score=-2.303 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 W-rG7DZIieAp for <tls@ietfa.amsl.com>; Tue, 16 May 2017 14:14:54 -0700 (PDT)
Received: from samson.item.ntnu.no (samson.item.ntnu.no [129.241.200.24]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 129FB1294B8 for <tls@ietf.org>; Tue, 16 May 2017 14:10:12 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by samson.item.ntnu.no (Postfix) with ESMTP id E4BEF480089; Tue, 16 May 2017 23:10:09 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at item.ntnu.no
Received: from samson.item.ntnu.no ([127.0.0.1]) by localhost (samson.item.ntnu.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xzRL32u-H_-A; Tue, 16 May 2017 23:10:09 +0200 (CEST)
Received: from [192.168.1.168] (84-52-238.131.3p.ntebredband.no [84.52.238.131]) by samson.item.ntnu.no (Postfix) with ESMTPSA id 49876480087; Tue, 16 May 2017 23:10:09 +0200 (CEST)
To: Eric Rescorla <ekr@rtfm.com>
References: <66025639-5ceb-021a-61c4-60620c402a6c@ntnu.no> <CABcZeBMu=9KPvmz-sDknXpa4Vjer=md=ZqsFqGd6WNEFdAxSdg@mail.gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>
From: Britta Hale <britta.hale@ntnu.no>
Message-ID: <1f7c62a1-db73-aeae-97d0-77c769606198@ntnu.no>
Date: Tue, 16 May 2017 23:10:08 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CABcZeBMu=9KPvmz-sDknXpa4Vjer=md=ZqsFqGd6WNEFdAxSdg@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------AD000A178C7664D319EE0289"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/KpFXTaw3D6Ss5fsXqbCuuIre-As>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 21:14:57 -0000

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


On 16. mai 2017 20:59, Eric Rescorla wrote:
>> However, this intuition is incorrect. Alerts signal the end-of-use of
>> keys, not the prohibition of further communication under other keys.
>> Keys should be deleted and no further data should be sent on the
>> connection.
>
> This last sentence seems to reinforce the motivating intuition here,
> namely that the alert signals the end of the *connection*, and so it's
> odd to have EOED indicate a key change within a connection.
>
Avoiding getting caught on the word "connection", EOED signals the end of key 
use like other alerts, which is the central issue. Notably, EOED does 
not signal key change, unlike a KeyUpdate message or Finished message - even 
the name indicates that it is for "end of data". Its behavior is fundamentally 
like an alert's, indicating only end-of-key use for application data. 

>> Specifically, the 0-RTT handshake is
>> followed by 0-RTT data and finally an EndOfEarlyData alert to end use of
>> that key, while in parallel the remainder of the handshake and
>> subsequent session key act almost as a further resumption (i.e. under a
>> different key).
>>
> I can see how you could look at it this way, but I'm not sure that that's
> the natural way to look at it. If you're not doing DH, then these are
> very much derived from the same PSK and the same client-side
> nonce.
>
In that case, they are both then related to the master key of the previous 
session, which may well have ended with a close_notify, i.e. a properly 
finished key use signaled by an alert. 



--------------AD000A178C7664D319EE0289
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <font size="-1"></font>
    <div class="moz-cite-prefix"><font size="-1">On 16. mai 2017 20:59,
        Eric Rescorla wrote:</font><br>
    </div>
    <blockquote
cite="mid:CABcZeBMu=9KPvmz-sDknXpa4Vjer=md=ZqsFqGd6WNEFdAxSdg@mail.gmail.com"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">
However, this intuition is incorrect. Alerts signal the end-of-use of
keys, not the prohibition of further communication under other keys.
Keys should be deleted and no further data should be sent on the
connection.
</pre>
      </blockquote>
      <pre wrap="">

This last sentence seems to reinforce the motivating intuition here,
namely that the alert signals the end of the *connection*, and so it's
odd to have EOED indicate a key change within a connection.

</pre>
    </blockquote>
    <pre wrap="">Avoiding getting caught on the word "connection", EOED signals the end of key 
use like other alerts, which is the central issue. Notably, EOED does 
not signal key change, unlike a KeyUpdate message or Finished message - even 
the name indicates that it is for "end of data". Its behavior is fundamentally 
like an alert's, indicating only end-of-key use for application data. 
</pre>
    <blockquote
cite="mid:CABcZeBMu=9KPvmz-sDknXpa4Vjer=md=ZqsFqGd6WNEFdAxSdg@mail.gmail.com"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">Specifically, the 0-RTT handshake is
followed by 0-RTT data and finally an EndOfEarlyData alert to end use of
that key, while in parallel the remainder of the handshake and
subsequent session key act almost as a further resumption (i.e. under a
different key).

</pre>
      </blockquote>
      <pre wrap="">
I can see how you could look at it this way, but I'm not sure that that's
the natural way to look at it. If you're not doing DH, then these are
very much derived from the same PSK and the same client-side
nonce.

</pre>
    </blockquote>
    <pre>In that case, they are both then related to the master key of the previous 
session, which may well have ended with a close_notify, i.e. a properly 
finished key use signaled by an alert. 
</pre>
    <br>
  </body>
</html>

--------------AD000A178C7664D319EE0289--


From nobody Tue May 16 14:29:30 2017
Return-Path: <rlb@ipv.sx>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 68AA012943F for <tls@ietfa.amsl.com>; Tue, 16 May 2017 14:29:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.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 S7a5mNPRmfrO for <tls@ietfa.amsl.com>; Tue, 16 May 2017 14:29:25 -0700 (PDT)
Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 64FB8126BF3 for <tls@ietf.org>; Tue, 16 May 2017 14:24:30 -0700 (PDT)
Received: by mail-wm0-x22b.google.com with SMTP id v15so105522939wmv.1 for <tls@ietf.org>; Tue, 16 May 2017 14:24:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=WsYuFscKpbWkWjgIbfBiWc8n4G7e6bPaw96Sf5fqOsQ=; b=uyO/BGB0ucCnoFY/Td6r9TU1XEX21hI6rgM59aN26FQw6Ghu/k/vEs24mg8xhFGxcG QAb3nDN3YQAarfB/IGd1KDPpo2BBupdhklENHuPBzLmi3vA4Y7dexa2kXJu1eamhx1S4 dNTyFu6eK/juF42NqRECkFbcLTENzwp6Xr2IDkj64ndIxVH8cQhrKRF35NkmOVFv+8zn idQ6IxObhl27V17l0lqSZ1OMaGE9sSVkfX1S8RlyS9j0u9g8JXOgZKuf5PjaKQHG6gaF N2k3pzsi+0bxL4g4/YX1gVr0pvJLlZ+JH4Ng076kuMbKxOHfPJhnto21hWQWQw9eLf5M JGwQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WsYuFscKpbWkWjgIbfBiWc8n4G7e6bPaw96Sf5fqOsQ=; b=RD9YAilrCZFzgWkGtyTYtMxDRnw2FcgPBCF/4OLO0+D3lqQT1+VLvQckUFyxDMgS8l bc9IFJGV4ner3qCq2UvMr/LuI5yy2cQR6TJP9jSBV5mYZ08Cp+tQDt6RIfHl9dBR2UcS of7UE62pGMjXWl4+6BGHaO6jzamNupP6R+Q9v/Cz6ztq62q+aTLN17HBRHoEn4dccBXr zMHyFVTsDfiNyDAXmMPoSPJs7hY3wD+8nqe668Cpg74CzX7w/ylB7Ihm5dRe4xu5gjAv n49QoejMknLrOlFfyhZMAxvCxW0B8Gl7bO+eTWEZLgIgZ+FvkTSBl2II42xL5J7O/X0g wzyQ==
X-Gm-Message-State: AODbwcDeHwZh8H7gs38bcDetUvYPk2bEPjEE+VjdwfJG2pCrEAKi/k25 ZFtbCR7nysX4F523OTaoKJ2SqdyyhbML
X-Received: by 10.28.156.197 with SMTP id f188mr391019wme.76.1494969868873; Tue, 16 May 2017 14:24:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.179.68 with HTTP; Tue, 16 May 2017 14:24:28 -0700 (PDT)
In-Reply-To: <CABcZeBMu=9KPvmz-sDknXpa4Vjer=md=ZqsFqGd6WNEFdAxSdg@mail.gmail.com>
References: <66025639-5ceb-021a-61c4-60620c402a6c@ntnu.no> <CABcZeBMu=9KPvmz-sDknXpa4Vjer=md=ZqsFqGd6WNEFdAxSdg@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Tue, 16 May 2017 17:24:28 -0400
Message-ID: <CAL02cgQHdpwAAb_nYLTXU2wJ3q65x=HEprCbYe0oEUN9cAQaMQ@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Britta Hale <britta.hale@ntnu.no>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a114b3168fc0d31054faacb6c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/c4pR5vm6PeTVul3eWfi4S6pnjhQ>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 21:29:28 -0000

--001a114b3168fc0d31054faacb6c
Content-Type: text/plain; charset="UTF-8"

On Tue, May 16, 2017 at 2:59 PM, Eric Rescorla <ekr@rtfm.com> wrote:

> First, let me say I'm largely indifferent to this handshake versus alert
> point, so if the WG wants to flip it back, I'm generally OK with that.
> With that said, we recently implemented -20 and having it be
> a handshake message is somewhat cleaner.
>

I'm inclined to keep EOED as a handshake message.  I also found it cleaner
to handle in my implementation than the alert-based alternative, especially
using the state machines added recently.

--Richard



>
>
> On Tue, May 16, 2017 at 8:30 AM, Britta Hale <britta.hale@ntnu.no> wrote:
>
>> On the Sunday 30/05 TLS:DIV workshop there was mention of the
>> EndOfEarlyData message and its status as a handshake message or alert
>> message.
>>
>> The main argument mentioned for making EndOfEarlyData a handshake
>> message is that alert messages usually signal "abortive closure of the
>> connection" (e.g. fatal alerts). Having an EndOfEarlyData alert could be
>> misleading (i.e. possibly implying that a session is ending instead of
>> beginning).
>>
>> However, this intuition is incorrect. Alerts signal the end-of-use of
>> keys, not the prohibition of further communication under other keys.
>> Keys should be deleted and no further data should be sent on the
>> connection.
>
>
> This last sentence seems to reinforce the motivating intuition here,
> namely that the alert signals the end of the *connection*, and so it's
> odd to have EOED indicate a key change within a connection.
>
>
>
>> For TLS 1.2 (7.2.1) it is even made explicitly clear that
>> session resumption is possible after a close_notify send/receipt.
>>
>
> Indeed, but that's a session, not a connection
>
>
> It seems natural then to make EndOfEarlyData an alert message,
>> signifying end of 0-RTT data. Specifically, the 0-RTT handshake is
>> followed by 0-RTT data and finally an EndOfEarlyData alert to end use of
>> that key, while in parallel the remainder of the handshake and
>> subsequent session key act almost as a further resumption (i.e. under a
>> different key).
>>
>
> I can see how you could look at it this way, but I'm not sure that that's
> the natural way to look at it. If you're not doing DH, then these are
> very much derived from the same PSK and the same client-side
> nonce.
>
>
> Making EndOfEarlyData an alert message also allows for clear key
>> boundaries: if EndOfEarlyData is a handshake message, then we are mixing
>> messages protected by the the client_early_traffic_secret and
>> handshake_traffic_secret in the Finished message.
>
>
> Well, we also mix unencrypted traffic into the Finished, right? Does this
> present a practical problem for analysis?
>
> -Ekr
>
> Britta
>>
>> _______________________________________________
>> TLS mailing list
>> TLS@ietf.org
>> https://www.ietf.org/mailman/listinfo/tls
>>
>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 16, 2017 at 2:59 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span>=
 wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">First, let me sa=
y I&#39;m largely indifferent to this handshake versus alert<div>point, so =
if the WG wants to flip it back, I&#39;m generally OK with that.</div><div>=
With that said, we recently implemented -20 and having it be</div><div>a ha=
ndshake message is somewhat cleaner.</div></div></blockquote><div><br></div=
><div>I&#39;m inclined to keep EOED as a handshake message.=C2=A0 I also fo=
und it cleaner to handle in my implementation than the alert-based alternat=
ive, especially using the state machines added recently.<br></div><div><br>=
</div><div>--Richard<br></div><div><br></div><div>=C2=A0</div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex"><div dir=3D"ltr"><div><br><div class=3D"gmail_extra"><br>=
<div class=3D"gmail_quote"><span class=3D"">On Tue, May 16, 2017 at 8:30 AM=
, Britta Hale <span dir=3D"ltr">&lt;<a href=3D"mailto:britta.hale@ntnu.no" =
target=3D"_blank">britta.hale@ntnu.no</a>&gt;</span> wrote:<br><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">On the Sunday 30/05 TLS:DIV workshop there was mention o=
f the<br>
EndOfEarlyData message and its status as a handshake message or alert<br>
message.<br>
<br>
The main argument mentioned for making EndOfEarlyData a handshake<br>
message is that alert messages usually signal &quot;abortive closure of the=
<br>
connection&quot; (e.g. fatal alerts). Having an EndOfEarlyData alert could =
be<br>
misleading (i.e. possibly implying that a session is ending instead of<br>
beginning).<br>
<br>
However, this intuition is incorrect. Alerts signal the end-of-use of<br>
keys, not the prohibition of further communication under other keys.<br>
Keys should be deleted and no further data should be sent on the<br>
connection.</blockquote><div><br></div></span><div>This last sentence seems=
 to reinforce the motivating intuition here,</div><div>namely that the aler=
t signals the end of the *connection*, and so it&#39;s</div><div>odd to hav=
e EOED indicate a key change within a connection.</div><span class=3D""><di=
v><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For TLS 1.2 (7.=
2.1) it is even made explicitly clear that<br>
session resumption is possible after a close_notify send/receipt.<br></bloc=
kquote><div><br></div></span><div>Indeed, but that&#39;s a session, not a c=
onnection</div><span class=3D""><div><br></div><div><br></div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">
It seems natural then to make EndOfEarlyData an alert message,<br>
signifying end of 0-RTT data. Specifically, the 0-RTT handshake is<br>
followed by 0-RTT data and finally an EndOfEarlyData alert to end use of<br=
>
that key, while in parallel the remainder of the handshake and<br>
subsequent session key act almost as a further resumption (i.e. under a<br>
different key).<br></blockquote><div><br></div></span><div>I can see how yo=
u could look at it this way, but I&#39;m not sure that that&#39;s</div><div=
>the natural way to look at it. If you&#39;re not doing DH, then these are<=
/div><div>very much derived from the same PSK and the same client-side</div=
><div>nonce.</div><span class=3D""><div><br></div><div><br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">
Making EndOfEarlyData an alert message also allows for clear key<br>
boundaries: if EndOfEarlyData is a handshake message, then we are mixing<br=
>
messages protected by the the client_early_traffic_secret and<br>
handshake_traffic_secret in the Finished message.</blockquote><div><br></di=
v></span><div>Well, we also mix unencrypted traffic into the Finished, righ=
t? Does this</div><div>present a practical problem for analysis?</div><div>=
<br></div><div>-Ekr<br></div><span class=3D""><div><br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex">
Britta<br>
<br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/tls</a><br>
</blockquote></span></div><br></div></div></div>
<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br></blockquote></div><br></div></div>

--001a114b3168fc0d31054faacb6c--


From nobody Tue May 16 14:33:57 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F22912EA58 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 14:33:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] 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 9XXniEgtn7L7 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 14:33:54 -0700 (PDT)
Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (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 8D37D124D6C for <tls@ietf.org>; Tue, 16 May 2017 14:28:56 -0700 (PDT)
Received: by mail-yw0-x22c.google.com with SMTP id l14so59526471ywk.1 for <tls@ietf.org>; Tue, 16 May 2017 14:28:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+bH4105EZ+kYadsxUTzOId+NnvjABJXvuzFwXQpO5Qk=; b=A6BBCfy6znLmeKYP3xDMy0tF2AZ5X10qI8orjb043G9dMiH4ct/L/etbCNXG15kDTd HmSig1VqL6OcOLiiNvL9RSQJzj8YQ0PL9AH1Gm45MIHfGteIb+m8tHzTtNnvmzxAU/jj WiEJBgz1NFWwusHmKvzjR8tVNvFmJruAuNJb4ZvKHps3eU5uVFw0u20bKdA5zGkEfGF6 Ss8mHpAKJJKgsS0tNaNpmh5qlzJbS1xJ9fmIrzfbJMqe6tZSQas//waStlzQOG6dzW7Q k40Agl5aDIVMc2qJInaG1cG89ONwO4vEjpBU/00s3ObD1XuWvKg7LCGV+xhjUrvBrYPV O/YQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+bH4105EZ+kYadsxUTzOId+NnvjABJXvuzFwXQpO5Qk=; b=Ocs6G38U5xOAEwuZ4Sa+Xwr4lQEUe9ITvMUlEmuITAQyYffS2jolXgf4L2WrGxVgVR uNgQrdrM8NBLxv3b+5TvaEZOQc+3Z7adT4XpC6S3CXw3Xs1+JNHSE+etegHLAZMUnpcd RriXUzce02Xp5FLS9fqf9GAzKq37y+FybiPQ/U0DXyOIj2RqaBeM13efAAAXuVuNT+Ls YNkiiXsm8W7u0ZWlp+tKzHD9lnR9cRu16r1dPkoyw76k6/jGv6OBcZZVjYDsHJngMURm L17pTyKSCnY5FW0p03qKJLscfAthl35w4VayZ/BWKCyDmW/7MQUQ26+8xDUN37Vo8MHB wTvg==
X-Gm-Message-State: AODbwcDZuE7fudlkib/5pa+jgcU10+0mJKkBhx6sxqTmT8B9XvCQ0dhn zf/FoETuL/o/Nwj8gE4Cca9AUfAmp1s8Eos=
X-Received: by 10.13.212.1 with SMTP id w1mr59731ywd.24.1494970135841; Tue, 16 May 2017 14:28:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Tue, 16 May 2017 14:28:15 -0700 (PDT)
In-Reply-To: <1f7c62a1-db73-aeae-97d0-77c769606198@ntnu.no>
References: <66025639-5ceb-021a-61c4-60620c402a6c@ntnu.no> <CABcZeBMu=9KPvmz-sDknXpa4Vjer=md=ZqsFqGd6WNEFdAxSdg@mail.gmail.com> <1f7c62a1-db73-aeae-97d0-77c769606198@ntnu.no>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 16 May 2017 14:28:15 -0700
Message-ID: <CABcZeBPb6HrykcJ8qxktiaH1rMaGv4jEkBBJnDNkdMjOSG-5sw@mail.gmail.com>
To: Britta Hale <britta.hale@ntnu.no>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a114fb0f6e5a448054faadb35"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/2xFJjd9dfCTnfBgsdzSdfB9rFNk>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 21:33:56 -0000

--001a114fb0f6e5a448054faadb35
Content-Type: text/plain; charset="UTF-8"

On Tue, May 16, 2017 at 2:10 PM, Britta Hale <britta.hale@ntnu.no> wrote:

>
> On 16. mai 2017 20:59, Eric Rescorla wrote:
>
> However, this intuition is incorrect. Alerts signal the end-of-use of
> keys, not the prohibition of further communication under other keys.
> Keys should be deleted and no further data should be sent on the
> connection.
>
> This last sentence seems to reinforce the motivating intuition here,
> namely that the alert signals the end of the *connection*, and so it's
> odd to have EOED indicate a key change within a connection.
>
>
> Avoiding getting caught on the word "connection", EOED signals the end of key
> use like other alerts, which is the central issue. Notably, EOED does
> not signal key change, unlike a KeyUpdate message or Finished message - even
> the name indicates that it is for "end of data". Its behavior is fundamentally
> like an alert's, indicating only end-of-key use for application data.
>
>
I'm not sure why you say it doesn't signal a key change: EOED signals the
transition
between data encrypted with the early traffic keys and that encrypted with
the handshake
key.


> Specifically, the 0-RTT handshake is
> followed by 0-RTT data and finally an EndOfEarlyData alert to end use of
> that key, while in parallel the remainder of the handshake and
> subsequent session key act almost as a further resumption (i.e. under a
> different key).
>
>
> I can see how you could look at it this way, but I'm not sure that that's
> the natural way to look at it. If you're not doing DH, then these are
> very much derived from the same PSK and the same client-side
> nonce.
>
>
> In that case, they are both then related to the master key of the previous
> session, which may well have ended with a close_notify, i.e. a properly
> finished key use signaled by an alert.
>
> Yes, that's true, but I'm not sure I see the relevance of this point.

-Ekr

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 16, 2017 at 2:10 PM, Britta Hale <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:britta.hale@ntnu.no" target=3D"_blank">britta.hale@ntnu.no</a=
>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000"><span class=3D"">
    <p><br>
    </p>
    <font size=3D"-1"></font>
    <div class=3D"m_-3192846805460715055moz-cite-prefix"><font size=3D"-1">=
On 16. mai 2017 20:59,
        Eric Rescorla wrote:</font><br>
    </div>
    <blockquote type=3D"cite">
      <blockquote type=3D"cite">
        <pre>However, this intuition is incorrect. Alerts signal the end-of=
-use of
keys, not the prohibition of further communication under other keys.
Keys should be deleted and no further data should be sent on the
connection.
</pre>
      </blockquote>
      <pre>This last sentence seems to reinforce the motivating intuition h=
ere,
namely that the alert signals the end of the *connection*, and so it&#39;s
odd to have EOED indicate a key change within a connection.

</pre>
    </blockquote>
    </span><pre>Avoiding getting caught on the word &quot;connection&quot;,=
 EOED signals the end of key=20
use like other alerts, which is the central issue. Notably, EOED does=20
not signal key change, unlike a KeyUpdate message or Finished message - eve=
n=20
the name indicates that it is for &quot;end of data&quot;. Its behavior is =
fundamentally=20
like an alert&#39;s, indicating only end-of-key use for application data. <=
/pre></div></blockquote><div><br></div><div>I&#39;m not sure why you say it=
 doesn&#39;t signal a key change: EOED signals the transition</div><div>bet=
ween data encrypted with the early traffic keys and that encrypted with the=
 handshake</div><div>key.=C2=A0</div><div>=C2=A0</div><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex"><div bgcolor=3D"#FFFFFF" text=3D"#000000"><span class=3D"">
    <blockquote type=3D"cite">
      <blockquote type=3D"cite">
        <pre>Specifically, the 0-RTT handshake is
followed by 0-RTT data and finally an EndOfEarlyData alert to end use of
that key, while in parallel the remainder of the handshake and
subsequent session key act almost as a further resumption (i.e. under a
different key).

</pre>
      </blockquote>
      <pre>I can see how you could look at it this way, but I&#39;m not sur=
e that that&#39;s
the natural way to look at it. If you&#39;re not doing DH, then these are
very much derived from the same PSK and the same client-side
nonce.

</pre>
    </blockquote>
    </span><pre>In that case, they are both then related to the master key =
of the previous=20
session, which may well have ended with a close_notify, i.e. a properly=20
finished key use signaled by an alert. </pre></div></blockquote><div>Yes, t=
hat&#39;s true, but I&#39;m not sure I see the relevance of this point.</di=
v><div><br></div><div>-Ekr</div><div><br></div><div><br></div></div></div><=
/div>

--001a114fb0f6e5a448054faadb35--


From nobody Tue May 16 14:46:29 2017
Return-Path: <britta.hale@ntnu.no>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2919E129B4C for <tls@ietfa.amsl.com>; Tue, 16 May 2017 14:46:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.304
X-Spam-Level: 
X-Spam-Status: No, score=-2.304 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 LDtRGikK9z7c for <tls@ietfa.amsl.com>; Tue, 16 May 2017 14:46:18 -0700 (PDT)
Received: from samson.item.ntnu.no (samson.item.ntnu.no [129.241.200.24]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1C2DB129BFC for <tls@ietf.org>; Tue, 16 May 2017 14:41:09 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by samson.item.ntnu.no (Postfix) with ESMTP id 2EECD480089; Tue, 16 May 2017 23:41:08 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at item.ntnu.no
Received: from samson.item.ntnu.no ([127.0.0.1]) by localhost (samson.item.ntnu.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YhHliYFggc_S; Tue, 16 May 2017 23:41:07 +0200 (CEST)
Received: from [192.168.1.168] (84-52-238.131.3p.ntebredband.no [84.52.238.131]) by samson.item.ntnu.no (Postfix) with ESMTPSA id A44E5480087; Tue, 16 May 2017 23:41:07 +0200 (CEST)
To: Eric Rescorla <ekr@rtfm.com>
References: <66025639-5ceb-021a-61c4-60620c402a6c@ntnu.no> <CABcZeBMu=9KPvmz-sDknXpa4Vjer=md=ZqsFqGd6WNEFdAxSdg@mail.gmail.com> <1f7c62a1-db73-aeae-97d0-77c769606198@ntnu.no> <CABcZeBPb6HrykcJ8qxktiaH1rMaGv4jEkBBJnDNkdMjOSG-5sw@mail.gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>
From: Britta Hale <britta.hale@ntnu.no>
Message-ID: <238d04ec-eb56-7879-b8c5-754c910bae30@ntnu.no>
Date: Tue, 16 May 2017 23:41:06 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CABcZeBPb6HrykcJ8qxktiaH1rMaGv4jEkBBJnDNkdMjOSG-5sw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/WuBsokjD5RHJ4fYOoJjKEJM8eVs>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 21:46:22 -0000

On 16. mai 2017 23:28, Eric Rescorla wrote:

>
>> Avoiding getting caught on the word "connection", EOED signals the end of key
>> use like other alerts, which is the central issue. Notably, EOED does
>> not signal key change, unlike a KeyUpdate message or Finished message - even
>> the name indicates that it is for "end of data". Its behavior is fundamentally
>> like an alert's, indicating only end-of-key use for application data.
> I'm not sure why you say it doesn't signal a key change: EOED signals the
> transition
> between data encrypted with the early traffic keys and that encrypted with
> the handshake
> key.

EOED signals the end of data encrypted with early traffic keys, yes, and the next 
message is the Finished message encrypted with the handshake traffic key. However, 
the Finished message is not *data*, and use of the application traffic key is signaled
by the Finished message, not EOED. The Finished message, like a KeyUpdate message, are 
handshake messages, and both signal the start of a new key use for application data. 
In comparison, EOED signals the end of key use for application data - which correlates 
to alert behavior. 


From nobody Tue May 16 15:30:08 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EEA2312EC77 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 15:30:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] 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 LUycX_BZvTvO for <tls@ietfa.amsl.com>; Tue, 16 May 2017 15:29:59 -0700 (PDT)
Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (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 130BE129AC9 for <tls@ietf.org>; Tue, 16 May 2017 15:25:49 -0700 (PDT)
Received: by mail-yw0-x232.google.com with SMTP id l74so45487195ywe.2 for <tls@ietf.org>; Tue, 16 May 2017 15:25:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=mKJXsUvy1nS/46perIC7jEPZux2qwvfAId/r5+QJgNg=; b=TOft6K/QUhzTdjxpXrY0bdj9S9KVYKFraNBMMNJK9SVu4oR+IQFZVNSZfkgjAP4dNG zAKkDRSYPyyyVE+se1MEufmgj0GFrOkEGXZvO1vadgGIhNn1QAiKFXQtJarrbv4mGH0f 1ha4xRZWTZxq3aTYwH7WD/HPmogv/h7XK/TYFZdJMZCb8/6JRO40uDZ9PcI2S+wkk4S7 LP5AR3/IvcY1/KZX9aCHed8l/To3F2iaozd1nAGGEr5rFBe08JwSBbDf0aWI0w7PZaFT BalNZN7Q6Ay1AR+oTtKf6OCJwoC7lmSpKDdomJohhO1jxV71gWl3Guabkjm7Uq3TLWj8 brYw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=mKJXsUvy1nS/46perIC7jEPZux2qwvfAId/r5+QJgNg=; b=stsCn90rYEzl46y0eBW9NF3oEcujhsjdJs0vPnxrm0qt/LV/uI07BLyrSc8MkVPWFE 4bFAW5kSWrRau0h5ZjF1uWnYKKLB/j4sHpNgSBMoJIpemqiaaQnx99a8fpjIPxrRJz/E u6Aa5uZrpZ48bY181xMsXAgJ6iFHsKejAeGDcsDulyXKfi+XksKvCadMyOkAS5KhrwWN svpl8s4rdspOagN7mHRFvPmws7a/EuNz8HL2IsmOAMssnOqV4p7QezbYXaRO7bkNAQ3K Fuo5GO/id7sknAkufEbUqwsZqPl5FSfcWstTDxwnZk47tUATo3slRhXu9+vmWktU+4O0 0Lcw==
X-Gm-Message-State: AODbwcAasAssbqR7aw3fG32NI2NLbpSoZm32gQhFE7guhjkwEyVr9nZd jTGrcgZBiEWDFSTy1JY5Of9d7JqNp+YC
X-Received: by 10.129.146.210 with SMTP id j201mr248328ywg.3.1494973548348; Tue, 16 May 2017 15:25:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Tue, 16 May 2017 15:25:07 -0700 (PDT)
In-Reply-To: <238d04ec-eb56-7879-b8c5-754c910bae30@ntnu.no>
References: <66025639-5ceb-021a-61c4-60620c402a6c@ntnu.no> <CABcZeBMu=9KPvmz-sDknXpa4Vjer=md=ZqsFqGd6WNEFdAxSdg@mail.gmail.com> <1f7c62a1-db73-aeae-97d0-77c769606198@ntnu.no> <CABcZeBPb6HrykcJ8qxktiaH1rMaGv4jEkBBJnDNkdMjOSG-5sw@mail.gmail.com> <238d04ec-eb56-7879-b8c5-754c910bae30@ntnu.no>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 16 May 2017 15:25:07 -0700
Message-ID: <CABcZeBPJUQXxoE2FYyrnG7yYPRhUxy2y_D6CdvwZKEuyRopA3g@mail.gmail.com>
To: Britta Hale <britta.hale@ntnu.no>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c092a404c7ade054faba72e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/_mSXLNjb_XlSwTE72WqGly-ORm4>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 22:30:03 -0000

--94eb2c092a404c7ade054faba72e
Content-Type: text/plain; charset="UTF-8"

On Tue, May 16, 2017 at 2:41 PM, Britta Hale <britta.hale@ntnu.no> wrote:

> On 16. mai 2017 23:28, Eric Rescorla wrote:
>
> >
> >> Avoiding getting caught on the word "connection", EOED signals the end
> of key
> >> use like other alerts, which is the central issue. Notably, EOED does
> >> not signal key change, unlike a KeyUpdate message or Finished message -
> even
> >> the name indicates that it is for "end of data". Its behavior is
> fundamentally
> >> like an alert's, indicating only end-of-key use for application data.
> > I'm not sure why you say it doesn't signal a key change: EOED signals the
> > transition
> > between data encrypted with the early traffic keys and that encrypted
> with
> > the handshake
> > key.
>
> EOED signals the end of data encrypted with early traffic keys, yes, and
> the next
> message is the Finished message encrypted with the handshake traffic key.
> However,
> the Finished message is not *data*, and use of the application traffic key
> is signaled
> by the Finished message, not EOED. The Finished message, like a KeyUpdate
> message, are
> handshake messages, and both signal the start of a new key use for
> application data.
>
In comparison, EOED signals the end of key use for application data - which
> correlates
> to alert behavior.
>

This seems like a point where reasonable people can differ, especially as
ultimately
the motivation for this change was some sense of architectural consistency.

To go back to my earlier question: does this change actually present some
analytic
difficulty, or do you just find it unaesthetic?

-Ekr

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 16, 2017 at 2:41 PM, Britta Hale <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:britta.hale@ntnu.no" target=3D"_blank">britta.hale@ntnu.no</a=
>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On 1=
6. mai 2017 23:28, Eric Rescorla wrote:<br>
<br>
&gt;<br>
&gt;&gt; Avoiding getting caught on the word &quot;connection&quot;, EOED s=
ignals the end of key<br>
&gt;&gt; use like other alerts, which is the central issue. Notably, EOED d=
oes<br>
&gt;&gt; not signal key change, unlike a KeyUpdate message or Finished mess=
age - even<br>
&gt;&gt; the name indicates that it is for &quot;end of data&quot;. Its beh=
avior is fundamentally<br>
&gt;&gt; like an alert&#39;s, indicating only end-of-key use for applicatio=
n data.<br>
&gt; I&#39;m not sure why you say it doesn&#39;t signal a key change: EOED =
signals the<br>
&gt; transition<br>
&gt; between data encrypted with the early traffic keys and that encrypted =
with<br>
&gt; the handshake<br>
&gt; key.<br>
<br>
</span>EOED signals the end of data encrypted with early traffic keys, yes,=
 and the next<br>
message is the Finished message encrypted with the handshake traffic key. H=
owever,<br>
the Finished message is not *data*, and use of the application traffic key =
is signaled<br>
by the Finished message, not EOED. The Finished message, like a KeyUpdate m=
essage, are<br>
handshake messages, and both signal the start of a new key use for applicat=
ion data.<br></blockquote><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In comparison, EOE=
D signals the end of key use for application data - which correlates<br>
to alert behavior.<br></blockquote><div><br></div><div>This seems like a po=
int where reasonable people can differ, especially as ultimately</div><div>=
the motivation for this change was some sense of architectural consistency.=
</div><div><br></div><div>To go back to my earlier question: does this chan=
ge actually present some analytic</div><div>difficulty, or do you just find=
 it unaesthetic?</div><div><br></div><div>-Ekr</div><div><br></div></div><b=
r></div></div>

--94eb2c092a404c7ade054faba72e--


From nobody Tue May 16 16:02:19 2017
Return-Path: <britta.hale@ntnu.no>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 46A2712EA6A for <tls@ietfa.amsl.com>; Tue, 16 May 2017 16:02:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.304
X-Spam-Level: 
X-Spam-Status: No, score=-2.304 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 IL_EKaOUG6qZ for <tls@ietfa.amsl.com>; Tue, 16 May 2017 16:02:15 -0700 (PDT)
Received: from samson.item.ntnu.no (samson.item.ntnu.no [129.241.200.24]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BEEB212EAAB for <tls@ietf.org>; Tue, 16 May 2017 15:57:59 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by samson.item.ntnu.no (Postfix) with ESMTP id 39FC5480089; Wed, 17 May 2017 00:57:57 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at item.ntnu.no
Received: from samson.item.ntnu.no ([127.0.0.1]) by localhost (samson.item.ntnu.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xjicFpKlMBHs; Wed, 17 May 2017 00:57:56 +0200 (CEST)
Received: from [192.168.1.168] (84-52-238.131.3p.ntebredband.no [84.52.238.131]) by samson.item.ntnu.no (Postfix) with ESMTPSA id 9E937480087; Wed, 17 May 2017 00:57:56 +0200 (CEST)
To: Eric Rescorla <ekr@rtfm.com>
References: <66025639-5ceb-021a-61c4-60620c402a6c@ntnu.no> <CABcZeBMu=9KPvmz-sDknXpa4Vjer=md=ZqsFqGd6WNEFdAxSdg@mail.gmail.com> <1f7c62a1-db73-aeae-97d0-77c769606198@ntnu.no> <CABcZeBPb6HrykcJ8qxktiaH1rMaGv4jEkBBJnDNkdMjOSG-5sw@mail.gmail.com> <238d04ec-eb56-7879-b8c5-754c910bae30@ntnu.no> <CABcZeBPJUQXxoE2FYyrnG7yYPRhUxy2y_D6CdvwZKEuyRopA3g@mail.gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>
From: Britta Hale <britta.hale@ntnu.no>
Message-ID: <c270a7db-73e6-9d7f-e1f7-1bc45ba25717@ntnu.no>
Date: Wed, 17 May 2017 00:57:55 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CABcZeBPJUQXxoE2FYyrnG7yYPRhUxy2y_D6CdvwZKEuyRopA3g@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/E8C5-Wbk7zkhcNQWCJW4jAuhJ7A>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2017 23:02:18 -0000

On 17. mai 2017 00:25, Eric Rescorla wrote:

>> EOED signals the end of data encrypted with early traffic keys, yes, and
>> the next
>> message is the Finished message encrypted with the handshake traffic key.
>> However,
>> the Finished message is not *data*, and use of the application traffic key
>> is signaled
>> by the Finished message, not EOED. The Finished message, like a KeyUpdate
>> message, are
>> handshake messages, and both signal the start of a new key use for
>> application data.
>>
> In comparison, EOED signals the end of key use for application data - which
>> correlates
>> to alert behavior.
>>
> This seems like a point where reasonable people can differ, especially as
> ultimately
> the motivation for this change was some sense of architectural consistency.
>
> To go back to my earlier question: does this change actually present some
> analytic
> difficulty, or do you just find it unaesthetic?
>
It is a matter of consistency not aesthetics, and that has actual 
implications on analysis. 

Classifying message types is meaningful in terms of truncation attacks.
Under a application traffic secret, a receiver is only guaranteed protection 
from a truncation if it receives an alert (close_notify). According to the 
current draft, a server is only guaranteed protection from such an attack 
for 0-RTT data if it receives a handshake message. Such a difference is sloppy
in terms of analysis.

Furthermore, there is the inconsistency of placement of the EOED message in 
the Finished hash. The lack of synchronization of EOED, i.e. not being fixed 
with respect to the other handshake messages, could complicate analysis in 
terms of matching server/client transcripts.

-- Britta


From nobody Tue May 16 17:44:39 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BF35712EAC1 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 17:44:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] 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 sCjhy5V0jXPs for <tls@ietfa.amsl.com>; Tue, 16 May 2017 17:44:35 -0700 (PDT)
Received: from mail-yw0-x236.google.com (mail-yw0-x236.google.com [IPv6:2607:f8b0:4002:c05::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 EE22A12949D for <tls@ietf.org>; Tue, 16 May 2017 17:40:36 -0700 (PDT)
Received: by mail-yw0-x236.google.com with SMTP id l74so46473426ywe.2 for <tls@ietf.org>; Tue, 16 May 2017 17:40:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ElRuGOR58JLyCbb6gCKMt8jDIWR0y0p4tyN8LkvtYvs=; b=WEK1yiTI6B8GsZZciWERby62l9vu1l0wt4BpViN2ZGs1KUR+PlNjFgZQz3lzTabj5R 5m4nSJSl0zxW4jI/rCV/FzjKmd+yoFT1QjhU8GSWW91TgprCNcA7Xd2JVFDJO7jaonrZ 0Hd5At68GcqOf0KLqbYAikx9pJ3nMfuMZ1bHpqxJfPm+8FuCnLo+8Xvn2JYA2E1EAslD uMAS/snzPn51bUp++54z78pNVp+Nj8RR01TlqIV4kG+w27FwyVloigrtAL1RnjladyUe 3ceqpmz5z5UxitH2VA9Nnjtt8WSpcKg5/rdAZNsBYYuwyK2V9JAT1NjWYJ+kxN8eQz3x UoUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ElRuGOR58JLyCbb6gCKMt8jDIWR0y0p4tyN8LkvtYvs=; b=ZIqkSZ89ZKh4/MKxO72XIaCFe74jnuz5J7y3dFeHUKBm3MklrBKwMaMVCddkHPygbC zsQ4osc2dAvZMfliYzPDSgQcZlboxe7R2FlFjhPZaiztzP8I9mVUx3N6W9Kp402IaKXz 2luXi5eyHn72KxULHPal6by457eQnjO+cjIx9Y0lePFVvKSwrw1em0shZMe/gi+Wg4FT /TCK7N/Ls9TihtPfNZvIE5AhpEqlqurW0X5kzh+2iRDIc5gKclcScxE2Xk2IHoZzOk5W d9R6oJ/jms6cwDZNc62v0QP6oo2cH7VLgAUl3FApW45c/rpi+Lz3be/dPIYRgBbrAMQZ qK3A==
X-Gm-Message-State: AODbwcDfpIiZP01IJLtzF9lg9+bIga+anAL7gQAnzpknDVQagiaQJ8xK +VC8wrP4jIJRr71fABtJ+MJWxo/YmID29Ig=
X-Received: by 10.129.85.83 with SMTP id j80mr577750ywb.283.1494981636125; Tue, 16 May 2017 17:40:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Tue, 16 May 2017 17:39:55 -0700 (PDT)
In-Reply-To: <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 16 May 2017 17:39:55 -0700
Message-ID: <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a113f3cbe5e0cce054fad89ef"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/qTtO99dPqyM7h2XzF63lcFDDopQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 May 2017 00:44:38 -0000

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

On Thu, May 4, 2017 at 2:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:

> As promised:
> https://github.com/tlswg/tls13-spec/pull/1005
>
> Note: I may have to do a little post-landing cleanup, but I wanted to get
> people's senses of the text ASAP.
>

Thanks for everyone's comments. I've updated the text to address many of
them and
made comments in Github where I decided not to do so. Can those who have
read
the previous version please take a look?

I'd also like to merge PR#998. I haven't heard any real complaints about it
and it's
an improvement in any case. I'll await the chairs on that, though.

-Ekr



Comments welcome.
> -Ekr
>
>
> On Wed, May 3, 2017 at 8:21 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>
>>
>>
>> On Wed, May 3, 2017 at 8:20 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.ne=
t>
>> wrote:
>>
>>>
>>>
>>> On Wed, May 3, 2017 at 8:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>>>
>>>> I made some proposals yesterday
>>>> (https://www.ietf.org/mail-archive/web/tls/current/msg23088.html).
>>>>
>>>> Specifically:
>>>> 1. A SHOULD-level requirement for server-side 0-RTT defense, explainin=
g
>>>> both session-cache and strike register styles and the merits of each.
>>>>
>>>> 2. Document 0-RTT greasing in draft-ietf-tls-grease
>>>>
>>>> 3. Adopt PR#448 (or some variant) so that session-id style
>>>> implementations
>>>> provide PFS.
>>>>
>>>> 4. I would add to this that we recommend that proxy/CDN implementation=
s
>>>> signal which data is 0-RTT and which is 1-RTT to the back-end (this wa=
s
>>>> in
>>>> Colm's original message).
>>>>
>>>
>>> This all sounds great to me. I'm not sure that we need (4.) if we have
>>> (1.).  I think with (1.) - recombobulating to a single stream might eve=
n be
>>> best overall, to reduce application complexity, and it seems to be what
>>> most implementors are actually doing.
>>>
>>> I know that leaves the DKG attack, but from a client and servers
>>> perspective that attack is basically identical to a server timeout, and
>>> it's something that systems likely have some fault tolerance around. It=
's
>>> not /new/ broken-ness.
>>>
>>
>> Heh. Always happy to do less writing.
>>
>> Thanks,
>> -Ekr
>>
>>
>>>
>>>
>>>> Based on Colm's response, I think these largely hits the points he mad=
e
>>>> in his original message.
>>>>
>>>> There's already a PR for #3 and I'll have PRs for #1 and #4 tomorrow.
>>>> What would be most helpful to me as Editor would be if people could
>>>> review
>>>> these PRs and/or suggest other specific changes that we should make
>>>> to the document.
>>>>
>>>
>>> Will do! Many thanks.
>>>
>>> --
>>> Colm
>>>
>>
>>
>

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Thu, May 4, 2017 at 2:13 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a href=
=3D"mailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> wrot=
e:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">As promised:<div><a h=
ref=3D"https://github.com/tlswg/tls13-spec/pull/1005" target=3D"_blank">htt=
ps://github.com/tlswg/<wbr>tls13-spec/pull/1005</a><br></div><div><br></div=
><div>Note: I may have to do a little post-landing cleanup, but I wanted to=
 get</div><div>people&#39;s senses of the text ASAP.</div></div></blockquot=
e><div><br></div><div>Thanks for everyone&#39;s comments. I&#39;ve updated =
the text to address many of them and</div><div>made comments in Github wher=
e I decided not to do so. Can those who have read</div><div>the previous ve=
rsion please take a look?</div><div><br></div><div>I&#39;d also like to mer=
ge PR#998. I haven&#39;t heard any real complaints about it and it&#39;s</d=
iv><div>an improvement in any case. I&#39;ll await the chairs on that, thou=
gh.</div><div><br></div><div>-Ekr</div><div><br></div><div><br></div><div><=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div>Comments welc=
ome.</div><div>-Ekr<br></div><div><br></div></div><div class=3D"gmail_extra=
"><br><div class=3D"gmail_quote">On Wed, May 3, 2017 at 8:21 PM, Eric Resco=
rla <span dir=3D"ltr">&lt;<a href=3D"mailto:ekr@rtfm.com" target=3D"_blank"=
>ekr@rtfm.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div =
dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"><=
span>On Wed, May 3, 2017 at 8:20 PM, Colm MacC=C3=A1rthaigh <span dir=3D"lt=
r">&lt;<a href=3D"mailto:colm@allcosts.net" target=3D"_blank">colm@allcosts=
.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"lt=
r"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"><span>On W=
ed, May 3, 2017 at 8:13 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a href=3D"=
mailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> wrote:<b=
r><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde=
r-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204)=
;padding-left:1ex"><div dir=3D"ltr">I made some proposals yesterday=C2=A0<b=
r><div>(<a href=3D"https://www.ietf.org/mail-archive/web/tls/current/msg230=
88.html" target=3D"_blank">https://www.ietf.org/mail-arc<wbr>hive/web/tls/c=
urrent/msg23088.<wbr>html</a>).</div><div><br></div><div>Specifically:</div=
><span class=3D""><div>1. A SHOULD-level requirement for server-side 0-RTT =
defense, explaining</div><div>both session-cache and strike register styles=
 and the merits of each.</div><div><br></div></span><div>2. Document 0-RTT =
greasing in draft-ietf-tls-grease<br></div><div><br></div><div>3. Adopt PR#=
448 (or some variant) so that session-id style implementations</div><div>pr=
ovide PFS.</div><div><br></div><div>4. I would add to this that we recommen=
d that proxy/CDN implementations</div><div>signal which data is 0-RTT and w=
hich is 1-RTT to the back-end (this was in</div><div>Colm&#39;s original me=
ssage).</div></div></blockquote><div><br></div></span><div>This all sounds =
great to me. I&#39;m not sure that we need (4.) if we have (1.).=C2=A0 I th=
ink with (1.) - recombobulating to a single stream might even be best overa=
ll, to reduce application complexity, and it seems to be what most implemen=
tors are actually doing. =C2=A0</div><div><br></div><div>I know that leaves=
 the DKG attack, but from a client and servers perspective that attack is b=
asically identical to a server timeout, and it&#39;s something that systems=
 likely have some fault tolerance around. It&#39;s not /new/ broken-ness.=
=C2=A0</div></div></div></div></blockquote><div><br></div></span><div>Heh. =
Always happy to do less writing.</div><div><br></div><div>Thanks,</div><div=
>-Ekr</div><span><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=
=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><span><div>=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(20=
4,204,204);padding-left:1ex"><div dir=3D"ltr"><div>Based on Colm&#39;s resp=
onse, I think these largely hits the points he made</div><div>in his origin=
al message.</div><div><br></div><div>There&#39;s already a PR for #3 and I&=
#39;ll have PRs for #1 and #4 tomorrow.<br></div><div>What would be most he=
lpful to me as Editor would be if people could review</div><div>these PRs a=
nd/or suggest other specific changes that we should make</div><div>to the d=
ocument.</div></div></blockquote><div><br></div></span><div>Will do! Many t=
hanks.=C2=A0</div></div><span class=3D"HOEnZb"><font color=3D"#888888"><spa=
n class=3D"m_6307515685962688072m_8556917220203124506m_-1370507084357442124=
HOEnZb"><font color=3D"#888888"><div><br></div>-- <br><div class=3D"m_63075=
15685962688072m_8556917220203124506m_-1370507084357442124m_-549234107584864=
3464gmail_signature">Colm</div>
</font></span></font></span></div></div><span class=3D"HOEnZb"><font color=
=3D"#888888">
</font></span></blockquote></span></div><span class=3D"HOEnZb"><font color=
=3D"#888888"><br></font></span></div></div>
</blockquote></div><br></div>
</blockquote></div><br></div></div>

--001a113f3cbe5e0cce054fad89ef--


From nobody Tue May 16 18:54:40 2017
Return-Path: <davemgarrett@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C9328126CE8 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 18:54:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 6e78ADi3j59l for <tls@ietfa.amsl.com>; Tue, 16 May 2017 18:54:38 -0700 (PDT)
Received: from mail-qt0-x22c.google.com (mail-qt0-x22c.google.com [IPv6:2607:f8b0:400d:c0d::22c]) (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 A5E6D12ECAE for <tls@ietf.org>; Tue, 16 May 2017 18:50:45 -0700 (PDT)
Received: by mail-qt0-x22c.google.com with SMTP id t26so135502112qtg.0 for <tls@ietf.org>; Tue, 16 May 2017 18:50:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-transfer-encoding:message-id; bh=CtgU3kmWLe+TFNfKrSdZrGEnD3il6GjeE1qZlRHIQMY=; b=MgF+ykllx+Kky2xRcRPzT1fB905LAshNrCGcs8jskUOSC4f8UyhBxE8RSSAm8Gpahy CyFgrXMOU9PWVtWERuuZ0+Su8XNKQgxVmTqZOCM4Jk5QxQUIMn1ZM9nyjP9SLAn0p5ZY RFmMJqKGlj24jFt2xWkXAiEkRx3reT032/a9/TtXo+O/Y8tFw4MZHliqoYxoqBtc2FMC Qw+FsYNd+0drDMWsoNtK3cKR98JyOqY4SVSQDYfvPUtUyAzcfIiDft24rJdJUhP+x3j8 1IzAxGJGaK9lnMuMHcgIfOcqFS0NKK4rICXR0bz6Xi1VcHYcKg0Z7euncaCRlqdPeDOG 1dpQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-transfer-encoding:message-id; bh=CtgU3kmWLe+TFNfKrSdZrGEnD3il6GjeE1qZlRHIQMY=; b=OU8EMVW4ZZhzwZC2/l9vFgyuc66Nbi+ifd0blDK5Wth/YCLO8cI8kBB/++ap9sEpBO M94IGo9moJGBNByV9ciC9GwUA6ZN7oRjQqwQ4plhRkB9I83xuePACG4qZdvzqZ/tN616 TPRPWM4gaEUVIcpAfDGPwPxmNL1MJ+RyzV4FMkKGoR6yhWja2CC6QmxeqldZWvA3425z /UxsIDeZAqOoqQTEd/zDciDmleEL2JFRXotMPCS+ffL7rLrmZTPpP4HJVbcPCI3iq7JW wc7Zg9aymNKchSdAnDtWm8xXhQEb1a5Ppe8rfuLYisFprsjautC49Fwh1tWmB07ER3cQ JIDA==
X-Gm-Message-State: AODbwcCe1JXdnlrxE3X3ZcxauifioTAVenbgSCaOu6ZZZkyRcmmfX+9s NcC644c/MSNiyA==
X-Received: by 10.237.36.42 with SMTP id r39mr818156qtc.159.1494985844782; Tue, 16 May 2017 18:50:44 -0700 (PDT)
Received: from dave-laptop.localnet (pool-71-185-36-197.phlapa.fios.verizon.net. [71.185.36.197]) by smtp.gmail.com with ESMTPSA id g129sm430708qke.9.2017.05.16.18.50.43 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 16 May 2017 18:50:44 -0700 (PDT)
From: Dave Garrett <davemgarrett@gmail.com>
To: Hubert Kario <hkario@redhat.com>
Date: Tue, 16 May 2017 21:50:41 -0400
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
Cc: Christian Huitema <huitema@huitema.net>, tls@ietf.org, Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Ilari Liusvaara <ilariliusvaara@welho.com>
References: <3768598.32hupQ9b2b@pintsize.usersys.redhat.com> <201705151610.01070.davemgarrett@gmail.com> <2347596.YMnKhrj8b1@pintsize.usersys.redhat.com>
In-Reply-To: <2347596.YMnKhrj8b1@pintsize.usersys.redhat.com>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <201705162150.42470.davemgarrett@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/WEk-EHLOwX78XTZtEjUYcPeKHWI>
Subject: Re: [TLS] Encrypted hellos (was Re: "Encrypted" SNI)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 May 2017 01:54:40 -0000

On Tuesday, May 16, 2017 07:35:16 am Hubert Kario wrote:
> On Monday, 15 May 2017 22:10:00 CEST Dave Garrett wrote:
> > On Monday, May 15, 2017 07:56:44 am Hubert Kario wrote:
> > > I respectfully disagree. That system requires tight coupling between the
> > > TLS implementation and DNS. This is not something that facilitates TLS
> > > deployment. We want more TLS/HTTPS deployment, not less.
> > 
> > I completely understand why you'd disagree on these grounds. My argument is
> > that whilst this does require a significant amount of coordination, it's a
> > more productive route than just focusing on SNI encryption, which still has
> > its own share of problems. (hence us not agreeing on a way to do it yet)
> 
> Is there anything else sensitive in the Client Hello?

Yes. (lower priority info, but nonzero) I'm of the philosophy that implementations
should be open to arbitrary audit, but their messages should not give any
info away that it doesn't have to. Frankly, figuring out how it can be misused
is secondary; I assume it can.

A hypothetical scenario: Lets say I've got a client using a device, and moving
between multiple networks (e.g. joins various WiFi over time). Lets say the
attacker is passive and cannot reliably know what the IP of our client is at
all times. The user will most likely consistently use the same client software.
Various different implementations will make various different choices with
the many switches and options in TLS; fingerprinting implementations based
on their ClientHellos is not that hard. If the user has changed anything
from default that affects TLS via hellos, fingerprinting becomes much easier.
This means that an attacker can one, guess what software the target user
is using and make it easier to attack (and possibly decide to use active
attacks at some point), and two, attempt to track a user with a changing IP
across connections. Lets say our user goes through various WiFi networks
and our attacker can listen in on all of them (not necessarily a tall ask), or
we only care about a specific (set of) server(s) and can listen to their traffic.
If the attacker can link the user to one IP, and see its ClientHello, then
it can guess a window where the client switches from one IP to another,
look for ClientHellos, and then narrow down the possibilities of who the
target is in that list based on the prior fingerprint. If unique enough, or
combined with other information to narrow it down further, the client can
be identified across networks. There's of course other reasons clients can
switch between IPs; Tor users can come out of different exit nodes over time.
The point here is that not being able to fingerprint the ClientHello would
make it much harder to track targets across IP changes.

Additionally, whether or not a client is resuming a session is revealed in
the ClientHello. This information can also be used to identify clients, and is
itself potentially private information that the user may not wish to be
disclosed.

I'm sure we could come up with some other bits of information that get
leaked that could be used in some creative way in the future. I also assume
that some implementation will at some point put something incredibly stupid
in its ClientHello that needs extra protection. I'd prefer we just attempt to
always encrypt it all and call it a day. ;)

> Either way, to properly 
> encrypt SNI with forward secrecy requires the same system that would be 
> necessary to encrypt the whole Client Hello.

I get the impression that some people consider "proper" encryption of SNI
to be something less important than getting it encrypted in any way. (e.g.
a trial hashing idea was brought up) I'm not opposed to attempting to get
a minimum viable SNI encryption scheme out there, but I think those efforts
are better aimed higher. (and doing just SNI makes us less likely to consider
full hello encryption in the future)

> > The most practical short-term route would likely be to continue to hold our
> > noses and expect cleartext SNI, but maybe provide a very simple way for
> > servers to put a flag in a DNS record to opt-out entirely when they can do
> > without.
> 
> The point of encrypting SNI is so that you can hide a website on a shared 
> hosting host. If you have just one website on a host, there's nothing to 
> hide... Opting out by servers also makes the interesting targets more visible 
> (see also: email encryption).

Point taken, but you can change your IP more often than your domain. Not using
SNI at least increases the amount of effort required to figure out the destination.


Dave


From nobody Tue May 16 19:09:15 2017
Return-Path: <davemgarrett@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6980212EBD2 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 19:09:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 no60ZQ5uTrXi for <tls@ietfa.amsl.com>; Tue, 16 May 2017 19:09:12 -0700 (PDT)
Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (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 C82C11293D9 for <tls@ietf.org>; Tue, 16 May 2017 19:05:23 -0700 (PDT)
Received: by mail-qk0-x230.google.com with SMTP id u75so145053802qka.3 for <tls@ietf.org>; Tue, 16 May 2017 19:05:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-transfer-encoding:message-id; bh=TkwKmcVnRlPvTcmIr7/8+01hCHPmzrQ1jtVPgECqnD4=; b=bW4/B5K1awbn+6/UzFmClTs2NVJU1Xin8E6kgSBlzhcL6TDGpCVUVnqCnU+OuIE5n1 aQRG8hpz5UH6Ij1p3EiG71+FsEHeezzjn/DHzA7EDNuKYtqG8C9I61ZN06RURpk+k4U8 mOHXbZMbNCgy17J2nL9yBlcJTJsEM4cPxRYjiSZLsx/gzAPt0/MGp9qvgieYOEYOHPNn OO0azuSgJxuutE2L3w7UT+WWQxhULEE/Lsa1YDSHP/rU05s2x5sCu8zcT7JcpJNOF/l8 OYl0ht9L0km2nl8meo3n1rLfl/qzKLsl7mf5hXx2lmbbFonWbKbx05zKJq/rkJGi7EGp 2Xvw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:user-agent:references :in-reply-to:mime-version:content-transfer-encoding:message-id; bh=TkwKmcVnRlPvTcmIr7/8+01hCHPmzrQ1jtVPgECqnD4=; b=rpsimh0glFCaeD8ewsAEWw9PT0bZOa9Ix23IWT+85qdRYiPjMmOifB2QFZ8RUKJEaO Q0H0+fFbVb3kWTX/hMUA+qOhlDAMmvX/CEwAEo49kV43HBymjQ5HwLmvOdDTXl3e0wmh pSfEw+ptXkWUXnZ0/wJe3hxuaD+giUAa591N2mbU0flx4WXyQPCu1/Khw1BE/73b06WC iIDUd0vLil16kylhcIfi0G07L6fcUVRR9ye6LT4lhZoAS9iArIqF+5wC534u/M85uefx aWMXiueEeUTvoscE78/3B5aU8Sv868wKU6T3yjVA+TqF+XLVk5cIG23IwA/WWsD/9Ykw OUVw==
X-Gm-Message-State: AODbwcBcpgRebc3ZbzT4xqSc+tG3E6xdi3yB43S4w2TownI2B8w+49en HotwOG8oojYnMy3u
X-Received: by 10.55.221.8 with SMTP id n8mr808093qki.103.1494986722848; Tue, 16 May 2017 19:05:22 -0700 (PDT)
Received: from dave-laptop.localnet (pool-71-185-36-197.phlapa.fios.verizon.net. [71.185.36.197]) by smtp.gmail.com with ESMTPSA id x31sm470975qtx.12.2017.05.16.19.05.21 for <tls@ietf.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 16 May 2017 19:05:22 -0700 (PDT)
From: Dave Garrett <davemgarrett@gmail.com>
To: tls@ietf.org
Date: Tue, 16 May 2017 22:05:20 -0400
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CAHbuEH7djXnZv-SvOFyLxTb6UWCKj8Hn0ZMS3ccgvviuPuPFKQ@mail.gmail.com> <854FCD7A-B4C7-4E7A-A45E-7EECAA5E856C@dukhovni.org>
In-Reply-To: <854FCD7A-B4C7-4E7A-A45E-7EECAA5E856C@dukhovni.org>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <201705162205.20905.davemgarrett@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/yectREkoFYf2wqutuNqtOIxk4uQ>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 May 2017 02:09:14 -0000

On Tuesday, May 16, 2017 12:37:42 pm Viktor Dukhovni wrote:
>    * RFC7250 raw public keys

Just as a footnote to anyone reading this discussion that may not know:
The current version of the TLS 1.3 spec explicitly recommends RFC7250
raw public keys as a viable option and provides the needed information
on how to handle this in TLS 1.3. Anonymous cipher suite support has
been dropped from TLS 1.3, and trust on first use raw public keys are
the first of the two recommended alternatives.

>    * TOFU public key pinning

Trust on first use public keys in unvalidated certificate chains is the
second recommended alternative.

https://tlswg.github.io/tls13-spec/#unauthenticated-operation
https://tools.ietf.org/html/draft-ietf-tls-tls13-20#appendix-C.6


Dave


From nobody Tue May 16 21:32:39 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 449C11294E1 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 21:32:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 e4Qs30XzXvy8 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 21:32:35 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D3611296C9 for <tls@ietf.org>; Tue, 16 May 2017 21:28:36 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4H4RZ2q000745; Wed, 17 May 2017 05:28:34 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : references : cc : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=wrr32BbKcY81SxiN66YbDDZX+0ZKHJ22I3hmCkVVoQo=; b=ouj53rEubZQq4+oNzshIA+gHuLoT+yWI260UmiRybD8IYa6235QnNtJuWt78OToCOP93 kOZGhv1L9v1daCuSfXoFVBME5FxXBHcX47UGqjT9w9WPhZo11QNu2yhwXKLvBVMwP5tt z0CRGcxnFRp3MJh2kTBrNohAoIBoWcpZGP2eNhojKEA2umC0mBR1VYwiK/nLw5mcEK+d BI7LmFPB802Hhn+Fg+R9RZiIbcZkPqH0pDKDsizKaDjNdNRsfmh2o7wIUCKXqGUGHH7b /StMdtcSFgy3N25fZnstXbViuKIP38Yue2Q+EkO7phYHoekWFD1Lw3czN9zNtTYPgbQ1 tQ== 
Received: from prod-mail-ppoint3 ([96.6.114.86]) by m0050096.ppops.net-00190b01. with ESMTP id 2ag0985bsm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 May 2017 05:28:33 +0100
Received: from pps.filterd (prod-mail-ppoint3.akamai.com [127.0.0.1]) by prod-mail-ppoint3.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4H4L24l008107; Wed, 17 May 2017 00:28:33 -0400
Received: from prod-mail-relay14.akamai.com ([172.27.17.39]) by prod-mail-ppoint3.akamai.com with ESMTP id 2adwfv39w0-1; Wed, 17 May 2017 00:28:32 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay14.akamai.com (Postfix) with ESMTP id 92FB680059; Tue, 16 May 2017 22:28:32 -0600 (MDT)
To: Britta Hale <britta.hale@ntnu.no>
References: <66025639-5ceb-021a-61c4-60620c402a6c@ntnu.no> <CABcZeBMu=9KPvmz-sDknXpa4Vjer=md=ZqsFqGd6WNEFdAxSdg@mail.gmail.com> <1f7c62a1-db73-aeae-97d0-77c769606198@ntnu.no> <CABcZeBPb6HrykcJ8qxktiaH1rMaGv4jEkBBJnDNkdMjOSG-5sw@mail.gmail.com> <238d04ec-eb56-7879-b8c5-754c910bae30@ntnu.no> <CABcZeBPJUQXxoE2FYyrnG7yYPRhUxy2y_D6CdvwZKEuyRopA3g@mail.gmail.com> <c270a7db-73e6-9d7f-e1f7-1bc45ba25717@ntnu.no>
Cc: "tls@ietf.org" <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <a8e9867b-31db-4043-b9cd-0d7bfee3bdc4@akamai.com>
Date: Tue, 16 May 2017 23:28:32 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <c270a7db-73e6-9d7f-e1f7-1bc45ba25717@ntnu.no>
Content-Type: multipart/alternative; boundary="------------15DEAC457CB3B885630C480F"
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-17_03:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705170034
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-17_03:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705170035
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/pXS65c3khKR_RfOHkdQaNZUkP3Q>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 May 2017 04:32:37 -0000

This is a multi-part message in MIME format.
--------------15DEAC457CB3B885630C480F
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

On 05/16/2017 05:57 PM, Britta Hale wrote:
> It is a matter of consistency not aesthetics, and that has actual 
> implications on analysis. 

I think there are some unsupported (and unstated!) assumptions about
what framework in which to analyze things going on here.

> Classifying message types is meaningful in terms of truncation attacks.
> Under a application traffic secret, a receiver is only guaranteed protection 
> from a truncation if it receives an alert (close_notify). According to the 
> current draft, a server is only guaranteed protection from such an attack 
> for 0-RTT data if it receives a handshake message. Such a difference is sloppy
> in terms of analysis.

For truncation attacks, maybe alert makes more sense.  In the area of
advancing the state machine without terminating the connection,
handshake makes more sense.  You are talking as if there is a single
right answer without stating your assumptions; you need to say more
about what you are assume and what analyses hinge on such assumptions if
you want your argument to carry much weight.

> Furthermore, there is the inconsistency of placement of the EOED message in 
> the Finished hash. The lack of synchronization of EOED, i.e. not being fixed 
> with respect to the other handshake messages, could complicate analysis in 
> terms of matching server/client transcripts.

The location in the handshake hash is well-specified in the "The
Transcript Hash" section -- it comes after server Finished.
It looks like we need to update the preceding table covering base key
generation to match, though.

-Ben

--------------15DEAC457CB3B885630C480F
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/16/2017 05:57 PM, Britta Hale wrote:<br>
    <blockquote cite="mid:c270a7db-73e6-9d7f-e1f7-1bc45ba25717@ntnu.no"
      type="cite">
      <pre wrap="">It is a matter of consistency not aesthetics, and that has actual 
implications on analysis. 
</pre>
    </blockquote>
    <br>
    I think there are some unsupported (and unstated!) assumptions about
    what framework in which to analyze things going on here.<br>
    <br>
    <blockquote cite="mid:c270a7db-73e6-9d7f-e1f7-1bc45ba25717@ntnu.no"
      type="cite">
      <pre wrap="">
Classifying message types is meaningful in terms of truncation attacks.
Under a application traffic secret, a receiver is only guaranteed protection 
from a truncation if it receives an alert (close_notify). According to the 
current draft, a server is only guaranteed protection from such an attack 
for 0-RTT data if it receives a handshake message. Such a difference is sloppy
in terms of analysis.
</pre>
    </blockquote>
    <br>
    For truncation attacks, maybe alert makes more sense.  In the area
    of advancing the state machine without terminating the connection,
    handshake makes more sense.  You are talking as if there is a single
    right answer without stating your assumptions; you need to say more
    about what you are assume and what analyses hinge on such
    assumptions if you want your argument to carry much weight.<br>
    <br>
    <blockquote cite="mid:c270a7db-73e6-9d7f-e1f7-1bc45ba25717@ntnu.no"
      type="cite">
      <pre wrap="">
Furthermore, there is the inconsistency of placement of the EOED message in 
the Finished hash. The lack of synchronization of EOED, i.e. not being fixed 
with respect to the other handshake messages, could complicate analysis in 
terms of matching server/client transcripts.
</pre>
    </blockquote>
    <br>
    The location in the handshake hash is well-specified in the "The
    Transcript Hash" section -- it comes after server Finished.<br>
    It looks like we need to update the preceding table covering base
    key generation to match, though.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------15DEAC457CB3B885630C480F--


From nobody Tue May 16 21:35:31 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D39CD129C52 for <tls@ietfa.amsl.com>; Tue, 16 May 2017 21:35:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 KuI_FHfkoqkf for <tls@ietfa.amsl.com>; Tue, 16 May 2017 21:35:27 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 342CB129A9F for <tls@ietf.org>; Tue, 16 May 2017 21:31:17 -0700 (PDT)
Received: from pps.filterd (m0050093.ppops.net [127.0.0.1]) by m0050093.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4H4S2dw028301 for <tls@ietf.org>; Wed, 17 May 2017 05:31:15 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : references : to : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=ZOSvN9ukilzzohHGuI7rl70ADCQxUAYwvSkzW8nkwKw=; b=XVS1d6YQRQsE5F0I8NU1gkPwgapvOfH8FDkkInkhYy0m0iiVdl4QRmNjAelxzLPWKGmH DFTFsgGQU1oMdhAveyI2eGD+NISQn0amrR+QbaD72Sw5X7x6GCCTCFW9ciehSUPWX/sb Som+O3D0SSy5ZwCdXNIGUOrrMkLvwojWb7Wwo44LXgcYOBpq0LvsMSLRB7TnMKcPbHX7 M0aeCo54bPM6TitMrOjRH15xS3YuUmDa0AOYOICnbhFeVaVseVGwSXXuxgBiTBsQjq9h iT0REg3+MNOHTXEQyEzWwOqZvPo4I6O3w+bPxc50aVWEoGujfVa5WFkP7IuvlUfIvEzF SA== 
Received: from prod-mail-ppoint3 ([96.6.114.86]) by m0050093.ppops.net-00190b01. with ESMTP id 2ag08rdyfp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <tls@ietf.org>; Wed, 17 May 2017 05:31:15 +0100
Received: from pps.filterd (prod-mail-ppoint3.akamai.com [127.0.0.1]) by prod-mail-ppoint3.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4H4UhFC013999 for <tls@ietf.org>; Wed, 17 May 2017 00:31:14 -0400
Received: from prod-mail-relay15.akamai.com ([172.27.17.40]) by prod-mail-ppoint3.akamai.com with ESMTP id 2adwfv3a29-1 for <tls@ietf.org>; Wed, 17 May 2017 00:31:14 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay15.akamai.com (Postfix) with ESMTP id 419F420069 for <tls@ietf.org>; Tue, 16 May 2017 22:31:14 -0600 (MDT)
References: <11E2F0BE-9F26-455F-9C99-E2B77245EF62@sn3rd.com> <7ccc5e9962dc4a4aa8fa3983eb6b122b@usma1ex-dag1mb1.msg.corp.akamai.com> <CAF8qwaCSW1aZv5ko3rtOxt-=eEi8-gYX-ju2v+Dx3hoc2h=3Cw@mail.gmail.com> <CAO8oSX=Um8c_1_sZkbChy2eXBkb-NCL8xN29FTfa4XmsoJdHMw@mail.gmail.com>
To: "<tls@ietf.org>" <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <4c0589e3-298f-dee0-ef5f-922e0619e943@akamai.com>
Date: Tue, 16 May 2017 23:31:12 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAO8oSX=Um8c_1_sZkbChy2eXBkb-NCL8xN29FTfa4XmsoJdHMw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------1380ED4AA165321FC201703A"
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-17_03:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705170035
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-17_03:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705170035
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/-onCrshShvslA3mvAwyW6dQHhj4>
Subject: Re: [TLS] WG Call for adoption of draft-ghedini-tls-certificate-compression
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 May 2017 04:35:29 -0000

This is a multi-part message in MIME format.
--------------1380ED4AA165321FC201703A
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

*adds to the chorus*
-Ben

On 05/16/2017 01:33 PM, Christopher Wood wrote:
> I am in favor and willing to review it.
>
> Best,
> Chris
>
> On Tue, May 16, 2017 at 11:17 AM, David Benjamin <davidben@chromium.org> wrote:
>> I too am in favor and willing to review it.
>>
>>
>> On Tue, May 16, 2017 at 9:25 AM Salz, Rich <rsalz@akamai.com> wrote:
>>> In favor, will review.
>>>
>>> _______________________________________________
>>> TLS mailing list
>>> TLS@ietf.org
>>> https://www.ietf.org/mailman/listinfo/tls
>>
>> _______________________________________________
>> TLS mailing list
>> TLS@ietf.org
>> https://www.ietf.org/mailman/listinfo/tls
>>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls


--------------1380ED4AA165321FC201703A
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>*adds to the chorus*<br>
      -Ben<br>
    </tt><br>
    <div class="moz-cite-prefix">On 05/16/2017 01:33 PM, Christopher
      Wood wrote:<br>
    </div>
    <blockquote
cite="mid:CAO8oSX=Um8c_1_sZkbChy2eXBkb-NCL8xN29FTfa4XmsoJdHMw@mail.gmail.com"
      type="cite">
      <pre wrap="">I am in favor and willing to review it.

Best,
Chris

On Tue, May 16, 2017 at 11:17 AM, David Benjamin <a class="moz-txt-link-rfc2396E" href="mailto:davidben@chromium.org">&lt;davidben@chromium.org&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">I too am in favor and willing to review it.


On Tue, May 16, 2017 at 9:25 AM Salz, Rich <a class="moz-txt-link-rfc2396E" href="mailto:rsalz@akamai.com">&lt;rsalz@akamai.com&gt;</a> wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">
In favor, will review.

_______________________________________________
TLS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TLS@ietf.org">TLS@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/tls">https://www.ietf.org/mailman/listinfo/tls</a>
</pre>
        </blockquote>
        <pre wrap="">

_______________________________________________
TLS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TLS@ietf.org">TLS@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/tls">https://www.ietf.org/mailman/listinfo/tls</a>

</pre>
      </blockquote>
      <pre wrap="">
_______________________________________________
TLS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TLS@ietf.org">TLS@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/tls">https://www.ietf.org/mailman/listinfo/tls</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------1380ED4AA165321FC201703A--


From nobody Wed May 17 09:00:24 2017
Return-Path: <housley@vigilsec.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B0C8D12EAFA for <tls@ietfa.amsl.com>; Wed, 17 May 2017 09:00:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 2sVtNopl-DvW for <tls@ietfa.amsl.com>; Wed, 17 May 2017 09:00:21 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BCAB1129AEA for <tls@ietf.org>; Wed, 17 May 2017 08:54:20 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 1DFF1300541 for <tls@ietf.org>; Wed, 17 May 2017 11:54:20 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id n-d_BB7UUH1Q for <tls@ietf.org>; Wed, 17 May 2017 11:54:18 -0400 (EDT)
Received: from a860b60074bd.home (pool-108-45-101-150.washdc.fios.verizon.net [108.45.101.150]) by mail.smeinc.net (Postfix) with ESMTPSA id C4A2C300096; Wed, 17 May 2017 11:54:18 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <11E2F0BE-9F26-455F-9C99-E2B77245EF62@sn3rd.com>
Date: Wed, 17 May 2017 11:54:20 -0400
Cc: IETF TLS <tls@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <B2E271A8-6053-420D-A8BE-21420923EFFC@vigilsec.com>
References: <11E2F0BE-9F26-455F-9C99-E2B77245EF62@sn3rd.com>
To: Sean Turner <sean@sn3rd.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/5LcsvWVtE96iYAFI7SegzCjSyAk>
Subject: Re: [TLS] WG Call for adoption of draft-ghedini-tls-certificate-compression
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 May 2017 16:00:23 -0000

I support adoption, and I am willing to review.

I note that this document defines the Certificate structure as:

       struct {
            uint24 uncompressed_length;
            opaque compressed_certificate_message<1..2^24-1>;
       } Certificate;

However, the current TLS 1.3 already defines a Certificate structure as:

      struct {
          opaque certificate_request_context<0..2^8-1>;
          CertificateEntry certificate_list<0..2^24-1>;
      } Certificate;

I think the one in this document should be renamed.

Russ



> On May 16, 2017, at 8:52 AM, Sean Turner <sean@sn3rd.com> wrote:
>=20
> All,
>=20
> At the IETF 98 meeting in Chicago, there was support in the room to =
adopt =
https://datatracker.ietf.org/doc/draft-ghedini-tls-certificate-compression=
/. We are looking for feedback on adopting this draft form the list. =
Please respond if you support the draft and are willing to review it. If =
you object to its adoption, please let us know why. Please respond to =
the list by 20170530.
>=20
> Cheers,
>=20
> J&S
>=20
> Apologies - we dropped the ball on this adoption call, the call should =
have gone out with the others.
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls


From nobody Wed May 17 21:58:51 2017
Return-Path: <joe@salowey.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 770F112EBC7 for <tls@ietfa.amsl.com>; Wed, 17 May 2017 21:58:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.27
X-Spam-Level: 
X-Spam-Status: No, score=0.27 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=salowey-net.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 h2eKBYOjuYXN for <tls@ietfa.amsl.com>; Wed, 17 May 2017 21:58:47 -0700 (PDT)
Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::232]) (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 2B168129B67 for <tls@ietf.org>; Wed, 17 May 2017 21:53:54 -0700 (PDT)
Received: by mail-pf0-x232.google.com with SMTP id n23so17724324pfb.2 for <tls@ietf.org>; Wed, 17 May 2017 21:53:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salowey-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=RYiy86fG9LbS2j0c64nIixN0QKww3sY8VJB8hMNNruQ=; b=K/8cwJzQySMEfxhyzgod1McXiOGrM3qGCrJCIlPBgUZseNB8WDuJ88iZNetPrnxCMM LuZLJ3U+Tc8UMOFqg3wavdFfYVsg3+LduaMMabvmWz16FFDawqn2+WChPJgRE3yUsp5d AtIAAfPO1ahOrw5Z2+hrxqJ80ZobFGEQu9wc7TjC4J53jKOlc/mNsV34OAk8gTWHMlU/ yuIV5b6tUW+H3lr1ChaKbGZn0kC6pe/ovH7Ssu9je4LcT/Zdv0ITMsvgtHexW/3cVpjD 7DWiAoiCTy3GmcJXRusbMh1KJxpZQxvCVYWwkfrA36GyhjfCeap1XbAmp0k6GgJbNEY2 UtKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=RYiy86fG9LbS2j0c64nIixN0QKww3sY8VJB8hMNNruQ=; b=VpKAaO7RrkLvX0JviGneaRwZo8WjlLzialSojWTe+enh8bIWkotwQ085Rld+CUmMmS aT4f1fsF+PwjnPSpBPIWIWVTE6bH4phkX7q5BQEfGq7fboYcYXE812XYTXvlGxShbKNG NUPG2ROa2qmEpfapgl0YGK0ujMa65vxShiiCwFlauwFS+rOVcPHWCatSd4ISpqys/Bod bA2WDQC8CiwLslKaPm65lBylG9j9UVsZyqqJ91pfkqRFpmwBsuvh+0uNEOTPKkhbGk6W ybijoEvQS0NvAi9UrEEuHuuw9cGcm8V+SUnodR4AwefF9YklM6ypJ/uf0WUyriR4Za80 54lA==
X-Gm-Message-State: AODbwcA5g3tZ0/hzjhGhs0C8jbc6g3xw4DxmeTfPt7bxgEU48VcClWEm 0SiS9vW7oB4sa1ULztakLeQlcMIpO0GYkY4=
X-Received: by 10.84.218.7 with SMTP id q7mr2489178pli.80.1495083233642; Wed, 17 May 2017 21:53:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.177.204 with HTTP; Wed, 17 May 2017 21:53:33 -0700 (PDT)
In-Reply-To: <CAOgPGoCvpjoexe0u2bT+P5eO75L2UbAtmCOx_1x+WxWvv8ktPA@mail.gmail.com>
References: <CAOgPGoCvpjoexe0u2bT+P5eO75L2UbAtmCOx_1x+WxWvv8ktPA@mail.gmail.com>
From: Joseph Salowey <joe@salowey.net>
Date: Wed, 17 May 2017 21:53:33 -0700
Message-ID: <CAOgPGoA-ejpHuPngjXCCuB3t9LGgwg6=s9enkcTzRV9OjUjo9Q@mail.gmail.com>
To: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="f403045d17520d1ec3054fc531c7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/5NUaEMQmbfXXs2u5QYQIKYOMiv8>
Subject: Re: [TLS] Call for adoption of draft-sullivan-tls-exported-authenticator
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 04:58:49 -0000

--f403045d17520d1ec3054fc531c7
Content-Type: text/plain; charset="UTF-8"

It looks like we have consensus to adopt this draft as a working group
item.  Please submit the current draft as a working group item with the
filename draft-ietf-tls-exported-authenticator-00.txt.   It is OK to apply
pull request #11 before submitting this document.


Thanks,

J&S

On Thu, Apr 13, 2017 at 9:29 PM, Joseph Salowey <joe@salowey.net> wrote:

> Hey Folks,
>
> At the IETF 98 meeting in Chicago there was support in the room to adopt
> draft-sullivan-tls-exported-authenticator [0]. We are looking for
> feedback on adopting this draft form the list. Please respond if you
> support the draft and are willing to review it. If you object to its
> adoption, please let us know why. Please respond to the list by 20170501
>
> Cheers,
>
> J&S
>
> [0] https://datatracker.ietf.org/doc/html/draft-sullivan-tls
> -exported-authenticator
>

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

<div dir=3D"ltr"><div style=3D"font-size:12.8px">It looks like we have cons=
ensus to adopt this draft as a working group item.=C2=A0 Please submit the =
current draft as a working group item with the filename=C2=A0draft-ietf-tls=
-export<wbr>ed-authenticator-00.txt. =C2=A0=C2=A0It is OK to apply pull req=
uest #11 before submitting this document. =C2=A0</div><div style=3D"font-si=
ze:12.8px"><br></div><div style=3D"font-size:12.8px"><br></div><div style=
=3D"font-size:12.8px">Thanks,</div><div style=3D"font-size:12.8px"><br></di=
v><div style=3D"font-size:12.8px">J&amp;S</div></div><div class=3D"gmail_ex=
tra"><br><div class=3D"gmail_quote">On Thu, Apr 13, 2017 at 9:29 PM, Joseph=
 Salowey <span dir=3D"ltr">&lt;<a href=3D"mailto:joe@salowey.net" target=3D=
"_blank">joe@salowey.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><div dir=3D"ltr"><span style=3D"font-size:12.8px">Hey Folks,</span><b=
r style=3D"font-size:12.8px"><br style=3D"font-size:12.8px"><span style=3D"=
font-size:12.8px">At the IETF 98 meeting in Chicago there was support in th=
e room to adopt=C2=A0</span><span id=3D"m_7200275667532509252gmail-m_-91082=
69412379757300gmail-docs-internal-guid-a4b4da44-65a3-97b1-c448-a90bf7aab77b=
" style=3D"font-size:12.8px"><span style=3D"font-size:10pt;background-color=
:transparent;vertical-align:baseline;white-space:pre-wrap"><font face=3D"ar=
ial, helvetica, sans-serif">draft-sullivan-tls-expor<wbr>ted-authenticator<=
/font></span></span><span style=3D"font-size:12.8px">=C2=A0[0]. We are look=
ing for feedback on adopting this draft form the list. Please respond if yo=
u support the draft and are willing to review it. If you object to its adop=
tion, please let us know why. Please respond to the list by 20170501</span>=
<br style=3D"font-size:12.8px"><br style=3D"font-size:12.8px"><span style=
=3D"font-size:12.8px">Cheers,</span><br style=3D"font-size:12.8px"><br styl=
e=3D"font-size:12.8px"><span style=3D"font-size:12.8px">J&amp;S</span><br s=
tyle=3D"font-size:12.8px"><div style=3D"font-size:12.8px"><span style=3D"fo=
nt-size:12.8px"><br></span></div><div style=3D"font-size:12.8px"><span styl=
e=3D"font-size:12.8px">[0]=C2=A0<a href=3D"https://datatracker.ietf.org/doc=
/html/draft-sullivan-tls-exported-authenticator" target=3D"_blank">https://=
datatracker.ietf.o<wbr>rg/doc/html/draft-sullivan-tls<wbr>-exported-authent=
icator</a></span></div></div>
</blockquote></div><br></div>

--f403045d17520d1ec3054fc531c7--


From nobody Wed May 17 23:16:00 2017
Return-Path: <brian@briansmith.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6D2A712944C for <tls@ietfa.amsl.com>; Wed, 17 May 2017 23:15:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.2
X-Spam-Level: 
X-Spam-Status: No, score=-1.2 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=briansmith-org.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 Cs0k-nyefmIi for <tls@ietfa.amsl.com>; Wed, 17 May 2017 23:15:57 -0700 (PDT)
Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 D0190129B94 for <tls@ietf.org>; Wed, 17 May 2017 23:10:27 -0700 (PDT)
Received: by mail-it0-x231.google.com with SMTP id e65so22225767ita.1 for <tls@ietf.org>; Wed, 17 May 2017 23:10:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=briansmith-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=L6uWRYRK7/QxZB0BqEwQtcA9ci7BPTfGTecGne1R7GQ=; b=ao7T4Ru6mONys+dE1FEveodmjcO3iapP+eS77grvqslK2WRSDnXuQBMgvbc/PsvMD8 dAZCV28GINodkCNwHXvcuTO4Clt3YNO7F2Z/cXFUBM1pDtzIXi6m3+XhDZmRRdLSKfUW pIXSGfBecqIpyByPHi70cL0lguEp+wQBbh+9XsOU4Ddum9/PyWyWpEf7DHRVdX7Lj5PA qtb++VMqt1vhda7SXbQhm5dazYLdlEYDZ2NiTufw6SOlYjoj32Hn2n8RVdaSdh0+ILt0 wJ+/jpMx9jTQUIQK/RuSGsO+C7OKHNa24H8dgVCDdwvPBroB5Km1OZforgQenItAKwr+ Xd4A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=L6uWRYRK7/QxZB0BqEwQtcA9ci7BPTfGTecGne1R7GQ=; b=f2zPbcZkWu8RfqxfFGqGro8TPyulsuczpN9Q765TDPrjPl7U0Xpr/+B+9tc/Rw/4uP X3w0fwzt/03R0ows8TzI7zGHLMvFwugfuYmoVDziYxnxfyyEFM/QOg0NI3PMaAwQOqH8 3aS0MT+xUkstdBm5qc5mqB1gLuq1EOub94tx/pfeWoAd0g3D6gS7y0IdcFANgB7QSgCZ IpDT+/f6ywpbPzZq1NzUWb2/Dqm2i2GHx/bXB1SqL1el8kcZZcrktmDi+QoJf+FFCdwF qCVgRGwEe/z2cutn6sDvfWeBeCwBmmjYNrIy4ekYZaU5/7pmRTprGl0mrhGs4Ntr9uG8 jnng==
X-Gm-Message-State: AODbwcA4GpeCJgaOhoxEWfECU76XsEgC95Y+3b/FF5+hpsWgpp7MaaH6 jpViuAq6OQCvQ19QTfZmVc0Ql5e6AeXQ
X-Received: by 10.36.124.85 with SMTP id a82mr20207626itd.90.1495087827125; Wed, 17 May 2017 23:10:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.36.77.84 with HTTP; Wed, 17 May 2017 23:10:26 -0700 (PDT)
In-Reply-To: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com>
From: Brian Smith <brian@briansmith.org>
Date: Wed, 17 May 2017 20:10:26 -1000
Message-ID: <CAFewVt6Ec9XuYduV5Qf9f6b8QboNjfVccgd5ZxRSEVfUDOsE5A@mail.gmail.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Cc: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/7XiQdzGCJGFpVEJqKh-yWfu2txU>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 06:15:58 -0000

Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com> wrote:
> 4. Section 6.2 Error Alerts
>
> In addition to sending the error, I don't see any mention of the error
> being logged on the server side, shouldn't that be specified?  Logging
> errors (at least in debug modes when needed) provides valuable
> troubleshooting information and many applications don't do an adequate
> job of logging, so I think it's important to call that out here as a
> recommendation.

I think I agree with what Kathleen wrote here, but the PR that
attempts to address this
(https://github.com/tlswg/tls13-spec/pull/1021) seems too strong in
recommending that servers send alerts. In particular, IMO logging the
alert shouldn't necessarily be the default and there should be a way
to disable such logging. I guess saying something such as "The
implementation SHOULD provide a way to facilitate the logging of the
error" or similar, instead of "SHOULD log" seems better to me.

In particular, an implementation might not do any logging itself, but
might return an error code that the higher level thing could log (if
it wants to). I would generally recommend implementations do this than
to do logging themselves.

Cheers,
Brian
-- 
https://briansmith.org/


From nobody Thu May 18 06:14:54 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1D8F6129473 for <tls@ietfa.amsl.com>; Thu, 18 May 2017 06:14:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] 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 7oTSUBa3Aeom for <tls@ietfa.amsl.com>; Thu, 18 May 2017 06:14:51 -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 6F17A129471 for <tls@ietf.org>; Thu, 18 May 2017 06:09:10 -0700 (PDT)
Received: by mail-yw0-x22e.google.com with SMTP id p73so9975963ywp.0 for <tls@ietf.org>; Thu, 18 May 2017 06:09:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2vpavdi7NY1//ahB7YAvaQsgQxsp+fVj67txrq6NkdM=; b=yTqJU4Uc+XMmfFKd/k1Nbz1sHhInkmcsSODaiXGFtQd1dRQ91i08WVGDC6LaLFRWJ+ uYnCYwV1OmHoEWi0RmL5mCkFyvxdB7w150g8YVdBBzQNd6x1DM/FpTtG5AKRyd95VS3V xVj05RffBW+GEI96tWSxuPl4Y7vsHm/8ZYZMHpKHPSHNzNWLkbkyEGrzjpUbB3wMBw9u MJOQbB38PPirNPTTKAkGiXhdHImQi7ptBQG9jTz+foBlUHwRuGZ2Y7RdiO9gbPlKKL2w MIYIxStZLbjIRhc0O6MsaGG1ltdzjXQsYPgOoOKkK9LS8EbVbBUq+jI6EX0R/UXAnaN5 Ck3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2vpavdi7NY1//ahB7YAvaQsgQxsp+fVj67txrq6NkdM=; b=lreSbQ7KpEIa6RFJE0n50Lj8uRfdJanZCD2MWjDNPggQf1Lz9WL8oB6vCwmLfokOk0 2gSDkmgNdc3rPFlG0CftQfhyFtwJgqamlibeRv/DKsX0f9cmiO/k1qZ/OO6Aq+nUPjay HNLXw9nHXgqWWVnehfvq5Udeyp89VDjpLJWiE0j2p4ZIcmwIAvLXHhmIwLMSSdgBkIVw J4+D+vXF/qacQlLFkzTKp1coQM4pimYwRh/RoBJ6QvfpfGYCVtiqBiMpqenS23bo2LuR jCw3i5uxYwb/N3MZfu6PqelROJ5HM0JgPzDs8i9caXFkW6MRdIglz6gy78HkAuSw1m87 PGjg==
X-Gm-Message-State: AODbwcA9tnGcBTUmMdqAxELyNjIwWjKaLgDmZ2FYFQ85djPXpAJJra6h kzyoeRija1Nl33I0Id99yTA5mNB69qqx
X-Received: by 10.129.147.134 with SMTP id k128mr3433891ywg.270.1495112949738;  Thu, 18 May 2017 06:09:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Thu, 18 May 2017 06:08:29 -0700 (PDT)
In-Reply-To: <CAFewVt6Ec9XuYduV5Qf9f6b8QboNjfVccgd5ZxRSEVfUDOsE5A@mail.gmail.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CAFewVt6Ec9XuYduV5Qf9f6b8QboNjfVccgd5ZxRSEVfUDOsE5A@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 18 May 2017 09:08:29 -0400
Message-ID: <CABcZeBNREV5X_4y3RGWpD0+ziKbhfYtbSpECuMRerFz6kjHkJw@mail.gmail.com>
To: Brian Smith <brian@briansmith.org>
Cc: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c08d35644dc2f054fcc1c7f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/FnZNSiRz9cZCtHd50Ui6rGciuNM>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 13:14:53 -0000

--94eb2c08d35644dc2f054fcc1c7f
Content-Type: text/plain; charset="UTF-8"

This works for me, does anyone object to my updating the PR in this fashion?

-Ekr


On Thu, May 18, 2017 at 2:10 AM, Brian Smith <brian@briansmith.org> wrote:

> Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com> wrote:
> > 4. Section 6.2 Error Alerts
> >
> > In addition to sending the error, I don't see any mention of the error
> > being logged on the server side, shouldn't that be specified?  Logging
> > errors (at least in debug modes when needed) provides valuable
> > troubleshooting information and many applications don't do an adequate
> > job of logging, so I think it's important to call that out here as a
> > recommendation.
>
> I think I agree with what Kathleen wrote here, but the PR that
> attempts to address this
> (https://github.com/tlswg/tls13-spec/pull/1021) seems too strong in
> recommending that servers send alerts. In particular, IMO logging the
> alert shouldn't necessarily be the default and there should be a way
> to disable such logging. I guess saying something such as "The
> implementation SHOULD provide a way to facilitate the logging of the
> error" or similar, instead of "SHOULD log" seems better to me.
>
> In particular, an implementation might not do any logging itself, but
> might return an error code that the higher level thing could log (if
> it wants to). I would generally recommend implementations do this than
> to do logging themselves.
>
> Cheers,
> Brian
> --
> https://briansmith.org/
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr">This works for me, does anyone object to my updating the P=
R in this fashion?<div><br></div><div>-Ekr</div><div><br></div></div><div c=
lass=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, May 18, 2017 at=
 2:10 AM, Brian Smith <span dir=3D"ltr">&lt;<a href=3D"mailto:brian@briansm=
ith.org" target=3D"_blank">brian@briansmith.org</a>&gt;</span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex"><span class=3D"">Kathleen Moriarty &lt;<a href=
=3D"mailto:kathleen.moriarty.ietf@gmail.com">kathleen.moriarty.ietf@gmail.<=
wbr>com</a>&gt; wrote:<br>
&gt; 4. Section 6.2 Error Alerts<br>
&gt;<br>
&gt; In addition to sending the error, I don&#39;t see any mention of the e=
rror<br>
&gt; being logged on the server side, shouldn&#39;t that be specified?=C2=
=A0 Logging<br>
&gt; errors (at least in debug modes when needed) provides valuable<br>
&gt; troubleshooting information and many applications don&#39;t do an adeq=
uate<br>
&gt; job of logging, so I think it&#39;s important to call that out here as=
 a<br>
&gt; recommendation.<br>
<br>
</span>I think I agree with what Kathleen wrote here, but the PR that<br>
attempts to address this<br>
(<a href=3D"https://github.com/tlswg/tls13-spec/pull/1021" rel=3D"noreferre=
r" target=3D"_blank">https://github.com/tlswg/<wbr>tls13-spec/pull/1021</a>=
) seems too strong in<br>
recommending that servers send alerts. In particular, IMO logging the<br>
alert shouldn&#39;t necessarily be the default and there should be a way<br=
>
to disable such logging. I guess saying something such as &quot;The<br>
implementation SHOULD provide a way to facilitate the logging of the<br>
error&quot; or similar, instead of &quot;SHOULD log&quot; seems better to m=
e.<br>
<br>
In particular, an implementation might not do any logging itself, but<br>
might return an error code that the higher level thing could log (if<br>
it wants to). I would generally recommend implementations do this than<br>
to do logging themselves.<br>
<br>
Cheers,<br>
Brian<br>
<span class=3D"HOEnZb"><font color=3D"#888888">--<br>
<a href=3D"https://briansmith.org/" rel=3D"noreferrer" target=3D"_blank">ht=
tps://briansmith.org/</a><br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</div></div></blockquote></div><br></div>

--94eb2c08d35644dc2f054fcc1c7f--


From nobody Thu May 18 07:08:41 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 75BEC129458 for <tls@ietfa.amsl.com>; Thu, 18 May 2017 07:08:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 pciAcmMB-z5B for <tls@ietfa.amsl.com>; Thu, 18 May 2017 07:08:38 -0700 (PDT)
Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c: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 F16FF12956B for <tls@ietf.org>; Thu, 18 May 2017 07:02:22 -0700 (PDT)
Received: by mail-wm0-x236.google.com with SMTP id d127so53581597wmf.0 for <tls@ietf.org>; Thu, 18 May 2017 07:02:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SCuo8Uw8VFVd6R9v6uY49vwV4/OC9AQ7bUF0rtgrreQ=; b=fz/DQ76hnKgPLX/bCizvVxNpXbBMEyM5T6sZOL0lz5t2R/T8Cjh6u3g1shlORPxWsx RgZFpWJM72rM7Sd+7uEEJ9nLesHpOQLyPv/yFFJDYhBpvd7FB7Q2fKUo9aKTJEdIGT12 fa13XhHbN5Z/VeYJpLO7CY+Z0bVL/o1fwsNx0mgp/QA0qMoib3mC8XUIADta8TViw3S5 1g7NkWV499Q/VT7Zc2PNa7uvJFC/5r15SvfB3sX4+abcXDHjSovoR0qMNz5dFULQZ97l qN3bIYzpiO1xNfe1GFyKsAvwVg5yuyljg2R8It4LB5gQS+FQtD2ycovLNrjuiN7VuWHL NUOg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SCuo8Uw8VFVd6R9v6uY49vwV4/OC9AQ7bUF0rtgrreQ=; b=Tvx/wFy+Q6NhKmRta9LCNoNA/VI0HS77Ex9ACeWJwETJ1AEvWl2WWHjQjI0j3wSTz0 ha6IMhAgxRGHA3lDv4TcoV5iijvUgns/kk8eLPKLFGoK0KJkbDRhTsQyy4VVYWSaFz/O 0pxx5PMZZ9wyoWZWodIspxFvHHTTpuLVF8Wjr5OG/xPMhfqqnOyt+Wvwd8fH9nctSTIN dAC+ldtoDFEXIL65ACJoYowYSX6RmNcjcuO+7DV7gvi2wPyzewxFrKkUGi/lHTjWM+6v JEvszhN325a7YPBtdy7Gl1DP10vCjML2KBIvGsNl7Jy57CBO6uQraLhsI0U1qvR8sqbJ 8vlA==
X-Gm-Message-State: AODbwcC0ETMqJ0SvezVTa0hwqA1Fbyca2vgVWsVSNfA361HH2Q+YIVHE huUJl43aNQTCFyaDZbJaRaciAo4rL0NI
X-Received: by 10.25.215.198 with SMTP id q67mr1012705lfi.76.1495116141505; Thu, 18 May 2017 07:02:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.75.9 with HTTP; Thu, 18 May 2017 07:02:20 -0700 (PDT)
In-Reply-To: <CABcZeBNREV5X_4y3RGWpD0+ziKbhfYtbSpECuMRerFz6kjHkJw@mail.gmail.com>
References: <CAHbuEH4PXU5569RYJ1uPcriQruCewmRrXUU3MVBZ+GtpyceiAw@mail.gmail.com> <CAFewVt6Ec9XuYduV5Qf9f6b8QboNjfVccgd5ZxRSEVfUDOsE5A@mail.gmail.com> <CABcZeBNREV5X_4y3RGWpD0+ziKbhfYtbSpECuMRerFz6kjHkJw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 18 May 2017 10:02:20 -0400
Message-ID: <CABkgnnU=AdrJmjwSFHNiSnrJAXKXsE1z_YUAzoku04DqJN4gMw@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Brian Smith <brian@briansmith.org>, "<tls@ietf.org>" <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/3WhyFIhbCa8D3XlqMBW2bplbQbA>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 14:08:39 -0000

On 18 May 2017 at 09:08, Eric Rescorla <ekr@rtfm.com> wrote:
> This works for me, does anyone object to my updating the PR in this fashion?

Go ahead.


From nobody Thu May 18 10:50:15 2017
Return-Path: <daniel.migault@ericsson.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6AA82129B53; Thu, 18 May 2017 10:50:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 32qQ9BFtPnn6; Thu, 18 May 2017 10:49:59 -0700 (PDT)
Received: from usplmg21.ericsson.net (usplmg21.ericsson.net [198.24.6.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6E2AC129C51; Thu, 18 May 2017 10:44:28 -0700 (PDT)
X-AuditID: c6180641-361ff700000037f2-91-591d971b2e2a
Received: from EUSAAHC004.ericsson.se (Unknown_Domain [147.117.188.84]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id 3D.19.14322.B179D195; Thu, 18 May 2017 14:44:14 +0200 (CEST)
Received: from EUSAAMB107.ericsson.se ([147.117.188.124]) by EUSAAHC004.ericsson.se ([147.117.188.84]) with mapi id 14.03.0319.002; Thu, 18 May 2017 13:44:24 -0400
From: Daniel Migault <daniel.migault@ericsson.com>
To: Dan Romascanu <dromasca@gmail.com>, "gen-art@ietf.org" <gen-art@ietf.org>
CC: "draft-ietf-tls-ecdhe-psk-aead.all@ietf.org" <draft-ietf-tls-ecdhe-psk-aead.all@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: Genart last call review of draft-ietf-tls-ecdhe-psk-aead-03
Thread-Index: AQHSzWiJWERoq289gk+axe0Pcf3PPqH6RMuw
Date: Thu, 18 May 2017 17:44:24 +0000
Message-ID: <2DD56D786E600F45AC6BDE7DA4E8A8C118BDB690@eusaamb107.ericsson.se>
References: <149484519593.2843.448630358757818654@ietfa.amsl.com>
In-Reply-To: <149484519593.2843.448630358757818654@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [147.117.188.10]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrDLMWRmVeSWpSXmKPExsUyuXRPiK7cdNlIgyu3rSzeLNvEZNH4WMvi 6qvPLBbPNs5nsfh0vovRgdVj56y77B5LlvxkCmCK4rJJSc3JLEst0rdL4Mq4cPwKW8EC5YqP 18+wNzCuUepi5OCQEDCRePXSsYuRi0NI4CijxOk9HawQznJGiZ7jD9i6GDk52ASMJNoO9bOD 2CICvhLXT09iByliFljIKNG+aAIzSEJYwENi9/M2qCJPiVMtx5ggbCOJR2+/gtksAqoSK/7/ YgSxeYEGLbu/GiwuJOAoce3MMlYQm1PASWLb/NdgixkFxCS+n1oDVsMsIC5x68l8MFtCQEBi yZ7zzBC2qMTLx/9YIWwliUlLz7GCfMYsoCmxfpc+RKuixJTuh+wQawUlTs58wjKBUXQWkqmz EDpmIemYhaRjASPLKkaO0uKCnNx0I8NNjMA4OSbB5riDcW+v5yFGAQ5GJR7e7i7ZSCHWxLLi ytxDjBIczEoivF/OAYV4UxIrq1KL8uOLSnNSiw8xSnOwKInzviu/ECEkkJ5YkpqdmlqQWgST ZeLglGpglGQpfavM+f9vZGwto0Rz0dTKAtkZFnOnLej061senP3GzIJ3o5POw2VzNm5hTZu2 XmTFhBdqG9fmbn99padTsjD2w5SVd846buI+zMO1NK0sci6zQZMEy9MC21Ua5zWXH+rPZOfg PKd2Nzte3Omf2k7V6aznfyhleR7telc2ie03R8Shf/P3K7EUZyQaajEXFScCAAaWn0GPAgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/zp01BilSG5C8OLrlrEZYshohgfc>
Subject: Re: [TLS] Genart last call review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 17:50:01 -0000

SGkgRGFuLCANCg0KVGhhbmsgeW91IGZvciB5b3VyIHJldmlld3MgYW5kIGNvbW1lbnRzLiBJIGJl
bGlldmUgdGhlIGZvbGxvd2luZyB0ZXh0IHByb3ZpZGVzIG1vcmUgZXhwbGFuYXRpb24gb24gaG93
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WQ/IFNvbWUgYmV0dGVyIGNsYXJpZmljYXRpb24gdGV4dCB3b3Vs
ZCBoZWxwIElNTy4gDQoNCk5pdHMvZWRpdG9yaWFsIGNvbW1lbnRzOiANCg0KDQo=


From nobody Thu May 18 10:52:04 2017
Return-Path: <daniel.migault@ericsson.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7737F12EBD1; Thu, 18 May 2017 10:51:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 Juj8Cf_H5uGh; Thu, 18 May 2017 10:51:46 -0700 (PDT)
Received: from usplmg21.ericsson.net (usplmg21.ericsson.net [198.24.6.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7189F1292F4; Thu, 18 May 2017 10:45:42 -0700 (PDT)
X-AuditID: c6180641-379ff700000037f2-c5-591d976674fc
Received: from EUSAAHC008.ericsson.se (Unknown_Domain [147.117.188.96]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id A8.29.14322.6679D195; Thu, 18 May 2017 14:45:28 +0200 (CEST)
Received: from EUSAAMB107.ericsson.se ([147.117.188.124]) by EUSAAHC008.ericsson.se ([147.117.188.96]) with mapi id 14.03.0339.000; Thu, 18 May 2017 13:45:38 -0400
From: Daniel Migault <daniel.migault@ericsson.com>
To: Simon Friedberger <simon.tls@a-oben.org>, "ietf@ietf.org" <ietf@ietf.org>
CC: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
Thread-Index: AQHSxPVA+HUpnSSi3UucXiEEFjZ+saHk/FmAgBVW5mA=
Date: Thu, 18 May 2017 17:45:38 +0000
Message-ID: <2DD56D786E600F45AC6BDE7DA4E8A8C118BDB69D@eusaamb107.ericsson.se>
References: <149391606578.6842.3727373203321848879.idtracker@ietfa.amsl.com> <4373f972-bf9b-4dbe-1b59-7f51846831f3@a-oben.org>
In-Reply-To: <4373f972-bf9b-4dbe-1b59-7f51846831f3@a-oben.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [147.117.188.10]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGLMWRmVeSWpSXmKPExsUyuXRPgm7GdNlIg6f/VC2ebZzPYnFt8nIW i0/nuxgdmD2mrZvL6LFkyU+mAKYoLpuU1JzMstQifbsEroxTG/tYCk6KVpz9foq9gfGsYBcj B4eEgInErkaHLkYuDiGBo4wS35tmsUA4yxklZv/5zNbFyMnBJmAk0Xaonx3EFhHwlTj6dj2Y zSygKPH+0jywBmGBzYwSL5/dZwRxRAS2MEocOnKPEaLDSuLsuodgHSwCqhKXb3ezgti8QJNW NExmhljXwCjRNfMVO8hNnAJ2Es0HA0FqGAXEJL6fWsMEsU1c4taT+WC2hICAxJI955khbFGJ l4//sULYShKTlp5jhajXkViw+xMbhK0tsWzha2aIvYISJ2c+YZnAKDoLydhZSFpmIWmZhaRl ASPLKkaO0uKCnNx0I8NNjMDYOCbB5riDcW+v5yFGAQ5GJR7e7i7ZSCHWxLLiytxDjBIczEoi vF/OAYV4UxIrq1KL8uOLSnNSiw8xSnOwKInzviu/ECEkkJ5YkpqdmlqQWgSTZeLglGpgnCHf sHirhd3OfXzLin7YrG8Kttv96/a+2pDntQ0h3EebphYbT01i3vSu8UH1bbFnBzRUq9J2Jgj5 FzFuPtKYP7llrfMXl9Bu7Y7S7gP8156GMh81v7/30iS1I4G1KWeXXdl12Gj/ndSyw94nVgd9 Wb5+zc+ioq9bJyX85mKZ5nil0fZxzbpSFyWW4oxEQy3mouJEAJvw01mJAgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/TL-STJFjaYTDj5GmfzSMcFtVrwQ>
Subject: Re: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 17:51:49 -0000

Hi Simon,=20

Thank you for the review. I believe we have addressed your comments in our =
version 04. Please see my comments inline.=20

Yours,=20
Daniel

-----Original Message-----
From: TLS [mailto:tls-bounces@ietf.org] On Behalf Of Simon Friedberger
Sent: Thursday, May 04, 2017 5:59 PM
To: ietf@ietf.org
Cc: tls@ietf.org
Subject: Re: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE=
_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (T=
LS)) to Proposed Standard

Nits:

	RFC 4279 reference is missing.
MGLT: It seems the reference is mentioned in the current version in the Nor=
mative reference as well  as in the introduction at line 127,  in section 3=
 line 143. In case you meant another reference, please let us know.=20



	"TLS 1.3 and above version, " should probably be "TLS 1.3 and above" or "T=
LS 1.3 and higher versions"
MGLT: Changed to "TLS 1.3 and higher versions"

On 04/05/17 18:41, The IESG wrote:
> The IESG has received a request from the Transport Layer Security WG
> (tls) to consider the following document:
> - 'ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
>    Security (TLS)'
>   <draft-ietf-tls-ecdhe-psk-aead-03.txt> as Proposed Standard
>
> The IESG plans to make a decision in the next few weeks, and solicits=20
> final comments on this action. Please send substantive comments to the=20
> ietf@ietf.org mailing lists by 2017-05-18. Exceptionally, comments may=20
> be sent to iesg@ietf.org instead. In either case, please retain the=20
> beginning of the Subject line to allow automated sorting.
>
> Abstract
>
>
>    This document defines several new cipher suites for the Transport
>    Layer Security (TLS) protocol.  The cipher suites are all based on
>    the Ephemeral Elliptic Curve Diffie-Hellman with Pre-Shared Key
>    (ECDHE_PSK) key exchange together with the Authenticated Encryption
>    with Associated Data (AEAD) algorithms AES-GCM and AES-CCM.  PSK
>    provides light and efficient authentication, ECDHE provides perfect
>    forward secrecy, and AES-GCM and AES-CCM provides encryption and
>    integrity protection.
>
>
>
>
> The file can be obtained via
> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
>
> IESG discussion can be tracked via
> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/ballot/
>
>
> No IPR declarations have been submitted directly on this I-D.
>
>
>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls

_______________________________________________
TLS mailing list
TLS@ietf.org
https://www.ietf.org/mailman/listinfo/tls


From nobody Thu May 18 13:54:21 2017
Return-Path: <dromasca@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D876129B55; Thu, 18 May 2017 13:54:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 AuFAi7Ey_ya0; Thu, 18 May 2017 13:54:05 -0700 (PDT)
Received: from mail-qt0-x22e.google.com (mail-qt0-x22e.google.com [IPv6:2607:f8b0:400d:c0d::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 BCBB2129BDA; Thu, 18 May 2017 13:48:08 -0700 (PDT)
Received: by mail-qt0-x22e.google.com with SMTP id c13so44357435qtc.1; Thu, 18 May 2017 13:48:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=iMx3OZGOhgrQiAN7fV+Jcg3bGsPXOS4n792xRPXdOsU=; b=XpoYHqBcc/PN0YYBdSf2VDx0a7/t1YgIJjeMbzdmlZQhgSHLxBGTJFO00MqVgHISGd JM4DGPPuIbbxhl4dtZQf1BP9aNrHFh8sUOb/237opM8skoXjuEwKIE+A1pCrzt3R3V0D etCsTwNwF1XMMhB7sKLZXvzptQ9Yfh1Ad0Dd6yAA+4qaA6QP460dqQfo3rs693keYd2Z kLYdcfPPmybwWoDwCNltag81+P1xQKvGes5B5BuRYT3IbTKI3mIFgfxDiJ+GUnoD2Gia hud7zUOE8YzKOBlyb0lrGSBzfR/t6j567u2uOF/c/YwX0pHE1XqyOGPn0tDnjBIkC/Si Tfkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=iMx3OZGOhgrQiAN7fV+Jcg3bGsPXOS4n792xRPXdOsU=; b=p1/AwDtDyfM961KHUs52xmljZ4/KdvNdHb2d0gXAqhGOqwtk6WGATB1683bvMUU4o2 HUCLHWzvyTMpOxd6VA+XZGBym6MurGC9v4ujqY8cHgoTNJs6z72O3dAyDuzqt7CFBc3N cx5yr0DxxbVc9eZUV8o5+KEZ9t7ij9gacMwwwVnAUUaEuQG6d7fWWS/y13f3b/J1lfta IkmJ9aiv9P7d9iO8bOS4I0yc5hiLqRYAl+4g6BN9BSQGIH27OhOcQNVO6WnsdxkEqlSk 10lRTpO7SgDIYA+fq+8j5gBOipsUnq5L1Ar0IP/d0QJ00OQSDr+uUTcNPGiI/E/lV8w+ k7wQ==
X-Gm-Message-State: AODbwcC5lC7eZJzKtNJNUaLxRhJVzecTHTGGpccYTdsrUGOyNiQHgG+2 yyQp4qJ/u3EhQjNGIMHqbGlWar5U6Q==
X-Received: by 10.237.36.3 with SMTP id r3mr6285091qtc.200.1495140487931; Thu, 18 May 2017 13:48:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.31.101 with HTTP; Thu, 18 May 2017 13:48:07 -0700 (PDT)
In-Reply-To: <2DD56D786E600F45AC6BDE7DA4E8A8C118BDB690@eusaamb107.ericsson.se>
References: <149484519593.2843.448630358757818654@ietfa.amsl.com> <2DD56D786E600F45AC6BDE7DA4E8A8C118BDB690@eusaamb107.ericsson.se>
From: Dan Romascanu <dromasca@gmail.com>
Date: Thu, 18 May 2017 23:48:07 +0300
Message-ID: <CAFgnS4XLycJht29ahFnow-qhfKvRYOKOHc-BG_jZm6qA7vgfqw@mail.gmail.com>
To: Daniel Migault <daniel.migault@ericsson.com>
Cc: "gen-art@ietf.org" <gen-art@ietf.org>,  "draft-ietf-tls-ecdhe-psk-aead.all@ietf.org" <draft-ietf-tls-ecdhe-psk-aead.all@ietf.org>,  "ietf@ietf.org" <ietf@ietf.org>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a114385c8ac2ac6054fd285ed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ebKWBVg_HBgacADom8ppfF0jjGo>
Subject: Re: [TLS] Genart last call review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 20:54:08 -0000

--001a114385c8ac2ac6054fd285ed
Content-Type: text/plain; charset="UTF-8"

Hi Daniel,

Thank you for your response, and for addressing my comment. Yes, the edits
address my concern, this is exactly the kind of clarification text that IMO
was missing. I suggest to publish the revised version as soon as you
address all other comments. The document can be approved by the IESG if
they believe it's ready and will wait in the RFC Editor Queue because of
the dependency on TLS 1.3.

Regards,

Dan


On Thu, May 18, 2017 at 8:44 PM, Daniel Migault <daniel.migault@ericsson.com
> wrote:

> Hi Dan,
>
> Thank you for your reviews and comments. I believe the following text
> provides more explanation on how the provided cipher suites are negotiated
> by TLS1.3 as well as why point codes defined in the document does not apply
> to TLS1.3. Feel free to let me know if that address your concern and I can
> publish version 04 with the text below.
>
> Unlike TLS1.2, TLS1.3 separates authentication and cipher suite
> negotiation <xref target="I-D.ietf-tls-tls13"/> Section 1.2. TLS1.3
> supports PSK with ECDHE key exchange and the cipher suites
> TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_AES_128_CCM_8_SHA256
> and  TLS_AES_128_CCM_SHA256 are part of the specification. As a result, TLS
> 1.3 and higher versions, negotiate and support these cipher suites in a
> different way.
>
> I am not sure we  have to wait for the publication of TLS1.3 as changes on
> TLS1.3 are unlikely to impact the code point assigned. However, we
> currently have TLS1.3 as a normative reference.
>
> Yours,
> Daniel
> -----Original Message-----
> From: Dan Romascanu [mailto:dromasca@gmail.com]
> Sent: Monday, May 15, 2017 6:47 AM
> To: gen-art@ietf.org
> Cc: draft-ietf-tls-ecdhe-psk-aead.all@ietf.org; ietf@ietf.org;
> tls@ietf.org; dromasca@gmail.com
> Subject: Genart last call review of draft-ietf-tls-ecdhe-psk-aead-03
>
> Reviewer: Dan Romascanu
> Review result: Ready with Issues
>
> I am the assigned Gen-ART reviewer for this draft. The General Area Review
> Team (Gen-ART) reviews all IETF documents being processed by the IESG for
> the IETF Chair.  Please treat these comments just like any other last call
> comments.
>
> For more information, please see the FAQ at
>
> <https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.
>
> Document: draft-ietf-tls-ecdhe-psk-aead-??
> Reviewer: Dan Romascanu
> Review Date: 2017-05-15
> IETF LC End Date: 2017-05-18
> IESG Telechat date: 2017-05-25
>
> Summary:
>
> This is a straight-forward and clear document that defines several new
> cipher suites for the Transport Layer Security (TLS) protocol version
> 1.2 and higher, based on the Ephemeral Elliptic Curve Diffie-Hellman with
> Pre-Shared Key (ECDHE_PSK) key exchange together with the Authenticated
> Encryption with Associated Data (AEAD) algorithms AES-GCM and AES-CCM. The
> document is well written and I appreciate the effort to clarify in the
> Introduction the context, what was missing, and why the document is
> necessary. The document is Ready, there is one issue about support for TLS
> version 1.3 and higher that may need some text clarification.
>
> Major issues:
>
> Minor issues:
>
> Section 4 ('Applicable TLS Versions') describes in details how the cipher
> suites defined in the document make use of the authenticated encryption
> with additional data (AEAD) defined in TLS 1.2 [RFC5246] and DTLS 1.2
> [RFC6347]. About TLS 1.3 it just says:
>
> ' TLS 1.3 and above version, negotiate and support these cipher suites in
> a different way.'
>
> This may raise some concerns as 'in a different way' is ambiguous,
> especially compared to the details included for TLS 1.2. Moreover, TLS
> 1.3 is still work-in-progress, and I believe that this document when
> approved needs to wait for TLS 1.3 to be approved for publication.
> Will anything change, or need to be added? Some better clarification text
> would help IMO.
>
> Nits/editorial comments:
>
>
>

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

<div dir=3D"ltr"><div><div><div>Hi Daniel, <br><br></div>Thank you for your=
 response, and for addressing my comment. Yes, the edits address my concern=
, this is exactly the kind of clarification text that IMO was missing. I su=
ggest to publish the revised version as soon as you address all other comme=
nts. The document can be approved by the IESG if they believe it&#39;s read=
y and will wait in the RFC Editor Queue because of the dependency on TLS 1.=
3. <br><br></div>Regards,<br><br></div>Dan<br><br></div><div class=3D"gmail=
_extra"><br><div class=3D"gmail_quote">On Thu, May 18, 2017 at 8:44 PM, Dan=
iel Migault <span dir=3D"ltr">&lt;<a href=3D"mailto:daniel.migault@ericsson=
.com" target=3D"_blank">daniel.migault@ericsson.com</a>&gt;</span> wrote:<b=
r><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex">Hi Dan,<br>
<br>
Thank you for your reviews and comments. I believe the following text provi=
des more explanation on how the provided cipher suites are negotiated by TL=
S1.3 as well as why point codes defined in the document does not apply to T=
LS1.3. Feel free to let me know if that address your concern and I can publ=
ish version 04 with the text below.<br>
<br>
Unlike TLS1.2, TLS1.3 separates authentication and cipher suite negotiation=
 &lt;xref target=3D&quot;I-D.ietf-tls-tls13&quot;/&gt; Section 1.2. TLS1.3 =
supports PSK with ECDHE key exchange and the cipher suites TLS_AES_128_GCM_=
SHA256, TLS_AES_256_GCM_SHA384, TLS_AES_128_CCM_8_SHA256 and=C2=A0 TLS_AES_=
128_CCM_SHA256 are part of the specification. As a result, TLS 1.3 and high=
er versions, negotiate and support these cipher suites in a different way.<=
br>
<br>
I am not sure we=C2=A0 have to wait for the publication of TLS1.3 as change=
s on TLS1.3 are unlikely to impact the code point assigned. However, we cur=
rently have TLS1.3 as a normative reference.<br>
<br>
Yours,<br>
Daniel<br>
-----Original Message-----<br>
From: Dan Romascanu [mailto:<a href=3D"mailto:dromasca@gmail.com">dromasca@=
gmail.com</a>]<br>
Sent: Monday, May 15, 2017 6:47 AM<br>
To: <a href=3D"mailto:gen-art@ietf.org">gen-art@ietf.org</a><br>
Cc: <a href=3D"mailto:draft-ietf-tls-ecdhe-psk-aead.all@ietf.org">draft-iet=
f-tls-ecdhe-psk-aead.<wbr>all@ietf.org</a>; <a href=3D"mailto:ietf@ietf.org=
">ietf@ietf.org</a>; <a href=3D"mailto:tls@ietf.org">tls@ietf.org</a>; <a h=
ref=3D"mailto:dromasca@gmail.com">dromasca@gmail.com</a><br>
Subject: Genart last call review of draft-ietf-tls-ecdhe-psk-aead-<wbr>03<b=
r>
<br>
Reviewer: Dan Romascanu<br>
Review result: Ready with Issues<br>
<br>
I am the assigned Gen-ART reviewer for this draft. The General Area Review =
Team (Gen-ART) reviews all IETF documents being processed by the IESG for t=
he IETF Chair.=C2=A0 Please treat these comments just like any other last c=
all comments.<br>
<br>
For more information, please see the FAQ at<br>
<br>
&lt;<a href=3D"https://trac.ietf.org/trac/gen/wiki/GenArtfaq" rel=3D"norefe=
rrer" target=3D"_blank">https://trac.ietf.org/trac/<wbr>gen/wiki/GenArtfaq<=
/a>&gt;.<br>
<br>
Document: draft-ietf-tls-ecdhe-psk-aead-<wbr>??<br>
Reviewer: Dan Romascanu<br>
Review Date: 2017-05-15<br>
IETF LC End Date: 2017-05-18<br>
IESG Telechat date: 2017-05-25<br>
<br>
Summary:<br>
<br>
This is a straight-forward and clear document that defines several new ciph=
er suites for the Transport Layer Security (TLS) protocol version<br>
1.2 and higher, based on the Ephemeral Elliptic Curve Diffie-Hellman with P=
re-Shared Key (ECDHE_PSK) key exchange together with the Authenticated Encr=
yption with Associated Data (AEAD) algorithms AES-GCM and AES-CCM. The docu=
ment is well written and I appreciate the effort to clarify in the Introduc=
tion the context, what was missing, and why the document is necessary. The =
document is Ready, there is one issue about support for TLS version 1.3 and=
 higher that may need some text clarification.<br>
<br>
Major issues:<br>
<br>
Minor issues:<br>
<br>
Section 4 (&#39;Applicable TLS Versions&#39;) describes in details how the =
cipher suites defined in the document make use of the authenticated encrypt=
ion with additional data (AEAD) defined in TLS 1.2 [RFC5246] and DTLS 1.2 [=
RFC6347]. About TLS 1.3 it just says:<br>
<br>
&#39; TLS 1.3 and above version, negotiate and support these cipher suites =
in a different way.&#39;<br>
<br>
This may raise some concerns as &#39;in a different way&#39; is ambiguous, =
especially compared to the details included for TLS 1.2. Moreover, TLS<br>
1.3 is still work-in-progress, and I believe that this document when approv=
ed needs to wait for TLS 1.3 to be approved for publication.<br>
Will anything change, or need to be added? Some better clarification text w=
ould help IMO.<br>
<br>
Nits/editorial comments:<br>
<br>
<br>
</blockquote></div><br></div>

--001a114385c8ac2ac6054fd285ed--


From nobody Thu May 18 13:58:34 2017
Return-Path: <tjackson@mobileiron.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6D16B129B9B; Thu, 18 May 2017 13:58:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.69
X-Spam-Level: 
X-Spam-Status: No, score=-4.69 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_HELO_PASS=-0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mobileironinc.onmicrosoft.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 bBVw_hFjiOHw; Thu, 18 May 2017 13:58:29 -0700 (PDT)
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0073.outbound.protection.outlook.com [104.47.33.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7FF5B129BCA; Thu, 18 May 2017 13:52:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mobileironinc.onmicrosoft.com; s=selector1-mobileiron-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=8oxQAJSu9obK7Y+tPicIqxRgNSfStrFTPR6+VKWvTuc=; b=X8y17f65MsD05GotmcsFrJm+7KaBtTeTgbRbfP5idHNP79ip/jOKOc8wWTL6wZ91Z0BtdPCtmrf++BEBBxERF/o9weCumPhldwjccs5bCHcWHsMwUNcGpm4FB5ZBCUSmQ1SIFsJwO07FCrwO3cI0neLeRYBAqknINOLsXBMCWuM=
Received: from CY4PR10MB1734.namprd10.prod.outlook.com (10.172.69.9) by CY4PR10MB1734.namprd10.prod.outlook.com (10.172.69.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16; Thu, 18 May 2017 20:52:05 +0000
Received: from CY4PR10MB1734.namprd10.prod.outlook.com ([10.172.69.9]) by CY4PR10MB1734.namprd10.prod.outlook.com ([10.172.69.9]) with mapi id 15.01.1084.030; Thu, 18 May 2017 20:52:05 +0000
From: Timothy Jackson <tjackson@mobileiron.com>
To: Daniel Migault <daniel.migault@ericsson.com>, Simon Friedberger <simon.tls@a-oben.org>, "ietf@ietf.org" <ietf@ietf.org>
CC: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
Thread-Index: AQHSxPbUkILbHt+MPUCNqbVojoqxB6HkuUiAgBW56AD//769gA==
Date: Thu, 18 May 2017 20:52:04 +0000
Message-ID: <6191522F-FB75-4B74-B7DE-200FEDB3F021@mobileiron.com>
References: <149391606578.6842.3727373203321848879.idtracker@ietfa.amsl.com> <4373f972-bf9b-4dbe-1b59-7f51846831f3@a-oben.org> <2DD56D786E600F45AC6BDE7DA4E8A8C118BDB69D@eusaamb107.ericsson.se>
In-Reply-To: <2DD56D786E600F45AC6BDE7DA4E8A8C118BDB69D@eusaamb107.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ericsson.com; dkim=none (message not signed) header.d=none;ericsson.com; dmarc=none action=none header.from=mobileiron.com;
x-originating-ip: [198.61.62.10]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; CY4PR10MB1734; 7:c2SO4mwpDoTHdnVCqPTFWXKgfdCzBLpNMYEjXd7glqpvBSSYUNwbWVROnQOQPJfOiSJ4RgY88ph5CqyGNB2LCPF8rHcOYDQUQ6U07ftZvG8LpSFYWdpUuXpm69iWD8ErvWRx1k8VqfF7/lhYkdubZBqj26pd2CW74dRgRIqRzsQN4VvCHdelxZ6k/Mrd16sbT60th3q0ZLV9fspAX/lli2I9JU/bDivyi0ab59Pm40XDlJvgGo1UrMxuqaaep9YhlNVQzSfSHOMW8FfOa/YgMI/oQ5Kn5u61n6eE3Q/K7/LcBcd0mEjR2J5IJd2bzGj5pLQ1O2MVbxNPdZAVYl2rDg==
x-ms-office365-filtering-correlation-id: 9f855d22-830f-467c-3b89-08d49e2fbdc4
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:CY4PR10MB1734; 
x-microsoft-antispam-prvs: <CY4PR10MB1734A78770ECEC7F90D0FDEBAAE40@CY4PR10MB1734.namprd10.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(120809045254105)(192374486261705); 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(6041248)(20161123555025)(20161123564025)(20161123558100)(20161123562025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148); SRVR:CY4PR10MB1734; BCL:0; PCL:0; RULEID:; SRVR:CY4PR10MB1734; 
x-forefront-prvs: 0311124FA9
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39400400002)(39850400002)(39840400002)(39450400003)(377454003)(13464003)(24454002)(6246003)(122556002)(8936002)(229853002)(54356999)(25786009)(76176999)(53546009)(50986999)(99286003)(38730400002)(53936002)(2501003)(6512007)(8676002)(5660300001)(81166006)(3280700002)(345774005)(6306002)(305945005)(230783001)(33656002)(2906002)(15650500001)(7736002)(3660700001)(6486002)(6506006)(6436002)(2950100002)(4326008)(36756003)(77096006)(6116002)(3846002)(102836003)(66066001)(966005)(478600001)(86362001)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR10MB1734; H:CY4PR10MB1734.namprd10.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <40E8A7DF23105A4DA7A1C7603B0FC366@namprd10.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: mobileiron.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2017 20:52:04.7625 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8392379d-8a98-4cb4-8cfe-5e7fa92e4e60
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR10MB1734
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/kCw2hgh6ihA24GJhe91N-tJzNSQ>
Subject: Re: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 20:58:32 -0000

T25lIHNtYWxsIG5pdC4NCg0KPiBFQ0RIRSBwcm92aWRlcyBwZXJmZWN0IGZvcndhcmQgc2VjcmVj
eQ0KSSB0aG91Z2h0IHdlIGhhZCBkZWNpZGVkIHRvIGNoYW5nZSDigJxwZXJmZWN0IGZvcndhcmQg
c2VjcmVjeeKAnSB0byBqdXN0IOKAnGZvcndhcmQgc2VjcmVjeeKAnSBzaW5jZSDigJxwZXJmZWN0
4oCdIGlzIHN1Y2ggYSBkaWZmaWN1bHQgc3RhbmRhcmQgdG8gcmVhY2g/DQoNClRpbQ0K4oCUDQpU
aW0gSmFja3NvbiB8IFByb2R1Y3QgU2VjdXJpdHkgQXJjaGl0ZWN0IHwgTW9iaWxlSXJvbiwgSW5j
Lg0KDQpPbiA1LzE4LzE3LCAxMDo0NSBBTSwgIlRMUyBvbiBiZWhhbGYgb2YgRGFuaWVsIE1pZ2F1
bHQiIDx0bHMtYm91bmNlc0BpZXRmLm9yZ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ICAgIGludGVncml0eSBwcm90ZWN0aW9uLg0KICAgID4NCiAgICA+DQogICAgPg0K
ICAgID4NCiAgICA+IFRoZSBmaWxlIGNhbiBiZSBvYnRhaW5lZCB2aWENCiAgICA+IGh0dHBzOi8v
ZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9jL2RyYWZ0LWlldGYtdGxzLWVjZGhlLXBzay1hZWFkLw0K
ICAgID4NCiAgICA+IElFU0cgZGlzY3Vzc2lvbiBjYW4gYmUgdHJhY2tlZCB2aWENCiAgICA+IGh0
dHBzOi8vZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9jL2RyYWZ0LWlldGYtdGxzLWVjZGhlLXBzay1h
ZWFkL2JhbGxvdC8NCiAgICA+DQogICAgPg0KICAgID4gTm8gSVBSIGRlY2xhcmF0aW9ucyBoYXZl
IGJlZW4gc3VibWl0dGVkIGRpcmVjdGx5IG9uIHRoaXMgSS1ELg0KICAgID4NCiAgICA+DQogICAg
Pg0KICAgID4NCiAgICA+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fDQogICAgPiBUTFMgbWFpbGluZyBsaXN0DQogICAgPiBUTFNAaWV0Zi5vcmcNCiAgICA+
IGh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8vdGxzDQogICAgDQogICAgX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCiAgICBUTFMgbWFp
bGluZyBsaXN0DQogICAgVExTQGlldGYub3JnDQogICAgaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFp
bG1hbi9saXN0aW5mby90bHMNCiAgICANCiAgICBfX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fXw0KICAgIFRMUyBtYWlsaW5nIGxpc3QNCiAgICBUTFNAaWV0Zi5v
cmcNCiAgICBodHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL3Rscw0KICAgIA0K
DQo=


From nobody Thu May 18 14:04:40 2017
Return-Path: <internet-drafts@ietf.org>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 9876912EB18; Thu, 18 May 2017 14:04:38 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: tls@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.51.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149514147857.6720.16783609697509356369@ietfa.amsl.com>
Date: Thu, 18 May 2017 14:04:38 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/raF2o41QcQ8ECWa84JZAX3OmKjk>
Subject: [TLS] I-D Action: draft-ietf-tls-exported-authenticator-00.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 21:04:39 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Transport Layer Security of the IETF.

        Title           : Exported Authenticators in TLS
        Author          : Nick Sullivan
	Filename        : draft-ietf-tls-exported-authenticator-00.txt
	Pages           : 6
	Date            : 2017-05-18

Abstract:
   This document describes a mechanism in Transport Layer Security (TLS)
   to provide an exportable proof of ownership of a certificate that can
   be transmitted out of band and verified by the other party.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-tls-exported-authenticator/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-tls-exported-authenticator-00
https://datatracker.ietf.org/doc/html/draft-ietf-tls-exported-authenticator-00


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Thu May 18 14:07:53 2017
Return-Path: <prvs=6311b0b214=uri@ll.mit.edu>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 75037126C23; Thu, 18 May 2017 14:07:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 y1-lzxazPlwF; Thu, 18 May 2017 14:07:43 -0700 (PDT)
Received: from llmx2.ll.mit.edu (LLMX2.LL.MIT.EDU [129.55.12.48]) by ietfa.amsl.com (Postfix) with ESMTP id 67FC112EB52; Thu, 18 May 2017 14:01:22 -0700 (PDT)
Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by llmx2.ll.mit.edu (unknown) with ESMTP id v4IL13jk046733; Thu, 18 May 2017 17:01:03 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: Timothy Jackson <tjackson@mobileiron.com>
CC: Daniel Migault <daniel.migault@ericsson.com>, Simon Friedberger <simon.tls@a-oben.org>, "ietf@ietf.org" <ietf@ietf.org>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
Thread-Index: AQHSxPVWpHIsuShcKEe7pKr8MzTDmKHk/FmAgBW56QCAADQWAIAAAn8A
Date: Thu, 18 May 2017 21:01:02 +0000
Message-ID: <7E11398B-EAEF-4E06-BC6A-6797BA2197AE@ll.mit.edu>
References: <149391606578.6842.3727373203321848879.idtracker@ietfa.amsl.com> <4373f972-bf9b-4dbe-1b59-7f51846831f3@a-oben.org> <2DD56D786E600F45AC6BDE7DA4E8A8C118BDB69D@eusaamb107.ericsson.se> <6191522F-FB75-4B74-B7DE-200FEDB3F021@mobileiron.com>
In-Reply-To: <6191522F-FB75-4B74-B7DE-200FEDB3F021@mobileiron.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Content-Type: multipart/signed; boundary="Apple-Mail-2D23B870-777E-4452-9D5E-0D29511845E5"; protocol="application/pkcs7-signature"; micalg=sha1
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-18_05:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705180142
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/FUY95DF-UwgaNlyNypzKHq05sJA>
Subject: Re: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 21:07:46 -0000

--Apple-Mail-2D23B870-777E-4452-9D5E-0D29511845E5
Content-Type: text/plain;
	charset=windows-1251
Content-Transfer-Encoding: base64

SXQgaXMgYSBtYXRoZW1hdGljYWwgY3J5cHRvZ3JhcGhpYyB0ZXJtLCBhbmQgYXMgc3VjaCBpcyBp
bmNvbnRyb3ZlcnRpYmxlLiANCg0KSSBzYXkgbGVhdmUgaXQgaW4uDQoNClJlZ2FyZHMsDQpVcmkN
Cg0KU2VudCBmcm9tIG15IGlQaG9uZQ0KDQo+IE9uIE1heSAxOCwgMjAxNywgYXQgMTY6NTgsIFRp
bW90aHkgSmFja3NvbiA8dGphY2tzb25AbW9iaWxlaXJvbi5jb20+IHdyb3RlOg0KPiANCj4gT25l
IHNtYWxsIG5pdC4NCj4gDQo+PiBFQ0RIRSBwcm92aWRlcyBwZXJmZWN0IGZvcndhcmQgc2VjcmVj
eQ0KPiBJIHRob3VnaHQgd2UgaGFkIGRlY2lkZWQgdG8gY2hhbmdlIJNwZXJmZWN0IGZvcndhcmQg
c2VjcmVjeZQgdG8ganVzdCCTZm9yd2FyZCBzZWNyZWN5lCBzaW5jZSCTcGVyZmVjdJQgaXMgc3Vj
aCBhIGRpZmZpY3VsdCBzdGFuZGFyZCB0byByZWFjaD8NCj4gDQo+IFRpbQ0KPiCXDQo+IFRpbSBK
YWNrc29uIHwgUHJvZHVjdCBTZWN1cml0eSBBcmNoaXRlY3QgfCBNb2JpbGVJcm9uLCBJbmMuDQo+
IA0KPiBPbiA1LzE4LzE3LCAxMDo0NSBBTSwgIlRMUyBvbiBiZWhhbGYgb2Yg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90bHMNCj4gDQo+
IA0KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KPiBU
TFMgbWFpbGluZyBsaXN0DQo+IFRMU0BpZXRmLm9yZw0KPiBodHRwczovL3d3dy5pZXRmLm9yZy9t
YWlsbWFuL2xpc3RpbmZvL3Rscw0K
--Apple-Mail-2D23B870-777E-4452-9D5E-0D29511845E5
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIINeDCCA4Mw
ggJroAMCAQICAQEwDQYJKoZIhvcNAQEFBQAwVDELMAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBM
aW5jb2xuIExhYm9yYXRvcnkxDDAKBgNVBAsTA1BLSTEWMBQGA1UEAxMNTUlUTEwgUm9vdCBDQTAe
Fw0wODA5MjMxMjAwMDBaFw0yOTEyMzEyMzU5NTlaMFQxCzAJBgNVBAYTAlVTMR8wHQYDVQQKExZN
SVQgTGluY29sbiBMYWJvcmF0b3J5MQwwCgYDVQQLEwNQS0kxFjAUBgNVBAMTDU1JVExMIFJvb3Qg
Q0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDFTikXWLImsvmtir9cEAqD3eQJMBMb
sHDQ0YWkQnUDdeyvpQgir3/VUkE6ALAOqtWwArWVHDL+WSsfM+ShuIyvXDONDbxJH/2yDmQByasy
oFhtzfTaq3AIYpnF012ECHadQ4I7XQAylSwI12mKQ9j26RPyWwD56iszhDWtz8vQnoAdGm05Tsi4
MF1mP6101vuC/4YqSevrCP2baxUZrChobsACqGxa9BQz+riH8fkWliXCdUASHYDOGqIb1vCXq4kk
jMn/y5RaV02RXDPUjl9H+8JrGItchbihTJ0G5EpMb56QSjEca4PvfLHkm2xJyJLwdAvagQzy2/5U
AL5qVuqDAgMBAAG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zBRMQswCQYDVQQGEwJVUzEfMB0GA1UEChMWTUlU
IExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJMRMwEQYDVQQDEwpNSVRMTCBDQS0zAgoa
dMQgAAAAAK0DMHAGCyqGSIb3DQEJEAILMWGgXzBRMQswCQYDVQQGEwJVUzEfMB0GA1UEChMWTUlU
IExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJMRMwEQYDVQQDEwpNSVRMTCBDQS0zAgoa
dMQgAAAAAK0DMA0GCSqGSIb3DQEBAQUABIIBAB2kwrXMmUKJY57OiyUj4tb6JWa1DyWTGT+qSCjG
zmNOFt72HWlFqjTmPYZOkdKVrpkKlindyzfSrK6RHP5C8NE1FneiU89fsLr81fGGfnn/ki1KyOMw
5TeWKsGeQnNeWxmaKzIjKWtrnCUYSWhBsATivdBvIVY9ahIIYf0RpF7+JSwLr+wEi5yZKbleg063
RgTTGffWsKSrBFp7YIjucZ7o/+XAG+KtTPywFCUgz3tMa1OjOtQXxI3koIiVcYNv9N7K1EMjIP7P
vqCbTlq5RlLIc0Si6+Cmp5vfCTPW7wjNbqWirdbmtber2T33WnpXjNjCzuPEOuOjH7qqlq0y/YQA
AAAAAAA=

--Apple-Mail-2D23B870-777E-4452-9D5E-0D29511845E5--


From nobody Thu May 18 14:23:42 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7482D12E3AE; Thu, 18 May 2017 14:23:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.698
X-Spam-Level: 
X-Spam-Status: No, score=-1.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 y8fhe8RAN8gH; Thu, 18 May 2017 14:23:38 -0700 (PDT)
Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::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 6931F129AAA; Thu, 18 May 2017 14:17:21 -0700 (PDT)
Received: by mail-wr0-x236.google.com with SMTP id l9so4114961wre.1; Thu, 18 May 2017 14:17:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=7OqtbsefojpFyTwgSkQ90lIBPG28RGomIDhvjYLmEoU=; b=aummM0CiR+Bzp/xGLnKfXNGP7BeCD05D8nFVVpTcG5DrpXlsC2VmEdwYKJzZXJpdds 22F3RdSSM8GheSj1ZE0tY6D1iok8Jnu7jRa9YpEQMTdOEL3IuUs0550X2TkHnk8V0Uif q1GHYAXGPYycFEoWZEH7lqzQ3cusffL/vOoN9G8+txFZXQ2sCWpi5+mQ6aH44gFYD5RR 3s7Lubk4Bx9GCsjwzl1IeGifpSw6u3GjndyGk5WTfhJ4tt2za2Jky8JTJjKLMJQ8ERGf mwB/RT6CL6DDMuL3b+0rqBnGQTX2TDU+9frUMhwCiTFKBkjIVItBiiW9QVKNCoCPKWzO WcKA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=7OqtbsefojpFyTwgSkQ90lIBPG28RGomIDhvjYLmEoU=; b=bUm0O9C7kvBhF3UQc67aBYvBXwby+sJ3c/mVI+jUWmg0SV/fPMQ/3Iwdj95FssFA84 QcZWcx1/UnafAk7Ys6rBVssJKYo5YFSr6tqgk9osh5ED/PoCnrxl4cRqkXcEPHIf7vpt BU+0JliYc61R0kMNaa5Gf1zFHTLYEVT0WwWDHr7WH3owKyADe8Iqu6wxjKIb4IltindW mEak8Hl/DyLWHjhelNZX2RIL4b8864WnC2UDwveiHASSeOfEZ7AiKPb/k/AyIKMEWJfm kThfaWJQrpRjHHYgnqBCDyYwntc+beKLG6UG9ju4mLj2AmE5lbKdPZz6KJ9QYb8ou6h7 5W/g==
X-Gm-Message-State: AODbwcAcJ5zzbVG5Lia0Wa+RTvFq4sYWCHto3nrhPlkE3Sg2dp66M1Ox MFEyjpZ0PVpjlyR+7Y31acBAcchwaA==
X-Received: by 10.46.78.9 with SMTP id c9mr1511334ljb.38.1495142239809; Thu, 18 May 2017 14:17:19 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Thu, 18 May 2017 14:17:19 -0700 (PDT)
In-Reply-To: <7E11398B-EAEF-4E06-BC6A-6797BA2197AE@ll.mit.edu>
References: <149391606578.6842.3727373203321848879.idtracker@ietfa.amsl.com> <4373f972-bf9b-4dbe-1b59-7f51846831f3@a-oben.org> <2DD56D786E600F45AC6BDE7DA4E8A8C118BDB69D@eusaamb107.ericsson.se> <6191522F-FB75-4B74-B7DE-200FEDB3F021@mobileiron.com> <7E11398B-EAEF-4E06-BC6A-6797BA2197AE@ll.mit.edu>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Thu, 18 May 2017 17:17:19 -0400
X-Google-Sender-Auth: QZPTbJFjfqJzChplbvLjW3HKuxA
Message-ID: <CADZyTkkncvCjpw85AUSwpHON-KLmbJsyYb-hw-EOEV8i3TXRYg@mail.gmail.com>
To: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
Cc: Timothy Jackson <tjackson@mobileiron.com>, "ietf@ietf.org" <ietf@ietf.org>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="f403045ec30617b6e9054fd2ee7a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/PMnSZCyQzK7qY7w6zMiwsyORxMw>
Subject: Re: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 21:23:41 -0000

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

Hi,

Thanks Tim and Uri for the comment. At least wikipedia considers them as
equivalent. I am fine either way, but leave it  as pfs unless there is a
consensus to change it to forward secrecy. If having fs seems important to
you please let us know asap!

Yours,
Daniel

On Thu, May 18, 2017 at 5:01 PM, Blumenthal, Uri - 0553 - MITLL <
uri@ll.mit.edu> wrote:

> It is a mathematical cryptographic term, and as such is incontrovertible.
>
> I say leave it in.
>
> Regards,
> Uri
>
> Sent from my iPhone
>
> > On May 18, 2017, at 16:58, Timothy Jackson <tjackson@mobileiron.com>
> wrote:
> >
> > One small nit.
> >
> >> ECDHE provides perfect forward secrecy
> > I thought we had decided to change =E2=80=9Cperfect forward secrecy=E2=
=80=9D to just
> =E2=80=9Cforward secrecy=E2=80=9D since =E2=80=9Cperfect=E2=80=9D is such=
 a difficult standard to reach?
> >
> > Tim
> > =E2=80=94
> > Tim Jackson | Product Security Architect | MobileIron, Inc.
> >
> > On 5/18/17, 10:45 AM, "TLS on behalf of Daniel Migault" <
> tls-bounces@ietf.org on behalf of daniel.migault@ericsson.com> wrote:
> >
> >    Hi Simon,
> >
> >    Thank you for the review. I believe we have addressed your comments
> in our version 04. Please see my comments inline.
> >
> >    Yours,
> >    Daniel
> >
> >    -----Original Message-----
> >    From: TLS [mailto:tls-bounces@ietf.org] On Behalf Of Simon
> Friedberger
> >    Sent: Thursday, May 04, 2017 5:59 PM
> >    To: ietf@ietf.org
> >    Cc: tls@ietf.org
> >    Subject: Re: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt>
> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
> Security (TLS)) to Proposed Standard
> >
> >    Nits:
> >
> >        RFC 4279 reference is missing.
> >    MGLT: It seems the reference is mentioned in the current version in
> the Normative reference as well  as in the introduction at line 127,  in
> section 3 line 143. In case you meant another reference, please let us kn=
ow.
> >
> >
> >
> >        "TLS 1.3 and above version, " should probably be "TLS 1.3 and
> above" or "TLS 1.3 and higher versions"
> >    MGLT: Changed to "TLS 1.3 and higher versions"
> >
> >>    On 04/05/17 18:41, The IESG wrote:
> >> The IESG has received a request from the Transport Layer Security WG
> >> (tls) to consider the following document:
> >> - 'ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Laye=
r
> >>   Security (TLS)'
> >>  <draft-ietf-tls-ecdhe-psk-aead-03.txt> as Proposed Standard
> >>
> >> The IESG plans to make a decision in the next few weeks, and solicits
> >> final comments on this action. Please send substantive comments to the
> >> ietf@ietf.org mailing lists by 2017-05-18. Exceptionally, comments may
> >> be sent to iesg@ietf.org instead. In either case, please retain the
> >> beginning of the Subject line to allow automated sorting.
> >>
> >> Abstract
> >>
> >>
> >>   This document defines several new cipher suites for the Transport
> >>   Layer Security (TLS) protocol.  The cipher suites are all based on
> >>   the Ephemeral Elliptic Curve Diffie-Hellman with Pre-Shared Key
> >>   (ECDHE_PSK) key exchange together with the Authenticated Encryption
> >>   with Associated Data (AEAD) algorithms AES-GCM and AES-CCM.  PSK
> >>   provides light and efficient authentication, ECDHE provides perfect
> >>   forward secrecy, and AES-GCM and AES-CCM provides encryption and
> >>   integrity protection.
> >>
> >>
> >>
> >>
> >> The file can be obtained via
> >> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
> >>
> >> IESG discussion can be tracked via
> >> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/ballot/
> >>
> >>
> >> No IPR declarations have been submitted directly on this I-D.
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> TLS mailing list
> >> TLS@ietf.org
> >> https://www.ietf.org/mailman/listinfo/tls
> >
> >    _______________________________________________
> >    TLS mailing list
> >    TLS@ietf.org
> >    https://www.ietf.org/mailman/listinfo/tls
> >
> >    _______________________________________________
> >    TLS mailing list
> >    TLS@ietf.org
> >    https://www.ietf.org/mailman/listinfo/tls
> >
> >
> > _______________________________________________
> > TLS mailing list
> > TLS@ietf.org
> > https://www.ietf.org/mailman/listinfo/tls
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

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

<div dir=3D"ltr"><div><div>Hi, <br><br>Thanks Tim and Uri for the comment. =
At least wikipedia considers them as equivalent. I am fine either way, but =
leave it=C2=A0 as pfs unless there is a consensus to change it to forward s=
ecrecy. If having fs seems important to you please let us know asap!<br><br=
>Yours, <br></div></div>Daniel <br></div><div class=3D"gmail_extra"><br><di=
v class=3D"gmail_quote">On Thu, May 18, 2017 at 5:01 PM, Blumenthal, Uri - =
0553 - MITLL <span dir=3D"ltr">&lt;<a href=3D"mailto:uri@ll.mit.edu" target=
=3D"_blank">uri@ll.mit.edu</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">It is a mathematical cryptographic term, and as such is incontrover=
tible.<br>
<br>
I say leave it in.<br>
<br>
Regards,<br>
Uri<br>
<br>
Sent from my iPhone<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
&gt; On May 18, 2017, at 16:58, Timothy Jackson &lt;<a href=3D"mailto:tjack=
son@mobileiron.com">tjackson@mobileiron.com</a>&gt; wrote:<br>
&gt;<br>
&gt; One small nit.<br>
&gt;<br>
&gt;&gt; ECDHE provides perfect forward secrecy<br>
&gt; I thought we had decided to change =E2=80=9Cperfect forward secrecy=E2=
=80=9D to just =E2=80=9Cforward secrecy=E2=80=9D since =E2=80=9Cperfect=E2=
=80=9D is such a difficult standard to reach?<br>
&gt;<br>
&gt; Tim<br>
&gt; =E2=80=94<br>
&gt; Tim Jackson | Product Security Architect | MobileIron, Inc.<br>
&gt;<br>
&gt; On 5/18/17, 10:45 AM, &quot;TLS on behalf of Daniel Migault&quot; &lt;=
<a href=3D"mailto:tls-bounces@ietf.org">tls-bounces@ietf.org</a> on behalf =
of <a href=3D"mailto:daniel.migault@ericsson.com">daniel.migault@ericsson.c=
om</a>&gt; wrote:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 Hi Simon,<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 Thank you for the review. I believe we have addressed you=
r comments in our version 04. Please see my comments inline.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 Yours,<br>
&gt;=C2=A0 =C2=A0 Daniel<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 -----Original Message-----<br>
&gt;=C2=A0 =C2=A0 From: TLS [mailto:<a href=3D"mailto:tls-bounces@ietf.org"=
>tls-bounces@ietf.org</a>] On Behalf Of Simon Friedberger<br>
&gt;=C2=A0 =C2=A0 Sent: Thursday, May 04, 2017 5:59 PM<br>
&gt;=C2=A0 =C2=A0 To: <a href=3D"mailto:ietf@ietf.org">ietf@ietf.org</a><br=
>
&gt;=C2=A0 =C2=A0 Cc: <a href=3D"mailto:tls@ietf.org">tls@ietf.org</a><br>
&gt;=C2=A0 =C2=A0 Subject: Re: [TLS] Last Call: &lt;draft-ietf-tls-ecdhe-ps=
k-<wbr>aead-03.txt&gt; (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites fo=
r Transport Layer Security (TLS)) to Proposed Standard<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 Nits:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 RFC 4279 reference is missing.<br>
&gt;=C2=A0 =C2=A0 MGLT: It seems the reference is mentioned in the current =
version in the Normative reference as well=C2=A0 as in the introduction at =
line 127,=C2=A0 in section 3 line 143. In case you meant another reference,=
 please let us know.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;TLS 1.3 and above version, &quot; sho=
uld probably be &quot;TLS 1.3 and above&quot; or &quot;TLS 1.3 and higher v=
ersions&quot;<br>
&gt;=C2=A0 =C2=A0 MGLT: Changed to &quot;TLS 1.3 and higher versions&quot;<=
br>
&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 On 04/05/17 18:41, The IESG wrote:<br>
&gt;&gt; The IESG has received a request from the Transport Layer Security =
WG<br>
&gt;&gt; (tls) to consider the following document:<br>
&gt;&gt; - &#39;ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transp=
ort Layer<br>
&gt;&gt;=C2=A0 =C2=A0Security (TLS)&#39;<br>
&gt;&gt;=C2=A0 &lt;draft-ietf-tls-ecdhe-psk-<wbr>aead-03.txt&gt; as Propose=
d Standard<br>
&gt;&gt;<br>
&gt;&gt; The IESG plans to make a decision in the next few weeks, and solic=
its<br>
&gt;&gt; final comments on this action. Please send substantive comments to=
 the<br>
&gt;&gt; <a href=3D"mailto:ietf@ietf.org">ietf@ietf.org</a> mailing lists b=
y 2017-05-18. Exceptionally, comments may<br>
&gt;&gt; be sent to <a href=3D"mailto:iesg@ietf.org">iesg@ietf.org</a> inst=
ead. In either case, please retain the<br>
&gt;&gt; beginning of the Subject line to allow automated sorting.<br>
&gt;&gt;<br>
&gt;&gt; Abstract<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0This document defines several new cipher suites for th=
e Transport<br>
&gt;&gt;=C2=A0 =C2=A0Layer Security (TLS) protocol.=C2=A0 The cipher suites=
 are all based on<br>
&gt;&gt;=C2=A0 =C2=A0the Ephemeral Elliptic Curve Diffie-Hellman with Pre-S=
hared Key<br>
&gt;&gt;=C2=A0 =C2=A0(ECDHE_PSK) key exchange together with the Authenticat=
ed Encryption<br>
&gt;&gt;=C2=A0 =C2=A0with Associated Data (AEAD) algorithms AES-GCM and AES=
-CCM.=C2=A0 PSK<br>
&gt;&gt;=C2=A0 =C2=A0provides light and efficient authentication, ECDHE pro=
vides perfect<br>
&gt;&gt;=C2=A0 =C2=A0forward secrecy, and AES-GCM and AES-CCM provides encr=
yption and<br>
&gt;&gt;=C2=A0 =C2=A0integrity protection.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; The file can be obtained via<br>
&gt;&gt; <a href=3D"https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-p=
sk-aead/" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org=
/<wbr>doc/draft-ietf-tls-ecdhe-psk-<wbr>aead/</a><br>
&gt;&gt;<br>
&gt;&gt; IESG discussion can be tracked via<br>
&gt;&gt; <a href=3D"https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-p=
sk-aead/ballot/" rel=3D"noreferrer" target=3D"_blank">https://datatracker.i=
etf.org/<wbr>doc/draft-ietf-tls-ecdhe-psk-<wbr>aead/ballot/</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; No IPR declarations have been submitted directly on this I-D.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; TLS mailing list<br>
&gt;&gt; <a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noref=
errer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a>=
<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 ______________________________<wbr>_________________<br>
&gt;=C2=A0 =C2=A0 TLS mailing list<br>
&gt;=C2=A0 =C2=A0 <a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
&gt;=C2=A0 =C2=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=
=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinf=
o/tls</a><br>
&gt;<br>
&gt;=C2=A0 =C2=A0 ______________________________<wbr>_________________<br>
&gt;=C2=A0 =C2=A0 TLS mailing list<br>
&gt;=C2=A0 =C2=A0 <a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
&gt;=C2=A0 =C2=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=
=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinf=
o/tls</a><br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; TLS mailing list<br>
&gt; <a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferre=
r" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</div></div><br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br></blockquote></div><br></div>

--f403045ec30617b6e9054fd2ee7a--


From nobody Thu May 18 14:29:22 2017
Return-Path: <prvs=6311b0b214=uri@ll.mit.edu>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8CD4512778E; Thu, 18 May 2017 14:29:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.198
X-Spam-Level: 
X-Spam-Status: No, score=-4.198 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 sbktBnJ1BXcD; Thu, 18 May 2017 14:29:12 -0700 (PDT)
Received: from llmx2.ll.mit.edu (LLMX2.LL.MIT.EDU [129.55.12.48]) by ietfa.amsl.com (Postfix) with ESMTP id 74219129BE6; Thu, 18 May 2017 14:22:17 -0700 (PDT)
Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by llmx2.ll.mit.edu (unknown) with ESMTP id v4ILMFgQ009997; Thu, 18 May 2017 17:22:15 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: Daniel Migault <daniel.migault@ericsson.com>
CC: Timothy Jackson <tjackson@mobileiron.com>, "ietf@ietf.org" <ietf@ietf.org>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
Thread-Index: AQHSxPVWpHIsuShcKEe7pKr8MzTDmKHk/FmAgBW56QCAADQWAIAAAn8AgAAEj4CAAAFeAA==
Date: Thu, 18 May 2017 21:22:14 +0000
Message-ID: <B8D07E38-0FD0-44ED-9FA9-E166B56A3A5B@ll.mit.edu>
References: <149391606578.6842.3727373203321848879.idtracker@ietfa.amsl.com> <4373f972-bf9b-4dbe-1b59-7f51846831f3@a-oben.org> <2DD56D786E600F45AC6BDE7DA4E8A8C118BDB69D@eusaamb107.ericsson.se> <6191522F-FB75-4B74-B7DE-200FEDB3F021@mobileiron.com> <7E11398B-EAEF-4E06-BC6A-6797BA2197AE@ll.mit.edu> <CADZyTkkncvCjpw85AUSwpHON-KLmbJsyYb-hw-EOEV8i3TXRYg@mail.gmail.com>
In-Reply-To: <CADZyTkkncvCjpw85AUSwpHON-KLmbJsyYb-hw-EOEV8i3TXRYg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Content-Type: multipart/signed; boundary="Apple-Mail-9DD953CA-CD22-4DA9-A409-550794E10AC7"; protocol="application/pkcs7-signature"; micalg=sha1
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-18_05:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705180144
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/9wF1kP6MH07iRzym1V_xXXT6Vls>
Subject: Re: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 21:29:14 -0000

--Apple-Mail-9DD953CA-CD22-4DA9-A409-550794E10AC7
Content-Type: multipart/alternative;
	boundary=Apple-Mail-E1A62FE4-18C2-428F-BCCF-38DD24A8094C
Content-Transfer-Encoding: 7bit


--Apple-Mail-E1A62FE4-18C2-428F-BCCF-38DD24A8094C
Content-Type: text/plain;
	charset=windows-1251
Content-Transfer-Encoding: base64

SW5zdGVhZCBvZiBvdXIgaW4gYWRkaXRpb24gdG8gdGhlIFdpa2ksIGNoZWNrIHNjaG9sYXJseSBy
ZWZlcmVuY2VzLiBFLmcuLCBJbnRyb2R1Y3Rpb24gdG8gTW9kZXJuIENyeXB0b2dyYXBoeSwgSGFu
ZGJvb2sgb2YgQXBwbGllZCBDcnlwdG9ncmFwaHksIGV0Yy4NCg0KUmVnYXJkcywNClVyaQ0KDQpT
ZW50IGZyb20gbXkgaVBob25lDQoNCj4gT24gTWF5IDE4LCAyMDE3LCBhdCAxNzoxOCwgRGFuaWVs
IE1pZ2F1bHQgPGRhbmllbC5taWdhdWx0QGVyaWNzc29uLmNvbT4gd3JvdGU6DQo+IA0KPiBIaSwg
DQo+IA0KPiBUaGFua3MgVGltIGFuZCBVcmkgZm9yIHRoZSBjb21tZW50LiBBdCBsZWFzdCB3aWtp
cGVkaWEgY29uc2lkZXJzIHRoZW0gYXMgZXF1aXZhbGVudC4gSSBhbSBmaW5lIGVpdGhlciB3YXks
IGJ1dCBsZWF2ZSBpdCAgYXMgcGZzIHVubGVzcyB0aGVyZSBpcyBhIGNvbnNl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19fX19fXw0KPj4gPiAgICBUTFMgbWFpbGluZyBsaXN0
DQo+PiA+ICAgIFRMU0BpZXRmLm9yZw0KPj4gPiAgICBodHRwczovL3d3dy5pZXRmLm9yZy9tYWls
bWFuL2xpc3RpbmZvL3Rscw0KPj4gPg0KPj4gPiAgICBfX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fXw0KPj4gPiAgICBUTFMgbWFpbGluZyBsaXN0DQo+PiA+ICAg
IFRMU0BpZXRmLm9yZw0KPj4gPiAgICBodHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3Rp
bmZvL3Rscw0KPj4gPg0KPj4gPg0KPj4gPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fXw0KPj4gPiBUTFMgbWFpbGluZyBsaXN0DQo+PiA+IFRMU0BpZXRmLm9y
Zw0KPj4gPiBodHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL3Rscw0KPj4gDQo+
PiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KPj4gVExT
IG1haWxpbmcgbGlzdA0KPj4gVExTQGlldGYub3JnDQo+PiBodHRwczovL3d3dy5pZXRmLm9yZy9t
YWlsbWFuL2xpc3RpbmZvL3Rscw0KPj4gDQo+IA0K
--Apple-Mail-E1A62FE4-18C2-428F-BCCF-38DD24A8094C
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: base64

PGh0bWw+PGhlYWQ+PG1ldGEgaHR0cC1lcXVpdj0iY29udGVudC10eXBlIiBjb250ZW50PSJ0ZXh0
L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPjwvaGVhZD48Ym9keSBkaXI9ImF1dG8iPjxkaXY+SW5zdGVh
ZCBvZiBvdXIgaW4gYWRkaXRpb24gdG8gdGhlIFdpa2ksIGNoZWNrIHNjaG9sYXJseSByZWZlcmVu
Y2VzLiBFLmcuLCBJ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KJmd0Ozxicj4NCiZndDs8YnI+DQomZ3Q7IF9fX19fX19f
X19fX19fX19fX19fX19fX19fX19fXzx3YnI+X19fX19fX19fX19fX19fX188YnI+DQomZ3Q7IFRM
UyBtYWlsaW5nIGxpc3Q8YnI+DQomZ3Q7IDxhIGhyZWY9Im1haWx0bzpUTFNAaWV0Zi5vcmciPlRM
U0BpZXRmLm9yZzwvYT48YnI+DQomZ3Q7IDxhIGhyZWY9Imh0dHBzOi8vd3d3LmlldGYub3JnL21h
aWxtYW4vbGlzdGluZm8vdGxzIiByZWw9Im5vcmVmZXJyZXIiIHRhcmdldD0iX2JsYW5rIj5odHRw
czovL3d3dy5pZXRmLm9yZy9tYWlsbWFuLzx3YnI+bGlzdGluZm8vdGxzPC9hPjxicj4NCjwvZGl2
PjwvZGl2Pjxicj5fX19fX19fX19fX19fX19fX19fX19fX19fX19fX188d2JyPl9fX19fX19fX19f
X19fX19fPGJyPg0KVExTIG1haWxpbmcgbGlzdDxicj4NCjxhIGhyZWY9Im1haWx0bzpUTFNAaWV0
Zi5vcmciPlRMU0BpZXRmLm9yZzwvYT48YnI+DQo8YSBocmVmPSJodHRwczovL3d3dy5pZXRmLm9y
Zy9tYWlsbWFuL2xpc3RpbmZvL3RscyIgcmVsPSJub3JlZmVycmVyIiB0YXJnZXQ9Il9ibGFuayI+
aHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi88d2JyPmxpc3RpbmZvL3RsczwvYT48YnI+DQo8
YnI+PC9ibG9ja3F1b3RlPjwvZGl2Pjxicj48L2Rpdj4NCjwvZGl2PjwvYmxvY2txdW90ZT48L2Jv
ZHk+PC9odG1sPg==

--Apple-Mail-E1A62FE4-18C2-428F-BCCF-38DD24A8094C--

--Apple-Mail-9DD953CA-CD22-4DA9-A409-550794E10AC7
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzA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66JhCWKsENmbLjQXCFn2qP1lJR
Go7lO7nz36GZGFo8Q5s0ApdLFMOdvi0Oc6yy5kunnLVOxL84B7WH/mdays3/TVnvczGPGUYRWq3+
GBYsIouydJ6G9NAB33r2yBefdTnlCSpYqjF/Rb2gZomi1ZVnLfKsLqhJVdYrcoZ0dODn/0wXvkE0
UTGGf4wx5Kw8pqLvrLRR68pjwSxnx96znzHKDyRFPe36He302oeAClkzU20VFG4AV0Qk3rLlvjrK
e2ZWY0V3e/ozZZ2tZERgmHyMa2pOU2GsUxTgc4JeNsrH5rEpEtpJfLfMO4OOIEQ2xXpytsddIWEA
AAAAAAA=

--Apple-Mail-9DD953CA-CD22-4DA9-A409-550794E10AC7--


From nobody Thu May 18 14:37:27 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 250A61200B9 for <tls@ietfa.amsl.com>; Thu, 18 May 2017 14:37:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] 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 GyjecUlKMOsf for <tls@ietfa.amsl.com>; Thu, 18 May 2017 14:37:24 -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 C671B129B5C for <tls@ietf.org>; Thu, 18 May 2017 14:31:35 -0700 (PDT)
Received: by mail-yw0-x22e.google.com with SMTP id b68so27131240ywe.3 for <tls@ietf.org>; Thu, 18 May 2017 14:31:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jdnzvD99ofr/+13li/sSrYYgPxEBdCIZ2vCVeO//4BM=; b=0uW6s/VkJGm6ufIDHW+DwtdUyPTeQxU+n3ccTPLYqz88jIVMRLWFoIaiKQMN+xKi6Q vKapbN5LMUApwrRQjZtLe4e9HHHoinJTCYB27iuzhOUMrPkI2bZ7kRA7iW9L7VAUl3+v CVIcBeFUta8wNw1o+X4RdZ0KkcL9i1LZBfujnCfgJ2qQLwx0BRmdC3wDRbUSUSMCnv1Z 2IuyuU1AbVnJSic/FZSCe8hANbKq6FAVYXkkzk8UvpnTucvAP05mvyhhwqLxwW6ag+pR gEzkwt1V/wMZIlbgQg0P2JfzrzW2NqKlly1jSu2GIa658dDSHml3boeR+SXtv4pVgvey qScw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jdnzvD99ofr/+13li/sSrYYgPxEBdCIZ2vCVeO//4BM=; b=LwqOj+j1iJkxlY1Iu+cQSXglJtcyqRzlhKHaBa0G13l1YpuCmSrIkh/ZBHzKXh4QyM tIwn90ebR0CnDTEGhX0tNkxkq0qJMiQ7gIvKNPLl3ZBsYK1oPYwzrDpTs2ggMEgAb4T4 s0iR0TMefXLP4ozVtPD9Y/s2QEGf2TWm4GJ+ugQNCirXLb2ePOh2iIo6lXjTUQ67Kzus Xi8C0K+Yv40Ecx32kXl8GHTOwQvgyL/oWrMI25Aha5QS4luCIHwC6+rFCfgR1h4aPU/M qQbL6LPvDFfsfZZv+A1vRBWz5yZYc93DEbS/mUX5CyNUTwEIRCYuxmJff8uhZfxNvdHI mbBg==
X-Gm-Message-State: AODbwcAaoSZlYmkTYfXUJkz0pSezxn9j/xkKTT7WHORGIy00ybQO5W7f b6LokZSUdSDnPv/xLpm60JtLWe6F93e8
X-Received: by 10.129.147.134 with SMTP id k128mr5575501ywg.270.1495143095063;  Thu, 18 May 2017 14:31:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Thu, 18 May 2017 14:30:54 -0700 (PDT)
In-Reply-To: <CADZyTkkncvCjpw85AUSwpHON-KLmbJsyYb-hw-EOEV8i3TXRYg@mail.gmail.com>
References: <149391606578.6842.3727373203321848879.idtracker@ietfa.amsl.com> <4373f972-bf9b-4dbe-1b59-7f51846831f3@a-oben.org> <2DD56D786E600F45AC6BDE7DA4E8A8C118BDB69D@eusaamb107.ericsson.se> <6191522F-FB75-4B74-B7DE-200FEDB3F021@mobileiron.com> <7E11398B-EAEF-4E06-BC6A-6797BA2197AE@ll.mit.edu> <CADZyTkkncvCjpw85AUSwpHON-KLmbJsyYb-hw-EOEV8i3TXRYg@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 18 May 2017 17:30:54 -0400
Message-ID: <CABcZeBNr-6UbGd+Lt_h2vQaFmB+CdgA=Nz5rzaoRSvSzy7BkDA@mail.gmail.com>
To: Daniel Migault <daniel.migault@ericsson.com>
Cc: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>, "tls@ietf.org" <tls@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c08d3561210e2054fd3212d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/0QvO5ds43tEl_STu5TKyjyDkF6Y>
Subject: Re: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 21:37:26 -0000

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

I don't much care, but we've moved to "forward secrecy" in TLS 1.3.

-Ekr


On Thu, May 18, 2017 at 5:17 PM, Daniel Migault <daniel.migault@ericsson.co=
m
> wrote:

> Hi,
>
> Thanks Tim and Uri for the comment. At least wikipedia considers them as
> equivalent. I am fine either way, but leave it  as pfs unless there is a
> consensus to change it to forward secrecy. If having fs seems important t=
o
> you please let us know asap!
>
> Yours,
> Daniel
>
> On Thu, May 18, 2017 at 5:01 PM, Blumenthal, Uri - 0553 - MITLL <
> uri@ll.mit.edu> wrote:
>
>> It is a mathematical cryptographic term, and as such is incontrovertible=
.
>>
>> I say leave it in.
>>
>> Regards,
>> Uri
>>
>> Sent from my iPhone
>>
>> > On May 18, 2017, at 16:58, Timothy Jackson <tjackson@mobileiron.com>
>> wrote:
>> >
>> > One small nit.
>> >
>> >> ECDHE provides perfect forward secrecy
>> > I thought we had decided to change =E2=80=9Cperfect forward secrecy=E2=
=80=9D to just
>> =E2=80=9Cforward secrecy=E2=80=9D since =E2=80=9Cperfect=E2=80=9D is suc=
h a difficult standard to reach?
>> >
>> > Tim
>> > =E2=80=94
>> > Tim Jackson | Product Security Architect | MobileIron, Inc.
>> >
>> > On 5/18/17, 10:45 AM, "TLS on behalf of Daniel Migault" <
>> tls-bounces@ietf.org on behalf of daniel.migault@ericsson.com> wrote:
>> >
>> >    Hi Simon,
>> >
>> >    Thank you for the review. I believe we have addressed your comments
>> in our version 04. Please see my comments inline.
>> >
>> >    Yours,
>> >    Daniel
>> >
>> >    -----Original Message-----
>> >    From: TLS [mailto:tls-bounces@ietf.org] On Behalf Of Simon
>> Friedberger
>> >    Sent: Thursday, May 04, 2017 5:59 PM
>> >    To: ietf@ietf.org
>> >    Cc: tls@ietf.org
>> >    Subject: Re: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt=
>
>> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
>> Security (TLS)) to Proposed Standard
>> >
>> >    Nits:
>> >
>> >        RFC 4279 reference is missing.
>> >    MGLT: It seems the reference is mentioned in the current version in
>> the Normative reference as well  as in the introduction at line 127,  in
>> section 3 line 143. In case you meant another reference, please let us k=
now.
>> >
>> >
>> >
>> >        "TLS 1.3 and above version, " should probably be "TLS 1.3 and
>> above" or "TLS 1.3 and higher versions"
>> >    MGLT: Changed to "TLS 1.3 and higher versions"
>> >
>> >>    On 04/05/17 18:41, The IESG wrote:
>> >> The IESG has received a request from the Transport Layer Security WG
>> >> (tls) to consider the following document:
>> >> - 'ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Lay=
er
>> >>   Security (TLS)'
>> >>  <draft-ietf-tls-ecdhe-psk-aead-03.txt> as Proposed Standard
>> >>
>> >> The IESG plans to make a decision in the next few weeks, and solicits
>> >> final comments on this action. Please send substantive comments to th=
e
>> >> ietf@ietf.org mailing lists by 2017-05-18. Exceptionally, comments ma=
y
>> >> be sent to iesg@ietf.org instead. In either case, please retain the
>> >> beginning of the Subject line to allow automated sorting.
>> >>
>> >> Abstract
>> >>
>> >>
>> >>   This document defines several new cipher suites for the Transport
>> >>   Layer Security (TLS) protocol.  The cipher suites are all based on
>> >>   the Ephemeral Elliptic Curve Diffie-Hellman with Pre-Shared Key
>> >>   (ECDHE_PSK) key exchange together with the Authenticated Encryption
>> >>   with Associated Data (AEAD) algorithms AES-GCM and AES-CCM.  PSK
>> >>   provides light and efficient authentication, ECDHE provides perfect
>> >>   forward secrecy, and AES-GCM and AES-CCM provides encryption and
>> >>   integrity protection.
>> >>
>> >>
>> >>
>> >>
>> >> The file can be obtained via
>> >> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
>> >>
>> >> IESG discussion can be tracked via
>> >> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/ballot=
/
>> >>
>> >>
>> >> No IPR declarations have been submitted directly on this I-D.
>> >>
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> TLS mailing list
>> >> TLS@ietf.org
>> >> https://www.ietf.org/mailman/listinfo/tls
>> >
>> >    _______________________________________________
>> >    TLS mailing list
>> >    TLS@ietf.org
>> >    https://www.ietf.org/mailman/listinfo/tls
>> >
>> >    _______________________________________________
>> >    TLS mailing list
>> >    TLS@ietf.org
>> >    https://www.ietf.org/mailman/listinfo/tls
>> >
>> >
>> > _______________________________________________
>> > TLS mailing list
>> > TLS@ietf.org
>> > https://www.ietf.org/mailman/listinfo/tls
>>
>> _______________________________________________
>> TLS mailing list
>> TLS@ietf.org
>> https://www.ietf.org/mailman/listinfo/tls
>>
>>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

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

<div dir=3D"ltr">I don&#39;t much care, but we&#39;ve moved to &quot;forwar=
d secrecy&quot; in TLS 1.3.<div><br></div><div>-Ekr</div><div><br></div></d=
iv><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, May 18=
, 2017 at 5:17 PM, Daniel Migault <span dir=3D"ltr">&lt;<a href=3D"mailto:d=
aniel.migault@ericsson.com" target=3D"_blank">daniel.migault@ericsson.com</=
a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><di=
v><div>Hi, <br><br>Thanks Tim and Uri for the comment. At least wikipedia c=
onsiders them as equivalent. I am fine either way, but leave it=C2=A0 as pf=
s unless there is a consensus to change it to forward secrecy. If having fs=
 seems important to you please let us know asap!<br><br>Yours, <br></div></=
div>Daniel <br></div><div class=3D"HOEnZb"><div class=3D"h5"><div class=3D"=
gmail_extra"><br><div class=3D"gmail_quote">On Thu, May 18, 2017 at 5:01 PM=
, Blumenthal, Uri - 0553 - MITLL <span dir=3D"ltr">&lt;<a href=3D"mailto:ur=
i@ll.mit.edu" target=3D"_blank">uri@ll.mit.edu</a>&gt;</span> wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex">It is a mathematical cryptographic term, and as=
 such is incontrovertible.<br>
<br>
I say leave it in.<br>
<br>
Regards,<br>
Uri<br>
<br>
Sent from my iPhone<br>
<div class=3D"m_2531415802891281647HOEnZb"><div class=3D"m_2531415802891281=
647h5"><br>
&gt; On May 18, 2017, at 16:58, Timothy Jackson &lt;<a href=3D"mailto:tjack=
son@mobileiron.com" target=3D"_blank">tjackson@mobileiron.com</a>&gt; wrote=
:<br>
&gt;<br>
&gt; One small nit.<br>
&gt;<br>
&gt;&gt; ECDHE provides perfect forward secrecy<br>
&gt; I thought we had decided to change =E2=80=9Cperfect forward secrecy=E2=
=80=9D to just =E2=80=9Cforward secrecy=E2=80=9D since =E2=80=9Cperfect=E2=
=80=9D is such a difficult standard to reach?<br>
&gt;<br>
&gt; Tim<br>
&gt; =E2=80=94<br>
&gt; Tim Jackson | Product Security Architect | MobileIron, Inc.<br>
&gt;<br>
&gt; On 5/18/17, 10:45 AM, &quot;TLS on behalf of Daniel Migault&quot; &lt;=
<a href=3D"mailto:tls-bounces@ietf.org" target=3D"_blank">tls-bounces@ietf.=
org</a> on behalf of <a href=3D"mailto:daniel.migault@ericsson.com" target=
=3D"_blank">daniel.migault@ericsson.com</a>&gt; wrote:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 Hi Simon,<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 Thank you for the review. I believe we have addressed you=
r comments in our version 04. Please see my comments inline.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 Yours,<br>
&gt;=C2=A0 =C2=A0 Daniel<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 -----Original Message-----<br>
&gt;=C2=A0 =C2=A0 From: TLS [mailto:<a href=3D"mailto:tls-bounces@ietf.org"=
 target=3D"_blank">tls-bounces@ietf.org</a>] On Behalf Of Simon Friedberger=
<br>
&gt;=C2=A0 =C2=A0 Sent: Thursday, May 04, 2017 5:59 PM<br>
&gt;=C2=A0 =C2=A0 To: <a href=3D"mailto:ietf@ietf.org" target=3D"_blank">ie=
tf@ietf.org</a><br>
&gt;=C2=A0 =C2=A0 Cc: <a href=3D"mailto:tls@ietf.org" target=3D"_blank">tls=
@ietf.org</a><br>
&gt;=C2=A0 =C2=A0 Subject: Re: [TLS] Last Call: &lt;draft-ietf-tls-ecdhe-ps=
k-aead<wbr>-03.txt&gt; (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites fo=
r Transport Layer Security (TLS)) to Proposed Standard<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 Nits:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 RFC 4279 reference is missing.<br>
&gt;=C2=A0 =C2=A0 MGLT: It seems the reference is mentioned in the current =
version in the Normative reference as well=C2=A0 as in the introduction at =
line 127,=C2=A0 in section 3 line 143. In case you meant another reference,=
 please let us know.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;TLS 1.3 and above version, &quot; sho=
uld probably be &quot;TLS 1.3 and above&quot; or &quot;TLS 1.3 and higher v=
ersions&quot;<br>
&gt;=C2=A0 =C2=A0 MGLT: Changed to &quot;TLS 1.3 and higher versions&quot;<=
br>
&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 On 04/05/17 18:41, The IESG wrote:<br>
&gt;&gt; The IESG has received a request from the Transport Layer Security =
WG<br>
&gt;&gt; (tls) to consider the following document:<br>
&gt;&gt; - &#39;ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transp=
ort Layer<br>
&gt;&gt;=C2=A0 =C2=A0Security (TLS)&#39;<br>
&gt;&gt;=C2=A0 &lt;draft-ietf-tls-ecdhe-psk-aead<wbr>-03.txt&gt; as Propose=
d Standard<br>
&gt;&gt;<br>
&gt;&gt; The IESG plans to make a decision in the next few weeks, and solic=
its<br>
&gt;&gt; final comments on this action. Please send substantive comments to=
 the<br>
&gt;&gt; <a href=3D"mailto:ietf@ietf.org" target=3D"_blank">ietf@ietf.org</=
a> mailing lists by 2017-05-18. Exceptionally, comments may<br>
&gt;&gt; be sent to <a href=3D"mailto:iesg@ietf.org" target=3D"_blank">iesg=
@ietf.org</a> instead. In either case, please retain the<br>
&gt;&gt; beginning of the Subject line to allow automated sorting.<br>
&gt;&gt;<br>
&gt;&gt; Abstract<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0This document defines several new cipher suites for th=
e Transport<br>
&gt;&gt;=C2=A0 =C2=A0Layer Security (TLS) protocol.=C2=A0 The cipher suites=
 are all based on<br>
&gt;&gt;=C2=A0 =C2=A0the Ephemeral Elliptic Curve Diffie-Hellman with Pre-S=
hared Key<br>
&gt;&gt;=C2=A0 =C2=A0(ECDHE_PSK) key exchange together with the Authenticat=
ed Encryption<br>
&gt;&gt;=C2=A0 =C2=A0with Associated Data (AEAD) algorithms AES-GCM and AES=
-CCM.=C2=A0 PSK<br>
&gt;&gt;=C2=A0 =C2=A0provides light and efficient authentication, ECDHE pro=
vides perfect<br>
&gt;&gt;=C2=A0 =C2=A0forward secrecy, and AES-GCM and AES-CCM provides encr=
yption and<br>
&gt;&gt;=C2=A0 =C2=A0integrity protection.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; The file can be obtained via<br>
&gt;&gt; <a href=3D"https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-p=
sk-aead/" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org=
/d<wbr>oc/draft-ietf-tls-ecdhe-psk-ae<wbr>ad/</a><br>
&gt;&gt;<br>
&gt;&gt; IESG discussion can be tracked via<br>
&gt;&gt; <a href=3D"https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-p=
sk-aead/ballot/" rel=3D"noreferrer" target=3D"_blank">https://datatracker.i=
etf.org/d<wbr>oc/draft-ietf-tls-ecdhe-psk-ae<wbr>ad/ballot/</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; No IPR declarations have been submitted directly on this I-D.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; TLS mailing list<br>
&gt;&gt; <a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a>=
<br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noref=
errer" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/tls</a>=
<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 ______________________________<wbr>_________________<br>
&gt;=C2=A0 =C2=A0 TLS mailing list<br>
&gt;=C2=A0 =C2=A0 <a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@iet=
f.org</a><br>
&gt;=C2=A0 =C2=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=
=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinf=
o/tls</a><br>
&gt;<br>
&gt;=C2=A0 =C2=A0 ______________________________<wbr>_________________<br>
&gt;=C2=A0 =C2=A0 TLS mailing list<br>
&gt;=C2=A0 =C2=A0 <a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@iet=
f.org</a><br>
&gt;=C2=A0 =C2=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=
=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinf=
o/tls</a><br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; TLS mailing list<br>
&gt; <a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferre=
r" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/tls</a><br>
</div></div><br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/tls</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br></blockquote></div><br></div>

--94eb2c08d3561210e2054fd3212d--


From nobody Thu May 18 14:56:57 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 45F61129B2E for <tls@ietfa.amsl.com>; Thu, 18 May 2017 14:56:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.499
X-Spam-Level: 
X-Spam-Status: No, score=-0.499 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, URIBL_BLOCKED=0.001] autolearn=ham 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 r_KN8AM-4WND for <tls@ietfa.amsl.com>; Thu, 18 May 2017 14:56:53 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9FD0412778E for <tls@ietf.org>; Thu, 18 May 2017 14:51:09 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 8C0E17A32F1 for <tls@ietf.org>; Thu, 18 May 2017 21:51:08 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CABcZeBNr-6UbGd+Lt_h2vQaFmB+CdgA=Nz5rzaoRSvSzy7BkDA@mail.gmail.com>
Date: Thu, 18 May 2017 17:51:07 -0400
Content-Transfer-Encoding: 7bit
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <830025C0-3AE6-48A5-B5A9-892B0EC8612D@dukhovni.org>
References: <149391606578.6842.3727373203321848879.idtracker@ietfa.amsl.com> <4373f972-bf9b-4dbe-1b59-7f51846831f3@a-oben.org> <2DD56D786E600F45AC6BDE7DA4E8A8C118BDB69D@eusaamb107.ericsson.se> <6191522F-FB75-4B74-B7DE-200FEDB3F021@mobileiron.com> <7E11398B-EAEF-4E06-BC6A-6797BA2197AE@ll.mit.edu> <CADZyTkkncvCjpw85AUSwpHON-KLmbJsyYb-hw-EOEV8i3TXRYg@mail.gmail.com> <CABcZeBNr-6UbGd+Lt_h2vQaFmB+CdgA=Nz5rzaoRSvSzy7BkDA@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/EY-L4HzAxWh63mRIqpIKRJPScYQ>
Subject: Re: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 21:56:55 -0000

> On May 18, 2017, at 5:30 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> 
> I don't much care, but we've moved to "forward secrecy" in TLS 1.3.

That's increasingly the more appropriate term.  Yes, historically
the word "perfect" was there too, but these days we understand that
it is only as perfect as the ephemeral key-agreement algorithm,
which is vulnerable to cryptanalytic advances.

-- 
	Viktor.


From nobody Thu May 18 15:58:47 2017
Return-Path: <sean@sn3rd.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8ECDA12EB9A for <tls@ietfa.amsl.com>; Thu, 18 May 2017 15:58:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sn3rd.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 Su98n8JBkZVi for <tls@ietfa.amsl.com>; Thu, 18 May 2017 15:58:44 -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 6870E1294CE for <tls@ietf.org>; Thu, 18 May 2017 15:53:31 -0700 (PDT)
Received: by mail-qk0-x22f.google.com with SMTP id k74so48806426qke.1 for <tls@ietf.org>; Thu, 18 May 2017 15:53:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sn3rd.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=v49H+JODZiTVVLX6dcv5QyZDC+YwvnC1YyUNUw0FmWQ=; b=J4DWq9BDilzFVochjwG26lxg/M8BwuWw5Q1TZORc0Nf7vjIOGK5kDVQopX3CGjYVKp ELSrNkvE1K+7lfOWft82Tbab5+7coUHTjVPoU9hSkntWQ4tEfW+L5eRMs4IEiLSmyUyH RZYWxQF5eUBjePvZ8mAmeLs2B4KxtapK/ObFk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=v49H+JODZiTVVLX6dcv5QyZDC+YwvnC1YyUNUw0FmWQ=; b=NyCu070uqy66GfMFFg+lEv8vhOKjaYc2iUJCEDDpEPqm6PhaIIVa/SAUGIpLP9KIPP CzSqaFo4XD5S27z0ptPhBLoigo7YTPzbpsJRR2+4Eoc/6U/7R0aTGiNPRJvg8YPG6bmE 5dj8kmufZKoPkZkvZviIUgtdCl64ESw98uwM8L+UVRC7ryy333JIOeV3eAh9QV/a1H1q DLYhni9dwB4v0jLfMwplQ/nPQBqMVLUbKlnvN2Z/43ZJTZaPWJR0B3KeKWIisI9ne1Mb X5FpR/ljwh5nqJi+j71J9+V5tEx6DS4c62gpYazaVJB/2Q9wu9k3X+BUKCMTGHujv7nO HaIw==
X-Gm-Message-State: AODbwcCQTAPRn8NKLCgP1r1kL18gnjSwZIRcOQ5DPvQBDwa8a+fMhwyI HDT6ftjh1u9i1TIC
X-Received: by 10.55.129.195 with SMTP id c186mr2487849qkd.255.1495148010651;  Thu, 18 May 2017 15:53:30 -0700 (PDT)
Received: from [172.16.0.18] ([96.231.219.90]) by smtp.gmail.com with ESMTPSA id x44sm4653457qtc.68.2017.05.18.15.53.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 May 2017 15:53:29 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Sean Turner <sean@sn3rd.com>
In-Reply-To: <601C7C89-F149-4E97-A474-C128041925EA@sn3rd.com>
Date: Thu, 18 May 2017 18:53:28 -0400
Cc: lurk@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <0956863E-7D11-47A7-BD67-5D9DB3A3574A@sn3rd.com>
References: <601C7C89-F149-4E97-A474-C128041925EA@sn3rd.com>
To: "<tls@ietf.org>" <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/dtpozAnQ-3i_Vpn2bTqhdJ8ulnU>
Subject: Re: [TLS] WG Call for adoption of draft-rescorla-tls-subcerts
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 May 2017 22:58:45 -0000

All,

During the WG call for adoption, a couple of questions were raised about =
comparison/analysis of sub-certs versus proxy and/or short-lived =
certificates.  There is some discussion currently in the draft, but the =
chairs feel that these issues need further discussion (and elaboration =
in the draft) prior to WG adoption.  So let=E2=80=99s keep the =
conversation going.

J&S

> On Apr 12, 2017, at 15:31, Sean Turner <sean@sn3rd.com> wrote:
>=20
> All,
>=20
> At our IETF 98 session, there was support in the room to adopt =
draft-rescorla-tls-subcerts [0].  We need to confirm this support on the =
list so please let the list know whether you support adoption of the =
draft and are willing to review/comment on the draft before 20170429.  =
If you object to its adoption, please let us know why.
>=20
> Clearly, the WG is going to need to work through the trade-offs =
between short-lived certificates and sub-certs because both seem, to =
some, to be addressing the same problem.=20
>=20
> Cheers,
>=20
> J&S
>=20
> [0] https://datatracker.ietf.org/doc/html/draft-rescorla-tls-subcerts


From nobody Thu May 18 21:43:33 2017
Return-Path: <kaduk@mit.edu>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 70A81129C6E; Thu, 18 May 2017 21:43:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.303
X-Spam-Level: 
X-Spam-Status: No, score=-2.303 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham 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 TdrSVNrUSx8o; Thu, 18 May 2017 21:43:21 -0700 (PDT)
Received: from dmz-mailsec-scanner-4.mit.edu (dmz-mailsec-scanner-4.mit.edu [18.9.25.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DBABA129C13; Thu, 18 May 2017 21:38:35 -0700 (PDT)
X-AuditID: 1209190f-db7ff70000005284-13-591e76c97452
Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-4.mit.edu (Symantec Messaging Gateway) with SMTP id 4E.26.21124.9C67E195; Fri, 19 May 2017 00:38:34 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id v4J4cWgl014307; Fri, 19 May 2017 00:38:33 -0400
Received: from kduck.kaduk.org (24-107-191-124.dhcp.stls.mo.charter.com [24.107.191.124]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id v4J4cRQa011042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 19 May 2017 00:38:31 -0400
Date: Thu, 18 May 2017 23:38:27 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: iesg@ietf.org, secdir@ietf.org, draft-ietf-tls-ecdhe-psk-aead.all@ietf.org
Cc: tls@ietf.org, ietf@ietf.org
Message-ID: <20170519043827.GL39245@kduck.kaduk.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.7.1 (2016-10-04)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrDIsWRmVeSWpSXmKPExsUixG6nrnuqTC7SYP57GYs3yzYxWcz4M5HZ 4tnG+SwWHxY+ZLH4dL6L0YHVY8mSn0wBjFFcNimpOZllqUX6dglcGT0P9rAWfJapWPr7P2MD 41bxLkYODgkBE4lLb1y7GLk4hAQWM0mc3vWUHcLZyCjx4m4rK4RzlUniZNdJIIeTg0VAVWLV 4WvsIDabgIpEQ/dlZhBbRMBPYt2P90wgNrOAvMSidzfBaoQFrCR+bvwDFucF2vZpRRcbhC0o cXLmExaIei2JG/9eMoFcxCwgLbH8HwdIWFRAWeLv4XssExj5ZiHpmIWkYxZCxwJG5lWMsim5 Vbq5iZk5xanJusXJiXl5qUW6Jnq5mSV6qSmlmxhBgcgpyb+DcU6D9yFGAQ5GJR7eBytkI4VY E8uKK3MPMUpyMCmJ8s4IkIsU4kvKT6nMSCzOiC8qzUktPsQowcGsJMIrLgaU401JrKxKLcqH SUlzsCiJ84prNEYICaQnlqRmp6YWpBbBZGU4OJQkeJeVAjUKFqWmp1akZeaUIKSZODhBhvMA Dc8HqeEtLkjMLc5Mh8ifYlSUEue1KAFKCIAkMkrz4HpBiUIie3/NK0ZxoFeEeb1B2nmASQau +xXQYCagwc0PpEEGlyQipKQaGB1b8nfVilR23Fh8536vG9fSB1ev3/FOM/Tvi/9bf+exkMXs F+6TV/FeWuVulP3j4d830Ys3hhuu2/tobdPl2PPSLp0KSs8v2+/6KnBPZHvHlaU3wto23q0K WXRz6pLyd7xn3K5ML5dMWLJpQqx1HZPjA3fu3yx2S5b5mQUm/hNaN43xy+nF254qsRRnJBpq MRcVJwIA6NGlB+8CAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/RE5HJl8mnReBZ3Yb3WlIQQogJMA>
Subject: [TLS] secdir review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 04:43:23 -0000

Hi all,

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 primarily for the benefit of the
security area directors.  Document editors and WG chairs should
treat these comments just like any other last call comments.

This document is ready with nits.

Essentially, we are filling in a gap in the TLS (< 1.3) ciphersuite
space, thought of as a cross product of key exchange and
cipher+mac/AEAD -- we have some of the combinations (PSK with ECDHE
but no AES-[GC]CM, PSK with AES-GCM but only non-EC DH, etc.) but
not quite this one.

That said, it seems a little silly to only partially fill the gap
(by omitting the AES_256_CCM* cipher suites), even though there is
not currently demand for them.

This document is just assembling pieces that were already specified
elsewhere, so it need not contain much detail itself, which is fine.
That said, I think section 3 should probably state explicitly which
pieces it uses, instead of a vague reference of being "based on RFC
4279".  So, "The ServerKeyExchange and ClientKeyExchange messages
from RFC 5489 for ECDHE_PSK are used, and the premaster secret is
computed in the same manner as for ECDHE_PSK key exchange in RFC
5489."  (I am not sure why RFC 4279 is cited in the current text; it
does not cover ECDHE_PSK.)

The premaster_secret structure so used basically ends up putting the
ECDH output first followed by the static PSK; with the pre-TLS 1.2
PRF, that would give the ECDH shared secret to md5 and the PSK to
sha1, which is perhaps another reason to not use these with pre-1.2
worth mentioning (in addition to the AEAD availability).

The security considerations largely refer to those of the other
documents providing the pieces that are combined together here;
those referenced security considerations sections are more than
adequate here, as this document itself does not really do anything
particularly novel.  That said, if we are going to reiterate the
entropy requirement for PSKs inline, we probably ought to also
reiterate the nonce-reuse considerations for GCM and CCM.  The
relevant constructions help, but there are still ways to mess up and
reuse a nonce when doing crypto in parallel, if I remember the
GCM/TLS document's security considerations correctly.


Some other editorial nits follow.

I see we're already discussing "perfect forward secrecy" vs.
"forward secrecy"; my preference is for just "forward secrecy" (and
I may have been one of the more active voices in causing TLS 1.3 to
switch), but in the grand scheme of things it doesn't really matter.

In section 2, the RFC 7525 reference that "AEAD algorithms [...] are
strongly recommended" is scoped to just (D)TLS, so the text here
should probably also list that qualification.

In section 4, "... make use of the authenticated encryption with
additional data (AEAD) defined in TLS 1.2" seems to make AEAD into
something of a unique object, as opposed to a class of things with
multiple possible instantiations.  I would consider something like
"... (AEAD) concept".

In section 4, "these cipher suites MUST NOT be negotiated in TLS
versions prior to 1.2" should probably clarify that "these" cipher
suites are the new ones specified by this document.

s/Servers,\nwhich/Servers\nthat/

Does the last paragraph of section 5 want a note "RFC Editor please
remove this paragraph"?

Section 6, third paragraph, s/by using short PSK/by using a short
PSK/.  Also, s/by a human and thus/by a human which thus/, maybe?

Last paragraph page 4, comma after "i.e.".


-Ben


From nobody Fri May 19 00:22:18 2017
Return-Path: <davemgarrett@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 918EA129ADA; Fri, 19 May 2017 00:21:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 L8ieFsHbj3_R; Fri, 19 May 2017 00:21:51 -0700 (PDT)
Received: from mail-qt0-x234.google.com (mail-qt0-x234.google.com [IPv6:2607:f8b0:400d:c0d::234]) (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 6ACF0127A91; Fri, 19 May 2017 00:16:36 -0700 (PDT)
Received: by mail-qt0-x234.google.com with SMTP id c13so51911702qtc.1; Fri, 19 May 2017 00:16:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-transfer-encoding:message-id; bh=1l6wwkBmmZlH9uo3WF1lXR/upb5w3DhmVxp3H96FKuE=; b=CFImJbKua/vDQNK96rHApq84iAOeHIUZnaZcwkHkBj14ZqF8y5wUjljxV4GhebYG4u Y2mD095XN+5VHGPymg1T/Y59+ErQuJKUvdDc9JdtiHkRe2oNxXiW7gBTlP04G6iCVAXw GyxkheQyUBqWkZvqWEX/zy2Vb/kjsxTqy/k94BCJstWCzSAAceKLoZYYhjZ2kKdP4RSb GtbFPGTP8CBi9UxOrgBbgErHc21RqarB/LyVGjAoCUqQEmFqMjkDcN153HNCQ2EpdR5n alkbnvU6z+hSEbkYM7gEy/RWYew37WVDNg3Y1y2Fxja2wrc41Ub+tbXva7pXQ7Bw07wn ry0A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-transfer-encoding:message-id; bh=1l6wwkBmmZlH9uo3WF1lXR/upb5w3DhmVxp3H96FKuE=; b=iAyoaT7C+wAskUFNVLQJZJxw9SFTICp4NV4RcMkZE8+w8SObNW1B9YPPHECwfqus9f h5xS67so4uRBozDGHZBaBTM2Wa2lInLfsGnaYRYtXlJIdK8e1H36pONcOuaCuIjYim9W i2vdh+pNz72MeG1+ilekDAKpqO96+c0Wal5eZ7Z1IAWQsh5p37r4NHKGSJoQkYrLROiP oQ4uYqunQItjMGe547yI4kQAsTTzUd2baBXZzURPEVJ8vM51ZHqOZKvQz2fXgSfH2WCT XN8YkPo3Ql2Ea3WwrGSpb5OGp4AbtH7zv/XpoHkJ/bQaN65/XAF1+BoxFKWVN4eogpXv vrqA==
X-Gm-Message-State: AODbwcCzJz/ZSNp/ezDRdOCVUE3hGnarFT8+qvE+GSsA3Ug7fPUroj1W NzQK/92nM/OhOA2oOrk=
X-Received: by 10.200.56.243 with SMTP id g48mr8729225qtc.79.1495178195474; Fri, 19 May 2017 00:16:35 -0700 (PDT)
Received: from dave-laptop.localnet (pool-71-185-36-197.phlapa.fios.verizon.net. [71.185.36.197]) by smtp.gmail.com with ESMTPSA id o13sm5426365qke.30.2017.05.19.00.16.34 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 19 May 2017 00:16:34 -0700 (PDT)
From: Dave Garrett <davemgarrett@gmail.com>
To: tls@ietf.org
Date: Fri, 19 May 2017 03:16:32 -0400
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
Cc: Benjamin Kaduk <kaduk@mit.edu>, iesg@ietf.org, secdir@ietf.org, draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, ietf@ietf.org
References: <20170519043827.GL39245@kduck.kaduk.org>
In-Reply-To: <20170519043827.GL39245@kduck.kaduk.org>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201705190316.33316.davemgarrett@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/R-aIWr6ngokqJbihDWYVPNk2NJw>
Subject: Re: [TLS] secdir review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 07:21:53 -0000

On Friday, May 19, 2017 12:38:27 am Benjamin Kaduk wrote:
> In section 4, "these cipher suites MUST NOT be negotiated in TLS
> versions prior to 1.2" should probably clarify that "these" cipher
> suites are the new ones specified by this document.

Probably should be: "the cipher suites defined in this document
MUST NOT be negotiated for any version of TLS other than 1.2."

The sentence mentioning TLS 1.3+ could be moved up to right after
and just say: "TLS version 1.3 and later negotiate these features in
a different manner."


Dave


From nobody Fri May 19 02:41:30 2017
Return-Path: <sankalp.nitt@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C7BF12EA52 for <tls@ietfa.amsl.com>; Fri, 19 May 2017 02:41:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 4GLnJm_y2thm for <tls@ietfa.amsl.com>; Fri, 19 May 2017 02:41:23 -0700 (PDT)
Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::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 6B99712EB14 for <tls@ietf.org>; Fri, 19 May 2017 02:34:50 -0700 (PDT)
Received: by mail-oi0-x22a.google.com with SMTP id b204so85450478oii.1 for <tls@ietf.org>; Fri, 19 May 2017 02:34:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to:cc; bh=5Wf4Z3FFsRdeQagR15Auf8cN0p5mA8LGOF0Jl13sItQ=; b=d8MeS9Vc2YQ528W0RTD21dQJLZuVMSdjAb+mkvOnE6Hy6kdY0AJcpB7qEnTn3bVE9c PYJeOVpvVogZ0Fn1Xlw37OGdSTpuIqwGsaIPoyisuC3KKcfLg4/vI8neP7QEsW1bhgjI DEKetTv6ytJ5AMCJL/fSrd9whRcC0tHwOBAcFpCnyyQlQ37FrQPoDeCjo8cGfXc9JFSK CfU/tG83zTb70SDUT36P3C02ldVk5g0GC7/fS6QHZtOnm+ff3SUoK1+2Qf8QaDJWRRPS FE+PlcQbsHQ8+Un4I56lBewzzuS9NPBOtulWTwJX9i6LKX+OR5toyRH2q0bblpTUifxh Am5g==
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:cc; bh=5Wf4Z3FFsRdeQagR15Auf8cN0p5mA8LGOF0Jl13sItQ=; b=XQprHnq/qnvRWplmDhF+e9ezB/7s4XZV5aLE0cpNIol8tZh1toyN07WEgsaGpPa+QE w7WROsF+jQ+yg1uX47AnA/y1d0DWV4d4wqswnAqfcvg3iallc++e4ZwdEig60BQjPJWd q9p+Yssy6jM32BrzX3PmlWXrvoKV2gDHNKG9JzCbvJcckC2IiR+g4JTDJfpzBWx2lMyE 1yBvYBex2XHr4sGPSpk9UFD3ANrRm6yFuucY7uefgmBCbHcATMIzlSdq7R83OuLh/k07 KZsn48h/BOdonJQJWIM4mUlFHClvtORk7HE5bH4StJRNNuw0JJuBkjXlA1tFFuK+6dOw uDwA==
X-Gm-Message-State: AODbwcDCLzzXfSta4wjYnvZTIfr+/5K4ywFclmrHKmQLMJshAGDeoeKC 2j7hVUWRNVwVLKOcthJ5JJr+70/Cig==
X-Received: by 10.202.198.208 with SMTP id w199mr4054866oif.115.1495186489700;  Fri, 19 May 2017 02:34:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.56.24 with HTTP; Fri, 19 May 2017 02:34:49 -0700 (PDT)
From: Sankalp Bagaria <sankalp.nitt@gmail.com>
Date: Fri, 19 May 2017 15:04:49 +0530
Message-ID: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com>
To: tls@ietf.org, Eric Rescorla <ekr@rtfm.com>,  Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, Russ Housley <housley@vigilsec.com>
Cc: sankalp <sankalp@cdac.in>, Balaji Rajendran <balajirajendran@gmail.com>
Content-Type: multipart/alternative; boundary="001a1134fbb4979321054fdd3b63"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ns4RCm6L2MEhI3KVjbuVT2QnE8E>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 09:41:27 -0000

--001a1134fbb4979321054fdd3b63
Content-Type: text/plain; charset="UTF-8"

Hi,

I would like to mention that TLS can be used with non-X.509 certificates
also.
In particular, it can be used with ITS ETSI and IEEE certificates.
https://datatracker.ietf.org/doc/html/draft-serhrouchni-tls-certieee1609

So, in my opinion, TLS should be very loosely or not at all coupled with
RFC 5280.

Thanks and Regards,
Sankalp Bagaria.


> On Tue, May 16, 2017 at 11:31 AM, Russ Housley <housley@vigilsec.com>
> wrote:
> >
> > On May 16, 2017, at 11:23 AM, Eric Rescorla <ekr@rtfm.com> wrote:
> >
> >
> >
> > On Tue, May 16, 2017 at 8:17 AM, Russ Housley <housley@vigilsec.com>
> wrote:
> >>
> >>
> >> On May 15, 2017, at 7:01 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> >>
> >>
> >>
> >> On Mon, May 15, 2017 at 12:38 PM, Russ Housley <housley@vigilsec.com>
> >> wrote:
> >>>
> >>> Just commenting on Section 4.2 ?
> >>>
> >>> >
> >>> > > 3. Section 4.2.
> >>> > >
> >>> > >    "In general, detailed certificate validation procedures are out
> of
> >>> > >    scope for TLS (see [RFC5280]).  This section provides
> TLS-specific
> >>> > >    requirements."
> >>> > >
> >>> > > I don't see an explanation of why it is out-of-scope.  The
> reference
> >>> > > is just to RFC5280, which seems odd.  I would expect the reference
> to
> >>> > > be to something that explains why it is out-of-scope.
> >>>
> >>> I think the the separation of certificate path validation from the TLS
> >>> protocol is correct, but perhaps this can be explained differently.
> Perhaps
> >>> the approach should be that TLS depends upon certificate path
> validation as
> >>> described in RFC 5280.
> >>>
> >>> > In general, TLS's policy (dating back to TLS 1.0) has been that the
> >>> > job of TLS is to carry the certificates and other authentication
> >>> > material but to leave it up to other parts of the system to
> >>> > interpret them. It's been a long time since that decision was made,
> >>> > but from my perspective, there are a number of major reasons:
> >>> >
> >>> > 1. Most of PKI processing (path construction, etc.) is generic and
> >>> >    not specific to TLS. What is specific to TLS is:
> >>> >
> >>> >    * How to indicate what your PKI capabilities are
> >>> >      (see, e.g, S 4.2.4 and 4.3.2)
> >>> >    * How to stuff the PKI material into the protocol
> >>> >      (principally S 4.4.2)
> >>> >    * How to determine whether a given certificate is suitable for
> >>> >      use in TLS 4.4.4.2 and 4.3.2.1).
> >>> >
> >>> >    So we want to outsource the generic PKI part
> >>> >
> >>> >
> >>> > 2. It matches the software architecture that people often use,
> >>> >    which is to have a TLS stack but separate PKI validation. For
> >>> >    instance, Firefox uses NSS for TLS but moz::pkix for
> >>> >    validation. Similarly, Chrome uses BoringSSL for TLS
> >>> >    but the system PKI libraries for validation.
> >>> >
> >>> >
> >>> > In this case, I think that this text was more intended to
> >>> > say "and go read 5280 to learn how to do this". To that end,
> >>> > I suggest we say"
> >>> >
> >>> >
> >>> >     "In general detailed certificate validation procedures are out of
> >>> >     scope for TLS. [RFC5280] provides general procedures for
> >>> >     certificate validation. This section provides TLS-specific
> >>> >     requirements.?
> >>>
> >>> I agree with the reasoning, however the dependency on RFC 5280 should
> be
> >>> called out in a MUST statement.  I suggest something like:
> >>>
> >>>     "TLS depends on certificate path validation, and a conformant
> >>>     TLS implementation MUST implement certificate paths validation
> >>>     in a manner that achieves the same result as [RFC5280]. This
> >>>     section provides TLS-specific requirements.?
> >>>
> >>> Note that RFC 5280 is already a normative reference.
> >>
> >>
> >> A MUST here would be a pretty material change to historical TLS
> practice.
> >> As Viktor says, there are TLS-using applications that just don't
> validate
> >> the cert via 5280 at all.
> >>
> >>
> >> I think we want to say that if the certificates are used, then the
> >> certification path MUST be validated in a manner that is compatible with
> >> Internet X.509 certificate profile [RFC5280]; however, other approaches
> to
> >> validation of the public key, such as the DANE TLSA resource record
> >> [RFC6698], are also acceptable.
> >
> >
> > I can see how you would want to say that, but it's not really consistent
> > either
> > with historical practice or with the way that other standards track RFCs
> use
> > TLS
> > with certificates (see RFC 5763).
> >
> >
> > Actually, that is a great example.  I accept the need for loose coupling.
>
> OK, does that put us back to the suggested wording:
>
>     "TLS depends on certificate path validation, and a conformant
>      TLS implementation MUST implement certificate paths validation
>      in a manner that achieves the same result as [RFC5280]. This
>      section provides TLS-specific requirements.?
>
> For any developers following, does this help enough with any
> interoperability questions?
>
> Thanks,
> Kathleen
>
> >
> > Russ
> >
>
>
>
> --
>
> Best regards,
> Kathleen
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>
> ------------------------------
>
> End of TLS Digest, Vol 154, Issue 61
> ************************************
>

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div=
>Hi,</div><div><br></div><div>I would like to mention that TLS can be used =
with non-X.509 certificates also.</div><div>In particular, it can be used w=
ith ITS ETSI and IEEE certificates.=C2=A0</div><div><a href=3D"https://data=
tracker.ietf.org/doc/html/draft-serhrouchni-tls-certieee1609">https://datat=
racker.ietf.org/doc/html/draft-serhrouchni-tls-certieee1609</a><br></div><d=
iv><br></div><div>So, in my opinion, TLS should be very loosely or not at a=
ll coupled with=C2=A0</div><div>RFC 5280.</div><div><br></div><div>Thanks a=
nd Regards,</div><div>Sankalp Bagaria.</div><div>=C2=A0</div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex">
On Tue, May 16, 2017 at 11:31 AM, Russ Housley &lt;<a href=3D"mailto:housle=
y@vigilsec.com">housley@vigilsec.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On May 16, 2017, at 11:23 AM, Eric Rescorla &lt;<a href=3D"mailto:ekr@=
rtfm.com">ekr@rtfm.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, May 16, 2017 at 8:17 AM, Russ Housley &lt;<a href=3D"mailto:ho=
usley@vigilsec.com">housley@vigilsec.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On May 15, 2017, at 7:01 PM, Eric Rescorla &lt;<a href=3D"mailto:e=
kr@rtfm.com">ekr@rtfm.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, May 15, 2017 at 12:38 PM, Russ Housley &lt;<a href=3D"mail=
to:housley@vigilsec.com">housley@vigilsec.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Just commenting on Section 4.2 ?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; &gt; 3. Section 4.2.<br>
&gt;&gt;&gt; &gt; &gt;<br>
&gt;&gt;&gt; &gt; &gt;=C2=A0 =C2=A0 &quot;In general, detailed certificate =
validation procedures are out of<br>
&gt;&gt;&gt; &gt; &gt;=C2=A0 =C2=A0 scope for TLS (see [RFC5280]).=C2=A0 Th=
is section provides TLS-specific<br>
&gt;&gt;&gt; &gt; &gt;=C2=A0 =C2=A0 requirements.&quot;<br>
&gt;&gt;&gt; &gt; &gt;<br>
&gt;&gt;&gt; &gt; &gt; I don&#39;t see an explanation of why it is out-of-s=
cope.=C2=A0 The reference<br>
&gt;&gt;&gt; &gt; &gt; is just to RFC5280, which seems odd.=C2=A0 I would e=
xpect the reference to<br>
&gt;&gt;&gt; &gt; &gt; be to something that explains why it is out-of-scope=
.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I think the the separation of certificate path validation from=
 the TLS<br>
&gt;&gt;&gt; protocol is correct, but perhaps this can be explained differe=
ntly.=C2=A0 Perhaps<br>
&gt;&gt;&gt; the approach should be that TLS depends upon certificate path =
validation as<br>
&gt;&gt;&gt; described in RFC 5280.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt; In general, TLS&#39;s policy (dating back to TLS 1.0) has=
 been that the<br>
&gt;&gt;&gt; &gt; job of TLS is to carry the certificates and other authent=
ication<br>
&gt;&gt;&gt; &gt; material but to leave it up to other parts of the system =
to<br>
&gt;&gt;&gt; &gt; interpret them. It&#39;s been a long time since that deci=
sion was made,<br>
&gt;&gt;&gt; &gt; but from my perspective, there are a number of major reas=
ons:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; 1. Most of PKI processing (path construction, etc.) is ge=
neric and<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 not specific to TLS. What is specific to TLS=
 is:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 * How to indicate what your PKI capabilities=
 are<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 (see, e.g, S 4.2.4 and 4.3.2)<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 * How to stuff the PKI material into the pro=
tocol<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 (principally S 4.4.2)<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 * How to determine whether a given certifica=
te is suitable for<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 use in TLS 4.4.4.2 and 4.3.2.1).<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 So we want to outsource the generic PKI part=
<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; 2. It matches the software architecture that people often=
 use,<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 which is to have a TLS stack but separate PK=
I validation. For<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 instance, Firefox uses NSS for TLS but moz::=
pkix for<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 validation. Similarly, Chrome uses BoringSSL=
 for TLS<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 but the system PKI libraries for validation.=
<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; In this case, I think that this text was more intended to=
<br>
&gt;&gt;&gt; &gt; say &quot;and go read 5280 to learn how to do this&quot;.=
 To that end,<br>
&gt;&gt;&gt; &gt; I suggest we say&quot;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0&quot;In general detailed certificate =
validation procedures are out of<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0scope for TLS. [RFC5280] provides gene=
ral procedures for<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0certificate validation. This section p=
rovides TLS-specific<br>
&gt;&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0requirements.?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I agree with the reasoning, however the dependency on RFC 5280=
 should be<br>
&gt;&gt;&gt; called out in a MUST statement.=C2=A0 I suggest something like=
:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0&quot;TLS depends on certificate path valid=
ation, and a conformant<br>
&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0TLS implementation MUST implement certifica=
te paths validation<br>
&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0in a manner that achieves the same result a=
s [RFC5280]. This<br>
&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0section provides TLS-specific requirements.=
?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Note that RFC 5280 is already a normative reference.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; A MUST here would be a pretty material change to historical TLS pr=
actice.<br>
&gt;&gt; As Viktor says, there are TLS-using applications that just don&#39=
;t validate<br>
&gt;&gt; the cert via 5280 at all.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I think we want to say that if the certificates are used, then the=
<br>
&gt;&gt; certification path MUST be validated in a manner that is compatibl=
e with<br>
&gt;&gt; Internet X.509 certificate profile [RFC5280]; however, other appro=
aches to<br>
&gt;&gt; validation of the public key, such as the DANE TLSA resource recor=
d<br>
&gt;&gt; [RFC6698], are also acceptable.<br>
&gt;<br>
&gt;<br>
&gt; I can see how you would want to say that, but it&#39;s not really cons=
istent<br>
&gt; either<br>
&gt; with historical practice or with the way that other standards track RF=
Cs use<br>
&gt; TLS<br>
&gt; with certificates (see RFC 5763).<br>
&gt;<br>
&gt;<br>
&gt; Actually, that is a great example.=C2=A0 I accept the need for loose c=
oupling.<br>
<br>
OK, does that put us back to the suggested wording:<br>
<br>
=C2=A0 =C2=A0 &quot;TLS depends on certificate path validation, and a confo=
rmant<br>
=C2=A0 =C2=A0 =C2=A0TLS implementation MUST implement certificate paths val=
idation<br>
=C2=A0 =C2=A0 =C2=A0in a manner that achieves the same result as [RFC5280].=
 This<br>
=C2=A0 =C2=A0 =C2=A0section provides TLS-specific requirements.?<br>
<br>
For any developers following, does this help enough with any<br>
interoperability questions?<br>
<br>
Thanks,<br>
Kathleen<br>
<br>
&gt;<br>
&gt; Russ<br>
&gt;<br>
<br>
<br>
<br>
--<br>
<br>
Best regards,<br>
Kathleen<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br>
<br>
------------------------------<br>
<br>
End of TLS Digest, Vol 154, Issue 61<br>
******************************<wbr>******<br>
</blockquote></div><br></div></div>

--001a1134fbb4979321054fdd3b63--


From nobody Fri May 19 02:59:41 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F119129B62 for <tls@ietfa.amsl.com>; Fri, 19 May 2017 02:59:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 w1qLFB4Eic4Y for <tls@ietfa.amsl.com>; Fri, 19 May 2017 02:59:36 -0700 (PDT)
Received: from welho-filter4.welho.com (welho-filter4.welho.com [83.102.41.26]) by ietfa.amsl.com (Postfix) with ESMTP id 1799212EC9D for <tls@ietf.org>; Fri, 19 May 2017 02:53:20 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id 0D71E23A2B; Fri, 19 May 2017 12:53:19 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id xzPjYqsl5M5t; Fri, 19 May 2017 12:53:18 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 7430C27B; Fri, 19 May 2017 12:53:18 +0300 (EEST)
Date: Fri, 19 May 2017 12:53:17 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Colm =?utf-8?Q?MacC=C3=A1rthaigh?= <colm@allcosts.net>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/CELn3usqpFgf7zp1z-cAyR0MKmc>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 09:59:39 -0000

On Tue, May 16, 2017 at 05:39:55PM -0700, Eric Rescorla wrote:
> On Thu, May 4, 2017 at 2:13 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> 
> > As promised:
> > https://github.com/tlswg/tls13-spec/pull/1005
> >
> > Note: I may have to do a little post-landing cleanup, but I wanted to get
> > people's senses of the text ASAP.
> >
> 
> Thanks for everyone's comments. I've updated the text to address many of
> them and
> made comments in Github where I decided not to do so. Can those who have
> read
> the previous version please take a look?

To me, that reads as gross understatement about the dangers involved in
0-RTT:

- The side channel attacks with millions or billions of replays are hard
  to protect against. This is if the side channels are in TLS library.
  If not, protecting against that sort of side channels becomes
  virtually impossible.
- Furthermore, with that kind of replay volume, protecting against DoS
  attacks is virtually impossible.
- Even if once-per-server or once-per-cluster replay detection limits
  the number of replays to few hundred to few thoursand at maximum,
  where the low-level crypto side channels are much less of a threat,
  cache attacks can be used to break security (in fact, not sending a
  mad burst of data to any one server is useful for carrying out these).
- 0-RTT Exporters are severly broken unless servers do strict anti-
  replay.

(I left unordered replay out, because I don't see how that is
actually created by 0-RTT, as opposed to just being made easier).

There are no inherent problems in 0-RTT that I know of that would
prevent sending even non-idempotent things like HTTP POSTs over it
(however, failure rates are increased if you do). However, as
currently described, I would not think 0-RTT is safe for anything
except very boring things like protocol banners. I also do not
consider it safe enough to implement in anything that actually
considers security.


Also, on 0-RTT enable/disable: I would imagine that some browsers at
first might have an option to disable 0-RTT. However, I expect that
over time it will get removed (like what happened with the session
ticket support in Firefox), so when serious problem is discovered, there
is no option to disable the vulernable feature at all (like happened
with tickets in TLS 1.0-1.2) or the disable is far too wide (e.g.
disabling whole TLS 1.3 in order to disable 0-RTT).



Also, the kind of thing going on here seems exactly how I would imagine
the past very bad decisions from TLS WG, that were known to be insecure
at the time of specification and where then successfully attacked later,
played out. However, I have not read those discussions from the ML
archives.



-Ilari


From nobody Fri May 19 03:18:29 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 68FAB12EC3C for <tls@ietfa.amsl.com>; Fri, 19 May 2017 03:18:28 -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, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 lWOfKQ6d7437 for <tls@ietfa.amsl.com>; Fri, 19 May 2017 03:18:26 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id AC5A01294B9 for <tls@ietf.org>; Fri, 19 May 2017 03:12:42 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 1908523324; Fri, 19 May 2017 13:12:41 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id tZ82IByIhS_B; Fri, 19 May 2017 13:12:40 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 126C927B; Fri, 19 May 2017 13:12:40 +0300 (EEST)
Date: Fri, 19 May 2017 13:12:39 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Sankalp Bagaria <sankalp.nitt@gmail.com>
Cc: tls@ietf.org
Message-ID: <20170519101239.GB30080@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/4oq0ZIDNRvRJcgfG9gsxK9NlOxE>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 10:18:28 -0000

On Fri, May 19, 2017 at 03:04:49PM +0530, Sankalp Bagaria wrote:
> Hi,
> 
> I would like to mention that TLS can be used with non-X.509 certificates
> also.
> In particular, it can be used with ITS ETSI and IEEE certificates.
> https://datatracker.ietf.org/doc/html/draft-serhrouchni-tls-certieee1609
> 
> So, in my opinion, TLS should be very loosely or not at all coupled with
> RFC 5280.

Just commenting on that draft, I don't see anything that would specify
how the certificate message itself is formatted in TLS 1.2 if those
types are used (I presume the same as the usual TLS 1.2 X.509
certificate message[1][2]). If the formatting is the same as X.509 one,
mapping that to TLS 1.3 will be straightforward. If it is not the same,
then the mapping to TLS 1.3 has to be explicitly defined.


The reason formatting for TLS 1.2 is significant is that for TLS 1.2, it
looks like each certificate type defines its own format (and none of the
three formats so fare is the same). Also, avoid putting in any non-
certificate fields, as that causes major problems with TLS 1.3 (as seen
with OpenPGP type[3]).



[1] This is list (24-bit length) of non-empty octet strings (24 bit
length).

[2] That the message formatting is the same does not imply that the
octets string contents is in any way the same.

[3] Also, RPK had its own format in TLS 1.2, but TLS 1.3 specification
explicitly gives RPK type a new format.


-Ilari


From nobody Fri May 19 06:04:27 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B62901294EF for <tls@ietfa.amsl.com>; Fri, 19 May 2017 06:04:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 pl3SbCYWEq1Q for <tls@ietfa.amsl.com>; Fri, 19 May 2017 06:04:22 -0700 (PDT)
Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com [IPv6:2a00:1450:4010:c07::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 EFCEA12EB44 for <tls@ietf.org>; Fri, 19 May 2017 05:57:25 -0700 (PDT)
Received: by mail-lf0-x22e.google.com with SMTP id y126so511517lfc.2 for <tls@ietf.org>; Fri, 19 May 2017 05:57:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=4fHDiIy4g78IihlhmBkURv68gcTObGKRjfU5MSoevEs=; b=buV6R569DRCVP4/P2s6F1ZI5Pnxl+N5hsjCE1IiWNJCqVSoK8zUS10FoV4mmiOwkIW gvX0T2jnIB37885gDoORaLhzd+UG4tX5zhQx92OXLyX3TydAWpEBjxZh98B8/KMVz8XQ i/r2+cyTgKu6/vJswJxGJhGOL01AecdOP1JKslx+sXuAaXFukIWIxPGWyvz2oBZEHdIf LqaZRJbC1+tXCWdeAaQnWsKQi4pfn0sQ8E3biOMTpC3ciRonOdCd3CftnIfdfEAYWIH9 knkjpuRadHDnDzGKTwOXVY3jiX9PksYZ6DtUVN4krUv93/ZpDDrA0+hyJNLe7LUBxjZE ok3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=4fHDiIy4g78IihlhmBkURv68gcTObGKRjfU5MSoevEs=; b=aetTallpa2lA/NzkPl8WgeKQWB681rNQV2iGnsd4Ibz2RoOKRiuXjSj4WJ1ARbjlT0 LuxrUVBfsNp2Dr9Gg2Fa5npUZKLpdPGuNlZcxdyUedbLbkVeL/Sqx6ohcqf+FJgBVHaE hsFQrvn+T/vEF6vXSxYKW8Ow4Cf0294rwFwYff7OCbZr/1/ZAQ85zWeyYghgwIf4fA8+ YWgLEOnAKpL5+KGmVP+6StfzPkV8jObF95NUwdk5XH9azJA1f6pMfiyUIzFmSQKxk4C0 Apx6/Zw+IdlUAldUpwn2E5O9hOSqT/J83wCXplCzMr3vaivSgX5PIlpS6E5eqUO93+FH YxSg==
X-Gm-Message-State: AODbwcDDCgdvwAwpCut1rFxfcUNnJZqQxVNH+TubaGycyfxSUALjbsW4 yJZEFugxZC9sxkOs6RQdjSnQJkaFQQ==
X-Received: by 10.46.78.9 with SMTP id c9mr2196754ljb.38.1495198643585; Fri, 19 May 2017 05:57:23 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Fri, 19 May 2017 05:57:22 -0700 (PDT)
In-Reply-To: <830025C0-3AE6-48A5-B5A9-892B0EC8612D@dukhovni.org>
References: <149391606578.6842.3727373203321848879.idtracker@ietfa.amsl.com> <4373f972-bf9b-4dbe-1b59-7f51846831f3@a-oben.org> <2DD56D786E600F45AC6BDE7DA4E8A8C118BDB69D@eusaamb107.ericsson.se> <6191522F-FB75-4B74-B7DE-200FEDB3F021@mobileiron.com> <7E11398B-EAEF-4E06-BC6A-6797BA2197AE@ll.mit.edu> <CADZyTkkncvCjpw85AUSwpHON-KLmbJsyYb-hw-EOEV8i3TXRYg@mail.gmail.com> <CABcZeBNr-6UbGd+Lt_h2vQaFmB+CdgA=Nz5rzaoRSvSzy7BkDA@mail.gmail.com> <830025C0-3AE6-48A5-B5A9-892B0EC8612D@dukhovni.org>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Fri, 19 May 2017 08:57:22 -0400
X-Google-Sender-Auth: zm6ZPIV-OHFufnB0kI01uYR7Dh8
Message-ID: <CADZyTkmCSXz5VoH03R4VRL_-O1eHiaHgbbW_gTwyMETt6HLQUg@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary="f403045ec306050b9b054fe010f3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Axi2Rm1f_FFXejVYFUhyP3fQQwc>
Subject: Re: [TLS] Last Call: <draft-ietf-tls-ecdhe-psk-aead-03.txt> (ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)) to Proposed Standard
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 13:04:25 -0000

--f403045ec306050b9b054fe010f3
Content-Type: text/plain; charset="UTF-8"

Thanks for the feed backs. I have found two occurrences of perfect forward
secrecy which have been changed to forward secrecy.
Yours,
Daniel


On Thu, May 18, 2017 at 5:51 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

>
> > On May 18, 2017, at 5:30 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> >
> > I don't much care, but we've moved to "forward secrecy" in TLS 1.3.
>
> That's increasingly the more appropriate term.  Yes, historically
> the word "perfect" was there too, but these days we understand that
> it is only as perfect as the ephemeral key-agreement algorithm,
> which is vulnerable to cryptanalytic advances.
>
> --
>         Viktor.
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr"><div><div>Thanks for the feed backs. I have found two occu=
rrences of perfect forward secrecy which have been changed to forward secre=
cy.<br></div>Yours, <br></div>Daniel<br><div><div><br></div></div></div><di=
v class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, May 18, 2017=
 at 5:51 PM, Viktor Dukhovni <span dir=3D"ltr">&lt;<a href=3D"mailto:ietf-d=
ane@dukhovni.org" target=3D"_blank">ietf-dane@dukhovni.org</a>&gt;</span> w=
rote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex"><span class=3D""><br>
&gt; On May 18, 2017, at 5:30 PM, Eric Rescorla &lt;<a href=3D"mailto:ekr@r=
tfm.com">ekr@rtfm.com</a>&gt; wrote:<br>
&gt;<br>
&gt; I don&#39;t much care, but we&#39;ve moved to &quot;forward secrecy&qu=
ot; in TLS 1.3.<br>
<br>
</span>That&#39;s increasingly the more appropriate term.=C2=A0 Yes, histor=
ically<br>
the word &quot;perfect&quot; was there too, but these days we understand th=
at<br>
it is only as perfect as the ephemeral key-agreement algorithm,<br>
which is vulnerable to cryptanalytic advances.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Viktor.<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</div></div></blockquote></div><br></div>

--f403045ec306050b9b054fe010f3--


From nobody Fri May 19 07:17:37 2017
Return-Path: <mrex@sap.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E01D127599; Fri, 19 May 2017 07:17:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.022
X-Spam-Level: 
X-Spam-Status: No, score=-5.022 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham 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 xcwpNoj3WGy9; Fri, 19 May 2017 07:17:14 -0700 (PDT)
Received: from smtpde01.smtp.sap-ag.de (smtpde01.smtp.sap-ag.de [155.56.68.170]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 76D761274D2; Fri, 19 May 2017 07:17:14 -0700 (PDT)
Received: from mail08.wdf.sap.corp (mail01.sap.corp [194.39.131.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtpde01.smtp.sap-ag.de (Postfix) with ESMTPS id 3wTqr84pCRz1KKD; Fri, 19 May 2017 16:17:12 +0200 (CEST)
X-purgate-ID: 152705::1495203432-0000521C-43C7610E/0/0
X-purgate-size: 2767
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate-type: clean
X-SAP-SPAM-Status: clean
Received: from ld9781.wdf.sap.corp (ld9781.wdf.sap.corp [10.21.82.193]) by mail08.wdf.sap.corp (Postfix) with ESMTP id 3wTqr842gjz2ycn; Fri, 19 May 2017 16:17:12 +0200 (CEST)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id 84D9A1A6A1; Fri, 19 May 2017 16:17:12 +0200 (CEST)
In-Reply-To: <20170519043827.GL39245@kduck.kaduk.org>
To: Benjamin Kaduk <kaduk@mit.edu>
Date: Fri, 19 May 2017 16:17:12 +0200 (CEST)
CC: iesg@ietf.org, secdir@ietf.org,  draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, tls@ietf.org, ietf@ietf.org
Reply-To: mrex@sap.com
X-Mailer: ELM [version 2.4ME+ PL125 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20170519141712.84D9A1A6A1@ld9781.wdf.sap.corp>
From: mrex@sap.com (Martin Rex)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ipaVUWS_K6aCrylgzmzar4gD6I0>
Subject: Re: [TLS] secdir review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 14:17:16 -0000

Benjamin Kaduk wrote:
> 
> Some other editorial nits follow.
> 
> In section 4, "these cipher suites MUST NOT be negotiated in TLS
> versions prior to 1.2" should probably clarify that "these" cipher
> suites are the new ones specified by this document.


This reminds me of the specification goofs in several TLSv1.2-related
documents about AEAD cipher suites which are responsible for the viability
of the POODLE attack and other exploitable fallback hacks.

It would be much preferable to avoid/fix those problems and facilitate
the migration to and use of TLSv1.2 without failing TLS handshakes and
band aids such as TLS_FALLBACK_SCSV


Suggested improvement:

   The cipher suites defined in this document make use of the
   authenticated encryption with additional data (AEAD) defined in TLS
   1.2 [RFC5246] and DTLS 1.2 [RFC6347].  Earlier versions of TLS do not
   have support for AEAD and consequently, these cipher suites MUST NOT
-  be negotiated in TLS versions prior to 1.2.  Clients MUST NOT offer
-  these cipher suites if they do not offer TLS 1.2 or later.  Servers,
-  which select an earlier version of TLS MUST NOT select one of these
-  cipher suites.  A client MUST treat the selection of these cipher
-  suites in combination with a version of TLS that does not support
-  AEAD (i.e., TLS 1.1 or earlier) as an error and generate a fatal
-  'illegal_parameter' TLS alert.
+                                               A client that offers
+  the cipher suites from this document in ClientHello.cipher_suites
+  in combination with (3,1) "TLSv1.0" or (3,2) "TLSv1.1" in
+  ClientHello.client_version MUST support TLSv1.2 and MUST accept
+  the server to negotiate TLSv1.2 for the current session.  If the
+  client does not support TLSv1.2 or is not willing to negotiate TLSv1.2,
+  then this client MUST NOT offer any of these cipher suites with a
+  lower protocol version than (3,3) "TLSv1.2" in ClientHello.client_version.
+  A server receiving a ClientHello and a client_version indicating
+  (3,1) "TLSv1.0" or (3,2) "TLSv1.1" and any of the cipher suites from
+  this document in ClientHello.cipher_suites can safely assume that the
+  client supports TLSv1.2 and is willing to use it.  The server MUST
+  NOT negotiate these cipher suites with TLS protocol versions earlier
+  than TLSv1.2.
+
+  Not requiring clients to indicate their support for TLSv1.2 cipher
+  suites exclusively through ClientHello.client_hello improves the
+  interoperability in the installed base and use of TLSv1.2 AEAD
+  cipher suites without upsetting the installed base of version-intolerant
+  TLS servers, results in more TLS handshakes succeeding and obviates
+  fallback mechanisms.


-Martin


From nobody Fri May 19 07:40:30 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1DB3512871F; Fri, 19 May 2017 07:40:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level: 
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 fwjujipgLvp8; Fri, 19 May 2017 07:40:03 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 151D6128616; Fri, 19 May 2017 07:40:02 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4JEREhR018311; Fri, 19 May 2017 15:40:00 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=nqaJ2c6f6nzUTZqHFNr++LfBDzLt1Zs6zhERmLXmwnM=; b=LSAimkt9tpudwA5d5o37bA9f3mwKATS8gWHvoVQG4FTxlYFVdEQbA4pMXNrUPVzQgS6d uxxFN3xzFw4TYbThRwtJK7uSUQ5qqdenPSutm0wp7PbjRHjiqG5Z47HJiqbp2m8G0Tgv J6kdGVpnCVm+1L7nNFYRz6Qq7KNetKVIz72O8lTs9Km/AckfMtIxEsZVLUdo0s9Fm4km QzpToK1goxFW+BMwGu+og5qjmmT91YvQq1oXuWKM57g+IEhFB8P+aj/hnV6urMCkR2DC oku68gECkN1USIWddNyGrDr+Kr0h2aO/sm7mDpEf+Fmpk+Uo0CbOjFP75TxVAKckHJdx eA== 
Received: from prod-mail-ppoint2 (a184-51-33-19.deploy.static.akamaitechnologies.com [184.51.33.19] (may be forged)) by m0050096.ppops.net-00190b01. with ESMTP id 2ahya7h2ju-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 May 2017 15:39:59 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4JEPUWZ028856; Fri, 19 May 2017 10:39:59 -0400
Received: from prod-mail-relay10.akamai.com ([172.27.118.251]) by prod-mail-ppoint2.akamai.com with ESMTP id 2adwfugd74-1; Fri, 19 May 2017 10:39:58 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id 37EB01FC72; Fri, 19 May 2017 14:39:58 +0000 (GMT)
To: Dave Garrett <davemgarrett@gmail.com>, tls@ietf.org
Cc: draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, secdir@ietf.org, ietf@ietf.org, Benjamin Kaduk <kaduk@mit.edu>, iesg@ietf.org
References: <20170519043827.GL39245@kduck.kaduk.org> <201705190316.33316.davemgarrett@gmail.com>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <010db57b-37a9-a543-d33c-cc0dd7a75fcf@akamai.com>
Date: Fri, 19 May 2017 09:39:57 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <201705190316.33316.davemgarrett@gmail.com>
Content-Type: multipart/alternative; boundary="------------4C99548D51EF38DA6C013C38"
Content-Language: en-US
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-19_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705190092
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-19_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705190092
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/yzYrf0gc3omQQnPNmCV_Zl8dY9I>
Subject: Re: [TLS] secdir review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 14:40:09 -0000

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

On 05/19/2017 02:16 AM, Dave Garrett wrote:
> On Friday, May 19, 2017 12:38:27 am Benjamin Kaduk wrote:
>> In section 4, "these cipher suites MUST NOT be negotiated in TLS
>> versions prior to 1.2" should probably clarify that "these" cipher
>> suites are the new ones specified by this document.
> Probably should be: "the cipher suites defined in this document
> MUST NOT be negotiated for any version of TLS other than 1.2."
>
> The sentence mentioning TLS 1.3+ could be moved up to right after
> and just say: "TLS version 1.3 and later negotiate these features in
> a different manner."
>
>

That's probably best, yes.  The interaction between this document and
TLS 1.3 is a little weird, and it's not entirely clear to me that this
one needs to say much of anything about TLS 1.3, given that TLS 1.3
changes all the relevant messages and key hierarchy and such.

-Ben

--------------4C99548D51EF38DA6C013C38
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">
    On 05/19/2017 02:16 AM, Dave Garrett wrote:<br>
    <blockquote type="cite"
      cite="mid:201705190316.33316.davemgarrett@gmail.com">
      <pre wrap="">On Friday, May 19, 2017 12:38:27 am Benjamin Kaduk wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">In section 4, "these cipher suites MUST NOT be negotiated in TLS
versions prior to 1.2" should probably clarify that "these" cipher
suites are the new ones specified by this document.
</pre>
      </blockquote>
      <pre wrap="">
Probably should be: "the cipher suites defined in this document
MUST NOT be negotiated for any version of TLS other than 1.2."

The sentence mentioning TLS 1.3+ could be moved up to right after
and just say: "TLS version 1.3 and later negotiate these features in
a different manner."


</pre>
    </blockquote>
    <br>
    That's probably best, yes.Â  The interaction between this document
    and TLS 1.3 is a little weird, and it's not entirely clear to me
    that this one needs to say much of anything about TLS 1.3, given
    that TLS 1.3 changes all the relevant messages and key hierarchy and
    such.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------4C99548D51EF38DA6C013C38--


From nobody Fri May 19 08:56:14 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 97E901294D8; Fri, 19 May 2017 08:55:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 IePb0rm2HD51; Fri, 19 May 2017 08:55:38 -0700 (PDT)
Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::231]) (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 17B04129484; Fri, 19 May 2017 08:55:38 -0700 (PDT)
Received: by mail-lf0-x231.google.com with SMTP id 99so3338356lfu.1; Fri, 19 May 2017 08:55:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=L+plUwKnFmIyg/bdkHFdC9zg9l6zsBn2dNJEtQP4xVY=; b=OSQ+ZqGcE/2bL57NRRhDieKYYUeBNWBBg2E6S6DFYfz88tYyXZEkHZNLBHMdqQ8Jc7 WbZiL65bMIesBTDfh+32SZxazGx3l6THtgI3uNT0GQGpttynE4cfwgpVC5j18jU3Vtxh Yrhz5Z6Umq4h0kNkWr3Rtooxjt7e8bjqlEMDlNEfCZY0QjzW0jGySVCR4ykay0ugoLbX yTj8GaHSJFPnwkuS3XwIWL8plxj3i8JFJSi+sSO1KhfiddfFJhPzZezqrrDtypW70aOh Gmg1SDciTUvf2ld2LAbollaPRQpsm9qDJ/lYnIh48fnSvOeC9tAqMrohd/K2aP5eZJTZ y7Qw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=L+plUwKnFmIyg/bdkHFdC9zg9l6zsBn2dNJEtQP4xVY=; b=HQ1nVYAOhArZTa/jmK0GNCKJvCNmOnAseIYcnZAggUSjC4txGl13VOhuqgejQx3i08 PKQ2qZHtKpRfotI+LjeSbvY6YNDicBYm/dapVR8C6uhGWbV/ZkTQUd1rpd0iJRh4xVO6 ftq07ULtpgPPVu4b9Hsmy3Dej6R3br0g/PMlLMHCcVEpYjtDz1WWGKayiq7RKPf1HyG/ vcFM0AHs7vA+qLxE41q30GWUUhgnagMiuQlvdEZ5qdAIi5sDXBGM0Nez/2tDWxCgxtS6 vpUO5CMfZOFIzhHS9ifsEuDj7oevfJZRpjX/cpPwvbQ6vEZNmcD5fAfy2RB6/CxC7KVq be8g==
X-Gm-Message-State: AODbwcCVtqG8TQp6ZCQqObtWF6Meu7zePAcPQd6ysO6TZ4mVRw8uSK+6 7xBGmHTguF4X/SLdnJtv6d7b7JzVW872
X-Received: by 10.25.228.197 with SMTP id x66mr2272178lfi.145.1495209336235; Fri, 19 May 2017 08:55:36 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Fri, 19 May 2017 08:55:35 -0700 (PDT)
In-Reply-To: <20170519043827.GL39245@kduck.kaduk.org>
References: <20170519043827.GL39245@kduck.kaduk.org>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Fri, 19 May 2017 11:55:35 -0400
X-Google-Sender-Auth: mkl0vhJtSKd0EsKUTBHbL0a9Xck
Message-ID: <CADZyTkncMTsTQt6C2S+Z0mw+30uc38bfrTSCOvjWRPn_dJkDLQ@mail.gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: The IESG <iesg@ietf.org>, secdir@ietf.org,  draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, tls <tls@ietf.org>,  "ietf@ietf.org" <ietf@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0e7d8859eec0054fe28dcd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/0MB8pRaGzgktlYQ7xiP922v1Zgc>
Subject: Re: [TLS] secdir review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 15:55:42 -0000

--94eb2c0e7d8859eec0054fe28dcd
Content-Type: text/plain; charset="UTF-8"

Hi Benjamin,

Thank you for the review. Please find my comments inline and let me know if
you agree with the proposed text. I believe the only point not addressed
concerns the addition of CCM-256 which has been remove after discussion
during the WGLC.

Thanks you for the review,

Yours,
Daniel

On Fri, May 19, 2017 at 12:38 AM, Benjamin Kaduk <kaduk@mit.edu> wrote:

> Hi all,
>
> 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 primarily for the benefit of the
> security area directors.  Document editors and WG chairs should
> treat these comments just like any other last call comments.
>
> This document is ready with nits.
>
> Essentially, we are filling in a gap in the TLS (< 1.3) ciphersuite
> space, thought of as a cross product of key exchange and
> cipher+mac/AEAD -- we have some of the combinations (PSK with ECDHE
> but no AES-[GC]CM, PSK with AES-GCM but only non-EC DH, etc.) but
> not quite this one.
>
> That said, it seems a little silly to only partially fill the gap
> (by omitting the AES_256_CCM* cipher suites), even though there is
> not currently demand for them.
>
> MGLT: TLS_ECDHE_PSK_WITH_AES_256_CCM_8_SHA256 and
TLS_ECDHE_PSK_WITH_AES_256_CCM_SHA384  were mentioned in the 01 and removed
after  the WGLC. [0] The issue was whether or not introducing new ciphers
not supported by TLS1.3. In 01, we though of adding the code point for
TLS1.2 and then specify that TLS1.3 was only implementing a **subset** of
the cipher suites proposed.In case of needs these could still be supported
later by TLS1.3. The consensus seems to not introduce ciphers that would
not be handled by TLS1.3. If the WG decides otherwise, these could still be
added.

[0]
https://mailarchive.ietf.org/arch/msg/tls/M442CwmUMxrYJR8FjCh3h-a69o4/?qid=6e4713be1d71bae6718c6e6e6c4b8007




> This document is just assembling pieces that were already specified
> elsewhere, so it need not contain much detail itself, which is fine.
> That said, I think section 3 should probably state explicitly which
> pieces it uses, instead of a vague reference of being "based on RFC
> 4279".  So, "The ServerKeyExchange and ClientKeyExchange messages
> from RFC 5489 for ECDHE_PSK are used, and the premaster secret is
> computed in the same manner as for ECDHE_PSK key exchange in RFC
> 5489."  (I am not sure why RFC 4279 is cited in the current text; it
> does not cover ECDHE_PSK.)
>

MGLT: I agree we coudl be more explicit, here are the changes I propose. I
believe it address your purpose.

OLD:

Messages and pre-master secret construction in this
document are based on [RFC4279 <https://tools.ietf.org/html/rfc4279>].

NEW:

Messages and pre-master secret construction in this
document are defined in [RFC5489]. The ServerKeyExchange
and ClientKeyExchange messages and premaster secret is
computed as for  the ECDHE_PSK key exchange.


> The premaster_secret structure so used basically ends up putting the
> ECDH output first followed by the static PSK; with the pre-TLS 1.2
> PRF, that would give the ECDH shared secret to md5 and the PSK to
> sha1, which is perhaps another reason to not use these with pre-1.2
> worth mentioning (in addition to the AEAD availability).
>

MGLT: I believe the following text address your concern, however I am
wondering if we are not going beyond the scope of expected considerations.

In addition, it is worth noting that TLS1.0 <xref target="RFC2246"/> and
TL1.2 <xref target="RFC4346"/> splits the premaster in two parts. The PRF
results of mixing the two pseudorandom streams with distinct hash functions
(MD5 and SHA-1) by exclusive-ORing them together. In the case of ECDHE_PSK
authentication, the PSK and pre-master are treated by distinct hash
function with distinct properties. This may introduce vulnerabilities over
the expected security provided by the constructed pre-master. As such
TLS1.0 and TLS1.1 SHOULD NOT be used with ECDHE_PSK.


> The security considerations largely refer to those of the other
> documents providing the pieces that are combined together here;
> those referenced security considerations sections are more than
> adequate here, as this document itself does not really do anything
> particularly novel.  That said, if we are going to reiterate the
> entropy requirement for PSKs inline, we probably ought to also
> reiterate the nonce-reuse considerations for GCM and CCM.  The
> relevant constructions help, but there are still ways to mess up and
> reuse a nonce when doing crypto in parallel, if I remember the
> GCM/TLS document's security considerations correctly.
>

MGLT: I believe the following text address your comments.

 <t>GCM or CCM encryption - even of different clear text - re-using a
nonce with a same key undermines the security of GCM and CCM. As a
result, GCM and CCM MUST only be used with system guaranteeing nonce
uniqueness <xref target="RFC5116"/>.</t>


>
> Some other editorial nits follow.
>
> I see we're already discussing "perfect forward secrecy" vs.
> "forward secrecy"; my preference is for just "forward secrecy" (and
> I may have been one of the more active voices in causing TLS 1.3 to
> switch), but in the grand scheme of things it doesn't really matter.
>
> MGLT: perfect forward secrecy has been removed and replaced by forward
secrecy.


> In section 2, the RFC 7525 reference that "AEAD algorithms [...] are
> strongly recommended" is scoped to just (D)TLS, so the text here
> should probably also list that qualification.
>

MGLT: I believe the following text address your concern:

OLD text:
<t>AEAD algorithms that combine encryption and integrity protection are
strongly recommended for <xref target="RFC7525" /> and non-AEAD algorithms
are forbidden to use in TLS 1.3 <xref target="I-D.ietf-tls-tls13"/>.

NEW text:
<t>AEAD algorithms that combine encryption and integrity protection are
strongly recommended for (D)TLS <xref target="RFC7525" /> and non-AEAD
algorithms
are forbidden to use in TLS 1.3 <xref target="I-D.ietf-tls-tls13"/>.

> In section 4, "... make use of the authenticated encryption with
> additional data (AEAD) defined in TLS 1.2" seems to make AEAD into
> something of a unique object, as opposed to a class of things with
> multiple possible instantiations.  I would consider something like
> "... (AEAD) concept".
>
> In section 4, "these cipher suites MUST NOT be negotiated in TLS
> versions prior to 1.2" should probably clarify that "these" cipher
> suites are the new ones specified by this document.
>
> MGLT: I believe the following text address your comment:

OLD:
these cipher suites MUST NOT be negotiated in TLS  versions prior to 1.2.

NEW:
the cipher suites defined in this document MUST NOT be negotiated in TLS
versions prior to 1.2.

 OLD:
Clients MUST NOT offer these cipher suites

NEW:
Clients MUST NOT offer these cipher suites defined in this document



> s/Servers,\nwhich/Servers\nthat/
>
>
MGLT: Done


> Does the last paragraph of section 5 want a note "RFC Editor please
> remove this paragraph"?
>
> MGLT: Done


> Section 6, third paragraph, s/by using short PSK/by using a short
> PSK/.  Also, s/by a human and thus/by a human which thus/, maybe?
>
> MGLT: Probably ;-) done. thanks.


> Last paragraph page 4, comma after "i.e.".
>

MGLT: Added

>
>
> -Ben
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr"><div><div><div><div>Hi Benjamin, <br><br></div>Thank you f=
or the review. Please find my comments inline and let me know if you agree =
with the proposed text. I believe the only point not addressed concerns the=
 addition of CCM-256 which has been remove after discussion during the WGLC=
. <br><br></div>Thanks you for the review,<br><br></div>Yours, <br></div>Da=
niel<br><div><div><div><div class=3D"gmail_extra"><br><div class=3D"gmail_q=
uote">On Fri, May 19, 2017 at 12:38 AM, Benjamin Kaduk <span dir=3D"ltr">&l=
t;<a href=3D"mailto:kaduk@mit.edu" target=3D"_blank">kaduk@mit.edu</a>&gt;<=
/span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<=
br>
<br>
I have reviewed this document as part of the security directorate&#39;s<br>
ongoing effort to review all IETF documents being processed by the<br>
IESG.=C2=A0 These comments were written primarily for the benefit of the<br=
>
security area directors.=C2=A0 Document editors and WG chairs should<br>
treat these comments just like any other last call comments.<br>
<br>
This document is ready with nits.<br>
<br>
Essentially, we are filling in a gap in the TLS (&lt; 1.3) ciphersuite<br>
space, thought of as a cross product of key exchange and<br>
cipher+mac/AEAD -- we have some of the combinations (PSK with ECDHE<br>
but no AES-[GC]CM, PSK with AES-GCM but only non-EC DH, etc.) but<br>
not quite this one.<br>
<br>
That said, it seems a little silly to only partially fill the gap<br>
(by omitting the AES_256_CCM* cipher suites), even though there is<br>
not currently demand for them.<br>
<br></blockquote><div>MGLT: TLS_ECDHE_PSK_WITH_AES_256_CCM_8_SHA256 and  TL=
S_ECDHE_PSK_WITH_AES_256_CCM_SHA384=C2=A0 were mentioned in the 01 and remo=
ved after=C2=A0 the WGLC. [0] The issue was whether or not introducing new =
ciphers not supported by TLS1.3. In 01, we though of adding the code point =
for TLS1.2 and then specify that TLS1.3 was only implementing a **subset** =
of the cipher suites proposed.In case of needs these could still be support=
ed later by TLS1.3. The consensus seems to not introduce ciphers that would=
 not be handled by TLS1.3. If the WG decides otherwise, these could still b=
e added.=C2=A0 =C2=A0 <br><br>[0] <a href=3D"https://mailarchive.ietf.org/a=
rch/msg/tls/M442CwmUMxrYJR8FjCh3h-a69o4/?qid=3D6e4713be1d71bae6718c6e6e6c4b=
8007">https://mailarchive.ietf.org/arch/msg/tls/M442CwmUMxrYJR8FjCh3h-a69o4=
/?qid=3D6e4713be1d71bae6718c6e6e6c4b8007</a><br><br><br></div><div>=C2=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left:1px solid rgb(204,204,204);padding-left:1ex">
This document is just assembling pieces that were already specified<br>
elsewhere, so it need not contain much detail itself, which is fine.<br>
That said, I think section 3 should probably state explicitly which<br>
pieces it uses, instead of a vague reference of being &quot;based on RFC<br=
>
4279&quot;.=C2=A0 So, &quot;The ServerKeyExchange and ClientKeyExchange mes=
sages<br>
from RFC 5489 for ECDHE_PSK are used, and the premaster secret is<br>
computed in the same manner as for ECDHE_PSK key exchange in RFC<br>
5489.&quot;=C2=A0 (I am not sure why RFC 4279 is cited in the current text;=
 it<br>
does not cover ECDHE_PSK.)<br></blockquote><div><br></div><div>MGLT: I agre=
e we coudl be more explicit, here are the changes I propose. I believe it a=
ddress your purpose. <br><br></div><div>OLD:<br><pre class=3D"gmail-newpage=
">Messages and pre-master secret construction in this <br>document are base=
d on [<a href=3D"https://tools.ietf.org/html/rfc4279" title=3D"&quot;Pre-Sh=
ared Key Ciphersuites for Transport Layer Security (TLS)&quot;">RFC4279</a>=
].<br><br></pre></div><div>NEW:<br><pre class=3D"gmail-newpage">Messages an=
d pre-master secret construction in this <br>document are defined in [RFC54=
89]. The ServerKeyExchange<br>and ClientKeyExchange messages and premaster =
secret is <br>computed as for  the ECDHE_PSK key exchange. =C2=A0<br></pre>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
The premaster_secret structure so used basically ends up putting the<br>
ECDH output first followed by the static PSK; with the pre-TLS 1.2<br>
PRF, that would give the ECDH shared secret to md5 and the PSK to<br>
sha1, which is perhaps another reason to not use these with pre-1.2<br>
worth mentioning (in addition to the AEAD availability).<br></blockquote><d=
iv><br></div><div>MGLT: I believe the following text address your concern, =
however I am wondering if we are not going beyond the scope of expected con=
siderations.=C2=A0 <br><br></div><div>In addition, it is worth noting that =
TLS1.0 &lt;xref target=3D&quot;RFC2246&quot;/&gt; and TL1.2 &lt;xref target=
=3D&quot;RFC4346&quot;/&gt; splits the premaster in two parts. The PRF resu=
lts of mixing the two pseudorandom streams with distinct hash functions (MD=
5 and SHA-1) by exclusive-ORing them together. In the case of ECDHE_PSK aut=
hentication, the PSK and pre-master are treated by distinct hash function w=
ith distinct properties. This may introduce vulnerabilities over the expect=
ed security provided by the constructed pre-master. As such TLS1.0 and TLS1=
.1 SHOULD NOT be used with ECDHE_PSK. </div><div>=C2=A0</div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex">
The security considerations largely refer to those of the other<br>
documents providing the pieces that are combined together here;<br>
those referenced security considerations sections are more than<br>
adequate here, as this document itself does not really do anything<br>
particularly novel.=C2=A0 That said, if we are going to reiterate the<br>
entropy requirement for PSKs inline, we probably ought to also<br>
reiterate the nonce-reuse considerations for GCM and CCM.=C2=A0 The<br>
relevant constructions help, but there are still ways to mess up and<br>
reuse a nonce when doing crypto in parallel, if I remember the<br>
GCM/TLS document&#39;s security considerations correctly.<br></blockquote><=
div><br>MGLT: I believe the following text address your comments.<br><br>=
=C2=A0&lt;t&gt;GCM or CCM encryption - even of different clear text - re-us=
ing a <br>nonce with a same key undermines the security of GCM and CCM. As =
a<br>result, GCM and CCM MUST only be used with system guaranteeing nonce<b=
r>uniqueness &lt;xref target=3D&quot;RFC5116&quot;/&gt;.&lt;/t&gt;<br><br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
Some other editorial nits follow.<br>
<br>
I see we&#39;re already discussing &quot;perfect forward secrecy&quot; vs.<=
br>
&quot;forward secrecy&quot;; my preference is for just &quot;forward secrec=
y&quot; (and<br>
I may have been one of the more active voices in causing TLS 1.3 to<br>
switch), but in the grand scheme of things it doesn&#39;t really matter.<br=
>
<br></blockquote><div>MGLT: perfect forward secrecy has been removed and re=
placed by forward secrecy.<br>=C2=A0<br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20=
4);padding-left:1ex">
In section 2, the RFC 7525 reference that &quot;AEAD algorithms [...] are<b=
r>
strongly recommended&quot; is scoped to just (D)TLS, so the text here<br>
should probably also list that qualification.<br></blockquote><div>=C2=A0<b=
r></div><div>MGLT: I believe the following text address your concern:<br><b=
r></div><div>OLD text: <br>&lt;t&gt;AEAD algorithms that combine encryption=
 and integrity protection are<br>strongly recommended for &lt;xref target=
=3D&quot;RFC7525&quot; /&gt; and non-AEAD algorithms<br>are forbidden to us=
e in TLS 1.3 &lt;xref target=3D&quot;I-D.ietf-tls-tls13&quot;/&gt;. <br><br=
></div><div>NEW text:<br>&lt;t&gt;AEAD algorithms that combine encryption a=
nd integrity protection are<br>strongly recommended for (D)TLS &lt;xref tar=
get=3D&quot;RFC7525&quot; /&gt; and non-AEAD algorithms<br>are forbidden to=
 use in TLS 1.3 &lt;xref target=3D&quot;I-D.ietf-tls-tls13&quot;/&gt;. <br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex">
In section 4, &quot;... make use of the authenticated encryption with<br>
additional data (AEAD) defined in TLS 1.2&quot; seems to make AEAD into<br>
something of a unique object, as opposed to a class of things with<br>
multiple possible instantiations.=C2=A0 I would consider something like<br>
&quot;... (AEAD) concept&quot;.<br>
<br>
In section 4, &quot;these cipher suites MUST NOT be negotiated in TLS<br>
versions prior to 1.2&quot; should probably clarify that &quot;these&quot; =
cipher<br>
suites are the new ones specified by this document.<br>
<br></blockquote><div>MGLT: I believe the following text address your comme=
nt:<br><br></div><div>OLD:<br>these cipher suites MUST NOT be negotiated in=
 TLS=C2=A0 versions prior to 1.2.<br><br></div><div>NEW:<br>the cipher suit=
es defined in this document MUST NOT be negotiated in TLS <br>versions prio=
r to 1.2.<br><br></div><div>=C2=A0OLD:<br>Clients MUST NOT offer these ciph=
er suites <br><br></div><div>NEW: <br>Clients MUST NOT offer these cipher s=
uites defined in this document <br></div><div><br>=C2=A0 <br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex">
s/Servers,\nwhich/Servers\<wbr>nthat/<br>
<br></blockquote><div><br></div><div>MGLT: Done<br>=C2=A0<br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex">
Does the last paragraph of section 5 want a note &quot;RFC Editor please<br=
>
remove this paragraph&quot;?<br>
<br></blockquote><div>MGLT: Done<br>=C2=A0<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex">
Section 6, third paragraph, s/by using short PSK/by using a short<br>
PSK/.=C2=A0 Also, s/by a human and thus/by a human which thus/, maybe?<br>
<br></blockquote><div>MGLT: Probably ;-) done. thanks.<br>=C2=A0<br></div><=
blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l=
eft:1px solid rgb(204,204,204);padding-left:1ex">
Last paragraph page 4, comma after &quot;i.e.&quot;.<br></blockquote><div><=
br></div><div>MGLT: Added <br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">
<br>
<br>
-Ben<br>
<br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</blockquote></div><br></div></div></div></div></div>

--94eb2c0e7d8859eec0054fe28dcd--


From nobody Fri May 19 09:07:49 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 27D681294EC; Fri, 19 May 2017 09:07:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 PCfPhlC85vcB; Fri, 19 May 2017 09:07:39 -0700 (PDT)
Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (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 0CB561294A4; Fri, 19 May 2017 09:07:39 -0700 (PDT)
Received: by mail-lf0-x22d.google.com with SMTP id h4so3511215lfj.3; Fri, 19 May 2017 09:07:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=uwHBmfuU4afjEOllwHYg5B3VzGqkeebVf6XvE+EY0gg=; b=PO7WgfJRI5Y2h5a5x+4Z48haRK7enlYhKEX82+icO7n1mXyV5LjnAMlkEKk8fxjSWz 0+jvf7sEfKtlfVuiiTLACjUsvyfQkiXTmfyx9+i+qErhswNaQ3CSyeA1YdCJvI4GU0Zn wasg2WwNIH6Mzx+NFCyywmA/GqQYfgeTmyxyt6E0l+zTHS8W3l+5XXEVLqvL4c535EOJ roVDEwTB/rrT+TjPv6DhSKU5JPNlvdHzK2GHmBa/MLwo7q43n2rQSEf5Ld4TT2Lw5TOt uLsg9L4mTEyeKkZVHW3xCYLxhNToAHy6IsuRNcDProQyaqvlaPHfbyHCzR70vDCTJ4gi C/QA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=uwHBmfuU4afjEOllwHYg5B3VzGqkeebVf6XvE+EY0gg=; b=jcE9OllRpEQvmDUK1qHMHPaF4cRWxb6b7K8a6D7knpGDQoYa4hb9bSn7PP2qkPKZhy kPmeVXUU6/krEFWdSXaKRe8AoDZim750iPbRXHyViaesNYSbAHn2rlAYxwQOmdWfGzaN +/KAliemmMBtDD2ZlUu5mJMu0BZM5o8OAejs73kzwic248aUAOGJiBSC5e4mq/JHaLjX UsUM3xy0Vz+3g54RSqIsUy+NobKhahCr9U9CkDo7FFjVzVRxhxs9w9fK8tNwXVwONqCw /Ak15+sViJxy7TzRfa1jNKytQ2mq2fyBMHQXKotof7YHkAlGw4bFGOB8YgxFeifX8tZh CqGQ==
X-Gm-Message-State: AODbwcAQaJZNqMAwWyonSD+mhrlgw3B0A/VEGis8np0z/FzsIfn/ut7C LZhl8xdQk0a+isiKe/At5gS06a1JVw==
X-Received: by 10.25.193.145 with SMTP id r139mr1531754lff.111.1495210057237;  Fri, 19 May 2017 09:07:37 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Fri, 19 May 2017 09:07:36 -0700 (PDT)
In-Reply-To: <010db57b-37a9-a543-d33c-cc0dd7a75fcf@akamai.com>
References: <20170519043827.GL39245@kduck.kaduk.org> <201705190316.33316.davemgarrett@gmail.com> <010db57b-37a9-a543-d33c-cc0dd7a75fcf@akamai.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Fri, 19 May 2017 12:07:36 -0400
X-Google-Sender-Auth: 9qEQEUqd_BBy51at4x7pj0L4Fqc
Message-ID: <CADZyTknj9HrEW+ZwCgoVvsV3cQMk_m+H9_QGVL6-aO_1OMx5Zw@mail.gmail.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Dave Garrett <davemgarrett@gmail.com>, tls <tls@ietf.org>, The IESG <iesg@ietf.org>,  Benjamin Kaduk <kaduk@mit.edu>, draft-ietf-tls-ecdhe-psk-aead.all@ietf.org,  "ietf@ietf.org" <ietf@ietf.org>, secdir@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c1a0878538d39054fe2b8a6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/SpiDcZHvoWUhSFl8O856L_RfZPY>
Subject: Re: [TLS] secdir review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 16:07:41 -0000

--94eb2c1a0878538d39054fe2b8a6
Content-Type: text/plain; charset="UTF-8"

Hi Benjamin and Dave,

Thanks for the clarification. Considering also Roman' s and Ben' s comments
the section is built as follow. 1) Limit cipher suites to TLS1.2, 2)
explain how TLS1.3 and higher version negotiate them 3) bring all
explanation foe the previous versions.

Yours,
Daniel

The text is as follows:

<t> The cipher suites defined in this document MUST NOT be negotiated
for any version of (D)TLS other than TLS1.2.</t>

<t> TLS version 1.3 and later negotiate these features in a different
manner. Unlike TLS1.2, TLS1.3 separates authentication and cipher suite
negotiation <xref target="I-D.ietf-tls-tls13"/> Section 1.2. TLS1.3
supports PSK with ECDHE key exchange and the cipher suites
TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_AES_128_CCM_8_SHA256
and  TLS_AES_128_CCM_SHA256 are part of the specification. As a result,
TLS 1.3 and higher versions, negotiate and support these cipher suites
in a different way. </t>

<t>The cipher suites defined in this document make use of the
authenticated encryption with additional data (AEAD) defined in TLS 1.2
<xref target="RFC5246"/> and DTLS 1.2 <xref target="RFC6347" />.
Earlier versions of TLS do not have support for AEAD and consequently,
the cipher suites defined in this document MUST NOT be negotiated in TLS
versions prior to 1.2.  In addition, it is worth noting that TLS1.0
<xref target="RFC2246"/> and TL1.2 <xref target="RFC4346"/> splits teh
pre-master in two parts. The PRF results of mixing the two pseudorandom
streams with distinct hash functions (MD5 and SHA-1) by exclusive-ORing
them together. In the case of ECDHE_PSK authentication, the PSK and
pre-master are treated by distinct hash function with distinct
properties. This may introduce vulnerabilities over the expected
security provided by the constructed pre-master. As such TLS1.0 and
TLS1.1 SHOULD NOT be used with ECDHE_PSK.  Clients MUST NOT offer these
cipher suites defined in this document if they do not offer TLS 1.2 or
later. Servers that select an earlier version of TLS MUST NOT select one
of these cipher suites. A client MUST treat the selection of these
cipher suites in combination with a version of TLS that does not support
AEAD (i.e., TLS 1.1 or earlier) as an error and generate a fatal
'illegal_parameter' TLS alert.</t>




On Fri, May 19, 2017 at 10:39 AM, Benjamin Kaduk <bkaduk@akamai.com> wrote:

> On 05/19/2017 02:16 AM, Dave Garrett wrote:
>
> On Friday, May 19, 2017 12:38:27 am Benjamin Kaduk wrote:
>
> In section 4, "these cipher suites MUST NOT be negotiated in TLS
> versions prior to 1.2" should probably clarify that "these" cipher
> suites are the new ones specified by this document.
>
> Probably should be: "the cipher suites defined in this document
> MUST NOT be negotiated for any version of TLS other than 1.2."
>
> The sentence mentioning TLS 1.3+ could be moved up to right after
> and just say: "TLS version 1.3 and later negotiate these features in
> a different manner."
>
>
>
>
> That's probably best, yes.  The interaction between this document and TLS
> 1.3 is a little weird, and it's not entirely clear to me that this one
> needs to say much of anything about TLS 1.3, given that TLS 1.3 changes all
> the relevant messages and key hierarchy and such.
>
> -Ben
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

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

<div dir=3D"ltr"><div><div>Hi Benjamin and Dave, <br><br></div>Thanks for t=
he clarification. Considering also Roman&#39; s and Ben&#39; s comments the=
 section is built as follow. 1) Limit cipher suites to TLS1.2, 2) explain h=
ow TLS1.3 and higher version negotiate them 3) bring all explanation foe th=
e previous versions.<br><br></div><div>Yours, <br></div><div>Daniel<br><br>=
</div>The text is as follows:<br><br>&lt;t&gt; The cipher suites defined in=
 this document MUST NOT be negotiated<br>for any version of (D)TLS other th=
an TLS1.2.&lt;/t&gt;<br><br>&lt;t&gt; TLS version 1.3 and later negotiate t=
hese features in a different<br>manner. Unlike TLS1.2, TLS1.3 separates aut=
hentication and cipher suite<br>negotiation &lt;xref target=3D&quot;I-D.iet=
f-tls-tls13&quot;/&gt; Section 1.2. TLS1.3<br>supports PSK with ECDHE key e=
xchange and the cipher suites<br>TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SH=
A384, TLS_AES_128_CCM_8_SHA256 <br>and=C2=A0 TLS_AES_128_CCM_SHA256 are par=
t of the specification. As a result,<br>TLS 1.3 and higher versions, negoti=
ate and support these cipher suites<br>in a different way. &lt;/t&gt;<br><b=
r>&lt;t&gt;The cipher suites defined in this document make use of the<br>au=
thenticated encryption with additional data (AEAD) defined in TLS 1.2<br>&l=
t;xref target=3D&quot;RFC5246&quot;/&gt; and DTLS 1.2 &lt;xref target=3D&qu=
ot;RFC6347&quot; /&gt;.<br>Earlier versions of TLS do not have support for =
AEAD and consequently,<br>the cipher suites defined in this document MUST N=
OT be negotiated in TLS<br>versions prior to 1.2.=C2=A0 In addition, it is =
worth noting that TLS1.0<br>&lt;xref target=3D&quot;RFC2246&quot;/&gt; and =
TL1.2 &lt;xref target=3D&quot;RFC4346&quot;/&gt; splits teh<br>pre-master i=
n two parts. The PRF results of mixing the two pseudorandom<br>streams with=
 distinct hash functions (MD5 and SHA-1) by exclusive-ORing<br>them togethe=
r. In the case of ECDHE_PSK authentication, the PSK and<br>pre-master are t=
reated by distinct hash function with distinct<br>properties. This may intr=
oduce vulnerabilities over the expected<br>security provided by the constru=
cted pre-master. As such TLS1.0 and<br>TLS1.1 SHOULD NOT be used with ECDHE=
_PSK.=C2=A0 Clients MUST NOT offer these<br>cipher suites defined in this d=
ocument if they do not offer TLS 1.2 or<br>later. Servers that select an ea=
rlier version of TLS MUST NOT select one<br>of these cipher suites. A clien=
t MUST treat the selection of these<br>cipher suites in combination with a =
version of TLS that does not support<br>AEAD (i.e., TLS 1.1 or earlier) as =
an error and generate a fatal <br>&#39;illegal_parameter&#39; TLS alert.&lt=
;/t&gt;<br><br>=C2=A0 <br><div><div><br><div><div class=3D"gmail_extra"><br=
><div class=3D"gmail_quote">On Fri, May 19, 2017 at 10:39 AM, Benjamin Kadu=
k <span dir=3D"ltr">&lt;<a href=3D"mailto:bkaduk@akamai.com" target=3D"_bla=
nk">bkaduk@akamai.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF"><span class=3D"gmail-">
    On 05/19/2017 02:16 AM, Dave Garrett wrote:<br>
    <blockquote type=3D"cite">
      <pre>On Friday, May 19, 2017 12:38:27 am Benjamin Kaduk wrote:
</pre>
      <blockquote type=3D"cite">
        <pre>In section 4, &quot;these cipher suites MUST NOT be negotiated=
 in TLS
versions prior to 1.2&quot; should probably clarify that &quot;these&quot; =
cipher
suites are the new ones specified by this document.
</pre>
      </blockquote>
      <pre>Probably should be: &quot;the cipher suites defined in this docu=
ment
MUST NOT be negotiated for any version of TLS other than 1.2.&quot;

The sentence mentioning TLS 1.3+ could be moved up to right after
and just say: &quot;TLS version 1.3 and later negotiate these features in
a different manner.&quot;


</pre>
    </blockquote>
    <br></span>
    That&#39;s probably best, yes.=C2=A0 The interaction between this docum=
ent
    and TLS 1.3 is a little weird, and it&#39;s not entirely clear to me
    that this one needs to say much of anything about TLS 1.3, given
    that TLS 1.3 changes all the relevant messages and key hierarchy and
    such.<br>
    <br>
    -Ben<br>
  </div>

<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br></blockquote></div><br></div></div></div></div></div>

--94eb2c1a0878538d39054fe2b8a6--


From nobody Fri May 19 09:26:21 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BCFF712955F; Fri, 19 May 2017 09:25:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 R5W5i34hUVr6; Fri, 19 May 2017 09:25:54 -0700 (PDT)
Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 A8C441294F3; Fri, 19 May 2017 09:25:53 -0700 (PDT)
Received: by mail-lf0-x232.google.com with SMTP id y126so3711035lfc.2; Fri, 19 May 2017 09:25:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=bE8IPZygLAJ0pGuNryzThjkvrgswGRp2YcsgJ+gq/Rw=; b=iBczSge/YhesrK4a3UJvGU4UHTlmhhzglARpMLvX/+TDV7JuP4sGmK/8hvdcpRMgc7 OTOvCJ/oM5v+JdmmFxGKoL/5ImGrIaC3iKJ2+8QjBQBayrfz1i7FVvrNo0+laugh0ZrZ kOSi8txkxz7IbpMe2RFhaWhtS1nsQ4Er5kDMkCIDLfRiwE/xIEWjaAg2bZoQT3MvNlnb yGondVLxCcJ7ZJqBqYzC9HtzCXf8UA+WGcskSH9cmQ4En9dmJPmBTjCBIg3GiHSxpreM ucJcnwm7smgOIDNwPUtrNW5aJgO0DFn+pBskjGQvAVUBo8Eya9LHTpjKCW71jP78ng0D bBLg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=bE8IPZygLAJ0pGuNryzThjkvrgswGRp2YcsgJ+gq/Rw=; b=m/n42gDzlb3okWAzofhnc4nXIMYgO6GB3IxUWBri8M+tnqJRSdTpPvrDsAsPBSeeul ger5hE2H++WEHPhmLjMdJzV4i1EW36a00eDCiHHdoYH/GLYDGfx6wf5y4kPG6GHwc2/o XnGa9GvJb/biZfho8YSVe2MeciDziiQuBs3Fhwo+XuatF/8c0OHYNJcG7eFC0oI1XyqS DLt4KGx1mx1blGiCixHN5MH+EdSpWdDtKtDCmeKGA5Rri8PcGqIjMvBP0u3zjXwMBWwu jX0qjzHMFvGmkhTCtbbZ+cGe1IqQSDfs7dBHL8VdT+Iyc/lU1NbpFI/jh7sdqOC3dalb pcTA==
X-Gm-Message-State: AODbwcCBSP/jpEaaINwznvPwwiGzuoEh5N7VbglxFiplsfTfKGxgUxcO 1ZedHvywuQxWKsRa8SP2+Zmy/gpDdA==
X-Received: by 10.25.229.69 with SMTP id c66mr2783915lfh.102.1495211151786; Fri, 19 May 2017 09:25:51 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Fri, 19 May 2017 09:25:51 -0700 (PDT)
In-Reply-To: <20170519141712.84D9A1A6A1@ld9781.wdf.sap.corp>
References: <20170519043827.GL39245@kduck.kaduk.org> <20170519141712.84D9A1A6A1@ld9781.wdf.sap.corp>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Fri, 19 May 2017 12:25:51 -0400
X-Google-Sender-Auth: WPgY13FdGIvJnTffCNRBub0cj_Q
Message-ID: <CADZyTkkU0pyJtoZXmnC6WwPZ_6oQfpYU8Ax77-8WPK4cE1UJ7w@mail.gmail.com>
To: mrex@sap.com
Cc: Benjamin Kaduk <kaduk@mit.edu>, tls <tls@ietf.org>,  draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, "ietf@ietf.org" <ietf@ietf.org>,  The IESG <iesg@ietf.org>, secdir@ietf.org
Content-Type: multipart/alternative; boundary="001a113c0cb2910d10054fe2f9e6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/YAdmIi0O1IrdRfUrTG0hLWGhR5A>
Subject: Re: [TLS] secdir review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 16:25:57 -0000

--001a113c0cb2910d10054fe2f9e6
Content-Type: text/plain; charset="UTF-8"

Hi Martin,

Thank you for the proposed text. It was very clear and I took it entirely,
just changing s/TLSv1/TLS 1/.

Yours,
Daniel


The current text is as follows:
<section title="Applicable TLS Versions">


<t> The cipher suites defined in this document MUST NOT be negotiated
for any version of (D)TLS other than TLS 1.2.</t>

<t> TLS version 1.3 and later negotiate these features in a different
manner. Unlike TLS 1.2, TLS 1.3 separates authentication and cipher suite
negotiation <xref target="I-D.ietf-tls-tls13"/> Section 1.2. TLS 1.3
supports PSK with ECDHE key exchange and the cipher suites
TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_AES_128_CCM_8_SHA256
and  TLS_AES_128_CCM_SHA256 are part of the specification. As a result,
TLS 1.3 and higher versions, negotiate and support these cipher suites
in a different way. </t>

<t>The cipher suites defined in this document make use of the
authenticated encryption with additional data (AEAD) defined in TLS 1.2
<xref target="RFC5246"/> and DTLS 1.2 <xref target="RFC6347" />.
Earlier versions of TLS do not have support for AEAD and consequently,
the cipher suites defined in this document MUST NOT be negotiated in TLS
versions prior to 1.2.  In addition, it is worth noting that TLS 1.0
<xref target="RFC2246"/> and TL1.2 <xref target="RFC4346"/> splits the
pre-master in two parts. The PRF results of mixing the two pseudorandom
streams with distinct hash functions (MD5 and SHA-1) by exclusive-ORing
them together. In the case of ECDHE_PSK authentication, the PSK and
pre-master are treated by distinct hash function with distinct
properties. This may introduce vulnerabilities over the expected
security provided by the constructed pre-master. As such TLS 1.0 and
TLS 1.1 SHOULD NOT be used with ECDHE_PSK.</t>

<t>A client that offers the cipher suites from this document in
ClientHello.cipher_suites in combination with (3,1) "TLS 1.0" or (3,2)
"TLS 1.1" in ClientHello.client_version MUST support TLS 1.2 and MUST
accept the server to negotiate TLS 1.2 for the current session.  If the
client does not support TLS 1.2 or is not willing to negotiate TLS 1.2,
then this client MUST NOT offer any of these cipher suites with a lower
protocol version than (3,3) "TLS 1.2" in ClientHello.client_version.</t>

<t>A server receiving a ClientHello and a client_version indicating
(3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites from
this document in ClientHello.cipher_suites can safely assume that the
client supports TLS 1.2 and is willing to use it. The server MUST NOT
negotiate these cipher suites with TLS protocol versions earlier than
TLS 1.2. Not requiring clients to indicate their support for TLS 1.2
cipher suites exclusively through ClientHello.client_hello improves the
interoperability in the installed base and use of TLS 1.2 AEAD cipher
suites without upsetting the installed base of version-intolerant TLS
servers, results in more TLS handshakes succeeding and obviates fallback
mechanisms.</t>


On Fri, May 19, 2017 at 10:17 AM, Martin Rex <mrex@sap.com> wrote:

> Benjamin Kaduk wrote:
> >
> > Some other editorial nits follow.
> >
> > In section 4, "these cipher suites MUST NOT be negotiated in TLS
> > versions prior to 1.2" should probably clarify that "these" cipher
> > suites are the new ones specified by this document.
>
>
> This reminds me of the specification goofs in several TLSv1.2-related
> documents about AEAD cipher suites which are responsible for the viability
> of the POODLE attack and other exploitable fallback hacks.
>
> It would be much preferable to avoid/fix those problems and facilitate
> the migration to and use of TLSv1.2 without failing TLS handshakes and
> band aids such as TLS_FALLBACK_SCSV
>
>
> Suggested improvement:
>
>    The cipher suites defined in this document make use of the
>    authenticated encryption with additional data (AEAD) defined in TLS
>    1.2 [RFC5246] and DTLS 1.2 [RFC6347].  Earlier versions of TLS do not
>    have support for AEAD and consequently, these cipher suites MUST NOT
> -  be negotiated in TLS versions prior to 1.2.  Clients MUST NOT offer
> -  these cipher suites if they do not offer TLS 1.2 or later.  Servers,
> -  which select an earlier version of TLS MUST NOT select one of these
> -  cipher suites.  A client MUST treat the selection of these cipher
> -  suites in combination with a version of TLS that does not support
> -  AEAD (i.e., TLS 1.1 or earlier) as an error and generate a fatal
> -  'illegal_parameter' TLS alert.
> +                                               A client that offers
> +  the cipher suites from this document in ClientHello.cipher_suites
> +  in combination with (3,1) "TLSv1.0" or (3,2) "TLSv1.1" in
> +  ClientHello.client_version MUST support TLSv1.2 and MUST accept
> +  the server to negotiate TLSv1.2 for the current session.  If the
> +  client does not support TLSv1.2 or is not willing to negotiate TLSv1.2,
> +  then this client MUST NOT offer any of these cipher suites with a
> +  lower protocol version than (3,3) "TLSv1.2" in
> ClientHello.client_version.
> +  A server receiving a ClientHello and a client_version indicating
> +  (3,1) "TLSv1.0" or (3,2) "TLSv1.1" and any of the cipher suites from
> +  this document in ClientHello.cipher_suites can safely assume that the
> +  client supports TLSv1.2 and is willing to use it.  The server MUST
> +  NOT negotiate these cipher suites with TLS protocol versions earlier
> +  than TLSv1.2.
> +
> +  Not requiring clients to indicate their support for TLSv1.2 cipher
> +  suites exclusively through ClientHello.client_hello improves the
> +  interoperability in the installed base and use of TLSv1.2 AEAD
> +  cipher suites without upsetting the installed base of version-intolerant
> +  TLS servers, results in more TLS handshakes succeeding and obviates
> +  fallback mechanisms.
>
>
> -Martin
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr"><div><div><div><div>Hi Martin, <br><br></div>Thank you for=
 the proposed text. It was very clear and I took it entirely, just changing=
 s/TLSv1/TLS 1/. <br><br></div>Yours, <br></div>Daniel<br><br><br></div>The=
 current text is as follows:<br>&lt;section title=3D&quot;Applicable TLS Ve=
rsions&quot;&gt;<br><br><br>&lt;t&gt; The cipher suites defined in this doc=
ument MUST NOT be negotiated<br>for any version of (D)TLS other than TLS 1.=
2.&lt;/t&gt;<br><br>&lt;t&gt; TLS version 1.3 and later negotiate these fea=
tures in a different<br>manner. Unlike TLS 1.2, TLS 1.3 separates authentic=
ation and cipher suite<br>negotiation &lt;xref target=3D&quot;I-D.ietf-tls-=
tls13&quot;/&gt; Section 1.2. TLS 1.3<br>supports PSK with ECDHE key exchan=
ge and the cipher suites<br>TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,=
 TLS_AES_128_CCM_8_SHA256<br>and=C2=A0 TLS_AES_128_CCM_SHA256 are part of t=
he specification. As a result,<br>TLS 1.3 and higher versions, negotiate an=
d support these cipher suites<br>in a different way. &lt;/t&gt;<br><br>&lt;=
t&gt;The cipher suites defined in this document make use of the<br>authenti=
cated encryption with additional data (AEAD) defined in TLS 1.2<br>&lt;xref=
 target=3D&quot;RFC5246&quot;/&gt; and DTLS 1.2 &lt;xref target=3D&quot;RFC=
6347&quot; /&gt;.<br>Earlier versions of TLS do not have support for AEAD a=
nd consequently,<br>the cipher suites defined in this document MUST NOT be =
negotiated in TLS<br>versions prior to 1.2.=C2=A0 In addition, it is worth =
noting that TLS 1.0<br>&lt;xref target=3D&quot;RFC2246&quot;/&gt; and TL1.2=
 &lt;xref target=3D&quot;RFC4346&quot;/&gt; splits the<br>pre-master in two=
 parts. The PRF results of mixing the two pseudorandom<br>streams with dist=
inct hash functions (MD5 and SHA-1) by exclusive-ORing<br>them together. In=
 the case of ECDHE_PSK authentication, the PSK and<br>pre-master are treate=
d by distinct hash function with distinct<br>properties. This may introduce=
 vulnerabilities over the expected<br>security provided by the constructed =
pre-master. As such TLS 1.0 and<br>TLS 1.1 SHOULD NOT be used with ECDHE_PS=
K.&lt;/t&gt;<br><br>&lt;t&gt;A client that offers the cipher suites from th=
is document in<br>ClientHello.cipher_suites in combination with (3,1) &quot=
;TLS 1.0&quot; or (3,2)<br>&quot;TLS 1.1&quot; in ClientHello.client_versio=
n MUST support TLS 1.2 and MUST<br>accept the server to negotiate TLS 1.2 f=
or the current session.=C2=A0 If the<br>client does not support TLS 1.2 or =
is not willing to negotiate TLS 1.2,<br>then this client MUST NOT offer any=
 of these cipher suites with a lower<br>protocol version than (3,3) &quot;T=
LS 1.2&quot; in ClientHello.client_version.&lt;/t&gt;<br><br>&lt;t&gt;A ser=
ver receiving a ClientHello and a client_version indicating<br>(3,1) &quot;=
TLS 1.0&quot; or (3,2) &quot;TLS 1.1&quot; and any of the cipher suites fro=
m<br>this document in ClientHello.cipher_suites can safely assume that the<=
br>client supports TLS 1.2 and is willing to use it. The server MUST NOT<br=
>negotiate these cipher suites with TLS protocol versions earlier than<br>T=
LS 1.2. Not requiring clients to indicate their support for TLS 1.2<br>ciph=
er suites exclusively through ClientHello.client_hello improves the<br>inte=
roperability in the installed base and use of TLS 1.2 AEAD cipher<br>suites=
 without upsetting the installed base of version-intolerant TLS<br>servers,=
 results in more TLS handshakes succeeding and obviates fallback<br>mechani=
sms.&lt;/t&gt;<br><br></div><div class=3D"gmail_extra"><br><div class=3D"gm=
ail_quote">On Fri, May 19, 2017 at 10:17 AM, Martin Rex <span dir=3D"ltr">&=
lt;<a href=3D"mailto:mrex@sap.com" target=3D"_blank">mrex@sap.com</a>&gt;</=
span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">Benjamin Ka=
duk wrote:<br>
&gt;<br>
&gt; Some other editorial nits follow.<br>
&gt;<br>
</span><span class=3D"">&gt; In section 4, &quot;these cipher suites MUST N=
OT be negotiated in TLS<br>
&gt; versions prior to 1.2&quot; should probably clarify that &quot;these&q=
uot; cipher<br>
&gt; suites are the new ones specified by this document.<br>
<br>
<br>
</span>This reminds me of the specification goofs in several TLSv1.2-relate=
d<br>
documents about AEAD cipher suites which are responsible for the viability<=
br>
of the POODLE attack and other exploitable fallback hacks.<br>
<br>
It would be much preferable to avoid/fix those problems and facilitate<br>
the migration to and use of TLSv1.2 without failing TLS handshakes and<br>
band aids such as TLS_FALLBACK_SCSV<br>
<br>
<br>
Suggested improvement:<br>
<br>
=C2=A0 =C2=A0The cipher suites defined in this document make use of the<br>
<span class=3D"">=C2=A0 =C2=A0authenticated encryption with additional data=
 (AEAD) defined in TLS<br>
</span>=C2=A0 =C2=A01.2 [RFC5246] and DTLS 1.2 [RFC6347].=C2=A0 Earlier ver=
sions of TLS do not<br>
=C2=A0 =C2=A0have support for AEAD and consequently, these cipher suites MU=
ST NOT<br>
-=C2=A0 be negotiated in TLS versions prior to 1.2.=C2=A0 Clients MUST NOT =
offer<br>
-=C2=A0 these cipher suites if they do not offer TLS 1.2 or later.=C2=A0 Se=
rvers,<br>
-=C2=A0 which select an earlier version of TLS MUST NOT select one of these=
<br>
-=C2=A0 cipher suites.=C2=A0 A client MUST treat the selection of these cip=
her<br>
-=C2=A0 suites in combination with a version of TLS that does not support<b=
r>
-=C2=A0 AEAD (i.e., TLS 1.1 or earlier) as an error and generate a fatal<br=
>
-=C2=A0 &#39;illegal_parameter&#39; TLS alert.<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0A client that offers<br>
+=C2=A0 the cipher suites from this document in ClientHello.cipher_suites<b=
r>
+=C2=A0 in combination with (3,1) &quot;TLSv1.0&quot; or (3,2) &quot;TLSv1.=
1&quot; in<br>
+=C2=A0 ClientHello.client_version MUST support TLSv1.2 and MUST accept<br>
+=C2=A0 the server to negotiate TLSv1.2 for the current session.=C2=A0 If t=
he<br>
+=C2=A0 client does not support TLSv1.2 or is not willing to negotiate TLSv=
1.2,<br>
+=C2=A0 then this client MUST NOT offer any of these cipher suites with a<b=
r>
+=C2=A0 lower protocol version than (3,3) &quot;TLSv1.2&quot; in ClientHell=
o.client_version.<br>
+=C2=A0 A server receiving a ClientHello and a client_version indicating<br=
>
+=C2=A0 (3,1) &quot;TLSv1.0&quot; or (3,2) &quot;TLSv1.1&quot; and any of t=
he cipher suites from<br>
+=C2=A0 this document in ClientHello.cipher_suites can safely assume that t=
he<br>
+=C2=A0 client supports TLSv1.2 and is willing to use it.=C2=A0 The server =
MUST<br>
+=C2=A0 NOT negotiate these cipher suites with TLS protocol versions earlie=
r<br>
+=C2=A0 than TLSv1.2.<br>
+<br>
+=C2=A0 Not requiring clients to indicate their support for TLSv1.2 cipher<=
br>
+=C2=A0 suites exclusively through ClientHello.client_hello improves the<br=
>
+=C2=A0 interoperability in the installed base and use of TLSv1.2 AEAD<br>
+=C2=A0 cipher suites without upsetting the installed base of version-intol=
erant<br>
+=C2=A0 TLS servers, results in more TLS handshakes succeeding and obviates=
<br>
+=C2=A0 fallback mechanisms.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
-Martin<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</div></div></blockquote></div><br></div>

--001a113c0cb2910d10054fe2f9e6--


From nobody Fri May 19 09:28:10 2017
Return-Path: <kaduk@mit.edu>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 61EFA129526; Fri, 19 May 2017 09:27:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level: 
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham 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 rUKWvGG-H7b0; Fri, 19 May 2017 09:27:34 -0700 (PDT)
Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu [18.9.25.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9E4E7129447; Fri, 19 May 2017 09:27:33 -0700 (PDT)
X-AuditID: 1209190d-fd7ff700000023f1-de-591f1cf45586
Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id B6.96.09201.4FC1F195; Fri, 19 May 2017 12:27:32 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id v4JGRU5P007560; Fri, 19 May 2017 12:27:31 -0400
Received: from kduck.kaduk.org (24-107-191-124.dhcp.stls.mo.charter.com [24.107.191.124]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id v4JGRPmR013013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 19 May 2017 12:27:29 -0400
Date: Fri, 19 May 2017 11:27:25 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: Daniel Migault <daniel.migault@ericsson.com>
Cc: The IESG <iesg@ietf.org>, secdir@ietf.org, draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, tls <tls@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>
Message-ID: <20170519162725.GM39245@kduck.kaduk.org>
References: <20170519043827.GL39245@kduck.kaduk.org> <CADZyTkncMTsTQt6C2S+Z0mw+30uc38bfrTSCOvjWRPn_dJkDLQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CADZyTkncMTsTQt6C2S+Z0mw+30uc38bfrTSCOvjWRPn_dJkDLQ@mail.gmail.com>
User-Agent: Mutt/1.7.1 (2016-10-04)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLIsWRmVeSWpSXmKPExsUixCmqrftFRj7SYOEGZYsp0/ewWbxZtonJ YsaficwWzzbOZ7H4sPAhi8Wn812MDmwev75eZfNYsuQnUwBTFJdNSmpOZllqkb5dAlfGnOZP 7AVrHCtONW1gb2BsNeli5OSQEDCRON3/lgnEFhJYzCSxb7EnhL2RUeLXvPQuRi4g+yqTxNpf J1hAEiwCqhLzJh1hBLHZBFQkGrovM4PYIgIGEi8n7GQDsZkFFjBKzPltCGILC7hIrOhbAlbD C7Rs79zdUMuqJY5cmMgGEReUODnzCQtEr5bEjX8vgWo4gGxpieX/OEDCnAKBElM+zAdbKyqg LPH38D2WCYwCs5B0z0LSPQuhewEj8ypG2ZTcKt3cxMyc4tRk3eLkxLy81CJdI73czBK91JTS TYzgUJbk3cH4767XIUYBDkYlHt6EX3KRQqyJZcWVuYcYJTmYlER5HQ8DhfiS8lMqMxKLM+KL SnNSiw8xSnAwK4nwMojKRwrxpiRWVqUW5cOkpDlYlMR5xTUaI4QE0hNLUrNTUwtSi2CyMhwc ShK8G6WBGgWLUtNTK9Iyc0oQ0kwcnCDDeYCGvwOp4S0uSMwtzkyHyJ9iVJQS5z0EkhAASWSU 5sH1glKNRPb+mleM4kCvCPOqAROPEA8wTcF1vwIazAQ0uPmBNMjgkkSElFQDY8GJ5y4qF7be uHe8Qtfk+Pfp166E8p07ey9CUC3v0OfjAr3Xdko82Ph5/2Y534mt9w46znyynOGxl/SUvs2t asd3yc4Q8ddVdUpd0LhJ+viBwxW7dv/zsJmrWLT7emSly/XMcOntIlW23G7ftfau3DSjKK7j 53L2oG0WvSIBP3fWRubOPVQR/FWJpTgj0VCLuag4EQBhJEK1EAMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ADPTY1HqLlNAyYz44YAwdR3aRVQ>
Subject: Re: [TLS] secdir review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 16:27:36 -0000

On Fri, May 19, 2017 at 11:55:35AM -0400, Daniel Migault wrote:
> Hi Benjamin,
> 
> Thank you for the review. Please find my comments inline and let me know if
> you agree with the proposed text. I believe the only point not addressed
> concerns the addition of CCM-256 which has been remove after discussion
> during the WGLC.
> 
> Thanks you for the review,
> 
> Yours,
> Daniel
> 
> On Fri, May 19, 2017 at 12:38 AM, Benjamin Kaduk <kaduk@mit.edu> wrote:
> 
> > Hi all,
> >
> > 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 primarily for the benefit of the
> > security area directors.  Document editors and WG chairs should
> > treat these comments just like any other last call comments.
> >
> > This document is ready with nits.
> >
> > Essentially, we are filling in a gap in the TLS (< 1.3) ciphersuite
> > space, thought of as a cross product of key exchange and
> > cipher+mac/AEAD -- we have some of the combinations (PSK with ECDHE
> > but no AES-[GC]CM, PSK with AES-GCM but only non-EC DH, etc.) but
> > not quite this one.
> >
> > That said, it seems a little silly to only partially fill the gap
> > (by omitting the AES_256_CCM* cipher suites), even though there is
> > not currently demand for them.
> >
> > MGLT: TLS_ECDHE_PSK_WITH_AES_256_CCM_8_SHA256 and
> TLS_ECDHE_PSK_WITH_AES_256_CCM_SHA384  were mentioned in the 01 and removed
> after  the WGLC. [0] The issue was whether or not introducing new ciphers
> not supported by TLS1.3. In 01, we though of adding the code point for
> TLS1.2 and then specify that TLS1.3 was only implementing a **subset** of
> the cipher suites proposed.In case of needs these could still be supported
> later by TLS1.3. The consensus seems to not introduce ciphers that would
> not be handled by TLS1.3. If the WG decides otherwise, these could still be
> added.
> 
> [0]
> https://mailarchive.ietf.org/arch/msg/tls/M442CwmUMxrYJR8FjCh3h-a69o4/?qid=6e4713be1d71bae6718c6e6e6c4b8007

That seems like a reasonable position for the WG to take, given how
close TLS 1.3 is to publication.  (It would also be reasonable to
define the full cross-product for TLS 1.2 only and have TLS 1.3 just
use a subset, but I have no real preference.)

> 
> > This document is just assembling pieces that were already specified
> > elsewhere, so it need not contain much detail itself, which is fine.
> > That said, I think section 3 should probably state explicitly which
> > pieces it uses, instead of a vague reference of being "based on RFC
> > 4279".  So, "The ServerKeyExchange and ClientKeyExchange messages
> > from RFC 5489 for ECDHE_PSK are used, and the premaster secret is
> > computed in the same manner as for ECDHE_PSK key exchange in RFC
> > 5489."  (I am not sure why RFC 4279 is cited in the current text; it
> > does not cover ECDHE_PSK.)
> >
> 
> MGLT: I agree we coudl be more explicit, here are the changes I propose. I
> believe it address your purpose.
> 
> OLD:
> 
> Messages and pre-master secret construction in this
> document are based on [RFC4279 <https://tools.ietf.org/html/rfc4279>].
> 
> NEW:
> 
> Messages and pre-master secret construction in this
> document are defined in [RFC5489]. The ServerKeyExchange
> and ClientKeyExchange messages and premaster secret is
> computed as for  the ECDHE_PSK key exchange.

That basically works for me, though I'd tweak the phrasing slightly
for clarity/grammar:

NEW2:

Messages and pre-master secret construction in this
document are defined in [RFC5489]. The ServerKeyExchange
and ClientKeyExchange messages are used and the premaster secret is
computed as for the ECDHE_PSK key exchange.


> 
> > The premaster_secret structure so used basically ends up putting the
> > ECDH output first followed by the static PSK; with the pre-TLS 1.2
> > PRF, that would give the ECDH shared secret to md5 and the PSK to
> > sha1, which is perhaps another reason to not use these with pre-1.2
> > worth mentioning (in addition to the AEAD availability).
> >
> 
> MGLT: I believe the following text address your concern, however I am
> wondering if we are not going beyond the scope of expected considerations.

It perhaps is and perhaps is not worth mentioning, yes.

> In addition, it is worth noting that TLS1.0 <xref target="RFC2246"/> and
> TL1.2 <xref target="RFC4346"/> splits the premaster in two parts. The PRF
> results of mixing the two pseudorandom streams with distinct hash functions

"results of" is an unusual phrasing; "results from" might be more
familiar.

> (MD5 and SHA-1) by exclusive-ORing them together. In the case of ECDHE_PSK
> authentication, the PSK and pre-master are treated by distinct hash
> function with distinct properties. This may introduce vulnerabilities over
> the expected security provided by the constructed pre-master. As such
> TLS1.0 and TLS1.1 SHOULD NOT be used with ECDHE_PSK.

The general tenor of this text addresses my concern, yes, but feel
free to use editorial discretion and not bother putting it in, if
you don't think it's useful.  (BTW, I think we are still TLS1.0 and
TLS1.1 MUST NOT be used with these ciphersuites, so maybe the SHOULD
NOT in the last sentence is not quite what is intended.)

> 
> > The security considerations largely refer to those of the other
> > documents providing the pieces that are combined together here;
> > those referenced security considerations sections are more than
> > adequate here, as this document itself does not really do anything
> > particularly novel.  That said, if we are going to reiterate the
> > entropy requirement for PSKs inline, we probably ought to also
> > reiterate the nonce-reuse considerations for GCM and CCM.  The
> > relevant constructions help, but there are still ways to mess up and
> > reuse a nonce when doing crypto in parallel, if I remember the
> > GCM/TLS document's security considerations correctly.
> >
> 
> MGLT: I believe the following text address your comments.
> 
>  <t>GCM or CCM encryption - even of different clear text - re-using a
> nonce with a same key undermines the security of GCM and CCM. As a
> result, GCM and CCM MUST only be used with system guaranteeing nonce
> uniqueness <xref target="RFC5116"/>.</t>

Sure, sounds good.  (Grammar nit: "a system".)

> 
> >
> > Some other editorial nits follow.
> >
> 
> > In section 2, the RFC 7525 reference that "AEAD algorithms [...] are
> > strongly recommended" is scoped to just (D)TLS, so the text here
> > should probably also list that qualification.
> >
> 
> MGLT: I believe the following text address your concern:
> 
> OLD text:
> <t>AEAD algorithms that combine encryption and integrity protection are
> strongly recommended for <xref target="RFC7525" /> and non-AEAD algorithms
> are forbidden to use in TLS 1.3 <xref target="I-D.ietf-tls-tls13"/>.
> 
> NEW text:
> <t>AEAD algorithms that combine encryption and integrity protection are
> strongly recommended for (D)TLS <xref target="RFC7525" /> and non-AEAD
> algorithms
> are forbidden to use in TLS 1.3 <xref target="I-D.ietf-tls-tls13"/>.

Yes, thanks.

> > In section 4, "... make use of the authenticated encryption with
> > additional data (AEAD) defined in TLS 1.2" seems to make AEAD into
> > something of a unique object, as opposed to a class of things with
> > multiple possible instantiations.  I would consider something like
> > "... (AEAD) concept".
> >
> > In section 4, "these cipher suites MUST NOT be negotiated in TLS
> > versions prior to 1.2" should probably clarify that "these" cipher
> > suites are the new ones specified by this document.
> >
> > MGLT: I believe the following text address your comment:
> 
> OLD:
> these cipher suites MUST NOT be negotiated in TLS  versions prior to 1.2.
> 
> NEW:
> the cipher suites defined in this document MUST NOT be negotiated in TLS
> versions prior to 1.2.
> 
>  OLD:
> Clients MUST NOT offer these cipher suites
> 
> NEW:
> Clients MUST NOT offer these cipher suites defined in this document

I think I only intended to comment about the first one, but there is
no harm in changing both.  Thanks!


-Ben


From nobody Fri May 19 09:58:22 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 159E2129526; Fri, 19 May 2017 09:58:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 YEOmbOLhX0KY; Fri, 19 May 2017 09:58:10 -0700 (PDT)
Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (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 55ED71294F4; Fri, 19 May 2017 09:58:10 -0700 (PDT)
Received: by mail-lf0-x230.google.com with SMTP id 99so4186874lfu.1; Fri, 19 May 2017 09:58:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=+V2BlG7CJ4wjwDCI5HgOPAYPEgdbYUi0drEqepx0PpY=; b=GbUP8NcWDSRJL37PEG3lENkC5o5sqFJGz5ZU0eXFG5i8s9C62XHUXcsNn4cI5OxExJ d97SlGJZCfnO1zDzsb2sYcSN5dLE275JNb2lqCZlCn/tySN5g179k1vLBljS2uCXsTVX zye2rF35ktbC/jQefDZfaABSGc+8NYU6zmznNjcgksl5lIS98BCTXce6jlKic5Xvwt86 wkmTCDXO1yL0cUbu8HLwil0gNYSFV3f+TH1KPM5GtoGIAvclqGGdi6yemYTvshSnvPfX qLJ7DC2Idah65cy0/hRilitcHS+pdCuw5TbTuCl2/AgY3DWyAzggrKGRF9o858tUGMYi H9tg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=+V2BlG7CJ4wjwDCI5HgOPAYPEgdbYUi0drEqepx0PpY=; b=HuMMTwJAVABH1Z+DtlrYk6zFcbSZomBlIAxR1ttJlCewDJMllGbK7TUhfG8MrtfCxg wzpyaodv7AkbK3ZrZ4X6w5gDfcgzIpUgowQjB6sz/DfPlU2N2c9M3z+8loNrWjkQFlN5 q7/1+ytbt7cCskkF8ntE4vR/RqUdm/LHR/p1zu3pLpZxThTGzLThws1tz1GBDjIR074F zDmtBrsfr7yS4gUv/yfTadtL58IK2IYxOoe99YeUPVO+DG9f5D4L4zTm7VxwcR+fbBb+ 6VStK2xOt1C/UsaDuxSL5TSXuijlLqWpifSlWCq858zVmzRc8eM7l6WqibY5v+RdCsM2 YflQ==
X-Gm-Message-State: AODbwcBRxwpTAYFV+Ev4iFBYLfpwf0Ib7ogoYG6+SxRKfkTHhkqZ5m+V nlBtL/V+wskUu9dFnwGTp2SAikFITw==
X-Received: by 10.46.69.8 with SMTP id s8mr2564481lja.55.1495213088509; Fri, 19 May 2017 09:58:08 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Fri, 19 May 2017 09:58:07 -0700 (PDT)
In-Reply-To: <20170519162725.GM39245@kduck.kaduk.org>
References: <20170519043827.GL39245@kduck.kaduk.org> <CADZyTkncMTsTQt6C2S+Z0mw+30uc38bfrTSCOvjWRPn_dJkDLQ@mail.gmail.com> <20170519162725.GM39245@kduck.kaduk.org>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Fri, 19 May 2017 12:58:07 -0400
X-Google-Sender-Auth: 1raqJXhaY3kI7429EhZs5caQhV8
Message-ID: <CADZyTk=id9bDfi31R+K6hC+ZKzWsjsvo8JbSCzqYGaK_1X1j7Q@mail.gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: tls <tls@ietf.org>, draft-ietf-tls-ecdhe-psk-aead.all@ietf.org,  "ietf@ietf.org" <ietf@ietf.org>, The IESG <iesg@ietf.org>, secdir@ietf.org
Content-Type: multipart/alternative; boundary="001a114b07fe0114c9054fe36d55"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/XC51zt16yal9ExkjdSlRwQtB5lc>
Subject: Re: [TLS] secdir review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 16:58:14 -0000

--001a114b07fe0114c9054fe36d55
Content-Type: text/plain; charset="UTF-8"

Thank you,

Your comments have all been addressed. I have one remaining clarification.
In my text the SHOULD NOT was intended to the ECDHE_PSK in general, and not
only for the cipher suites of the draft. In your opinion do we clarify
this, and should we use something else than SHOULD NOT ?

Thanks for the reviews!

Yours,
Daniel

> (MD5 and SHA-1) by exclusive-ORing them together. In the case of ECDHE_PSK
> authentication, the PSK and pre-master are treated by distinct hash
> function with distinct properties. This may introduce vulnerabilities over
> the expected security provided by the constructed pre-master. As such
> TLS1.0 and TLS1.1 SHOULD NOT be used with ECDHE_PSK.

The general tenor of this text addresses my concern, yes, but feel
free to use editorial discretion and not bother putting it in, if
you don't think it's useful.  (BTW, I think we are still TLS1.0 and
TLS1.1 MUST NOT be used with these ciphersuites, so maybe the SHOULD
NOT in the last sentence is not quite what is intended.)

On Fri, May 19, 2017 at 12:27 PM, Benjamin Kaduk <kaduk@mit.edu> wrote:

> On Fri, May 19, 2017 at 11:55:35AM -0400, Daniel Migault wrote:
> > Hi Benjamin,
> >
> > Thank you for the review. Please find my comments inline and let me know
> if
> > you agree with the proposed text. I believe the only point not addressed
> > concerns the addition of CCM-256 which has been remove after discussion
> > during the WGLC.
> >
> > Thanks you for the review,
> >
> > Yours,
> > Daniel
> >
> > On Fri, May 19, 2017 at 12:38 AM, Benjamin Kaduk <kaduk@mit.edu> wrote:
> >
> > > Hi all,
> > >
> > > 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 primarily for the benefit of the
> > > security area directors.  Document editors and WG chairs should
> > > treat these comments just like any other last call comments.
> > >
> > > This document is ready with nits.
> > >
> > > Essentially, we are filling in a gap in the TLS (< 1.3) ciphersuite
> > > space, thought of as a cross product of key exchange and
> > > cipher+mac/AEAD -- we have some of the combinations (PSK with ECDHE
> > > but no AES-[GC]CM, PSK with AES-GCM but only non-EC DH, etc.) but
> > > not quite this one.
> > >
> > > That said, it seems a little silly to only partially fill the gap
> > > (by omitting the AES_256_CCM* cipher suites), even though there is
> > > not currently demand for them.
> > >
> > > MGLT: TLS_ECDHE_PSK_WITH_AES_256_CCM_8_SHA256 and
> > TLS_ECDHE_PSK_WITH_AES_256_CCM_SHA384  were mentioned in the 01 and
> removed
> > after  the WGLC. [0] The issue was whether or not introducing new ciphers
> > not supported by TLS1.3. In 01, we though of adding the code point for
> > TLS1.2 and then specify that TLS1.3 was only implementing a **subset** of
> > the cipher suites proposed.In case of needs these could still be
> supported
> > later by TLS1.3. The consensus seems to not introduce ciphers that would
> > not be handled by TLS1.3. If the WG decides otherwise, these could still
> be
> > added.
> >
> > [0]
> > https://mailarchive.ietf.org/arch/msg/tls/M442CwmUMxrYJR8FjCh3h-a69o4/?
> qid=6e4713be1d71bae6718c6e6e6c4b8007
>
> That seems like a reasonable position for the WG to take, given how
> close TLS 1.3 is to publication.  (It would also be reasonable to
> define the full cross-product for TLS 1.2 only and have TLS 1.3 just
> use a subset, but I have no real preference.)
>
> >
> > > This document is just assembling pieces that were already specified
> > > elsewhere, so it need not contain much detail itself, which is fine.
> > > That said, I think section 3 should probably state explicitly which
> > > pieces it uses, instead of a vague reference of being "based on RFC
> > > 4279".  So, "The ServerKeyExchange and ClientKeyExchange messages
> > > from RFC 5489 for ECDHE_PSK are used, and the premaster secret is
> > > computed in the same manner as for ECDHE_PSK key exchange in RFC
> > > 5489."  (I am not sure why RFC 4279 is cited in the current text; it
> > > does not cover ECDHE_PSK.)
> > >
> >
> > MGLT: I agree we coudl be more explicit, here are the changes I propose.
> I
> > believe it address your purpose.
> >
> > OLD:
> >
> > Messages and pre-master secret construction in this
> > document are based on [RFC4279 <https://tools.ietf.org/html/rfc4279>].
> >
> > NEW:
> >
> > Messages and pre-master secret construction in this
> > document are defined in [RFC5489]. The ServerKeyExchange
> > and ClientKeyExchange messages and premaster secret is
> > computed as for  the ECDHE_PSK key exchange.
>
> That basically works for me, though I'd tweak the phrasing slightly
> for clarity/grammar:
>
> NEW2:
>
> Messages and pre-master secret construction in this
> document are defined in [RFC5489]. The ServerKeyExchange
> and ClientKeyExchange messages are used and the premaster secret is
> computed as for the ECDHE_PSK key exchange.
>
>
> >
> > > The premaster_secret structure so used basically ends up putting the
> > > ECDH output first followed by the static PSK; with the pre-TLS 1.2
> > > PRF, that would give the ECDH shared secret to md5 and the PSK to
> > > sha1, which is perhaps another reason to not use these with pre-1.2
> > > worth mentioning (in addition to the AEAD availability).
> > >
> >
> > MGLT: I believe the following text address your concern, however I am
> > wondering if we are not going beyond the scope of expected
> considerations.
>
> It perhaps is and perhaps is not worth mentioning, yes.
>
> > In addition, it is worth noting that TLS1.0 <xref target="RFC2246"/> and
> > TL1.2 <xref target="RFC4346"/> splits the premaster in two parts. The PRF
> > results of mixing the two pseudorandom streams with distinct hash
> functions
>
> "results of" is an unusual phrasing; "results from" might be more
> familiar.
>
> > (MD5 and SHA-1) by exclusive-ORing them together. In the case of
> ECDHE_PSK
> > authentication, the PSK and pre-master are treated by distinct hash
> > function with distinct properties. This may introduce vulnerabilities
> over
> > the expected security provided by the constructed pre-master. As such
> > TLS1.0 and TLS1.1 SHOULD NOT be used with ECDHE_PSK.
>
> The general tenor of this text addresses my concern, yes, but feel
> free to use editorial discretion and not bother putting it in, if
> you don't think it's useful.  (BTW, I think we are still TLS1.0 and
> TLS1.1 MUST NOT be used with these ciphersuites, so maybe the SHOULD
> NOT in the last sentence is not quite what is intended.)
>
> >
> > > The security considerations largely refer to those of the other
> > > documents providing the pieces that are combined together here;
> > > those referenced security considerations sections are more than
> > > adequate here, as this document itself does not really do anything
> > > particularly novel.  That said, if we are going to reiterate the
> > > entropy requirement for PSKs inline, we probably ought to also
> > > reiterate the nonce-reuse considerations for GCM and CCM.  The
> > > relevant constructions help, but there are still ways to mess up and
> > > reuse a nonce when doing crypto in parallel, if I remember the
> > > GCM/TLS document's security considerations correctly.
> > >
> >
> > MGLT: I believe the following text address your comments.
> >
> >  <t>GCM or CCM encryption - even of different clear text - re-using a
> > nonce with a same key undermines the security of GCM and CCM. As a
> > result, GCM and CCM MUST only be used with system guaranteeing nonce
> > uniqueness <xref target="RFC5116"/>.</t>
>
> Sure, sounds good.  (Grammar nit: "a system".)
>
> >
> > >
> > > Some other editorial nits follow.
> > >
> >
> > > In section 2, the RFC 7525 reference that "AEAD algorithms [...] are
> > > strongly recommended" is scoped to just (D)TLS, so the text here
> > > should probably also list that qualification.
> > >
> >
> > MGLT: I believe the following text address your concern:
> >
> > OLD text:
> > <t>AEAD algorithms that combine encryption and integrity protection are
> > strongly recommended for <xref target="RFC7525" /> and non-AEAD
> algorithms
> > are forbidden to use in TLS 1.3 <xref target="I-D.ietf-tls-tls13"/>.
> >
> > NEW text:
> > <t>AEAD algorithms that combine encryption and integrity protection are
> > strongly recommended for (D)TLS <xref target="RFC7525" /> and non-AEAD
> > algorithms
> > are forbidden to use in TLS 1.3 <xref target="I-D.ietf-tls-tls13"/>.
>
> Yes, thanks.
>
> > > In section 4, "... make use of the authenticated encryption with
> > > additional data (AEAD) defined in TLS 1.2" seems to make AEAD into
> > > something of a unique object, as opposed to a class of things with
> > > multiple possible instantiations.  I would consider something like
> > > "... (AEAD) concept".
> > >
> > > In section 4, "these cipher suites MUST NOT be negotiated in TLS
> > > versions prior to 1.2" should probably clarify that "these" cipher
> > > suites are the new ones specified by this document.
> > >
> > > MGLT: I believe the following text address your comment:
> >
> > OLD:
> > these cipher suites MUST NOT be negotiated in TLS  versions prior to 1.2.
> >
> > NEW:
> > the cipher suites defined in this document MUST NOT be negotiated in TLS
> > versions prior to 1.2.
> >
> >  OLD:
> > Clients MUST NOT offer these cipher suites
> >
> > NEW:
> > Clients MUST NOT offer these cipher suites defined in this document
>
> I think I only intended to comment about the first one, but there is
> no harm in changing both.  Thanks!
>
>
> -Ben
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr"><div><div><div>Thank you, <br><br></div>Your comments have=
 all been addressed. I have one remaining clarification. In my text the SHO=
ULD NOT was intended to the ECDHE_PSK in general, and not only for the ciph=
er suites of the draft. In your opinion do we clarify this, and should we u=
se something else than SHOULD NOT ?<br><br></div><div>Thanks for the review=
s!<br><br></div>Yours, <br></div>Daniel<br><div><div><br><span class=3D"gma=
il-im">&gt; (MD5 and SHA-1) by exclusive-ORing them together. In the case o=
f ECDHE_PSK<br>
&gt; authentication, the PSK and pre-master are treated by distinct hash<br=
>
&gt; function with distinct properties. This may introduce vulnerabilities =
over<br>
&gt; the expected security provided by the constructed pre-master. As such<=
br>
&gt; TLS1.0 and TLS1.1 SHOULD NOT be used with ECDHE_PSK.<br>
<br>
</span>The general tenor of this text addresses my concern, yes, but feel<b=
r>
free to use editorial discretion and not bother putting it in, if<br>
you don&#39;t think it&#39;s useful.=C2=A0 (BTW, I think we are still TLS1.=
0 and<br>
TLS1.1 MUST NOT be used with these ciphersuites, so maybe the SHOULD<br>
NOT in the last sentence is not quite what is intended.)</div></div></div><=
div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, May 19, 20=
17 at 12:27 PM, Benjamin Kaduk <span dir=3D"ltr">&lt;<a href=3D"mailto:kadu=
k@mit.edu" target=3D"_blank">kaduk@mit.edu</a>&gt;</span> wrote:<br><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5">On Fri, May=
 19, 2017 at 11:55:35AM -0400, Daniel Migault wrote:<br>
&gt; Hi Benjamin,<br>
&gt;<br>
&gt; Thank you for the review. Please find my comments inline and let me kn=
ow if<br>
&gt; you agree with the proposed text. I believe the only point not address=
ed<br>
&gt; concerns the addition of CCM-256 which has been remove after discussio=
n<br>
&gt; during the WGLC.<br>
&gt;<br>
&gt; Thanks you for the review,<br>
&gt;<br>
&gt; Yours,<br>
&gt; Daniel<br>
&gt;<br>
&gt; On Fri, May 19, 2017 at 12:38 AM, Benjamin Kaduk &lt;<a href=3D"mailto=
:kaduk@mit.edu">kaduk@mit.edu</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt; I have reviewed this document as part of the security directorate=
&#39;s<br>
&gt; &gt; ongoing effort to review all IETF documents being processed by th=
e<br>
&gt; &gt; IESG.=C2=A0 These comments were written primarily for the benefit=
 of the<br>
&gt; &gt; security area directors.=C2=A0 Document editors and WG chairs sho=
uld<br>
&gt; &gt; treat these comments just like any other last call comments.<br>
&gt; &gt;<br>
&gt; &gt; This document is ready with nits.<br>
&gt; &gt;<br>
&gt; &gt; Essentially, we are filling in a gap in the TLS (&lt; 1.3) cipher=
suite<br>
&gt; &gt; space, thought of as a cross product of key exchange and<br>
&gt; &gt; cipher+mac/AEAD -- we have some of the combinations (PSK with ECD=
HE<br>
&gt; &gt; but no AES-[GC]CM, PSK with AES-GCM but only non-EC DH, etc.) but=
<br>
&gt; &gt; not quite this one.<br>
&gt; &gt;<br>
&gt; &gt; That said, it seems a little silly to only partially fill the gap=
<br>
&gt; &gt; (by omitting the AES_256_CCM* cipher suites), even though there i=
s<br>
&gt; &gt; not currently demand for them.<br>
&gt; &gt;<br>
&gt; &gt; MGLT: TLS_ECDHE_PSK_WITH_AES_256_<wbr>CCM_8_SHA256 and<br>
&gt; TLS_ECDHE_PSK_WITH_AES_256_<wbr>CCM_SHA384=C2=A0 were mentioned in the=
 01 and removed<br>
&gt; after=C2=A0 the WGLC. [0] The issue was whether or not introducing new=
 ciphers<br>
&gt; not supported by TLS1.3. In 01, we though of adding the code point for=
<br>
&gt; TLS1.2 and then specify that TLS1.3 was only implementing a **subset**=
 of<br>
&gt; the cipher suites proposed.In case of needs these could still be suppo=
rted<br>
&gt; later by TLS1.3. The consensus seems to not introduce ciphers that wou=
ld<br>
&gt; not be handled by TLS1.3. If the WG decides otherwise, these could sti=
ll be<br>
&gt; added.<br>
&gt;<br>
&gt; [0]<br>
&gt; <a href=3D"https://mailarchive.ietf.org/arch/msg/tls/M442CwmUMxrYJR8Fj=
Ch3h-a69o4/?qid=3D6e4713be1d71bae6718c6e6e6c4b8007" rel=3D"noreferrer" targ=
et=3D"_blank">https://mailarchive.ietf.org/<wbr>arch/msg/tls/<wbr>M442CwmUM=
xrYJR8FjCh3h-a69o4/?<wbr>qid=3D<wbr>6e4713be1d71bae6718c6e6e6c4b80<wbr>07</=
a><br>
<br>
</div></div>That seems like a reasonable position for the WG to take, given=
 how<br>
close TLS 1.3 is to publication.=C2=A0 (It would also be reasonable to<br>
define the full cross-product for TLS 1.2 only and have TLS 1.3 just<br>
use a subset, but I have no real preference.)<br>
<span class=3D""><br>
&gt;<br>
&gt; &gt; This document is just assembling pieces that were already specifi=
ed<br>
&gt; &gt; elsewhere, so it need not contain much detail itself, which is fi=
ne.<br>
&gt; &gt; That said, I think section 3 should probably state explicitly whi=
ch<br>
&gt; &gt; pieces it uses, instead of a vague reference of being &quot;based=
 on RFC<br>
&gt; &gt; 4279&quot;.=C2=A0 So, &quot;The ServerKeyExchange and ClientKeyEx=
change messages<br>
&gt; &gt; from RFC 5489 for ECDHE_PSK are used, and the premaster secret is=
<br>
&gt; &gt; computed in the same manner as for ECDHE_PSK key exchange in RFC<=
br>
&gt; &gt; 5489.&quot;=C2=A0 (I am not sure why RFC 4279 is cited in the cur=
rent text; it<br>
&gt; &gt; does not cover ECDHE_PSK.)<br>
&gt; &gt;<br>
&gt;<br>
&gt; MGLT: I agree we coudl be more explicit, here are the changes I propos=
e. I<br>
&gt; believe it address your purpose.<br>
&gt;<br>
&gt; OLD:<br>
&gt;<br>
&gt; Messages and pre-master secret construction in this<br>
</span>&gt; document are based on [RFC4279 &lt;<a href=3D"https://tools.iet=
f.org/html/rfc4279" rel=3D"noreferrer" target=3D"_blank">https://tools.ietf=
.org/html/<wbr>rfc4279</a>&gt;].<br>
<span class=3D"">&gt;<br>
&gt; NEW:<br>
&gt;<br>
&gt; Messages and pre-master secret construction in this<br>
&gt; document are defined in [RFC5489]. The ServerKeyExchange<br>
&gt; and ClientKeyExchange messages and premaster secret is<br>
&gt; computed as for=C2=A0 the ECDHE_PSK key exchange.<br>
<br>
</span>That basically works for me, though I&#39;d tweak the phrasing sligh=
tly<br>
for clarity/grammar:<br>
<br>
NEW2:<br>
<span class=3D""><br>
Messages and pre-master secret construction in this<br>
document are defined in [RFC5489]. The ServerKeyExchange<br>
</span>and ClientKeyExchange messages are used and the premaster secret is<=
br>
<span class=3D"">computed as for the ECDHE_PSK key exchange.<br>
<br>
<br>
&gt;<br>
&gt; &gt; The premaster_secret structure so used basically ends up putting =
the<br>
&gt; &gt; ECDH output first followed by the static PSK; with the pre-TLS 1.=
2<br>
&gt; &gt; PRF, that would give the ECDH shared secret to md5 and the PSK to=
<br>
&gt; &gt; sha1, which is perhaps another reason to not use these with pre-1=
.2<br>
&gt; &gt; worth mentioning (in addition to the AEAD availability).<br>
&gt; &gt;<br>
&gt;<br>
&gt; MGLT: I believe the following text address your concern, however I am<=
br>
&gt; wondering if we are not going beyond the scope of expected considerati=
ons.<br>
<br>
</span>It perhaps is and perhaps is not worth mentioning, yes.<br>
<span class=3D""><br>
&gt; In addition, it is worth noting that TLS1.0 &lt;xref target=3D&quot;RF=
C2246&quot;/&gt; and<br>
&gt; TL1.2 &lt;xref target=3D&quot;RFC4346&quot;/&gt; splits the premaster =
in two parts. The PRF<br>
&gt; results of mixing the two pseudorandom streams with distinct hash func=
tions<br>
<br>
</span>&quot;results of&quot; is an unusual phrasing; &quot;results from&qu=
ot; might be more<br>
familiar.<br>
<span class=3D""><br>
&gt; (MD5 and SHA-1) by exclusive-ORing them together. In the case of ECDHE=
_PSK<br>
&gt; authentication, the PSK and pre-master are treated by distinct hash<br=
>
&gt; function with distinct properties. This may introduce vulnerabilities =
over<br>
&gt; the expected security provided by the constructed pre-master. As such<=
br>
&gt; TLS1.0 and TLS1.1 SHOULD NOT be used with ECDHE_PSK.<br>
<br>
</span>The general tenor of this text addresses my concern, yes, but feel<b=
r>
free to use editorial discretion and not bother putting it in, if<br>
you don&#39;t think it&#39;s useful.=C2=A0 (BTW, I think we are still TLS1.=
0 and<br>
TLS1.1 MUST NOT be used with these ciphersuites, so maybe the SHOULD<br>
NOT in the last sentence is not quite what is intended.)<br>
<span class=3D""><br>
&gt;<br>
&gt; &gt; The security considerations largely refer to those of the other<b=
r>
&gt; &gt; documents providing the pieces that are combined together here;<b=
r>
&gt; &gt; those referenced security considerations sections are more than<b=
r>
&gt; &gt; adequate here, as this document itself does not really do anythin=
g<br>
&gt; &gt; particularly novel.=C2=A0 That said, if we are going to reiterate=
 the<br>
&gt; &gt; entropy requirement for PSKs inline, we probably ought to also<br=
>
&gt; &gt; reiterate the nonce-reuse considerations for GCM and CCM.=C2=A0 T=
he<br>
&gt; &gt; relevant constructions help, but there are still ways to mess up =
and<br>
&gt; &gt; reuse a nonce when doing crypto in parallel, if I remember the<br=
>
&gt; &gt; GCM/TLS document&#39;s security considerations correctly.<br>
&gt; &gt;<br>
&gt;<br>
&gt; MGLT: I believe the following text address your comments.<br>
&gt;<br>
&gt;=C2=A0 &lt;t&gt;GCM or CCM encryption - even of different clear text - =
re-using a<br>
&gt; nonce with a same key undermines the security of GCM and CCM. As a<br>
&gt; result, GCM and CCM MUST only be used with system guaranteeing nonce<b=
r>
&gt; uniqueness &lt;xref target=3D&quot;RFC5116&quot;/&gt;.&lt;/t&gt;<br>
<br>
</span>Sure, sounds good.=C2=A0 (Grammar nit: &quot;a system&quot;.)<br>
<span class=3D""><br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; Some other editorial nits follow.<br>
&gt; &gt;<br>
&gt;<br>
</span><span class=3D"">&gt; &gt; In section 2, the RFC 7525 reference that=
 &quot;AEAD algorithms [...] are<br>
&gt; &gt; strongly recommended&quot; is scoped to just (D)TLS, so the text =
here<br>
&gt; &gt; should probably also list that qualification.<br>
&gt; &gt;<br>
&gt;<br>
&gt; MGLT: I believe the following text address your concern:<br>
&gt;<br>
&gt; OLD text:<br>
&gt; &lt;t&gt;AEAD algorithms that combine encryption and integrity protect=
ion are<br>
&gt; strongly recommended for &lt;xref target=3D&quot;RFC7525&quot; /&gt; a=
nd non-AEAD algorithms<br>
&gt; are forbidden to use in TLS 1.3 &lt;xref target=3D&quot;I-D.ietf-tls-t=
ls13&quot;/&gt;.<br>
&gt;<br>
&gt; NEW text:<br>
&gt; &lt;t&gt;AEAD algorithms that combine encryption and integrity protect=
ion are<br>
&gt; strongly recommended for (D)TLS &lt;xref target=3D&quot;RFC7525&quot; =
/&gt; and non-AEAD<br>
&gt; algorithms<br>
&gt; are forbidden to use in TLS 1.3 &lt;xref target=3D&quot;I-D.ietf-tls-t=
ls13&quot;/&gt;.<br>
<br>
</span>Yes, thanks.<br>
<span class=3D""><br>
&gt; &gt; In section 4, &quot;... make use of the authenticated encryption =
with<br>
&gt; &gt; additional data (AEAD) defined in TLS 1.2&quot; seems to make AEA=
D into<br>
&gt; &gt; something of a unique object, as opposed to a class of things wit=
h<br>
&gt; &gt; multiple possible instantiations.=C2=A0 I would consider somethin=
g like<br>
&gt; &gt; &quot;... (AEAD) concept&quot;.<br>
&gt; &gt;<br>
&gt; &gt; In section 4, &quot;these cipher suites MUST NOT be negotiated in=
 TLS<br>
&gt; &gt; versions prior to 1.2&quot; should probably clarify that &quot;th=
ese&quot; cipher<br>
&gt; &gt; suites are the new ones specified by this document.<br>
&gt; &gt;<br>
&gt; &gt; MGLT: I believe the following text address your comment:<br>
&gt;<br>
&gt; OLD:<br>
&gt; these cipher suites MUST NOT be negotiated in TLS=C2=A0 versions prior=
 to 1.2.<br>
&gt;<br>
&gt; NEW:<br>
&gt; the cipher suites defined in this document MUST NOT be negotiated in T=
LS<br>
&gt; versions prior to 1.2.<br>
&gt;<br>
&gt;=C2=A0 OLD:<br>
&gt; Clients MUST NOT offer these cipher suites<br>
&gt;<br>
&gt; NEW:<br>
&gt; Clients MUST NOT offer these cipher suites defined in this document<br=
>
<br>
</span>I think I only intended to comment about the first one, but there is=
<br>
no harm in changing both.=C2=A0 Thanks!<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
-Ben<br>
<br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</div></div></blockquote></div><br></div>

--001a114b07fe0114c9054fe36d55--


From nobody Fri May 19 10:00:02 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C67812955A for <tls@ietfa.amsl.com>; Fri, 19 May 2017 10:00:01 -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=allcosts-net.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 uCOTivrtacim for <tls@ietfa.amsl.com>; Fri, 19 May 2017 09:59:59 -0700 (PDT)
Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (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 CE44112954E for <tls@ietf.org>; Fri, 19 May 2017 09:59:58 -0700 (PDT)
Received: by mail-yw0-x231.google.com with SMTP id b68so37504541ywe.3 for <tls@ietf.org>; Fri, 19 May 2017 09:59:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MMNbUTor1Ci3ctM6BTavS9rqN88pI8bXZBmFT8VBO48=; b=SZwatnVBkIdp9AGGaPH18mB+hoWj+VWE75Yhkcl5pbWQOW9dEr6oGPrlqpk/lF7BR5 U0/J1o1aKWva4L2p5AYD2mokEeAcwYaZZunNrAF3Opkix8OrvJffZDJCc+hAqN1cDN0h VhuAMF4oXKjAvE4R0uwIENLiN9UK64eNWITxuSpFfCl6PKT3XM0mFtamkRBDj4vFTtZO 591kafqDRspR0QwQ8mQ1LzH0KwI0EvV9iMEmV2jbgVG3PsD0TMeNv8s7rsofcBIKzpZD DkuUHqPW1lYqa0FaHN/PTd27DSNy0xyFKAcqXXihM7jW7UVOwWCbF2xsgu4uf1lnXnI1 sB/Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MMNbUTor1Ci3ctM6BTavS9rqN88pI8bXZBmFT8VBO48=; b=mPmUfH82F+xwIULysnbetmLw8WTMTk6hFths7fJccUSzk4/7WWHoXRXlS2S9UrEd05 m21kR+cqKlFQnbE8/+o0Ylzd+FJp1fIlVCro/V1nCb4pZLetR6Uzsl64lje/CIvEUuVO QyHfFKrlr2tiFSoybbZSX+X4KqE1LbdwmklSSkjKnN3cfigWhQbAL5o2oqO8EPE4rQtO q3EsKCbNN4gy7YkUICoNAHccSJx5O3So3mnHZ1fo967i3Adj9aenOQL4+4kF9aDL5GC7 1kciDVyaQO7qXVHSMnVcBNTlFrP00imAUeRGZ537zLF7Rx60p5vTLFl3NrRGSZq3nRDE RZXA==
X-Gm-Message-State: AODbwcCSEK2jyuSD5/udhueflfxJwzld4iavNovVtvsj4EtFvnPvXxhK Rg+cMfSL/YOxFgidfGlzGhKORrwWvzsG
X-Received: by 10.129.152.68 with SMTP id p65mr8697409ywg.1.1495213197983; Fri, 19 May 2017 09:59:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Fri, 19 May 2017 09:59:57 -0700 (PDT)
In-Reply-To: <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Fri, 19 May 2017 09:59:57 -0700
Message-ID: <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0ba6ca87b024054fe37378"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/3wdrRYM3aH8-q3CQCmz5wNzl1Rk>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 17:00:01 -0000

--94eb2c0ba6ca87b024054fe37378
Content-Type: text/plain; charset="UTF-8"

On Fri, May 19, 2017 at 2:53 AM, Ilari Liusvaara <ilariliusvaara@welho.com>
wrote:
>
> To me, that reads as gross understatement about the dangers involved in
> 0-RTT:
>
> - The side channel attacks with millions or billions of replays are hard
>   to protect against. This is if the side channels are in TLS library.
>   If not, protecting against that sort of side channels becomes
>   virtually impossible.

- Furthermore, with that kind of replay volume, protecting against DoS
>   attacks is virtually impossible.


> - Even if once-per-server or once-per-cluster replay detection limits
>   the number of replays to few hundred to few thoursand at maximum,
>   where the low-level crypto side channels are much less of a threat,
>   cache attacks can be used to break security (in fact, not sending a
>   mad burst of data to any one server is useful for carrying out these).
>

I wouldn't be too fatalistic about it. The speed of light is too slow for
human interaction, and 0-RTT is an important and awesome feature that we
should make safe and near universal.

Some protection is necessary; but it isn't too hard - a single-use session
cache, or a strike register, do protect against the side-channel and DOS
problems. Combined with a "fail closed" strategy and tickets that are
scoped to clusters or servers, these techniques do hard-stop the literal
0-RTT replays, and they are practical. Many of us run systems like that
already.


> Also, the kind of thing going on here seems exactly how I would imagine
> the past very bad decisions from TLS WG, that were known to be insecure
> at the time of specification and where then successfully attacked later,
> played out. However, I have not read those discussions from the ML
> archives.
>

In this case, I think people see the trade-offs differently and that's ok.
There's a sense that the risks or cost are worth it. After all, you can
mitigate a lot of the risk if you have a team of experts on standby who
manually mitigate these kinds of attacks, or more advanced automated
response systems. And many big providers do have both of these.

What concerns me most is that the 0-RTT interactions here are formalizable
and that the messaging interactions can be modeled in TLA+, F*, etc ... but
that hasn't been done as it has with the rest of the TLS1.3 state machine.

My TLA+ simple model convinced me that what's in the draft doesn't actually
work; there's nothing in the messages that allows a server to de-dupe, I
wrote up a simple 3-message example of this earlier in the thread, and it
seems to hold to the breaking the "X-" header trick that one provider came
up with.  That already in this draft deployment phase, that can advanced,
knowledgable, provider's attempt at a mitigation can be shown to be broken
should be cause for alarm. It's not a safe set-up.

Here's all I think we need to fix all of this though, in order of priority:

For relatively "Normal" clients (e.g. Browsers):

* Servers supporting 0-RTT need to robustly prevent replay of literal 0-RTT
sections. No time-based mitigation, which simply doesn't work. This is the
"cost" of doing 0-RTT.
* Clients should be the real arbiter of what to use 0-RTT; e.g. never use
for POST, etc. This could bear some emphasis. It's important because
middle-boxes exist.

For careful clients, think about something implementing a transaction over
TLS:

* If a 0-RTT section is sent but does not result in a successful receipt,
that failure needs to be signaled to the client.
* In order to fully reason about when that message may later get received,
there needs to be an agreed upon time-cap for 0-RTT receipt. Agreed by all
potential middle-boxes in the pipe that may be using 0-RTT.

And then separate to all of the above, and lower priority:

* There's a contradiction between the obfuscated ticket age add parameter
and the desire to use tickets multiple times in other (non-0RTT) cases. We
can't do one without defeating the point of the other. Either remove the
obfuscation because it is misleading, or move it into an encrypted message
so that it is robust.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, May 19, 2017 at 2:53 AM, Ilari Liusvaara <span dir=3D"ltr">&lt;=
<a href=3D"mailto:ilariliusvaara@welho.com" target=3D"_blank">ilariliusvaar=
a@welho.com</a>&gt;</span> wrote:<blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;bor=
der-left-color:rgb(204,204,204);padding-left:1ex">To me, that reads as gros=
s understatement about the dangers involved in<br>
0-RTT:<br>
<br>
- The side channel attacks with millions or billions of replays are hard<br=
>
=C2=A0 to protect against. This is if the side channels are in TLS library.=
<br>
=C2=A0 If not, protecting against that sort of side channels becomes<br>
=C2=A0 virtually impossible.</blockquote><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:s=
olid;border-left-color:rgb(204,204,204);padding-left:1ex">- Furthermore, wi=
th that kind of replay volume, protecting against DoS<br>=C2=A0 attacks is =
virtually impossible.</blockquote><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;=
border-left-color:rgb(204,204,204);padding-left:1ex"><br>
- Even if once-per-server or once-per-cluster replay detection limits<br>
=C2=A0 the number of replays to few hundred to few thoursand at maximum,<br=
>
=C2=A0 where the low-level crypto side channels are much less of a threat,<=
br>
=C2=A0 cache attacks can be used to break security (in fact, not sending a<=
br>
=C2=A0 mad burst of data to any one server is useful for carrying out these=
).<br></blockquote><div><br></div><div>I wouldn&#39;t be too fatalistic abo=
ut it. The speed of light is too slow for human interaction, and 0-RTT is a=
n important and awesome feature that we should make safe and near universal=
.=C2=A0</div><div><br></div><div>Some protection is necessary; but it isn&#=
39;t too hard - a single-use session cache, or a strike register, do protec=
t against the side-channel and DOS problems. Combined with a &quot;fail clo=
sed&quot; strategy and tickets that are scoped to clusters or servers, thes=
e techniques do hard-stop the literal 0-RTT replays, and they are practical=
. Many of us run systems like that already.=C2=A0</div><div>=C2=A0</div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef=
t-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padd=
ing-left:1ex">Also, the kind of thing going on here seems exactly how I wou=
ld imagine<br>
the past very bad decisions from TLS WG, that were known to be insecure<br>
at the time of specification and where then successfully attacked later,<br=
>
played out. However, I have not read those discussions from the ML<br>
archives.<br></blockquote><div><br></div><div>In this case, I think people =
see the trade-offs differently and that&#39;s ok. There&#39;s a sense that =
the risks or cost are worth it. After all, you can mitigate a lot of the ri=
sk if you have a team of experts on standby who manually mitigate these kin=
ds of attacks, or more advanced automated response systems. And many big pr=
oviders do have both of these.=C2=A0</div><div><br></div><div>What concerns=
 me most is that the 0-RTT interactions here are formalizable and that the =
messaging interactions can be modeled in TLA+, F*, etc ... but that hasn&#3=
9;t been done as it has with the rest of the TLS1.3 state machine.=C2=A0</d=
iv><div>=C2=A0</div><div>My TLA+ simple model convinced me that what&#39;s =
in the draft doesn&#39;t actually work; there&#39;s nothing in the messages=
 that allows a server to de-dupe, I wrote up a simple 3-message example of =
this earlier in the thread, and it seems to hold to the breaking the &quot;=
X-&quot; header trick that one provider came up with.=C2=A0 That already in=
 this draft deployment phase, that can advanced, knowledgable, provider&#39=
;s attempt at a mitigation can be shown to be broken should be cause for al=
arm. It&#39;s not a safe set-up.=C2=A0</div></div><div><br></div><div>Here&=
#39;s all I think we need to fix all of this though, in order of priority:<=
/div><div><br></div><div>For relatively &quot;Normal&quot; clients (e.g. Br=
owsers):</div><div><br></div><div>* Servers supporting 0-RTT need to robust=
ly prevent replay of literal 0-RTT sections. No time-based mitigation, whic=
h simply doesn&#39;t work. This is the &quot;cost&quot; of doing 0-RTT.=C2=
=A0</div><div>* Clients should be the real arbiter of what to use 0-RTT; e.=
g. never use for POST, etc. This could bear some emphasis. It&#39;s importa=
nt because middle-boxes exist.</div><div><br></div><div>For careful clients=
, think about something implementing a transaction over TLS:</div><div><br>=
</div><div>* If a 0-RTT section is sent but does not result in a successful=
 receipt, that failure needs to be signaled to the client.</div><div>* In o=
rder to fully reason about when that message may later get received, there =
needs to be an agreed upon time-cap for 0-RTT receipt. Agreed by all potent=
ial middle-boxes in the pipe that may be using 0-RTT.=C2=A0</div><div><br><=
/div><div>And then separate to all of the above, and lower priority:</div><=
div><br></div><div>* There&#39;s a contradiction between the obfuscated tic=
ket age add parameter and the desire to use tickets multiple times in other=
 (non-0RTT) cases. We can&#39;t do one without defeating the point of the o=
ther. Either remove the obfuscation because it is misleading, or move it in=
to an encrypted message so that it is robust. =C2=A0</div><div><br></div>--=
 <br><div class=3D"gmail-m_5778718258853847399gmail_signature">Colm</div>
</div></div>

--94eb2c0ba6ca87b024054fe37378--


From nobody Fri May 19 11:40:58 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8802A1273B1 for <tls@ietfa.amsl.com>; Fri, 19 May 2017 11:40:57 -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, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 vEK5XStK0LUz for <tls@ietfa.amsl.com>; Fri, 19 May 2017 11:40:55 -0700 (PDT)
Received: from welho-filter1.welho.com (welho-filter1.welho.com [83.102.41.23]) by ietfa.amsl.com (Postfix) with ESMTP id D143E12946C for <tls@ietf.org>; Fri, 19 May 2017 11:40:54 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter1.welho.com (Postfix) with ESMTP id 7AC8B601D7; Fri, 19 May 2017 21:40:52 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter1.welho.com [::ffff:83.102.41.23]) (amavisd-new, port 10024) with ESMTP id etO2tBjBQHV4; Fri, 19 May 2017 21:40:51 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id DE91AC4; Fri, 19 May 2017 21:40:51 +0300 (EEST)
Date: Fri, 19 May 2017 21:40:51 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Colm =?utf-8?Q?MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170519184051.GA31741@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ncP3A5VPHyinMgC3z6b2xlRmTeM>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 18:40:57 -0000

On Fri, May 19, 2017 at 09:59:57AM -0700, Colm MacCÃ¡rthaigh wrote:
> On Fri, May 19, 2017 at 2:53 AM, Ilari Liusvaara <ilariliusvaara@welho.com>
> wrote:
> >
> > - Even if once-per-server or once-per-cluster replay detection limits
> >   the number of replays to few hundred to few thoursand at maximum,
> >   where the low-level crypto side channels are much less of a threat,
> >   cache attacks can be used to break security (in fact, not sending a
> >   mad burst of data to any one server is useful for carrying out these).
> >
> 
> I wouldn't be too fatalistic about it. The speed of light is too slow for
> human interaction, and 0-RTT is an important and awesome feature that we
> should make safe and near universal.
> 
> Some protection is necessary; but it isn't too hard - a single-use session
> cache, or a strike register, do protect against the side-channel and DOS
> problems. Combined with a "fail closed" strategy and tickets that are
> scoped to clusters or servers, these techniques do hard-stop the literal
> 0-RTT replays, and they are practical. Many of us run systems like that
> already.

Yup. There are no known reasons that prevent at-most-once 0-RTT delivery,
even with distributed servers for the origin.

Of course, this impiles that there is some small-enough spatial scope
for 0-RTT, so servers in scope can reach global consistency in acceptable
time (which also sets the server timeout!)

Latencies within a single datacenter should be pretty low, and routing
should be pretty sticky between datacenters.

> Here's all I think we need to fix all of this though, in order of priority:
> 
> For relatively "Normal" clients (e.g. Browsers):
> 
> * Servers supporting 0-RTT need to robustly prevent replay of literal 0-RTT
> sections. No time-based mitigation, which simply doesn't work. This is the
> "cost" of doing 0-RTT.
> * Clients should be the real arbiter of what to use 0-RTT; e.g. never use
> for POST, etc. This could bear some emphasis. It's important because
> middle-boxes exist.

Yeah, for clients that are as careless with HTTP as browsers, sending
POSTs in 0-RTT data is very bad idea.
 
> For careful clients, think about something implementing a transaction over
> TLS:
> 
> * If a 0-RTT section is sent but does not result in a successful receipt,
> that failure needs to be signaled to the client.

This is already required in order to implement HTTP semantics. E.g. so
that if 0-RTT section contains POST request, the HTTP library can signal
its client "failed: connection to server lost before reply was
received" (and retry GETs, PUTs and DEETEs).

> * In order to fully reason about when that message may later get received,
> there needs to be an agreed upon time-cap for 0-RTT receipt. Agreed by all
> potential middle-boxes in the pipe that may be using 0-RTT.

Isn't that potentially multi-party problem if middleboxes are involved?


> And then separate to all of the above, and lower priority:
> 
> * There's a contradiction between the obfuscated ticket age add parameter
> and the desire to use tickets multiple times in other (non-0RTT) cases. We
> can't do one without defeating the point of the other. Either remove the
> obfuscation because it is misleading, or move it into an encrypted message
> so that it is robust.

The purpose of obfustication is not to hide sibling sessions. The
client already blows its cover by using the same session ID twice. The
purpose of obfustication is to hide the parent session.

Are you talking about attackers being able to determine the rate of
client clock?


-Ilari


From nobody Fri May 19 11:45:16 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 513651292CE for <tls@ietfa.amsl.com>; Fri, 19 May 2017 11:45:15 -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 aVgHGmeP4rQv for <tls@ietfa.amsl.com>; Fri, 19 May 2017 11:45:13 -0700 (PDT)
Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (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 9E51D1273B1 for <tls@ietf.org>; Fri, 19 May 2017 11:45:13 -0700 (PDT)
Received: by mail-yw0-x22c.google.com with SMTP id l74so38719696ywe.2 for <tls@ietf.org>; Fri, 19 May 2017 11:45:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=u/NxhEV2UJKKlpB5E8n1+GiiVAztbwYGmBHttO6gMGU=; b=rzO5Owv8+12JJ8hOaJGmf190xpNRxeQ5bf2SJR+cjCQSn1SioEqnTJGUhGxF/mcyQU ekg8h+Jq2JCHNEjLnJlZau8sY1bEGQXyUCOrCi2LgdNyj7W20raMVRV9XUDnI1FVz05D Vw7Bwm6la/pHtsBHzIkw0LrvkK1s7jeYigXc5EQlpVA8/0lejcnh/CTY6t6dZ0kGrKCH 0Rz38Mxd+BzkYHrAbUW8Q78oJsfcXiXFE09gEYpg8euwZsF9OqHNNkCglX8YdKz5y4gS GoruBETXtfxjEXgeBKjnOpZRV9aZk+7uOvtkVH/+jusLbxFMn/0VRSYlRv0Sn/3nqSkY RoKQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=u/NxhEV2UJKKlpB5E8n1+GiiVAztbwYGmBHttO6gMGU=; b=ZmqmMQnDMxzID6ZNZNvaIm/DEzwF+RqV3oKB1/D+MlXul0jtVnGoodx4tpVfPwLBW4 8hr5E4/mN5XyNtN/wq+844fOlfyHZER07pTPYjhHW4QkFo+aZkIsAgF5VfqZ5mgpVdMo 0n9BXuzHFyeU/spBeGpIIdH7O4XU5DlNLDgc+XIen6JDuGB6uqdjqlowKqhoctxVwryK aysEI/ax+/XPaf6zbk5lLQDcdu6TZb2jFlIrPIIw1if3eGskJVobWw/IZPCyhcKG6odA ChVNp70CCsyC+HEOj1kGl3dgBpnoh027cP+JBJGqW3II75QR1Ikfm4ByyB+oYFr0VBbb TcJw==
X-Gm-Message-State: AODbwcDuL+cWqR6xsnsNkBOH3F0ywwdWymUPLnsHh80aypVpFdo99ZyS RtJl1ykuIWpxNbVjGIcKk/2XAHUhKfx5
X-Received: by 10.129.85.83 with SMTP id j80mr9021390ywb.283.1495219512867; Fri, 19 May 2017 11:45:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Fri, 19 May 2017 11:44:32 -0700 (PDT)
In-Reply-To: <20170519184051.GA31741@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170519184051.GA31741@LK-Perkele-V2.elisa-laajakaista.fi>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 19 May 2017 14:44:32 -0400
Message-ID: <CABcZeBNQXGFXZJtX74zrx2V63tWBhvSQkYSrpYFdOOA=y81mOQ@mail.gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>,  "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a113f3cbeed3f82054fe4eb8c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ZaINkFC7xwxxm7e8tXR2PEWC0KQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 18:45:15 -0000

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

On Fri, May 19, 2017 at 2:40 PM, Ilari Liusvaara <ilariliusvaara@welho.com>
wrote:

> On Fri, May 19, 2017 at 09:59:57AM -0700, Colm MacC=C3=A1rthaigh wrote:
> > On Fri, May 19, 2017 at 2:53 AM, Ilari Liusvaara <
> ilariliusvaara@welho.com>
> > wrote:
> > >
> > > - Even if once-per-server or once-per-cluster replay detection limits
> > >   the number of replays to few hundred to few thoursand at maximum,
> > >   where the low-level crypto side channels are much less of a threat,
> > >   cache attacks can be used to break security (in fact, not sending a
> > >   mad burst of data to any one server is useful for carrying out
> these).
> > >
> >
> > I wouldn't be too fatalistic about it. The speed of light is too slow f=
or
> > human interaction, and 0-RTT is an important and awesome feature that w=
e
> > should make safe and near universal.
> >
> > Some protection is necessary; but it isn't too hard - a single-use
> session
> > cache, or a strike register, do protect against the side-channel and DO=
S
> > problems. Combined with a "fail closed" strategy and tickets that are
> > scoped to clusters or servers, these techniques do hard-stop the litera=
l
> > 0-RTT replays, and they are practical. Many of us run systems like that
> > already.
>
> Yup. There are no known reasons that prevent at-most-once 0-RTT delivery,
> even with distributed servers for the origin.
>

I don't disagree with that necessarily, but if the client responds by
retransmitting
in 1-RTT, then you don't have overall at-most-once.

-Ekr



>
> Of course, this impiles that there is some small-enough spatial scope
> for 0-RTT, so servers in scope can reach global consistency in acceptable
> time (which also sets the server timeout!)
>
> Latencies within a single datacenter should be pretty low, and routing
> should be pretty sticky between datacenters.
>
> > Here's all I think we need to fix all of this though, in order of
> priority:
> >
> > For relatively "Normal" clients (e.g. Browsers):
> >
> > * Servers supporting 0-RTT need to robustly prevent replay of literal
> 0-RTT
> > sections. No time-based mitigation, which simply doesn't work. This is
> the
> > "cost" of doing 0-RTT.
> > * Clients should be the real arbiter of what to use 0-RTT; e.g. never u=
se
> > for POST, etc. This could bear some emphasis. It's important because
> > middle-boxes exist.
>
> Yeah, for clients that are as careless with HTTP as browsers, sending
> POSTs in 0-RTT data is very bad idea.
>
> > For careful clients, think about something implementing a transaction
> over
> > TLS:
> >
> > * If a 0-RTT section is sent but does not result in a successful receip=
t,
> > that failure needs to be signaled to the client.
>
> This is already required in order to implement HTTP semantics. E.g. so
> that if 0-RTT section contains POST request, the HTTP library can signal
> its client "failed: connection to server lost before reply was
> received" (and retry GETs, PUTs and DEETEs).
>
> > * In order to fully reason about when that message may later get
> received,
> > there needs to be an agreed upon time-cap for 0-RTT receipt. Agreed by
> all
> > potential middle-boxes in the pipe that may be using 0-RTT.
>
> Isn't that potentially multi-party problem if middleboxes are involved?
>
>
> > And then separate to all of the above, and lower priority:
> >
> > * There's a contradiction between the obfuscated ticket age add paramet=
er
> > and the desire to use tickets multiple times in other (non-0RTT) cases.
> We
> > can't do one without defeating the point of the other. Either remove th=
e
> > obfuscation because it is misleading, or move it into an encrypted
> message
> > so that it is robust.
>
> The purpose of obfustication is not to hide sibling sessions. The
> client already blows its cover by using the same session ID twice. The
> purpose of obfustication is to hide the parent session.
>
> Are you talking about attackers being able to determine the rate of
> client clock?
>
>
> -Ilari
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, May 19, 2017 at 2:40 PM, Ilari Liusvaara <span dir=3D"ltr">&lt;=
<a href=3D"mailto:ilariliusvaara@welho.com" target=3D"_blank">ilariliusvaar=
a@welho.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span c=
lass=3D"">On Fri, May 19, 2017 at 09:59:57AM -0700, Colm MacC=C3=A1rthaigh =
wrote:<br>
&gt; On Fri, May 19, 2017 at 2:53 AM, Ilari Liusvaara &lt;<a href=3D"mailto=
:ilariliusvaara@welho.com">ilariliusvaara@welho.com</a>&gt;<br>
&gt; wrote:<br>
&gt; &gt;<br>
</span><span class=3D"">&gt; &gt; - Even if once-per-server or once-per-clu=
ster replay detection limits<br>
&gt; &gt;=C2=A0 =C2=A0the number of replays to few hundred to few thoursand=
 at maximum,<br>
&gt; &gt;=C2=A0 =C2=A0where the low-level crypto side channels are much les=
s of a threat,<br>
&gt; &gt;=C2=A0 =C2=A0cache attacks can be used to break security (in fact,=
 not sending a<br>
&gt; &gt;=C2=A0 =C2=A0mad burst of data to any one server is useful for car=
rying out these).<br>
&gt; &gt;<br>
&gt;<br>
&gt; I wouldn&#39;t be too fatalistic about it. The speed of light is too s=
low for<br>
&gt; human interaction, and 0-RTT is an important and awesome feature that =
we<br>
&gt; should make safe and near universal.<br>
&gt;<br>
&gt; Some protection is necessary; but it isn&#39;t too hard - a single-use=
 session<br>
&gt; cache, or a strike register, do protect against the side-channel and D=
OS<br>
&gt; problems. Combined with a &quot;fail closed&quot; strategy and tickets=
 that are<br>
&gt; scoped to clusters or servers, these techniques do hard-stop the liter=
al<br>
&gt; 0-RTT replays, and they are practical. Many of us run systems like tha=
t<br>
&gt; already.<br>
<br>
</span>Yup. There are no known reasons that prevent at-most-once 0-RTT deli=
very,<br>
even with distributed servers for the origin.<br></blockquote><div><br></di=
v><div>I don&#39;t disagree with that necessarily, but if the client respon=
ds by retransmitting</div><div>in 1-RTT, then you don&#39;t have overall at=
-most-once.</div><div><br></div><div>-Ekr</div><div><br></div><div>=C2=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex">
<br>
Of course, this impiles that there is some small-enough spatial scope<br>
for 0-RTT, so servers in scope can reach global consistency in acceptable<b=
r>
time (which also sets the server timeout!)<br>
<br>
Latencies within a single datacenter should be pretty low, and routing<br>
should be pretty sticky between datacenters.<br>
<span class=3D""><br>
&gt; Here&#39;s all I think we need to fix all of this though, in order of =
priority:<br>
&gt;<br>
&gt; For relatively &quot;Normal&quot; clients (e.g. Browsers):<br>
&gt;<br>
&gt; * Servers supporting 0-RTT need to robustly prevent replay of literal =
0-RTT<br>
&gt; sections. No time-based mitigation, which simply doesn&#39;t work. Thi=
s is the<br>
&gt; &quot;cost&quot; of doing 0-RTT.<br>
&gt; * Clients should be the real arbiter of what to use 0-RTT; e.g. never =
use<br>
&gt; for POST, etc. This could bear some emphasis. It&#39;s important becau=
se<br>
&gt; middle-boxes exist.<br>
<br>
</span>Yeah, for clients that are as careless with HTTP as browsers, sendin=
g<br>
POSTs in 0-RTT data is very bad idea.<br>
<span class=3D""><br>
&gt; For careful clients, think about something implementing a transaction =
over<br>
&gt; TLS:<br>
&gt;<br>
&gt; * If a 0-RTT section is sent but does not result in a successful recei=
pt,<br>
&gt; that failure needs to be signaled to the client.<br>
<br>
</span>This is already required in order to implement HTTP semantics. E.g. =
so<br>
that if 0-RTT section contains POST request, the HTTP library can signal<br=
>
its client &quot;failed: connection to server lost before reply was<br>
received&quot; (and retry GETs, PUTs and DEETEs).<br>
<span class=3D""><br>
&gt; * In order to fully reason about when that message may later get recei=
ved,<br>
&gt; there needs to be an agreed upon time-cap for 0-RTT receipt. Agreed by=
 all<br>
&gt; potential middle-boxes in the pipe that may be using 0-RTT.<br>
<br>
</span>Isn&#39;t that potentially multi-party problem if middleboxes are in=
volved?<br>
<span class=3D""><br>
<br>
&gt; And then separate to all of the above, and lower priority:<br>
&gt;<br>
&gt; * There&#39;s a contradiction between the obfuscated ticket age add pa=
rameter<br>
&gt; and the desire to use tickets multiple times in other (non-0RTT) cases=
. We<br>
&gt; can&#39;t do one without defeating the point of the other. Either remo=
ve the<br>
&gt; obfuscation because it is misleading, or move it into an encrypted mes=
sage<br>
&gt; so that it is robust.<br>
<br>
</span>The purpose of obfustication is not to hide sibling sessions. The<br=
>
client already blows its cover by using the same session ID twice. The<br>
purpose of obfustication is to hide the parent session.<br>
<br>
Are you talking about attackers being able to determine the rate of<br>
client clock?<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
-Ilari<br>
</font></span></blockquote></div><br></div></div>

--001a113f3cbeed3f82054fe4eb8c--


From nobody Fri May 19 13:02:54 2017
Return-Path: <internet-drafts@ietf.org>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 0FBE6129B05; Fri, 19 May 2017 13:02:53 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: tls@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.51.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149522417301.23956.5128200733750772268@ietfa.amsl.com>
Date: Fri, 19 May 2017 13:02:53 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/GMJ58Rvjeo4wmvhMzsOL9aGYE70>
Subject: [TLS] I-D Action: draft-ietf-tls-ecdhe-psk-aead-04.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 20:02:53 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Transport Layer Security of the IETF.

        Title           : ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)
        Authors         : John Mattsson
                          Daniel Migault
	Filename        : draft-ietf-tls-ecdhe-psk-aead-04.txt
	Pages           : 8
	Date            : 2017-05-19

Abstract:
   This document defines several new cipher suites for the Transport
   Layer Security (TLS) protocol.  The cipher suites are all based on
   the Ephemeral Elliptic Curve Diffie-Hellman with Pre-Shared Key
   (ECDHE_PSK) key exchange together with the Authenticated Encryption
   with Associated Data (AEAD) algorithms AES-GCM and AES-CCM.  PSK
   provides light and efficient authentication, ECDHE provides forward
   secrecy, and AES-GCM and AES-CCM provides encryption and integrity
   protection.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04
https://datatracker.ietf.org/doc/html/draft-ietf-tls-ecdhe-psk-aead-04

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-tls-ecdhe-psk-aead-04


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Fri May 19 13:10:34 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 93C74129AB6 for <tls@ietfa.amsl.com>; Fri, 19 May 2017 13:10:32 -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=allcosts-net.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 iq019IRf3oMY for <tls@ietfa.amsl.com>; Fri, 19 May 2017 13:10:31 -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 30DCB127867 for <tls@ietf.org>; Fri, 19 May 2017 13:10:31 -0700 (PDT)
Received: by mail-yw0-x22e.google.com with SMTP id p73so28988293ywp.0 for <tls@ietf.org>; Fri, 19 May 2017 13:10:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=G/We2CXvLDEwa/pWnCZn7P9kZJDzk5iyFntAoDImjMY=; b=AMQpW1N6luh0mtgBMqXN0APi8W4QXZiOXktYfrSfMsw3frPgwmjPiuiSY5jYQN9jOm tjcvNA1290AE+DisTuR4snv339piLPjyH4aRM7k+8v6g7mSliP4CzJ6QB6D1k2f9B5w2 V0xQlewqdjlDj4g3GgmU+2BamItVddP6H7Y9YDd2Keoa657+V3r0hqL7scMDAnCPi/ZH TAgkf0Kk/jgJ6CW8I0Em3M+HFs1D+NAh8KbkAFl4r1b3iJpd0irHPHrbuptSxvKYLyDQ Pe1Rw+M7tDo9SOhjZwqjEd5vuNjjcR+WvJyt7rm+Jdgv6/bONST1wVR8pMqXLdVNynCN q/Ww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=G/We2CXvLDEwa/pWnCZn7P9kZJDzk5iyFntAoDImjMY=; b=WcijNaW0fdoItkIyW7p09ku5rixgMSKv7ng93Tvd1CxYzlz9qeb3/TvKorUQLGFfEE prqrNHKAoLyccTheZx6Mp/b2kOxOrRYyht1/ESwkXnHeF3B+0QOB7OO8DMgj1+U5RaFq 8vTymDACz5QEwhTXN1fbx+Yg06fX13j08G4Cj/BwYSqEYi07TkEaYBLsmgfWa4Cg6Eiw GMxg8L8yyB/hTxQGwrQ5jSNQs4VO8OQZLn5giL4WMLUwG3+3rGss0xhdp03Ht0BfyGrz 4KOUNItEkm4aLHdcQtI0BVzSKdvATMwQ1ronLhFzH0a7/J52v8ndo0xx9U2VQwIIr9Of jwSg==
X-Gm-Message-State: AODbwcBfpqmlfJ0G3ilX5gHOryAQeplsmn1eEC2VULqso1Qo8cuXU1To aaMdoSjZp1qpjk1MzVe1ukqV4vBxrtHF
X-Received: by 10.129.152.68 with SMTP id p65mr9312498ywg.1.1495224630437; Fri, 19 May 2017 13:10:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Fri, 19 May 2017 13:10:29 -0700 (PDT)
In-Reply-To: <20170519184051.GA31741@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170519184051.GA31741@LK-Perkele-V2.elisa-laajakaista.fi>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Fri, 19 May 2017 13:10:29 -0700
Message-ID: <CAAF6GDcP3_+WOB1xsc7JecpCo2-MfeuHgkN7PVrUiLweeurv2g@mail.gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0ba6caf50b36054fe61c47"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/j_FNHrmOfyQq1n8F723CV3NW1HA>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 20:10:32 -0000

--94eb2c0ba6caf50b36054fe61c47
Content-Type: text/plain; charset="UTF-8"

On Fri, May 19, 2017 at 11:40 AM, Ilari Liusvaara <ilariliusvaara@welho.com>
wrote:

> > * In order to fully reason about when that message may later get
> received,
> > there needs to be an agreed upon time-cap for 0-RTT receipt. Agreed by
> all
> > potential middle-boxes in the pipe that may be using 0-RTT.
>
> Isn't that potentially multi-party problem if middleboxes are involved?
>

Yes; but if we can agree on a hard maximum time-window for the 0RTT
section, and all of the parties agree, it's possible for a careful client
to negotiate its way around it. Even if it's 10 seconds, this still has
some value I think.


> > And then separate to all of the above, and lower priority:
> >
> > * There's a contradiction between the obfuscated ticket age add parameter
> > and the desire to use tickets multiple times in other (non-0RTT) cases.
> We
> > can't do one without defeating the point of the other. Either remove the
> > obfuscation because it is misleading, or move it into an encrypted
> message
> > so that it is robust.
>
> The purpose of obfustication is not to hide sibling sessions. The
> client already blows its cover by using the same session ID twice. The
> purpose of obfustication is to hide the parent session.


> Are you talking about attackers being able to determine the rate of
> client clock?
>

Right now if a ticket is used multiple times, then the ticket age can be
derived (trivial cryptanalysis due to re-using the same obfuscated offset,
and because the progression of time between the ticket uses is public);
that means the parent session can be identified. So the point is defeated.

Either the one-time-pad can be used just one time (which means the ticket
can be used just once) or we should move it to an encrypted message. Or
just get rid of it and not be so misleading. But the current state is
weird, to say the least.

-- 
Colm

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

<div dir=3D"ltr">On Fri, May 19, 2017 at 11:40 AM, Ilari Liusvaara <span di=
r=3D"ltr">&lt;<a href=3D"mailto:ilariliusvaara@welho.com" target=3D"_blank"=
>ilariliusvaara@welho.com</a>&gt;</span> wrote:<br><div class=3D"gmail_extr=
a"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D=
"">&gt; * In order to fully reason about when that message may later get re=
ceived,<br>
&gt; there needs to be an agreed upon time-cap for 0-RTT receipt. Agreed by=
 all<br>
&gt; potential middle-boxes in the pipe that may be using 0-RTT.<br>
<br>
</span>Isn&#39;t that potentially multi-party problem if middleboxes are in=
volved?<br></blockquote><div><br></div><div>Yes; but if we can agree on a h=
ard maximum time-window for the 0RTT section, and all of the parties agree,=
 it&#39;s possible for a careful client to negotiate its way around it. Eve=
n if it&#39;s 10 seconds, this still has some value I think.=C2=A0</div><di=
v>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">
&gt; And then separate to all of the above, and lower priority:<br>
&gt;<br>
&gt; * There&#39;s a contradiction between the obfuscated ticket age add pa=
rameter<br>
&gt; and the desire to use tickets multiple times in other (non-0RTT) cases=
. We<br>
&gt; can&#39;t do one without defeating the point of the other. Either remo=
ve the<br>
&gt; obfuscation because it is misleading, or move it into an encrypted mes=
sage<br>
&gt; so that it is robust.<br>
<br>
</span>The purpose of obfustication is not to hide sibling sessions. The<br=
>
client already blows its cover by using the same session ID twice. The<br>
purpose of obfustication is to hide the parent session.=C2=A0</blockquote><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">
<br>
Are you talking about attackers being able to determine the rate of<br>
client clock?<br></blockquote><div><br></div><div>Right now if a ticket is =
used multiple times, then the ticket age can be derived (trivial cryptanaly=
sis due to re-using the same obfuscated offset, and because the progression=
 of time between the ticket uses is public); that means the parent session =
can be identified. So the point is defeated.=C2=A0</div><div><br></div><div=
>Either the one-time-pad can be used just one time (which means the ticket =
can be used just once) or we should move it to an encrypted message. Or jus=
t get rid of it and not be so misleading. But the current state is weird, t=
o say the least.=C2=A0</div><div><br></div></div>-- <br><div class=3D"gmail=
_signature" data-smartmail=3D"gmail_signature">Colm</div>
</div></div>

--94eb2c0ba6caf50b36054fe61c47--


From nobody Fri May 19 13:18:11 2017
Return-Path: <daniel.migault@ericsson.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 916EA1296B3; Fri, 19 May 2017 13:18:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level: 
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham 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 cRLqjpH99LDE; Fri, 19 May 2017 13:18:08 -0700 (PDT)
Received: from usplmg21.ericsson.net (usplmg21.ericsson.net [198.24.6.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD5C6129601; Fri, 19 May 2017 13:18:07 -0700 (PDT)
X-AuditID: c6180641-379ff700000037f2-56-591f0c9ea9ca
Received: from EUSAAHC008.ericsson.se (Unknown_Domain [147.117.188.96]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id A7.5C.14322.E9C0F195; Fri, 19 May 2017 17:17:53 +0200 (CEST)
Received: from EUSAAMB107.ericsson.se ([147.117.188.124]) by EUSAAHC008.ericsson.se ([147.117.188.96]) with mapi id 14.03.0339.000; Fri, 19 May 2017 16:18:03 -0400
From: Daniel Migault <daniel.migault@ericsson.com>
To: "tls@ietf.org" <tls@ietf.org>
CC: tls-chairs <tls-chairs@ietf.org>, Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, Eric Rescorla <ekr@rtfm.com>
Thread-Topic: New Version Notification for draft-ietf-tls-ecdhe-psk-aead-04.txt
Thread-Index: AQHS0NrpVSJ41Ryl70qjrVxUdZ5LmKH8E36w
Date: Fri, 19 May 2017 20:18:03 +0000
Message-ID: <2DD56D786E600F45AC6BDE7DA4E8A8C118BDBB01@eusaamb107.ericsson.se>
References: <149522417333.23956.7024977757521677892.idtracker@ietfa.amsl.com>
In-Reply-To: <149522417333.23956.7024977757521677892.idtracker@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [147.117.188.11]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJLMWRmVeSWpSXmKPExsUyuXRPgu5CHvlIg807DSxWvD7HbtGwM99i zokbLBafzncxOrB47Jx1l91jyZKfTB6TH7cxBzBHcdmkpOZklqUW6dslcGW8P/OWvaBLoeLb 28vMDYwL5LsYOTgkBEwkJl4W7mLk5BASOMooseNRdhcjF5C9nFHi4e3FbCAJNgEjibZD/ewg toiAosSOq91gNrNAlcSxZ8uZQWxhgQCJJ3f2MkHUBEpMWnsbyjaSeLOljRXEZhFQlZi38jAL iM0r4Ctx4OkiVpAbhIDsxQctQcKcAn4STZMXMYLYjAJiEt9PrWGCWCUucevJfDBbQkBAYsme 88wQtqjEy8f/WCFsJYmPv+ezg4xkFtCUWL9LH6JVUWJK90N2iK2CEidnPmGZwCg6C8nUWQgd s5B0zELSsYCRZRUjR2lxQU5uupHhJkZghByTYHPcwbi31/MQowAHoxIPryGnfKQQa2JZcWXu IUYJDmYlEd7FAUAh3pTEyqrUovz4otKc1OJDjNIcLErivO/KL0QICaQnlqRmp6YWpBbBZJk4 OKUaGL0WXbfqy3aq3LI/ZLtL8eZJdTEzeFZriLcfWDPvR8ncB8sTHx241fZv2aYtrpf+ztSS 9RVvdz98XZd10cppJ/sUi+Y85C9p9Fj/94eNqu18s69cU/X/3fY69K/lSVRlOl/VE3shdTvN ypUPTM4dOb5kvcayTSctOYKmaBtu+Xbk6skjGzyWK6xQYinOSDTUYi4qTgQAyzsEC4wCAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/NduV6USovfPfSkPqrfao4Vf88jg>
Subject: [TLS] FW: New Version Notification for draft-ietf-tls-ecdhe-psk-aead-04.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 20:18:10 -0000

SGksIA0KDQpUaGFuayB5b3UgdG8gYWxsIHJldmlld2VycyBmb3IgdGhlaXIgZmVlZCBiYWNrcy4g
UGxlYXNlIGZpbmQgdGhlIGxhdGVzdCB2ZXJzaW9uLCB3aGljaCBhcyBmYXIgYXMgSSBrbm93IGlu
Y2x1ZGVzIGFsbCBjb21tZW50cy4gQ29tbWVudHMgd2VyZSBub3QgY29udHJvdmVyc2lhbC4gSW4g
b3JkZXIgdG8gcmFpc2UgbmV4dCByZXZpZXdzIEkgYW0gcmFpc2luZyBhc3BlY3RzIHRoYXQgbWln
aHQgbmVlZCBhIGJpdCBtb3JlIGF0dGVudGlvbi4gIA0KDQoxKSAgVGhlIGN1cnJlbnQgZG9jdW1l
bnQgbWVudGlvbnMgSS1ELmlldGYtdGxzLXJmYzQ0OTJiaXMgYW5kIEktRC5pZXRmLXRscy10bHMx
MyBhcyBub3JtYXRpdmUuIFdlIGNhbiB3YWl0IGZvciB0aGVzZSBkb2N1bWVudHMgdG8gYmVjb21l
IFJGQ3MsIGJ1dCB3ZSBjYW4gYWxzbyBkb3dyZWYgdGhlbSB0byBpbmZvcm1hdGlvbmFsIHJlZmVy
ZW5jZSBpZiB3ZSB3YW50IHRvIG1vdmUgdGhhdCBkb2N1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vdXBsZSBvZiBtaW51dGVzIGZyb20gdGhlIHRpbWUgb2Ygc3VibWlzc2lvbiB1bnRp
bCB0aGUgaHRtbGl6ZWQgdmVyc2lvbiBhbmQgZGlmZiBhcmUgYXZhaWxhYmxlIGF0IHRvb2xzLmll
dGYub3JnLg0KDQpUaGUgSUVURiBTZWNyZXRhcmlhdA0KDQo=


From nobody Fri May 19 13:18:34 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A87312945A for <tls@ietfa.amsl.com>; Fri, 19 May 2017 13:18:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.199
X-Spam-Level: 
X-Spam-Status: No, score=-1.199 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, 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=allcosts-net.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 JVH-l0CoMGHP for <tls@ietfa.amsl.com>; Fri, 19 May 2017 13:18:31 -0700 (PDT)
Received: from mail-yw0-x22f.google.com (mail-yw0-x22f.google.com [IPv6:2607:f8b0:4002:c05::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 ECCE5124BFA for <tls@ietf.org>; Fri, 19 May 2017 13:18:30 -0700 (PDT)
Received: by mail-yw0-x22f.google.com with SMTP id l14so39739456ywk.1 for <tls@ietf.org>; Fri, 19 May 2017 13:18:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/96ZD0HZAe7UH1q+dTszIRABA+9Mbd9yT4HIwW5saBo=; b=AevEvDGe+sesn+8xl3o4doXWWpoV1urynduvqE+aC+FaDPhtLbu/BYrbSrFiZ1gqcK kMfOJxI27vhPVDszXrWuHJSueLA9BW+cVFj/D5A/vJyq/4ojo2YQk1VNSsBCjlqv8qk6 Vl9+olJ5SaHbscyK2ng7NlYgEh2fRMRIFzTGZ251r7Vheb6VAmAi5Yjygu9xOzxoedIi Bloql3wvTxEQ7dcM5aA5PVvBuqCmnkr0zWVjjifKulVjyEoklzJA7LTytrLty1gR1RNz qNXzw2Rd4+CCv1yhE+e1O3/FeiZjqHNKTst1U3rNjivtvcyJ3n7cABhwbGS3Cu6h8gnG KVug==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/96ZD0HZAe7UH1q+dTszIRABA+9Mbd9yT4HIwW5saBo=; b=fGrfRgFaiPsHTC3qBBFWagtGSFkSEbIfjT51z38y2kayoCvsjrEnqk+LPTfsmhTCZZ Ogy4b8drgsUZossYsehsYji2qvvgYMjQhRQ0q9mVmXRc/GY+iPiOjwBNhfPK3/Q6Y4kq sOtT0xn6ckmSdEgBOs3kFSqKoifeFE5Rcwy0V4sABLWAutoTxv5p85t0CGn5mmeAus3s pMrcKQvwtFsxr9DIqU57/2WUYPT07hgwODCrZFzLTPPpuqsyVsWKd0OwX6iIxGOOThnw pcJIm1d5slvaQzZvKdke/A24nl6sjRJFDPba+pq8CCViDSzFj2BenDWHQiss2VGhnONY Hzig==
X-Gm-Message-State: AODbwcCBSucjLtytupRcd+EpeTOwrAqe9QQ/mysogZpiAhIeIwf/Nfi2 tdFYUVAHINCHc4FeL58gmBjRBypDVRO9
X-Received: by 10.129.157.142 with SMTP id u136mr10101724ywg.323.1495225110203;  Fri, 19 May 2017 13:18:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Fri, 19 May 2017 13:18:29 -0700 (PDT)
In-Reply-To: <CABcZeBNQXGFXZJtX74zrx2V63tWBhvSQkYSrpYFdOOA=y81mOQ@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170519184051.GA31741@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNQXGFXZJtX74zrx2V63tWBhvSQkYSrpYFdOOA=y81mOQ@mail.gmail.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Fri, 19 May 2017 13:18:29 -0700
Message-ID: <CAAF6GDc9JZJV7CdevQUNLb9uAdLuumnYBn1Ce76xJt1UG=MPxA@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Ilari Liusvaara <ilariliusvaara@welho.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0b68aa8ddfca054fe6399d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/DSsntirAxuM3n3zjRvswgifHgmk>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 20:18:33 -0000

--94eb2c0b68aa8ddfca054fe6399d
Content-Type: text/plain; charset="UTF-8"

On Fri, May 19, 2017 at 11:44 AM, Eric Rescorla <ekr@rtfm.com> wrote:

> Yup. There are no known reasons that prevent at-most-once 0-RTT delivery,
>
>> even with distributed servers for the origin.
>>
>
> I don't disagree with that necessarily, but if the client responds by
> retransmitting
> in 1-RTT, then you don't have overall at-most-once.
>

Obviously this is fine for browsers; retry's make sense there anyway, and
so if we prevent mass-replay then there are no new attacks like the
side-channels and DOSes.

If a client needs to be more careful; with a hard-time limit on ticket use,
it can actually reason its way to at-most-once. It needs to wait out the
time limit, then do a read; to see if the original attempt succeeded or
not, and only then retry. That's a fairly common mode in eventually
consistent systems, loss-tolerant protocols and distributed consensus
protocols. For example some S3 clients and PAXOS systems work like this.

Of course it's very inconvenient to have to sometimes block for 10 seconds
(or whatever we pick), in return for a speed up of maybe as much as ~200ms
in the "ordinary" case; but it's the kind of trade-off that an
instrumentation system might make; like an industrial controller - where
day-to-day system liveness is a massive optimization benefit and the
occasional interruption is no big deal.

Super esoteric, and maybe we shouldn't even think too much about it, but I
bring it out because that construction is the only one I've found that gets
to at-most-once delivery; and it highlights that the existing system
explicitly doesn't and might just be needless complexity (the multiple
streams signaling).

-
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, May 19, 2017 at 11:44 AM, Eric Rescorla <span dir=3D"ltr">&lt;<=
a href=3D"mailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span=
> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Yup. There are =
no known reasons that prevent at-most-once 0-RTT delivery,<br><div class=3D=
"gmail_extra"><div class=3D"gmail_quote"><span class=3D""><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
even with distributed servers for the origin.<br></blockquote><div><br></di=
v></span><div>I don&#39;t disagree with that necessarily, but if the client=
 responds by retransmitting</div><div>in 1-RTT, then you don&#39;t have ove=
rall at-most-once.</div></div></div></div></blockquote><div><br></div><div>=
Obviously this is fine for browsers; retry&#39;s make sense there anyway, a=
nd so if we prevent mass-replay then there are no new attacks like the side=
-channels and DOSes. =C2=A0</div><div><br></div><div>If a client needs to b=
e more careful; with a hard-time limit on ticket use, it can actually reaso=
n its way to at-most-once. It needs to wait out the time limit, then do a r=
ead; to see if the original attempt succeeded or not, and only then retry. =
That&#39;s a fairly common mode in eventually consistent systems, loss-tole=
rant protocols and distributed consensus protocols. For example some S3 cli=
ents and PAXOS systems work like this.</div><div><br></div><div>Of course i=
t&#39;s very inconvenient to have to sometimes block for 10 seconds (or wha=
tever we pick), in return for a speed up of maybe as much as ~200ms in the =
&quot;ordinary&quot; case; but it&#39;s the kind of trade-off that an instr=
umentation system might make; like an industrial controller - where day-to-=
day system liveness is a massive optimization benefit and the occasional in=
terruption is no big deal.=C2=A0</div><div><br></div><div>Super esoteric, a=
nd maybe we shouldn&#39;t even think too much about it, but I bring it out =
because that construction is the only one I&#39;ve found that gets to at-mo=
st-once delivery; and it highlights that the existing system explicitly doe=
sn&#39;t and might just be needless complexity (the multiple streams signal=
ing).=C2=A0</div><div>=C2=A0</div><div>-=C2=A0</div><div>Colm</div></div>
</div></div>

--94eb2c0b68aa8ddfca054fe6399d--


From nobody Fri May 19 13:49:58 2017
Return-Path: <davidben@google.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E51A129B23 for <tls@ietfa.amsl.com>; Fri, 19 May 2017 13:49:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=chromium.org
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 gsgJ5t0zbnkO for <tls@ietfa.amsl.com>; Fri, 19 May 2017 13:49:54 -0700 (PDT)
Received: from mail-pg0-x22b.google.com (mail-pg0-x22b.google.com [IPv6:2607:f8b0:400e:c05::22b]) (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 61DEC129B19 for <tls@ietf.org>; Fri, 19 May 2017 13:49:54 -0700 (PDT)
Received: by mail-pg0-x22b.google.com with SMTP id x64so42997705pgd.3 for <tls@ietf.org>; Fri, 19 May 2017 13:49:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b4lt4YyChyTKzQOgpBN3zVNwq0mQ5kAxcRfknxj5izY=; b=CSoZCjcv4PQT+vibNrvoIM8MCsF+K298rjYpvwi2VhpNZ25mAEF8dOMbFJ6c6i0Fmv oRLN0CUCQU/a80eoJRlYRfAgwUAyicaNcjB3+hrpVv8GfAsxX6/AlAL76sY9W6fwUVpY wJ5O54Ldh91f04+HxwSJTbZMZRdM3wIxeBgsc=
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=b4lt4YyChyTKzQOgpBN3zVNwq0mQ5kAxcRfknxj5izY=; b=cFA03cbd3cfCctJwCVEpOGBw7MRuVVCit9DOqIWoFrOvSrUXIm/sAk43w8OS/W5VUo TblF8IN4dmdxzd7h++8r3nqYKC9VSEl2h3SMtxeJQUMz7d0p21S7L6F70vycOcyKB/kH 3+IZ2ZhbxbBJIbxkN2YAmN4p0EYGcg5sD/mGECp2umktKjtl25mSWNxou8gptO3HcO6x AHkb/eWFP6xrVeHaqP6VwnscrvAt7bI/xVXBolE2KqqnWTMH4OhQzP8GZfONWkF3q46i glwIkHrS5C5NPfwhOEI5I3BTh7q73yYbKwVJ8xq3utxmnCMMi2bkeuyDC5qYdPvwiV4S af8Q==
X-Gm-Message-State: AODbwcC+cCHj/G3z3yj28qmHgpg/w2S4M5O+Flm7oumHE7OQkl45+JjJ bm/BWsbKM8dGLUBxQgKX9JTKekIPa0PT
X-Received: by 10.98.153.76 with SMTP id d73mr12490725pfe.223.1495226993856; Fri, 19 May 2017 13:49:53 -0700 (PDT)
MIME-Version: 1.0
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170519184051.GA31741@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDcP3_+WOB1xsc7JecpCo2-MfeuHgkN7PVrUiLweeurv2g@mail.gmail.com>
In-Reply-To: <CAAF6GDcP3_+WOB1xsc7JecpCo2-MfeuHgkN7PVrUiLweeurv2g@mail.gmail.com>
From: David Benjamin <davidben@chromium.org>
Date: Fri, 19 May 2017 20:49:42 +0000
Message-ID: <CAF8qwaByGeGtap8gDB-p3n-0DMqEL9uJGJQ4EErfkq-SFcbHGQ@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>,  Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0bd3ead4483f054fe6a9ca"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/QRQ1_4Rv-e4ToaP6kVwuT7JUq8k>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 20:49:56 -0000

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

Seeing as this utterly ridiculous ticket_age_add thing is partially my
fault, I suppose I should respond:

On Fri, May 19, 2017 at 4:10 PM Colm MacC=C3=A1rthaigh <colm@allcosts.net>
wrote:

> > And then separate to all of the above, and lower priority:
>> >
>> > * There's a contradiction between the obfuscated ticket age add
>> parameter
>> > and the desire to use tickets multiple times in other (non-0RTT) cases=
.
>> We
>> > can't do one without defeating the point of the other. Either remove t=
he
>> > obfuscation because it is misleading, or move it into an encrypted
>> message
>> > so that it is robust.
>>
>> The purpose of obfustication is not to hide sibling sessions. The
>> client already blows its cover by using the same session ID twice. The
>> purpose of obfustication is to hide the parent session.
>
>
>> Are you talking about attackers being able to determine the rate of
>> client clock?
>>
>
> Right now if a ticket is used multiple times, then the ticket age can be
> derived (trivial cryptanalysis due to re-using the same obfuscated offset=
,
> and because the progression of time between the ticket uses is public);
> that means the parent session can be identified. So the point is defeated=
.
>

Could you expand on your cryptanalysis? I don't believe this is actually
leaked. It's addition mod 2^32, not XOR, which means you effectively
randomize the parent starting time. (It was initially XOR, and then
shortly changed
to addition
<https://www.ietf.org/mail-archive/web/tls/current/msg20376.html>.)
Consider:

initial connection at time t1, issues a ticket with ticket_age_add =3D x. L=
et
t1' =3D t1 - x.
Resumption 1 at time t2, offers t1's ticket. The attacker learns t2 - t1 +
x =3D t2 - t1'.
Resumption 2 (or HelloRetryRequest) at time t3, offers t1's ticket. The
attacker learns t3 - t1 + x =3D t3 - t1'.

x is uniformly distributed over [0, 2^32), so t1' =3D t1 - x is as well. Th=
is
is a one-time pad on t1, correctly used only once. x is only ever used to
encrypt one timestamp, t1.

Of course, the attacker can correlate t2 and t3 by subtracting the two
public values and checking against the public difference between
connections they observe. But the ticket's already leaked anyway.


> Either the one-time-pad can be used just one time (which means the ticket
> can be used just once) or we should move it to an encrypted message. Or
> just get rid of it and not be so misleading. But the current state is
> weird, to say the least.
>

I believe stuffing something into an AEAD was proposed and then rejected by
the cryptographers for some reason? You'd have to ask other folks for
details. I just recall being told that was a previous rejected proposal.
Accordingly, I suggested the dumbest thing that could possibly work,
intending it be so dumb that it could not possibly have consequences beyond
patching that correlation hole. :-)

David

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

<div dir=3D"ltr"><div class=3D"gmail_quote"><div>Seeing as this utterly rid=
iculous ticket_age_add thing is partially my fault, I suppose I should resp=
ond:</div></div><div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr=
"><br></div><div dir=3D"ltr">On Fri, May 19, 2017 at 4:10 PM Colm MacC=C3=
=A1rthaigh &lt;<a href=3D"mailto:colm@allcosts.net" target=3D"_blank">colm@=
allcosts.net</a>&gt; wrote:=C2=A0<br></div><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><=
div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex"><span>
&gt; And then separate to all of the above, and lower priority:<br>
&gt;<br>
&gt; * There&#39;s a contradiction between the obfuscated ticket age add pa=
rameter<br>
&gt; and the desire to use tickets multiple times in other (non-0RTT) cases=
. We<br>
&gt; can&#39;t do one without defeating the point of the other. Either remo=
ve the<br>
&gt; obfuscation because it is misleading, or move it into an encrypted mes=
sage<br>
&gt; so that it is robust.<br>
<br>
</span>The purpose of obfustication is not to hide sibling sessions. The<br=
>
client already blows its cover by using the same session ID twice. The<br>
purpose of obfustication is to hide the parent session.=C2=A0</blockquote><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">
<br>
Are you talking about attackers being able to determine the rate of<br>
client clock?<br></blockquote><div><br></div></div></div></div><div dir=3D"=
ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div>Right now i=
f a ticket is used multiple times, then the ticket age can be derived (triv=
ial cryptanalysis due to re-using the same obfuscated offset, and because t=
he progression of time between the ticket uses is public); that means the p=
arent session can be identified. So the point is defeated.=C2=A0</div></div=
></div></div></blockquote><div><br></div></div></div><div dir=3D"ltr"><div =
class=3D"gmail_quote"><div>Could you expand on your cryptanalysis? I don&#3=
9;t believe this is actually leaked. It&#39;s addition mod 2^32, not XOR, w=
hich means you=C2=A0effectively randomize the parent starting time. (It was=
 initially XOR, and then shortly=C2=A0<a href=3D"https://www.ietf.org/mail-=
archive/web/tls/current/msg20376.html" target=3D"_blank">changed to additio=
n</a>.) Consider:</div><div><br></div><div>initial connection at time t1, i=
ssues a ticket with ticket_age_add =3D x. Let t1&#39; =3D t1 - x.</div><div=
>Resumption 1 at time t2, offers t1&#39;s ticket. The attacker learns t2 - =
t1=C2=A0+ x =3D t2 - t1&#39;.</div><div>Resumption 2 (or HelloRetryRequest)=
 at time t3, offers t1&#39;s ticket.=C2=A0The attacker learns t3 - t1 + x=
=C2=A0=3D t3 - t1&#39;.</div><div><br></div><div>x is uniformly distributed=
 over [0, 2^32), so t1&#39; =3D t1 - x is as well. This is a one-time pad o=
n t1, correctly used only once. x is only ever used to encrypt one timestam=
p, t1.</div><div></div><div><br></div><div>Of course, the attacker can corr=
elate t2 and t3 by subtracting the two public values and checking against t=
he public difference between connections they observe. But the ticket&#39;s=
 already leaked anyway.</div></div></div><div dir=3D"ltr"><div class=3D"gma=
il_quote"><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">=
<div class=3D"gmail_extra"><div class=3D"gmail_quote"><div>Either the one-t=
ime-pad can be used just one time (which means the ticket can be used just =
once) or we should move it to an encrypted message. Or just get rid of it a=
nd not be so misleading. But the current state is weird, to say the least.=
=C2=A0</div></div></div></div></blockquote><div><br></div></div></div><div =
dir=3D"ltr"><div class=3D"gmail_quote"><div>I believe stuffing something in=
to an AEAD was proposed and then rejected by the cryptographers for some re=
ason? You&#39;d have to ask other folks for details. I just recall being to=
ld that was a previous rejected proposal. Accordingly, I suggested the dumb=
est thing that could possibly work, intending it be so dumb that it could n=
ot possibly have consequences beyond patching that correlation hole. :-)<br=
></div></div></div><div dir=3D"ltr"><div class=3D"gmail_quote"><div><br></d=
iv><div>David</div></div></div></div>

--94eb2c0bd3ead4483f054fe6a9ca--


From nobody Fri May 19 13:51:26 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB7D0129B19 for <tls@ietfa.amsl.com>; Fri, 19 May 2017 13:51:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_20=-0.001] autolearn=ham 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 VEq1vd-DxMkg for <tls@ietfa.amsl.com>; Fri, 19 May 2017 13:51:23 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E6C8D129B45 for <tls@ietf.org>; Fri, 19 May 2017 13:51:22 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 24F557A32F1 for <tls@ietf.org>; Fri, 19 May 2017 20:51:22 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com>
Date: Fri, 19 May 2017 16:51:21 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/OMzWYbPe1TrovqT8PgAdg6d39gI>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 20:51:25 -0000

> On May 19, 2017, at 5:34 AM, Sankalp Bagaria <sankalp.nitt@gmail.com> =
wrote:
>=20
> I would like to mention that TLS can be used with non-X.509 =
certificates also.
> In particular, it can be used with ITS ETSI and IEEE certificates.=20
> =
https://datatracker.ietf.org/doc/html/draft-serhrouchni-tls-certieee1609
>=20
> So, in my opinion, TLS should be very loosely or not at all coupled =
with=20
> RFC 5280.

Which brings us to some more undesirable layer violation in the current
draft.  The language in question is appropriate for updates to RFC5280,
but does not belong in TLS.  The problems in question are largely
already addressed elsewhere (as CAs no longer issue MD5, SHA1, ...
certificates, browsers no longer support them, ...) and continue to
be further remediated in the appropriate standards and products.

Therefore delete:

   Section 4.2.3 (Legacy algorithms paragraph final sentence):

      ...                                       TLS 1.3 servers
      MUST NOT offer a SHA-1 signed certificate unless no valid
      certificate chain can be produced without it (see
      Section 4.4.2.2).

   Section 4.4.2.2:

   ...          This fallback chain MAY use the deprecated SHA-1 hash
   algorithm only if the "signature_algorithms" extension provided by
   the client permits it.  If the client cannot construct an acceptable
   chain using the provided certificates and decides to abort the
   handshake, then it MUST abort the handshake with an
   "unsupported_certificate" alert.

   Section 4.4.2.4:

   Any endpoint receiving any certificate signed using any signature
   algorithm using an MD5 hash MUST abort the handshake with a
   "bad_certificate" alert.  SHA-1 is deprecated and it is RECOMMENDED
   that any endpoint receiving any certificate signed using any
   signature algorithm using a SHA-1 hash abort the handshake with a
   "bad_certificate" alert.  All endpoints are RECOMMENDED to transition
   to SHA-256 or better as soon as possible to maintain interoperability
   with implementations currently in the process of phasing out SHA-1
   support.

I note that TLS 1.3 does not have any language prohibiting MD2, MDC2DES,
MD4, RIPEMD160, private signature oids, ... that may be weaker than =
SHA-1
or even MD5.

Opportunistic unauthenticated TLS ignores the peer certificate and =
should
not have to fall back to cleartext just because some certificate in the
chain is not sufficiently sexy.  There are other legitimate use cases =
where
the restrictions above are inappropriate.

The reason I am pointing this out is that I just had to waste a bunch of
time convincing the rest of the OpenSSL team to ignore the draft =
language
in question, and just stick with whatever "security level" (floor on
algorithm strength) the application or default settings requested.  This
already excludes MD5 by default, and we'll likely adjust the collision
resistance rating of SHA-1 from 2^80 to its reported ~2^64 strength =
(from
the recent Google collision announcement), after which SHA-1 will also
be excluded at security level 1.  This will be done in the X.509 ala =
PKIX
code and not the TLS code, and applications that ignore the chain or do
DANE-EE(3), ... will not be affected.

I propose that the current draft language is just a landmine for TLS
implementations, that addresses a non-problem (or more precisely a
problem that is more properly and well addressed elsewhere).

--=20
	Viktor.


From nobody Fri May 19 13:58:35 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 161A4129B19 for <tls@ietfa.amsl.com>; Fri, 19 May 2017 13:58:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 EurZ0nfTMAAo for <tls@ietfa.amsl.com>; Fri, 19 May 2017 13:58:33 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B14381296D2 for <tls@ietf.org>; Fri, 19 May 2017 13:58:33 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 11A587A32F1 for <tls@ietf.org>; Fri, 19 May 2017 20:58:33 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAF8qwaByGeGtap8gDB-p3n-0DMqEL9uJGJQ4EErfkq-SFcbHGQ@mail.gmail.com>
Date: Fri, 19 May 2017 16:58:32 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <5513C0EF-3282-4B87-AF0B-3B07D1094B50@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170519184051.GA31741@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDcP3_+WOB1xsc7JecpCo2-MfeuHgkN7PVrUiLweeurv2g@mail.gmail.com> <CAF8qwaByGeGtap8gDB-p3n-0DMqEL9uJGJQ4EErfkq-SFcbHGQ@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/PmEXGG4j0uHgmy3_PAnliyCoE8c>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 20:58:35 -0000

> On May 19, 2017, at 4:49 PM, David Benjamin <davidben@chromium.org> =
wrote:
>=20
> Could you expand on your cryptanalysis? I don't believe this is =
actually leaked. It's addition mod 2^32, not XOR, which means you =
effectively randomize the parent starting time. (It was initially XOR, =
and then shortly changed to addition.) Consider:
>=20
> initial connection at time t1, issues a ticket with ticket_age_add =3D =
x. Let t1' =3D t1 - x.
> Resumption 1 at time t2, offers t1's ticket. The attacker learns t2 - =
t1 + x =3D t2 - t1'.
> Resumption 2 (or HelloRetryRequest) at time t3, offers t1's ticket. =
The attacker learns t3 - t1 + x =3D t3 - t1'.
>=20
> x is uniformly distributed over [0, 2^32), so t1' =3D t1 - x is as =
well. This is a one-time pad on t1, correctly used only once. x is only =
ever used to encrypt one timestamp, t1.
>=20
> Of course, the attacker can correlate t2 and t3 by subtracting the two =
public values and checking against the public difference between =
connections they observe. But the ticket's already leaked anyway.

+1.  The additive obfuscation leaks nothing that is not already leaked =
just by sending the tickets.

--=20
	Viktor.


From nobody Fri May 19 14:35:33 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9436F12717E for <tls@ietfa.amsl.com>; Fri, 19 May 2017 14:35:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 DW_KTzyOTby9 for <tls@ietfa.amsl.com>; Fri, 19 May 2017 14:35:31 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 25FDC1200F1 for <tls@ietf.org>; Fri, 19 May 2017 14:35:31 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTP id 86B5A20051C27; Fri, 19 May 2017 14:35:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=cryptonector.com; bh=pbwhRz3gsB/pxUJphPCGSLBU4zA =; b=HWNeL/ZNTyF+rvYNL2S+x1f4GtEsNvC2BXNfsbqq38RSUppFJOqLbtmZBOM 62CqnZdbNrhIoKyaH/kZmoRcapq7pMnWCNmIJvJ9wm9ozUEvdejhSaf/o40N0ME1 DAHS/i6QSmiC+bBCb7Ytbu1LCE2C7imr4yGVkXSegm4TNxRA=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTPSA id 5221C20051C24; Fri, 19 May 2017 14:35:30 -0700 (PDT)
Date: Fri, 19 May 2017 16:35:27 -0500
From: Nico Williams <nico@cryptonector.com>
To: TLS WG <tls@ietf.org>
Message-ID: <20170519213526.GL10188@localhost>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/GuwJKg_JPwjtaVGdLrhBR-2Mm0I>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 21:35:32 -0000

On Fri, May 19, 2017 at 04:51:21PM -0400, Viktor Dukhovni wrote:
> Which brings us to some more undesirable layer violation in the current
> draft.  The language in question is appropriate for updates to RFC5280,
> but does not belong in TLS.  The problems in question are largely
> already addressed elsewhere (as CAs no longer issue MD5, SHA1, ...
> certificates, browsers no longer support them, ...) and continue to
> be further remediated in the appropriate standards and products.
> 
> Therefore delete:

+1

Grounds:

 - layering violation (though arguably this TLS 1.3 could be made to
   update RFC5280, we shouldn't want to do that)

 - banning some, but not all weak algorithms is a knee-jerk reaction --
   it's reactionary

 - this hurts applications that don't care for TLS server
   authentication -- applications which either don't care for server
   authentication at all, or which will use channel binding

 - it's much better to have a security level knob that disables weak
   algorithms

   (apps which don't care for TLS server authentication... need two such
   knobs: one for server authentication (on/off) and one for security
   level for key agreement, PRF, and ciphersuite negotiation)

> I note that TLS 1.3 does not have any language prohibiting MD2, MDC2DES,
> MD4, RIPEMD160, private signature oids, ... that may be weaker than SHA-1
> or even MD5.

That could be fixed, of course.  But let's not.

> The reason I am pointing this out is that I just had to waste a bunch of
> time convincing the rest of the OpenSSL team to ignore the draft language
> in question, and just stick with whatever "security level" (floor on
> algorithm strength) the application or default settings requested.  This

I much prefer the idea that there MUST be a security level knob for the
user/application.

> already excludes MD5 by default, and we'll likely adjust the collision
> resistance rating of SHA-1 from 2^80 to its reported ~2^64 strength (from
> the recent Google collision announcement), after which SHA-1 will also
> be excluded at security level 1.  This will be done in the X.509 ala PKIX
> code and not the TLS code, and applications that ignore the chain or do
> DANE-EE(3), ... will not be affected.

That's right: for PKIX server authentication, the security level
enforcement should be done in PKIX code, not in TLS code.  This is an
excellent example of how layering in Internet protocols should translate
into layering into implementations.  Conversely, this is also an example
of how layering violations in Internet protocols lead to layering
violations in implementations.

> I propose that the current draft language is just a landmine for TLS
> implementations, that addresses a non-problem (or more precisely a
> problem that is more properly and well addressed elsewhere).

+1.

Nico
-- 


From nobody Fri May 19 15:06:50 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 18233129AAA for <tls@ietfa.amsl.com>; Fri, 19 May 2017 15:06:49 -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=allcosts-net.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 0caBQGZxTlvo for <tls@ietfa.amsl.com>; Fri, 19 May 2017 15:06:47 -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 672991294C4 for <tls@ietf.org>; Fri, 19 May 2017 15:06:47 -0700 (PDT)
Received: by mail-yw0-x22e.google.com with SMTP id l14so40665344ywk.1 for <tls@ietf.org>; Fri, 19 May 2017 15:06:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=sNveR7guMwKFj7hYi0otiwVnOt7V/BcqJE0INDGmcEo=; b=aQAkqN8hPlPWftqCp77bzQG9U5PCYX730xyD3Idq1hl3W9nEWj869kiwT/fScVB5xN 6EoMWz0p36tW38G358uSXl1e85dsTrfCFfQSPTFKl/p5PFlSeWvNg2y7dD202szkszAM +5DUxFwJpCswMcNkiSdyhrV3bQZT3H38y4DDpEVJ1sWknpmrVNFJ1xldfPGQjUvdeDaf FT3n5B6kuRJMKJXoab8Ik3yEQB12ZqY9PsKh1/9FZEuTkMYbZdDXHTWw22ztJsgWCFig 8o0Yn+D8BYFVDHbU10Bjd9md32B9ntDztmHVAtEPaUP4qV1pgLtuk68JBYjj5ZRwWRxN HMUA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=sNveR7guMwKFj7hYi0otiwVnOt7V/BcqJE0INDGmcEo=; b=EaLxmg4isi+H4CHoMaHz/5LOQW/EJSJJnZKqhbpA3iBRjNDwXc9cpYV7SDlTB4AIIu JC63RIamBfixS1YbsstpoEOMLRSKhLz/4VkexVrD5L8EwJAuOTJ/u0ZG4yA8kh8p8DTR Rn2h/gkKOsV8h/SyGVlvbqy5EYpoH2DlfuKse+uhft1YvfmaHLB6q9P7HAmtc080k7r0 +WuOebiDaiBTCV3rwR8eQ5fFBJmpjDwOIW/K9E1feX5xUyJC8MuMMTj9VrIyoI4sa2v0 4CVhDtZ6vSof27Syg2hmol7c+tc5zHwycMNSCPWocJLI9biAYxJcqwYxcyUX7HsB6qIF 8qDg==
X-Gm-Message-State: AODbwcA66tg7fIuC9PM0vouol92bli1To507GIEoon+oHR+gck7jp9LF LQXodeDY2eL+3m0QgusnxYir/cTF6/+7MVA=
X-Received: by 10.13.237.134 with SMTP id w128mr9536866ywe.122.1495231605993;  Fri, 19 May 2017 15:06:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.57.67 with HTTP; Fri, 19 May 2017 15:06:45 -0700 (PDT)
In-Reply-To: <5513C0EF-3282-4B87-AF0B-3B07D1094B50@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170519184051.GA31741@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDcP3_+WOB1xsc7JecpCo2-MfeuHgkN7PVrUiLweeurv2g@mail.gmail.com> <CAF8qwaByGeGtap8gDB-p3n-0DMqEL9uJGJQ4EErfkq-SFcbHGQ@mail.gmail.com> <5513C0EF-3282-4B87-AF0B-3B07D1094B50@dukhovni.org>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Fri, 19 May 2017 15:06:45 -0700
Message-ID: <CAAF6GDeuugk1=tShjVyt8LMX+L2qKkgEM5AyyA5SMbLudkO=_A@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c08853ebbb4af054fe7bcd5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/cNLz13cU3sfBBKSMVp4SIwRhrIE>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 22:06:49 -0000

--94eb2c08853ebbb4af054fe7bcd5
Content-Type: text/plain; charset="UTF-8"

On Fri, May 19, 2017 at 1:58 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:
>
> +1.  The additive obfuscation leaks nothing that is not already leaked
> just by sending the tickets.
>

You're both right, that does work out. I was thinking my balanced equations
stupidly and solving for x while forgetting that t1' is secret.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, May 19, 2017 at 1:58 PM, Viktor Dukhovni <span dir=3D"ltr">&lt;=
<a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukho=
vni.org</a>&gt;</span> wrote:<blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-=
left-color:rgb(204,204,204);padding-left:1ex">+1.=C2=A0 The additive obfusc=
ation leaks nothing that is not already leaked just by sending the tickets.=
<br></blockquote><div><br></div><div>You&#39;re both right, that does work =
out. I was thinking my balanced equations stupidly and solving for x while =
forgetting that t1&#39; is secret.=C2=A0</div><div><br></div></div>-- <br><=
div class=3D"gmail_signature">Colm</div>
</div></div>

--94eb2c08853ebbb4af054fe7bcd5--


From nobody Fri May 19 15:43:28 2017
Return-Path: <dromasca@gmail.com>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 68E1E129B5E; Fri, 19 May 2017 15:43:27 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Dan Romascanu <dromasca@gmail.com>
To: <gen-art@ietf.org>
Cc: draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, ietf@ietf.org, tls@ietf.org, dromasca@gmail.com
X-Test-IDTracker: no
X-IETF-IDTracker: 6.51.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149523380739.28567.9584998643479497589@ietfa.amsl.com>
Date: Fri, 19 May 2017 15:43:27 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/d1-R8xNDWq3JRKkMDy3bRSNdLSo>
Subject: [TLS] Genart telechat review of draft-ietf-tls-ecdhe-psk-aead-04
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 22:43:27 -0000

Reviewer: Dan Romascanu
Review result: Ready

I am the assigned Gen-ART reviewer for this draft. The General Area
Review Team (Gen-ART) reviews all IETF documents being processed
by the IESG for the IETF Chair. Please wait for direction from your
document shepherd or AD before posting a new version of the draft.

For more information, please see the FAQ at

<https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.

Document: draft-ietf-tls-ecdhe-psk-aead-??
Reviewer: Dan Romascanu
Review Date: 2017-05-19
IETF LC End Date: 2017-05-18
IESG Telechat date: 2017-05-25

Summary:

This is a straight-forward and clear document that defines several new
cipher suites for the Transport Layer Security (TLS) protocol version
1.2 and higher, based on the Ephemeral Elliptic Curve Diffie-Hellman
with Pre-Shared Key (ECDHE_PSK) key exchange together with the
Authenticated Encryption with Associated Data (AEAD) algorithms
AES-GCM and AES-CCM. The document is well written and I appreciate the
effort to clarify in the Introduction the context, what was missing,
and why the document is necessary. One issue raised in my initial
review for draft-03 was addressed, discussed and draft-04 includes
useful clarification text. 

The document is Ready

Major issues:

Minor issues:

Nits/editorial comments: 



From nobody Fri May 19 15:47:17 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8EC49129B5F for <tls@ietfa.amsl.com>; Fri, 19 May 2017 15:47:15 -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 50ICqK9y8PDW for <tls@ietfa.amsl.com>; Fri, 19 May 2017 15:47:13 -0700 (PDT)
Received: from mail-yw0-x233.google.com (mail-yw0-x233.google.com [IPv6:2607:f8b0:4002:c05::233]) (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 748B8129B4D for <tls@ietf.org>; Fri, 19 May 2017 15:47:13 -0700 (PDT)
Received: by mail-yw0-x233.google.com with SMTP id l14so40927278ywk.1 for <tls@ietf.org>; Fri, 19 May 2017 15:47:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BdOfDOTBZIbhiKGX9idcYMf66qmhEj8CDo6OAtPiklc=; b=SPcrOQKXWwWMqUwAbR6QvcaChQrKzITFiClhNraNLGKStOJ2PRX2tKiskQC3QxQpA8 RKlkFhQoxw0L+kZcxaM9J+d6BZHeL271Qtog6wV3l6OpJrmY9NSb9csB1k7i7C0H6Lxy JXbzWrBu4Dfs5PSsruuhqNnSPqlO0lrn/12IiBYYkRrNY1o3HL0gd69B0D5hTceuGYZt Xl611pn3XJSXn1FDM3YoTFmKHp59GWSlv8Gp8ph5hNG5/Va+sW72gG6zRKjgxd1mzfjg oDvueJYy34FaHT4d9nYxjTA6ixL/feHoOFDsHb6T5tYXtKQhxjsAsqIkGHxMY9JG++hs kB+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BdOfDOTBZIbhiKGX9idcYMf66qmhEj8CDo6OAtPiklc=; b=MY7XXYg++vcAYnO6LRM5UvniBQGSDJjrRy+bpxD927nvESFtZAvIr435WqOJw59Xp2 dRv5IsyfHcX0OZ9fkJEnC58Fc1wBDQvF66QWZ6iOCZIqmqv3jnWTB1K3/sNz9JHCGcgi wO4fkYZKxIU7soGqgpJn1FJcf7vYCBXig2aHI6vVVHiLY7GgfP5Mm1lmgxZcVUHMoHUT tcm1dxz4N/PlJHBi11RMKsgAz2HU++75kz7GQdJyB3jJJ/2svwI3MNEtJQsvb+8GPGce D1cIXKR3qHVCFqOww/WMnIo5qb9hfEoKj5ngEpvq/hYe4h/4ZnNsS290UdbFP/ETP06s oUjg==
X-Gm-Message-State: AODbwcBL4uZYHOUBBygP2jcQTVpRnGOGO2RNeswJZTgkEQWbLolnWduS CPAOAlqmARhgf1EZjsXifccapsIIPCHk
X-Received: by 10.13.212.1 with SMTP id w1mr9565878ywd.24.1495234032751; Fri, 19 May 2017 15:47:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Fri, 19 May 2017 15:46:32 -0700 (PDT)
In-Reply-To: <CAF8qwaByGeGtap8gDB-p3n-0DMqEL9uJGJQ4EErfkq-SFcbHGQ@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170519184051.GA31741@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDcP3_+WOB1xsc7JecpCo2-MfeuHgkN7PVrUiLweeurv2g@mail.gmail.com> <CAF8qwaByGeGtap8gDB-p3n-0DMqEL9uJGJQ4EErfkq-SFcbHGQ@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 19 May 2017 18:46:32 -0400
Message-ID: <CABcZeBPcWawAWCtUHY77mWnD4iykfUgOkE5zNr6_uq+TokGAPg@mail.gmail.com>
To: David Benjamin <davidben@chromium.org>
Cc: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>,  Ilari Liusvaara <ilariliusvaara@welho.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a114fb0f6610677054fe84dc5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/pzSq5c0yYYhOvREJvtpOT02d1Vc>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 22:47:15 -0000

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

On Fri, May 19, 2017 at 4:49 PM, David Benjamin <davidben@chromium.org>
wrote:

> Seeing as this utterly ridiculous ticket_age_add thing is partially my
> fault, I suppose I should respond:
>
> On Fri, May 19, 2017 at 4:10 PM Colm MacC=C3=A1rthaigh <colm@allcosts.net=
>
> wrote:
>
>> > And then separate to all of the above, and lower priority:
>>> >
>>> > * There's a contradiction between the obfuscated ticket age add
>>> parameter
>>> > and the desire to use tickets multiple times in other (non-0RTT)
>>> cases. We
>>> > can't do one without defeating the point of the other. Either remove
>>> the
>>> > obfuscation because it is misleading, or move it into an encrypted
>>> message
>>> > so that it is robust.
>>>
>>> The purpose of obfustication is not to hide sibling sessions. The
>>> client already blows its cover by using the same session ID twice. The
>>> purpose of obfustication is to hide the parent session.
>>
>>
>>> Are you talking about attackers being able to determine the rate of
>>> client clock?
>>>
>>
>> Right now if a ticket is used multiple times, then the ticket age can be
>> derived (trivial cryptanalysis due to re-using the same obfuscated offse=
t,
>> and because the progression of time between the ticket uses is public);
>> that means the parent session can be identified. So the point is defeate=
d.
>>
>
> Could you expand on your cryptanalysis? I don't believe this is actually
> leaked. It's addition mod 2^32, not XOR, which means you effectively
> randomize the parent starting time. (It was initially XOR, and then short=
ly changed
> to addition
> <https://www.ietf.org/mail-archive/web/tls/current/msg20376.html>.)
> Consider:
>
> initial connection at time t1, issues a ticket with ticket_age_add =3D x.
> Let t1' =3D t1 - x.
> Resumption 1 at time t2, offers t1's ticket. The attacker learns t2 - t1 =
+
> x =3D t2 - t1'.
> Resumption 2 (or HelloRetryRequest) at time t3, offers t1's ticket. The
> attacker learns t3 - t1 + x =3D t3 - t1'.
>
> x is uniformly distributed over [0, 2^32), so t1' =3D t1 - x is as well.
> This is a one-time pad on t1, correctly used only once. x is only ever us=
ed
> to encrypt one timestamp, t1.
>
> Of course, the attacker can correlate t2 and t3 by subtracting the two
> public values and checking against the public difference between
> connections they observe. But the ticket's already leaked anyway.
>
>
>> Either the one-time-pad can be used just one time (which means the ticke=
t
>> can be used just once) or we should move it to an encrypted message. Or
>> just get rid of it and not be so misleading. But the current state is
>> weird, to say the least.
>>
>
> I believe stuffing something into an AEAD was proposed and then rejected
> by the cryptographers for some reason? You'd have to ask other folks for
> details. I just recall being told that was a previous rejected proposal.
> Accordingly, I suggested the dumbest thing that could possibly work,
> intending it be so dumb that it could not possibly have consequences beyo=
nd
> patching that correlation hole. :-)
>

What was rejected was actually having the stuffed Finished be an
AEAD-encrypted block
containing stuff like the ticket_age. We could certainly derive a new key
and AEAD it if
we wanted to, that just seemed like a lot more work than I think people
wanted to do.

-Ekr


>
>
> David
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, May 19, 2017 at 4:49 PM, David Benjamin <span dir=3D"ltr">&lt;<=
a href=3D"mailto:davidben@chromium.org" target=3D"_blank">davidben@chromium=
.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"lt=
r"><div class=3D"gmail_quote"><div>Seeing as this utterly ridiculous ticket=
_age_add thing is partially my fault, I suppose I should respond:</div></di=
v><span class=3D""><div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"=
ltr"><br></div><div dir=3D"ltr">On Fri, May 19, 2017 at 4:10 PM Colm MacC=
=C3=A1rthaigh &lt;<a href=3D"mailto:colm@allcosts.net" target=3D"_blank">co=
lm@allcosts.net</a>&gt; wrote:=C2=A0<br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex"><span>
&gt; And then separate to all of the above, and lower priority:<br>
&gt;<br>
&gt; * There&#39;s a contradiction between the obfuscated ticket age add pa=
rameter<br>
&gt; and the desire to use tickets multiple times in other (non-0RTT) cases=
. We<br>
&gt; can&#39;t do one without defeating the point of the other. Either remo=
ve the<br>
&gt; obfuscation because it is misleading, or move it into an encrypted mes=
sage<br>
&gt; so that it is robust.<br>
<br>
</span>The purpose of obfustication is not to hide sibling sessions. The<br=
>
client already blows its cover by using the same session ID twice. The<br>
purpose of obfustication is to hide the parent session.=C2=A0</blockquote><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">
<br>
Are you talking about attackers being able to determine the rate of<br>
client clock?<br></blockquote><div><br></div></div></div></div><div dir=3D"=
ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div>Right now i=
f a ticket is used multiple times, then the ticket age can be derived (triv=
ial cryptanalysis due to re-using the same obfuscated offset, and because t=
he progression of time between the ticket uses is public); that means the p=
arent session can be identified. So the point is defeated.=C2=A0</div></div=
></div></div></blockquote><div><br></div></div></div></span><div dir=3D"ltr=
"><div class=3D"gmail_quote"><div>Could you expand on your cryptanalysis? I=
 don&#39;t believe this is actually leaked. It&#39;s addition mod 2^32, not=
 XOR, which means you=C2=A0effectively randomize the parent starting time. =
(It was initially XOR, and then shortly=C2=A0<a href=3D"https://www.ietf.or=
g/mail-archive/web/tls/current/msg20376.html" target=3D"_blank">changed to =
addition</a>.) Consider:</div><div><br></div><div>initial connection at tim=
e t1, issues a ticket with ticket_age_add =3D x. Let t1&#39; =3D t1 - x.</d=
iv><div>Resumption 1 at time t2, offers t1&#39;s ticket. The attacker learn=
s t2 - t1=C2=A0+ x =3D t2 - t1&#39;.</div><div>Resumption 2 (or HelloRetryR=
equest) at time t3, offers t1&#39;s ticket.=C2=A0The attacker learns t3 - t=
1 + x=C2=A0=3D t3 - t1&#39;.</div><div><br></div><div>x is uniformly distri=
buted over [0, 2^32), so t1&#39; =3D t1 - x is as well. This is a one-time =
pad on t1, correctly used only once. x is only ever used to encrypt one tim=
estamp, t1.</div><div></div><div><br></div><div>Of course, the attacker can=
 correlate t2 and t3 by subtracting the two public values and checking agai=
nst the public difference between connections they observe. But the ticket&=
#39;s already leaked anyway.</div></div></div><span class=3D""><div dir=3D"=
ltr"><div class=3D"gmail_quote"><div>=C2=A0</div><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"=
><div>Either the one-time-pad can be used just one time (which means the ti=
cket can be used just once) or we should move it to an encrypted message. O=
r just get rid of it and not be so misleading. But the current state is wei=
rd, to say the least.=C2=A0</div></div></div></div></blockquote><div><br></=
div></div></div></span><div dir=3D"ltr"><div class=3D"gmail_quote"><div>I b=
elieve stuffing something into an AEAD was proposed and then rejected by th=
e cryptographers for some reason? You&#39;d have to ask other folks for det=
ails. I just recall being told that was a previous rejected proposal. Accor=
dingly, I suggested the dumbest thing that could possibly work, intending i=
t be so dumb that it could not possibly have consequences beyond patching t=
hat correlation hole. :-)</div></div></div></div></blockquote><div>=C2=A0</=
div><div>What was rejected was actually having the stuffed Finished be an A=
EAD-encrypted block</div><div>containing stuff like the ticket_age. We coul=
d certainly derive a new key and AEAD it if</div><div>we wanted to, that ju=
st seemed like a lot more work than I think people wanted to do.</div><div>=
<br></div><div>-Ekr</div><div>=C2=A0</div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><d=
iv dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_quote"><div><span class=
=3D"HOEnZb"><font color=3D"#888888"><br></font></span></div></div></div><sp=
an class=3D"HOEnZb"><font color=3D"#888888"><div dir=3D"ltr"><div class=3D"=
gmail_quote"><div><br></div><div>David</div></div></div></font></span></div=
>
<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br></blockquote></div><br></div></div>

--001a114fb0f6610677054fe84dc5--


From nobody Fri May 19 18:22:01 2017
Return-Path: <davemgarrett@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B34DB124D6C; Fri, 19 May 2017 18:21:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 nC6kSG00Bm6N; Fri, 19 May 2017 18:21:58 -0700 (PDT)
Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::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 14B9A1243F3; Fri, 19 May 2017 18:21:58 -0700 (PDT)
Received: by mail-qk0-x22e.google.com with SMTP id y201so73873620qka.0; Fri, 19 May 2017 18:21:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-transfer-encoding:message-id; bh=3II2yMK+DpEQBU3X7DTbIlW58DfNRGqxoPfKnhx6hKU=; b=Yf8ORFYMSUgBgSSKHdoFD7oWs8vfQ8vPqcoFc5iCYiPWZ+nmQFP/L0F+QHagpJ178K 5U832L+U1jQT1/ZYQ5rsYdE4/biaXz+T+zM3mDu9TNuUdmHz8s7Mmge5j/fFX5nbKsES AKItYgDsix78VKLDZr0989JcvrDG2lBoxx4S8mzqw3Z4JllciPa1nmcC3yUANoBZWWOu G4r8XHBAtV1WI5EB3upiqCHq6f9oe8LuwKOyq4788Eq7jVEeiXpcmGKnpsOSs8Vvnj2L Vk33F28VviE3/kj+LZdGCurj///QxOE+hNCNuaRRjjrygVsXZpM7L+6I+NVPu3W6tPk1 p1LQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-transfer-encoding:message-id; bh=3II2yMK+DpEQBU3X7DTbIlW58DfNRGqxoPfKnhx6hKU=; b=etezdsua418eAzHN5EivXDi256bQ+cIoFGwVQd4ztc0HqSIg28cUBz/c6bKGqt1L9p qpcnXUoDS11/hEKRvLlJTTB47f/mpQkHiqlnLPwMCG2esVPGT7tMvuaq3pBPjwtQVipe CiuCaRh2ugs6lWgwvu8zumxzaDYVmVteDlubqX6a/aqdGMod3Fh68g8Qfxbl2VRvGT2W s8wpUsBrUa31vEAyPaRm5lm9cyhYm3LV/W24DKMdKV/UkrgIWKOMky+bLYRr5/bV/Eup ANlab/o7YNRKT8koD4Fb40lXCphcY8az5KO6eHBQwKABfkpCPf9ljkjaJTEW6E8YxYuu 1wwA==
X-Gm-Message-State: AODbwcAWRCp3z5Qd8yKAiauRXnfnDhpFuQyce0QVBCcUzH43KCwQ6IRg znnL0t/obZVmog==
X-Received: by 10.55.20.9 with SMTP id e9mr11064079qkh.94.1495243317294; Fri, 19 May 2017 18:21:57 -0700 (PDT)
Received: from dave-laptop.localnet (pool-71-185-36-197.phlapa.fios.verizon.net. [71.185.36.197]) by smtp.gmail.com with ESMTPSA id r40sm7370151qkr.13.2017.05.19.18.21.56 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 19 May 2017 18:21:56 -0700 (PDT)
From: Dave Garrett <davemgarrett@gmail.com>
To: tls@ietf.org
Date: Fri, 19 May 2017 21:21:54 -0400
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
Cc: Daniel Migault <daniel.migault@ericsson.com>, "tls-chairs" <tls-chairs@ietf.org>
References: <149522417333.23956.7024977757521677892.idtracker@ietfa.amsl.com> <2DD56D786E600F45AC6BDE7DA4E8A8C118BDBB01@eusaamb107.ericsson.se>
In-Reply-To: <2DD56D786E600F45AC6BDE7DA4E8A8C118BDBB01@eusaamb107.ericsson.se>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201705192121.55279.davemgarrett@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/1Od6dJr01ZB84zbQfeLjMpqpVow>
Subject: Re: [TLS] FW: New Version Notification for draft-ietf-tls-ecdhe-psk-aead-04.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 May 2017 01:22:00 -0000

On Friday, May 19, 2017 04:18:03 pm Daniel Migault wrote:
> 1)  The current document mentions I-D.ietf-tls-rfc4492bis and I-D.ietf-tls-tls13 as normative. We can wait for these documents to become RFCs, but we can also dowref them to informational reference if we want to move that document forward. I will leave the AD to decide, and changes if needed can be done by the RFC -editor

Listing TLS 1.3 as normative when it explicitly doesn't affect/support it is weird. I don't see the need for this to not be an informational reference. 4492bis lists TLS 1.3 as informative as well, yet is more relevant to it. I think just downgrading the reference is fine.


Dave


From nobody Fri May 19 18:43:27 2017
Return-Path: <davemgarrett@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D63881271FD for <tls@ietfa.amsl.com>; Fri, 19 May 2017 18:43:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 9GB9851WIQYP for <tls@ietfa.amsl.com>; Fri, 19 May 2017 18:43:23 -0700 (PDT)
Received: from mail-qt0-x22b.google.com (mail-qt0-x22b.google.com [IPv6:2607:f8b0:400d:c0d::22b]) (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 ED1411204DA for <tls@ietf.org>; Fri, 19 May 2017 18:43:22 -0700 (PDT)
Received: by mail-qt0-x22b.google.com with SMTP id f55so70529807qta.3 for <tls@ietf.org>; Fri, 19 May 2017 18:43:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-transfer-encoding:message-id; bh=ntgufxNNtnOOsrneKHTFHCvWlyYUu/vW9eZOHtC8czs=; b=vSUFBerljo0ZzjbQKEyvf1M5H2dsx7MdZ1Zw5G+nzipfDZjQJuVbUQlsoZVYk6i6/e /xX3yQ0v6WeEleiymnFlrF86xNV6rVjQzgkOhlOXY/STwrnpPKHyEgTHWaEpZMqfXdFP cVC2NFbxzryo9ux8EfzA6DBHQQ53rw8eqnsPTKaDzeKbbilnxYV/EZc5tmJy2aOpl086 Z5Ncic+WGyhW7J4Xp3HX/yeXltJroJkBBdQD+cXOsboWjVXbZEADOTh5axSuYhYnf3pt 50dnYhoJNQF+qzsGFwE675U/UdY9n3/5VUMMol3FrHS3SqU93CamWu/U/INA1MTRx+B6 mV2g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:user-agent:references :in-reply-to:mime-version:content-transfer-encoding:message-id; bh=ntgufxNNtnOOsrneKHTFHCvWlyYUu/vW9eZOHtC8czs=; b=hqyg/Jlu1fXO4PXCdm0QHXYjGOtUZcKEL1WefpRAGkzgDNehuTM2e1H0/KQStTPtof f7yLoC0mFPDjBUsj2cgZlENrR1uaif+u7/AhkStmqJIjTC31/bhzI0DK4gvipnDLKJ/O z8jxq9enDymywk2e/0Q388XJJsOQKPVWHDllWTzUlse1lH41x8IOZ2Bkd5BpxQzTeopS nkIw9HYoNw2vGrxKDHeGGRrbLYexLssz7Ge5OGTDp3yhxD5XhzypBheohGhmamKmUFT1 ziDOLn414kHxg7+JAExc55AqffIZoBEqIuANzWB+3xEIEpWIeThPfLvOQGFQkJY116ww 6w8g==
X-Gm-Message-State: AODbwcD/sVgSbr8iM772dEV1ppiSFHF3UKP8Ad2I8luS4Sj/tO2HcUiL Byy4vJmnu+oYFw==
X-Received: by 10.200.42.252 with SMTP id c57mr12563835qta.282.1495244601750;  Fri, 19 May 2017 18:43:21 -0700 (PDT)
Received: from dave-laptop.localnet (pool-71-185-36-197.phlapa.fios.verizon.net. [71.185.36.197]) by smtp.gmail.com with ESMTPSA id y48sm4635673qta.66.2017.05.19.18.43.20 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 19 May 2017 18:43:20 -0700 (PDT)
From: Dave Garrett <davemgarrett@gmail.com>
To: tls@ietf.org, Viktor Dukhovni <ietf-dane@dukhovni.org>
Date: Fri, 19 May 2017 21:43:19 -0400
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org>
In-Reply-To: <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201705192143.19490.davemgarrett@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/27Xli5SVezF5fpoLKaH1K5cK_dY>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 May 2017 01:43:25 -0000

On Friday, May 19, 2017 04:51:21 pm Viktor Dukhovni wrote:
> Which brings us to some more undesirable layer violation in the current
> draft.  The language in question is appropriate for updates to RFC5280,
> but does not belong in TLS.  The problems in question are largely
> already addressed elsewhere (as CAs no longer issue MD5, SHA1, ...
> certificates, browsers no longer support them, ...) and continue to
> be further remediated in the appropriate standards and products.
> 
> Therefore delete:
> 
>    Section 4.2.3 (Legacy algorithms paragraph final sentence):
> 
>       ...                                       TLS 1.3 servers
>       MUST NOT offer a SHA-1 signed certificate unless no valid
>       certificate chain can be produced without it (see
>       Section 4.4.2.2).
> 
>    Section 4.4.2.2:
> 
>    ...          This fallback chain MAY use the deprecated SHA-1 hash
>    algorithm only if the "signature_algorithms" extension provided by
>    the client permits it.  If the client cannot construct an acceptable
>    chain using the provided certificates and decides to abort the
>    handshake, then it MUST abort the handshake with an
>    "unsupported_certificate" alert.
> 
>    Section 4.4.2.4:
> 
>    Any endpoint receiving any certificate signed using any signature
>    algorithm using an MD5 hash MUST abort the handshake with a
>    "bad_certificate" alert.  SHA-1 is deprecated and it is RECOMMENDED
>    that any endpoint receiving any certificate signed using any
>    signature algorithm using a SHA-1 hash abort the handshake with a
>    "bad_certificate" alert.  All endpoints are RECOMMENDED to transition
>    to SHA-256 or better as soon as possible to maintain interoperability
>    with implementations currently in the process of phasing out SHA-1
>    support.

No. I strongly oppose stripping all off this out.

> I note that TLS 1.3 does not have any language prohibiting MD2, MDC2DES,
> MD4, RIPEMD160, private signature oids, ... that may be weaker than SHA-1
> or even MD5.

They're not listed as possible field values anywhere directly in the TLS spec.
If someone wants to add a line to one of the "MUST NOT" lists somewhere for
all hashes weaker than SHA-1, that sounds fine to me.

> Opportunistic unauthenticated TLS ignores the peer certificate and should
> not have to fall back to cleartext just because some certificate in the
> chain is not sufficiently sexy.  There are other legitimate use cases where
> the restrictions above are inappropriate.

Opportunistic unauthenticated TLS isn't the protocol we're defining here.
If your goal isn't authentication, then by all means violate the requirements
laid out for authentication. I have no problem making that explicit, if desired,
however this is not the primary desired operating mode of TLS.

> The reason I am pointing this out is that I just had to waste a bunch of
> time convincing the rest of the OpenSSL team to ignore the draft language
> in question, and just stick with whatever "security level" (floor on
> algorithm strength) the application or default settings requested.  This
> already excludes MD5 by default, and we'll likely adjust the collision
> resistance rating of SHA-1 from 2^80 to its reported ~2^64 strength (from
> the recent Google collision announcement), after which SHA-1 will also
> be excluded at security level 1.  This will be done in the X.509 ala PKIX
> code and not the TLS code, and applications that ignore the chain or do
> DANE-EE(3), ... will not be affected.
> 
> I propose that the current draft language is just a landmine for TLS
> implementations, that addresses a non-problem (or more precisely a
> problem that is more properly and well addressed elsewhere).

TLS is already a minefield of problems. Enumerating many of them explicitly
is a step forward to avoiding them more easily in the future. In a complex
system, just fixing something in one place is not enough. If we list it as
a possible option in the spec, we should be _very_ clear when it is crap.

I'm aware that this is unavoidably messy. Viktor, your input has greatly
helped improve the language here to accommodate varying use-cases,
and I would personally prefer we work together to make the mess correct,
rather than give up and delete the relevant text.


Dave


From nobody Fri May 19 19:15:40 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C01E12944C for <tls@ietfa.amsl.com>; Fri, 19 May 2017 19:15:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 BH6NsQ2wzEdS for <tls@ietfa.amsl.com>; Fri, 19 May 2017 19:15:35 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1530E12778D for <tls@ietf.org>; Fri, 19 May 2017 19:15:35 -0700 (PDT)
Received: from [10.26.15.151] (214.sub-70-214-113.myvzw.com [70.214.113.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id AB67B7A32F1 for <tls@ietf.org>; Sat, 20 May 2017 02:15:33 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <201705192143.19490.davemgarrett@gmail.com>
Date: Fri, 19 May 2017 22:15:31 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <A2D38B2D-645A-4F8B-A3AE-5535B1D0CDB7@dukhovni.org>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/GaaAsPCc4CZRoD7er5zdUaSml0A>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 May 2017 02:15:39 -0000

> On May 19, 2017, at 9:43 PM, Dave Garrett <davemgarrett@gmail.com> =
wrote:
>=20
>> I note that TLS 1.3 does not have any language prohibiting MD2, =
MDC2DES,
>> MD4, RIPEMD160, private signature oids, ... that may be weaker than =
SHA-1
>> or even MD5.
>=20
> They're not listed as possible field values anywhere directly in the =
TLS spec.
> If someone wants to add a line to one of the "MUST NOT" lists =
somewhere for
> all hashes weaker than SHA-1, that sounds fine to me.

That list was not intended to be take as a serious suggestion.  Note =
that
it is NOT the job of TLS to specify a comprehensive list of X.509 =
certificate
signature algorithm OIDS, which are MTI, which deprecated, and so on.  =
The
security floor you're looking for needs to be set in update to RFC5280
via the "curdle" WG or wherever else such an update belongs.

>=20
>> Opportunistic unauthenticated TLS ignores the peer certificate and =
should
>> not have to fall back to cleartext just because some certificate in =
the
>> chain is not sufficiently sexy.  There are other legitimate use cases =
where
>> the restrictions above are inappropriate.
>=20
> Opportunistic unauthenticated TLS isn't the protocol we're defining =
here.

Actually, it very much is.  This WG defines TLS (period).  That includes
opportunistic unauthenticated TLS, opportunistic DANE TLS, TLS with
pre-shared public key fingerprints, TLS with TOFU key pinning and so on.

One reason TLS is complicated is its versatility.

> If your goal isn't authentication, then by all means violate the =
requirements
> laid out for authentication.

There is no requirement for authentication.  There is only a mechanism
to make it possible.  And opportunistic TLS is NOT a violation of the
TLS specification.

> I have no problem making that explicit, if desired,
> however this is not the primary desired operating mode of TLS.

Yes, the "primary mode" is authentication via a profusion of CAs,
with most certificates being "DV" certificates, which are issued
after perfunctory verification by the CA and memoized in the form
of a certificate for the world to trust.  This means that the MiTM
BGP route injection attack has to target the route between some
trusted CA and the victim domain, rather than between the user
and the victim domain.  It's not much better than opportunistic
TLS, but yes, it does protect against low-tech attacks that only
subvert the user's network (coffee-shop, airport WiFi, ...).

So the X.509 PKI in TLS is not entirely a case of the emperor's new
clothes, but we need to be a bit more realistic about the resulting
security, and not forget that it is far from airtight, and that the
non-mainstream use-cases sometimes yield more actual security than
one might get from an all-or-nothing approach.

>> I propose that the current draft language is just a landmine for TLS
>> implementations, that addresses a non-problem (or more precisely a
>> problem that is more properly and well addressed elsewhere).
>=20
> TLS is already a minefield of problems. Enumerating many of them =
explicitly
> is a step forward to avoiding them more easily in the future. In a =
complex
> system, just fixing something in one place is not enough. If we list =
it as
> a possible option in the spec, we should be _very_ clear when it is =
crap.

PKIX (RFC5280 via X.509) is already a minefield of problems.  The fixes
and ratcheting up the associated security parameters belong there, and
NOT in TLS.  The TLS 1.3 draft does a reasonabl job of improving the =
actual
TLS security design and parameters, and should properly stick to that.

[ Yes, it also adds a potential pitfall in the form of 0-RTT, but that
  is of course another thread. ]

> I'm aware that this is unavoidably messy. Viktor, your input has =
greatly
> helped improve the language here to accommodate varying use-cases,
> and I would personally prefer we work together to make the mess =
correct,
> rather than give up and delete the relevant text.

I'd be  happy to review relevant changes in an RFC5280 update where this
belongs, and would also benefit S/MIME, CMS, etc and not just TLS.

--=20
	Viktor.


From nobody Fri May 19 22:41:24 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9788D129466 for <tls@ietfa.amsl.com>; Fri, 19 May 2017 22:41:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 w92yHd4E4EzX for <tls@ietfa.amsl.com>; Fri, 19 May 2017 22:41:22 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 65AFD126E64 for <tls@ietf.org>; Fri, 19 May 2017 22:41:22 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTP id 6D67020051C24; Fri, 19 May 2017 22:41:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=eK2wuhFrHk/0pX +G4SQAF+37KjE=; b=fokjlC7szl3rEUMWhNhZ7dPlGlMipSukJK08gyb/6HwDxU iERZVvP0prFLcpNLUuurodnujSfM3YyQDvKtM+5cu2uIu76tLwA2dEx4pyz6ek9j QyVtdP8hBBKjn1+2NuCPo9fbzhDSZ6f02Rh/sGZCFCllCG+9ErbOQaf6kzdm0=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTPSA id 1F4D220051C23; Fri, 19 May 2017 22:41:21 -0700 (PDT)
Date: Sat, 20 May 2017 00:41:18 -0500
From: Nico Williams <nico@cryptonector.com>
To: Dave Garrett <davemgarrett@gmail.com>
Cc: tls@ietf.org, Viktor Dukhovni <ietf-dane@dukhovni.org>
Message-ID: <20170520054117.GM10188@localhost>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201705192143.19490.davemgarrett@gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Ya46LOvTKvyZLETcrpFHVT6_kd8>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 May 2017 05:41:24 -0000

On Fri, May 19, 2017 at 09:43:19PM -0400, Dave Garrett wrote:
> On Friday, May 19, 2017 04:51:21 pm Viktor Dukhovni wrote:

> > I note that TLS 1.3 does not have any language prohibiting MD2, MDC2DES,
> > MD4, RIPEMD160, private signature oids, ... that may be weaker than SHA-1
> > or even MD5.
> 
> They're not listed as possible field values anywhere directly in the TLS spec.

That's because it wouldn't be TLS that mentions them but PKIX, so _of
course_ TLS doesn't reiterate everything that PKIX says.

> > Opportunistic unauthenticated TLS ignores the peer certificate and should
> > not have to fall back to cleartext just because some certificate in the
> > chain is not sufficiently sexy.  There are other legitimate use cases where
> > the restrictions above are inappropriate.
> 
> Opportunistic unauthenticated TLS isn't the protocol we're defining here.

TLS certainly can be used that way.  And it is.

> If your goal isn't authentication, then by all means violate the requirements
> laid out for authentication. I have no problem making that explicit, if desired,
> however this is not the primary desired operating mode of TLS.

Then state the requirements in such a way that it is still possible to
use TLS in this way.

"When using TLS to authenticate the server, certificate signature
algorithms weaker than <list of weakest acceptable signature algs here>
MUST NOT be used."

Nico
-- 


From nobody Fri May 19 22:55:12 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C0028129AAD for <tls@ietfa.amsl.com>; Fri, 19 May 2017 22:55:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.499
X-Spam-Level: 
X-Spam-Status: No, score=-0.499 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, URIBL_BLOCKED=0.001] autolearn=ham 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 bNIEUwR_1-RL for <tls@ietfa.amsl.com>; Fri, 19 May 2017 22:55:10 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 34524129544 for <tls@ietf.org>; Fri, 19 May 2017 22:55:09 -0700 (PDT)
Received: from [192.168.0.8] (cpe-67-241-70-168.twcny.res.rr.com [67.241.70.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id B7F3C7A32F1 for <tls@ietf.org>; Sat, 20 May 2017 05:55:08 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <20170520054117.GM10188@localhost>
Date: Sat, 20 May 2017 01:55:07 -0400
Content-Transfer-Encoding: 7bit
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/G2n67ndur6K4tJJQAguDK2XIA8w>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 May 2017 05:55:12 -0000

> On May 20, 2017, at 1:41 AM, Nico Williams <nico@cryptonector.com> wrote:
> 
> "When using TLS to authenticate the server, certificate signature
> algorithms weaker than <list of weakest acceptable signature algs here>
> MUST NOT be used."

Minor correction, perhaps you really mean to say "when using RFC5280 (PKIX)
to authenticate... (the [server or client?]).  TLS is just the transport
after all.

This formulation does correctly place the security floor in the proper
context, namely PKIX authentication, and does not inappropriately
mandate aborting connections and the like.

A peer presenting certificates with deprecated algorithms would then
not pass PKIX authentication.  It is then up to the other party to
decide whether this matters and how to react.

This would amount in essence to a TLS-specific "profile" for PKIX.
If such a thing is really needed, so be it.  So long as we have no
text mandating connection termination based on potentially irrelevant
certificate details I can go along with a compromise in which a more
narrow prohibition of MD5 and SHA-1 remains along the lines above.

-- 
	Viktor.


From nobody Sat May 20 01:29:04 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F16E21273E2 for <tls@ietfa.amsl.com>; Sat, 20 May 2017 01:29:02 -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, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 u-QiE0Pwnjgk for <tls@ietfa.amsl.com>; Sat, 20 May 2017 01:29:00 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2.welho.com [83.102.41.24]) by ietfa.amsl.com (Postfix) with ESMTP id 585A5124234 for <tls@ietf.org>; Sat, 20 May 2017 01:28:59 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id B5DE422EE1; Sat, 20 May 2017 11:28:57 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id fo17uBzEIWOX; Sat, 20 May 2017 11:28:57 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 571B52313; Sat, 20 May 2017 11:28:57 +0300 (EEST)
Date: Sat, 20 May 2017 11:28:56 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Dave Garrett <davemgarrett@gmail.com>
Cc: tls@ietf.org, Viktor Dukhovni <ietf-dane@dukhovni.org>
Message-ID: <20170520082855.GA32428@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <201705192143.19490.davemgarrett@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/CMNY3snsN3mwFHX-25MNGdbrpec>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 May 2017 08:29:03 -0000

On Fri, May 19, 2017 at 09:43:19PM -0400, Dave Garrett wrote:
> On Friday, May 19, 2017 04:51:21 pm Viktor Dukhovni wrote:
> > Which brings us to some more undesirable layer violation in the current
> > draft.  The language in question is appropriate for updates to RFC5280,
> > but does not belong in TLS.  The problems in question are largely
> > already addressed elsewhere (as CAs no longer issue MD5, SHA1, ...
> > certificates, browsers no longer support them, ...) and continue to
> > be further remediated in the appropriate standards and products.
> > 
> > Therefore delete:
> > 
> >    Section 4.2.3 (Legacy algorithms paragraph final sentence):
> > 
> >       ...                                       TLS 1.3 servers
> >       MUST NOT offer a SHA-1 signed certificate unless no valid
> >       certificate chain can be produced without it (see
> >       Section 4.4.2.2).
> > 
> >    Section 4.4.2.2:
> > 
> >    ...          This fallback chain MAY use the deprecated SHA-1 hash
> >    algorithm only if the "signature_algorithms" extension provided by
> >    the client permits it.  If the client cannot construct an acceptable
> >    chain using the provided certificates and decides to abort the
> >    handshake, then it MUST abort the handshake with an
> >    "unsupported_certificate" alert.
> > 
> >    Section 4.4.2.4:
> > 
> >    Any endpoint receiving any certificate signed using any signature
> >    algorithm using an MD5 hash MUST abort the handshake with a
> >    "bad_certificate" alert.  SHA-1 is deprecated and it is RECOMMENDED
> >    that any endpoint receiving any certificate signed using any
> >    signature algorithm using a SHA-1 hash abort the handshake with a
> >    "bad_certificate" alert.  All endpoints are RECOMMENDED to transition
> >    to SHA-256 or better as soon as possible to maintain interoperability
> >    with implementations currently in the process of phasing out SHA-1
> >    support.
> 
> No. I strongly oppose stripping all off this out.

This requirement is bad layering violation.

It is even further made problematic by:

- TLS and PKIX libraries are often decoupled, making this difficult to
  implement.
- It requires code to support MD5, which as weak algorithm is hazardous.

I do have written TLS implementation. It does not follow this, because I
regard the aborting requirements as insane (it does not have any code to
support MD5, and is not architecturally capable of aborting based on
signature algorithm).

The code treats MD5 as unknown signature algorithm, which does not
require hazardous code. Pathbuilding avoids MD5 signatures and it is
not possible to validate signatures using MD5 (algorithm conversion
will return an error).

(The SHA-1 handling is more complex, as RSA-PKCS#1v1.5-SHA1 is actually
validateable, but only in certain context. Suffice to say, I would
love to just dump the SHA-1 code).

> > I note that TLS 1.3 does not have any language prohibiting MD2, MDC2DES,
> > MD4, RIPEMD160, private signature oids, ... that may be weaker than SHA-1
> > or even MD5.
> 
> They're not listed as possible field values anywhere directly in the TLS spec.
> If someone wants to add a line to one of the "MUST NOT" lists somewhere for
> all hashes weaker than SHA-1, that sounds fine to me.

These are values internal to PKIX. And the draft _does_ allow sending a
certificate contaning those (hint: If the server does not have any
other chain using only signaled algorithms).

And MD5 isn't listed as possible field value either.



-Ilari


From nobody Sat May 20 02:33:54 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BEBD912704A for <tls@ietfa.amsl.com>; Sat, 20 May 2017 02:33:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 MAFiyhT4lvo7 for <tls@ietfa.amsl.com>; Sat, 20 May 2017 02:33:51 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id AFD9A1200FC for <tls@ietf.org>; Sat, 20 May 2017 02:33:51 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id DD8E42368F; Sat, 20 May 2017 12:33:48 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id ovHf-jN6lO0Q; Sat, 20 May 2017 12:33:48 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id AC881C4; Sat, 20 May 2017 12:33:48 +0300 (EEST)
Date: Sat, 20 May 2017 12:33:47 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Colm =?utf-8?Q?MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170520093347.GB32428@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170519184051.GA31741@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDcP3_+WOB1xsc7JecpCo2-MfeuHgkN7PVrUiLweeurv2g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAAF6GDcP3_+WOB1xsc7JecpCo2-MfeuHgkN7PVrUiLweeurv2g@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/iHm85M5BXRciFSJx__PNzpUt0ek>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 May 2017 09:33:54 -0000

On Fri, May 19, 2017 at 01:10:29PM -0700, Colm MacCÃ¡rthaigh wrote:
> On Fri, May 19, 2017 at 11:40 AM, Ilari Liusvaara <ilariliusvaara@welho.com>
> wrote:
> 
> > > * In order to fully reason about when that message may later get
> > received,
> > > there needs to be an agreed upon time-cap for 0-RTT receipt. Agreed by
> > all
> > > potential middle-boxes in the pipe that may be using 0-RTT.
> >
> > Isn't that potentially multi-party problem if middleboxes are involved?
> >
> 
> Yes; but if we can agree on a hard maximum time-window for the 0RTT
> section, and all of the parties agree, it's possible for a careful client
> to negotiate its way around it. Even if it's 10 seconds, this still has
> some value I think.

I meant what prevents the (say 10 second) windows from stacking up into
(say 20 second windows) if 0-RTT is used on multiple hops (client-
middlebox and middlebox-server)?

One can not assume that the client has knowledge of any middlebox on
the path (e.g. CDNs in HTTP are in general invisible to the client).


-Ilari


From nobody Sat May 20 03:16:23 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6F7B4128CFF for <tls@ietfa.amsl.com>; Sat, 20 May 2017 03:16:21 -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, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 KBOYjx1O3LXw for <tls@ietfa.amsl.com>; Sat, 20 May 2017 03:16:19 -0700 (PDT)
Received: from welho-filter1.welho.com (welho-filter1.welho.com [83.102.41.23]) by ietfa.amsl.com (Postfix) with ESMTP id 41D1F127333 for <tls@ietf.org>; Sat, 20 May 2017 03:16:18 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter1.welho.com (Postfix) with ESMTP id 63639602B9; Sat, 20 May 2017 13:16:17 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter1.welho.com [::ffff:83.102.41.23]) (amavisd-new, port 10024) with ESMTP id PUYW8sGSTsKz; Sat, 20 May 2017 13:16:17 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 2E21E283; Sat, 20 May 2017 13:16:17 +0300 (EEST)
Date: Sat, 20 May 2017 13:16:16 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Colm =?utf-8?Q?MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/1BkCsxqmWHUsqZxiki2lAzTBBok>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 May 2017 10:16:21 -0000

On Fri, May 19, 2017 at 09:59:57AM -0700, Colm MacCÃ¡rthaigh wrote:

> 
> Some protection is necessary; but it isn't too hard - a single-use session
> cache, or a strike register, do protect against the side-channel and DOS
> problems. Combined with a "fail closed" strategy and tickets that are
> scoped to clusters or servers, these techniques do hard-stop the literal
> 0-RTT replays, and they are practical. Many of us run systems like that
> already.

As requirements:

- Clients SHOULD NOT use the same ticket multiple times.
- Clients MUST NOT use the same ticket multiple times for 0-RTT.
- Servers MAY accept the same ticket multiple times.
- Servers MUST NOT accept the same ticket with the same binder multiple
  times for 0-RTT (if any part of ClientHello covered by binder is
  different, one can assume binders are different). This holds even
  across servers (i.e., if server1 accepts 0-RTT with ticket X and
  binder Y, then server2 can not accept 0-RTT with ticket X and binder
  Y).

The "with the same binder" requirement is to deal with the following:

1) Bad client sends 0-RTT with ticket X and in-window age age1.
2) Some days pass...
3) Bad client sends 0-RTT with ticket X and in-window age age2.

Without the "with the same binder", that would mean the server MUST
reject the 0-RTT for 3), which would mean keeping state for days,
which leads to excessive resource usage.

With the "with same binder", the server can time out the state for
1) as soon as the age1 is out-of-window. And then it MAY accept
0-RTT for 3). This will not lead into mass replay possibility for
either 1) nor 3).

The part of assuming binders different if any part covered is
different comes from strong hash requirement TLS 1.3 has.


?


From nobody Sun May 21 15:48:08 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B7959129A9D for <tls@ietfa.amsl.com>; Sun, 21 May 2017 15:48:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001] 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 pcyJ5iwnOiO8 for <tls@ietfa.amsl.com>; Sun, 21 May 2017 15:48:05 -0700 (PDT)
Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (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 F20E3129526 for <tls@ietf.org>; Sun, 21 May 2017 15:48:04 -0700 (PDT)
Received: by mail-yw0-x229.google.com with SMTP id l14so52744996ywk.1 for <tls@ietf.org>; Sun, 21 May 2017 15:48:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8jQQyLhijYHZaPE6f+hBwDWoId4CANtNFWXBotgz6aY=; b=E4gvRsmoxfFIT4xoQoMmJYJaytZZOffemAcUvfc2ix3JkgOp+mXv7jpxdmm25QPihR 0Ox5V61bE/35rWxpd8gfL/4RMODmC/0vWYGwc5uyafqvTNjWquEIo5VxO5oDOOguJlA8 DxMC/TM7/4nC1g39nT9FAz/qQFl+T4OrHpU60/pjy8Q9Hw4ReG+bwoM3eEHgKDzHwooU b7Y55TtmldioeZFCLuUy2I4A2wBAs6+6yO+/dCdc1t0LDn410cdWqKksyfvLo2azd7zb 60uU4hVGGCVO2E7JhAl2/IRcpm2nbj1kszj1vfDqnGnaGBSikTFWMi81fv2pbOntyzER H3Bg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8jQQyLhijYHZaPE6f+hBwDWoId4CANtNFWXBotgz6aY=; b=rojVDk7LUC2Ie/Ss6IubzWQbRM80LmnPdJu29BbJIC5BYoX1fIe26mqss3czhdEZ1C x06MnEG+GR2SdJSrbL+/iW4TTJWavkhacp27IzrMPJWhu4pJDzLEYirRNknm9jL7SB6o v4BTVouThJx2IRFYPNI+lQ1wqoi/x0yx6XTjb4HX/IHShz5o2f1GXLXZFoGZRugtDH8K ZKrDTuXvZwgrZ+uSvodO8PvygNvUM2qD0QN5bNooL82BJuCMoS8OV04jgn8ZHtdwxh7G HB/5LA0Y5REFiFTXaJJ/LP/G1oAE6MPSXUIRDpAEBIZPbly2ywv2j1r9T178lD78ZNFZ e4GA==
X-Gm-Message-State: AODbwcASggT9jaQwpI1oa5rJfaJCtl10HQZELFA2zZ90t5i+8y6uwIm7 ULMSp5YYYmfo9wPbwlCPHG41OVxbFRaQ
X-Received: by 10.13.212.1 with SMTP id w1mr15909952ywd.24.1495406884259; Sun, 21 May 2017 15:48:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Sun, 21 May 2017 15:47:22 -0700 (PDT)
In-Reply-To: <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 21 May 2017 18:47:22 -0400
Message-ID: <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>,  "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a114fb0f621a3080550108c8d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/nv8o91cdJlKm8kKMMJGgTTSiRAY>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 21 May 2017 22:48:07 -0000

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

On Sat, May 20, 2017 at 6:16 AM, Ilari Liusvaara <ilariliusvaara@welho.com>
wrote:

> On Fri, May 19, 2017 at 09:59:57AM -0700, Colm MacC=C3=A1rthaigh wrote:
>
> >
> > Some protection is necessary; but it isn't too hard - a single-use
> session
> > cache, or a strike register, do protect against the side-channel and DO=
S
> > problems. Combined with a "fail closed" strategy and tickets that are
> > scoped to clusters or servers, these techniques do hard-stop the litera=
l
> > 0-RTT replays, and they are practical. Many of us run systems like that
> > already.
>
> As requirements:
>
> - Clients SHOULD NOT use the same ticket multiple times.
>

This is already in the document.



> - Clients MUST NOT use the same ticket multiple times for 0-RTT.
>

I don't understand the purpose of this requirement. As you note below,
servers are ultimately responsible for enforcing it, and it's not clear to
me why clients obeying it makes life easier for the server.



> - Servers MAY accept the same ticket multiple times.
>

This seems implicit.



> - Servers MUST NOT accept the same ticket with the same binder multiple
>   times for 0-RTT (if any part of ClientHello covered by binder is
>   different, one can assume binders are different). This holds even
>   across servers (i.e., if server1 accepts 0-RTT with ticket X and
>   binder Y, then server2 can not accept 0-RTT with ticket X and binder
>   Y).
>

I assume that what you have in mind here is that the server would know
which tickets it was authoritative for anti-replay and would simply reject
0-RTT if it wasn't authoritative? This seems like it would significantly cu=
t
down on mass replays, though it would of course still make application-leve=
l
replay a problem.

I'm happy to write this up as part of the first two techniques. I'd be
interested in hearing from others in the WG what they think about:

1. Requiring it.
2. Whether they still want to retain the stateless technique.

-Ekr

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Sat, May 20, 2017 at 6:16 AM, Ilari Liusvaara <span dir=3D"ltr">&lt;=
<a href=3D"mailto:ilariliusvaara@welho.com" target=3D"_blank">ilariliusvaar=
a@welho.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span c=
lass=3D"">On Fri, May 19, 2017 at 09:59:57AM -0700, Colm MacC=C3=A1rthaigh =
wrote:<br>
<br>
&gt;<br>
</span><span class=3D"">&gt; Some protection is necessary; but it isn&#39;t=
 too hard - a single-use session<br>
&gt; cache, or a strike register, do protect against the side-channel and D=
OS<br>
&gt; problems. Combined with a &quot;fail closed&quot; strategy and tickets=
 that are<br>
&gt; scoped to clusters or servers, these techniques do hard-stop the liter=
al<br>
&gt; 0-RTT replays, and they are practical. Many of us run systems like tha=
t<br>
&gt; already.<br>
<br>
</span>As requirements:<br>
<br>
- Clients SHOULD NOT use the same ticket multiple times.<br></blockquote><d=
iv><br></div><div>This is already in the document.</div><div><br></div><div=
>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex">
- Clients MUST NOT use the same ticket multiple times for 0-RTT.<br></block=
quote><div><br></div><div>I don&#39;t understand the purpose of this requir=
ement. As you note below,</div><div>servers are ultimately responsible for =
enforcing it, and it&#39;s not clear to</div><div>me why clients obeying it=
 makes life easier for the server.</div><div><br></div><div>=C2=A0<br></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex">
- Servers MAY accept the same ticket multiple times.<br></blockquote><div><=
br></div><div>This seems implicit.</div><div><br></div><div>=C2=A0</div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex">
- Servers MUST NOT accept the same ticket with the same binder multiple<br>
=C2=A0 times for 0-RTT (if any part of ClientHello covered by binder is<br>
=C2=A0 different, one can assume binders are different). This holds even<br=
>
=C2=A0 across servers (i.e., if server1 accepts 0-RTT with ticket X and<br>
=C2=A0 binder Y, then server2 can not accept 0-RTT with ticket X and binder=
<br>
=C2=A0 Y).<br></blockquote><div><br></div><div>I assume that what you have =
in mind here is that the server would know</div><div>which tickets it was a=
uthoritative for anti-replay and would simply reject</div><div>0-RTT if it =
wasn&#39;t authoritative? This seems like it would significantly cut</div><=
div>down on mass replays, though it would of course still make application-=
level</div><div>replay a problem.</div><div><br></div><div>I&#39;m happy to=
 write this up as part of the first two techniques. I&#39;d be=C2=A0</div><=
div>interested in hearing from others in the WG what they think about:</div=
><div><br></div><div>1. Requiring it.</div><div>2. Whether they still want =
to retain the stateless technique.</div><div><br></div><div>-Ekr</div><div>=
<br></div><div><br></div></div></div></div>

--001a114fb0f621a3080550108c8d--


From nobody Sun May 21 19:28:51 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B43B1200F1 for <tls@ietfa.amsl.com>; Sun, 21 May 2017 19:28:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level: 
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 2j8V3Gk6E92L for <tls@ietfa.amsl.com>; Sun, 21 May 2017 19:28:47 -0700 (PDT)
Received: from mail-yb0-x235.google.com (mail-yb0-x235.google.com [IPv6:2607:f8b0:4002:c09::235]) (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 4676E1200C1 for <tls@ietf.org>; Sun, 21 May 2017 19:28:47 -0700 (PDT)
Received: by mail-yb0-x235.google.com with SMTP id p143so27363248yba.2 for <tls@ietf.org>; Sun, 21 May 2017 19:28:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YHjB42H15R2jTeDv1/C43m3c0pqEbivsLzZbiQYmhyo=; b=GiQJJhJzvhwvD0/9hiaX6pW8QvlQuU0kN58MfXhuvrWO6+AF09QTG9G+lV59JUYmfw Dkr4RQTqrJZTPneoLdVtfb+FpmIqPdFzsjT4tU500q+njmIyNBLGZRCxUpW3Gz8XT4Wv Y79xj48gYJgrSeocKsEQotIDK5XOYOb/aarjHO3lK5ntRpmMbZeYLISIPiPP8c1RTxKI 5AKm2YLVh70g9S2hWdoBtBddIaVdoDcK1jcdOHrWp/MCgDgPp3F6iNOozMizGGUJwMuq oBGjAv4nik7BB/iVsR4P5tlHAV1GepxIQhnVBfg7j0D6JxYt3cx1iFkwq28970R/Jzhd MP8Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YHjB42H15R2jTeDv1/C43m3c0pqEbivsLzZbiQYmhyo=; b=cyfuzMdmPRv+7TmhZwyrJYflVI1Jj+hI0E1rQfieVWiNN5zmS8FI1jLmYuP44FCxdG iF3IkGTtUrENVrFOqqNGVUIYsFBZFVU3O0tMcRDnD3nQEQ2Y9Zib/JP/StQv1QgMFv8s 7y0IqHNjUrDYxGjz3EJchCbACJJttoI3x3mNTEiqvkC/cjxaHAQaBjcKdkb39PxrXNH1 GQLRkLQZgh+innUasdxAzEZVld3KV1M4KZtF6jiYqI5xHJSqjRI0nimUyUGRqgpPj8a4 6fu9qmIdiQQgHA4218QKn8VpPrz5dnK8z56ZiuyE5Y0Z6wuLLvSP8512eKvlhDhRc/0F BYIA==
X-Gm-Message-State: AODbwcCdPP16r9kmf1tplk4g8fjroDufPLetVnLs4Ky+7YXuYuRcUxkg oRDnsz3xP/q5E8aZKDvvpG21t4Y3F2bj
X-Received: by 10.37.15.213 with SMTP id 204mr17374806ybp.127.1495420126366; Sun, 21 May 2017 19:28:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.97.3 with HTTP; Sun, 21 May 2017 19:28:45 -0700 (PDT)
In-Reply-To: <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Sun, 21 May 2017 19:28:45 -0700
Message-ID: <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Ilari Liusvaara <ilariliusvaara@welho.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a113f5ae66c3327055013a1a5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/1HrFLik1rNlKOlPsudHPLO7CtZ4>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 02:28:49 -0000

--001a113f5ae66c3327055013a1a5
Content-Type: text/plain; charset="UTF-8"

On Sun, May 21, 2017 at 3:47 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>
> - Clients MUST NOT use the same ticket multiple times for 0-RTT.
>>
>
> I don't understand the purpose of this requirement. As you note below,
> servers are ultimately responsible for enforcing it, and it's not clear to
> me why clients obeying it makes life easier for the server.
>

I think clients should duplicate them sometimes, just to keep servers on
their toes ;-) this is what we talked about maybe being a grease thing ..
if at all.

- Servers MUST NOT accept the same ticket with the same binder multiple
>>   times for 0-RTT (if any part of ClientHello covered by binder is
>>   different, one can assume binders are different). This holds even
>>   across servers (i.e., if server1 accepts 0-RTT with ticket X and
>>   binder Y, then server2 can not accept 0-RTT with ticket X and binder
>>   Y).
>>
>
> I assume that what you have in mind here is that the server would know
> which tickets it was authoritative for anti-replay and would simply reject
> 0-RTT if it wasn't authoritative? This seems like it would significantly
> cut
> down on mass replays, though it would of course still make
> application-level
> replay a problem.
>
> I'm happy to write this up as part of the first two techniques. I'd be
> interested in hearing from others in the WG what they think about:
>
> 1. Requiring it.
> 2. Whether they still want to retain the stateless technique.
>

I'm for requiring it, and for removing the stateless technique ... because
it prevents the side-channel and DOS attacks and those seem like the most
serious ones (and also, the new ones).

So far each case where we've thought "Actually stateless might be ok in
this case" ... like the example of DNS ... turns out not to be safe when
examined more closely (in DNSes case it would compromise privacy because
caches could be probed).

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Sun, May 21, 2017 at 3:47 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span>=
 wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_=
extra"><div class=3D"gmail_quote"><span class=3D""><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">
- Clients MUST NOT use the same ticket multiple times for 0-RTT.<br></block=
quote><div><br></div></span><div>I don&#39;t understand the purpose of this=
 requirement. As you note below,</div><div>servers are ultimately responsib=
le for enforcing it, and it&#39;s not clear to</div><div>me why clients obe=
ying it makes life easier for the server.</div></div></div></div></blockquo=
te><div><br></div><div>I think clients should duplicate them sometimes, jus=
t to keep servers on their toes ;-) this is what we talked about maybe bein=
g a grease thing .. if at all.=C2=A0</div><div><br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gma=
il_quote"><span class=3D""><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- Servers MUST NOT accept the same ticket with the same binder multiple<br>
=C2=A0 times for 0-RTT (if any part of ClientHello covered by binder is<br>
=C2=A0 different, one can assume binders are different). This holds even<br=
>
=C2=A0 across servers (i.e., if server1 accepts 0-RTT with ticket X and<br>
=C2=A0 binder Y, then server2 can not accept 0-RTT with ticket X and binder=
<br>
=C2=A0 Y).<br></blockquote><div><br></div></span><div>I assume that what yo=
u have in mind here is that the server would know</div><div>which tickets i=
t was authoritative for anti-replay and would simply reject</div><div>0-RTT=
 if it wasn&#39;t authoritative? This seems like it would significantly cut=
</div><div>down on mass replays, though it would of course still make appli=
cation-level</div><div>replay a problem.</div><div><br></div><div>I&#39;m h=
appy to write this up as part of the first two techniques. I&#39;d be=C2=A0=
</div><div>interested in hearing from others in the WG what they think abou=
t:</div><div><br></div><div>1. Requiring it.</div><div>2. Whether they stil=
l want to retain the stateless technique.</div></div></div></div></blockquo=
te><div><br></div><div>I&#39;m for requiring it, and for removing the state=
less technique ... because it prevents the side-channel and DOS attacks and=
 those seem like the most serious ones (and also, the new ones).=C2=A0</div=
><div><br></div><div>So far each case where we&#39;ve thought &quot;Actuall=
y stateless might be ok in this case&quot; ... like the example of DNS ... =
turns out not to be safe when examined more closely (in DNSes case it would=
 compromise privacy because caches could be probed).=C2=A0</div></div><div>=
<br></div>-- <br><div class=3D"gmail_signature" data-smartmail=3D"gmail_sig=
nature">Colm</div>
</div></div>

--001a113f5ae66c3327055013a1a5--


From nobody Sun May 21 22:26:24 2017
Return-Path: <huitema@huitema.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F33C9129B30 for <tls@ietfa.amsl.com>; Sun, 21 May 2017 22:26:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.101
X-Spam-Level: 
X-Spam-Status: No, score=0.101 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 VnNgMR5ONSkJ for <tls@ietfa.amsl.com>; Sun, 21 May 2017 22:26:21 -0700 (PDT)
Received: from mx43-out1.antispamcloud.com (mx43-out1.antispamcloud.com [138.201.61.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8DC31129B3C for <tls@ietf.org>; Sun, 21 May 2017 22:26:19 -0700 (PDT)
Received: from xsmtp01.mail2web.com ([168.144.250.230]) by mx43.antispamcloud.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.86) (envelope-from <huitema@huitema.net>) id 1dCfrF-0004UR-1R for tls@ietf.org; Mon, 22 May 2017 07:26:17 +0200
Received: from [10.5.2.15] (helo=xmail05.myhosting.com) by xsmtp01.mail2web.com with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from <huitema@huitema.net>) id 1dCfr9-0003Ng-C5 for tls@ietf.org; Mon, 22 May 2017 01:26:15 -0400
Received: (qmail 27739 invoked from network); 22 May 2017 05:26:09 -0000
Received: from unknown (HELO [192.168.1.102]) (Authenticated-user:_huitema@huitema.net@[172.56.42.111]) (envelope-sender <huitema@huitema.net>) by xmail05.myhosting.com (qmail-ldap-1.03) with ESMTPA for <tls@ietf.org>; 22 May 2017 05:26:07 -0000
To: =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>, Eric Rescorla <ekr@rtfm.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>
From: Christian Huitema <huitema@huitema.net>
Message-ID: <d5ad3bf1-d05a-4e27-2ea9-f7c60b4b0c18@huitema.net>
Date: Sun, 21 May 2017 22:26:04 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------3E06E92CC622CDB4A6B9E27A"
X-Originating-IP: 168.144.250.230
X-SpamExperts-Domain: xsmtpout.mail2web.com
X-SpamExperts-Username: 168.144.250.0/24
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=168.144.250.0/24@xsmtpout.mail2web.com
X-SpamExperts-Outgoing-Class: unsure
X-SpamExperts-Outgoing-Evidence: Combined (0.14)
X-Recommended-Action: accept
X-Filter-ID: s0sct1PQhAABKnZB5plbIVbU93hg6Kq00BjAzYBqWlVTHAar8Je/lORhy3PZJU8LERWeKKG4PAQY Nyavp7c49LCP7NcwZmTrFhTWonoFoqtTugiLDom8V25hond3K4RsO76XSTAwtV4mg4i2ouCDa4AU hvIWAV5xUW/+gAh4vXpynqmxH7KpPKZAVjX1Se8CRcOb18WfxGyg6Om6u4YYm9YArbdtautoyLzS s/JWDXc5hjoyEb9Oq0NWpyO3vrfYoocEfHwV+0ePfQGXOSgIJz3dKxLhoxcmaInYbR5vlqGudzLe k2TYFBStSOMccbr5Uz0sPgnpAk2KA2vJwMd1uWhCmLzOxTAcQmFWVARhgNqBNFD3an3wiMp49rVr ybSB9a2LHJVD1n7GG0fP4s+aInTFgIfDMShmlQFqCr5hA8xAXSGwpLGc/Znuh3MoIpK0AdUEPptZ 3fLBarnabQfPf7bRF0J+AL6gRRwFcty0/RGJ+cv73CChOPjKA0/DVd83mzKXD5o/Ia+BqyQ7Q0nt IZ2PVtMHd8bHCmdzlxzVIEgwyGTHIAoNFX+jcW7DGmdE6eBVl9/A6GtGi+mfMSANmgQ9/T0zHbtC pLbhgZ6Z/Qhqxiuap5uKiBpffUsHYsfmrbtbs8GJuRKR6hnrta1usy6F/SOWlhnS7qkS/mOkSgD5 8bDUIriOSOQTK7vaz2jBsjp0rjSY76LAIHA6cW4Oa0k1QmJ32eA5/D47ikwJamSKsuHVheBSoveD wM1QT+afxdwDV/LdQk4Dnvnv/o4ZpIN8Tfe43vaXKX/yihCEqxIlRZaHuAWSnHeK3PdSA6Q+2n/k rhIYlNMbfS0wdTtG+6JGvz6FazW2uq9LM3++XT4UhuDAoR32cV4eNY9hrm4n
X-Report-Abuse-To: spam@quarantine5.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/F1_8t-1wb7pMROxGwmmHrAkC5_0>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 05:26:23 -0000

This is a multi-part message in MIME format.
--------------3E06E92CC622CDB4A6B9E27A
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable



On 5/21/2017 7:28 PM, Colm MacC=E1rthaigh wrote:
>
>
> On Sun, May 21, 2017 at 3:47 PM, Eric Rescorla <ekr@rtfm.com
> <mailto:ekr@rtfm.com>> wrote:
>
>
>
>     ...
>
>     I'm happy to write this up as part of the first two techniques.
>     I'd be=20
>     interested in hearing from others in the WG what they think about:
>
>     1. Requiring it.
>     2. Whether they still want to retain the stateless technique.
>
>
> I'm for requiring it, and for removing the stateless technique ...
> because it prevents the side-channel and DOS attacks and those seem
> like the most serious ones (and also, the new ones).=20
>
> So far each case where we've thought "Actually stateless might be ok
> in this case" ... like the example of DNS ... turns out not to be safe
> when examined more closely (in DNSes case it would compromise privacy
> because caches could be probed).=20

I would much rather see this specified within TLS than within the
application. Specifically, I would not like to see application making
statements that they can only use 0-RTT if the TLS software that they
use does implement "at most once" limitations on 0-RTT tickets. You
know, pretty much like those security sections that explain than a
careless application will be safe if it runs over IPSEC. Maybe with some
RFC 6919 language.

-- Christian Huitema

--------------3E06E92CC622CDB4A6B9E27A
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 5/21/2017 7:28 PM, Colm MacCárthaigh
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Sun, May 21, 2017 at 3:47 PM, Eric
            Rescorla <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:ekr@rtfm.com" target="_blank">ekr@rtfm.com</a>&gt;</span>
            wrote:
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">
                <div class="gmail_extra">
                  <div class="gmail_quote"><span class="">
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex"><br>
                      </blockquote>
                      <div><br>
                      </div>
                    </span>
                    <div class="gmail_quote">...
                      <div><br>
                      </div>
                      <div>I'm happy to write this up as part of the
                        first two techniques. I'd be </div>
                      <div>interested in hearing from others in the WG
                        what they think about:</div>
                      <div><br>
                      </div>
                      <div>1. Requiring it.</div>
                      <div>2. Whether they still want to retain the
                        stateless technique.</div>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">
                <div class="gmail_extra"></div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>I'm for requiring it, and for removing the stateless
              technique ... because it prevents the side-channel and DOS
              attacks and those seem like the most serious ones (and
              also, the new ones). </div>
            <div><br>
            </div>
            <div>So far each case where we've thought "Actually
              stateless might be ok in this case" ... like the example
              of DNS ... turns out not to be safe when examined more
              closely (in DNSes case it would compromise privacy because
              caches could be probed). </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I would much rather see this specified within TLS than within the
    application. Specifically, I would not like to see application
    making statements that they can only use 0-RTT if the TLS software
    that they use does implement "at most once" limitations on 0-RTT
    tickets. You know, pretty much like those security sections that
    explain than a careless application will be safe if it runs over
    IPSEC. Maybe with some RFC 6919 language.<br>
    <br>
    -- Christian Huitema<br>
  </body>
</html>

--------------3E06E92CC622CDB4A6B9E27A--


From nobody Sun May 21 22:52:13 2017
Return-Path: <sankalp.nitt@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02487129B3A for <tls@ietfa.amsl.com>; Sun, 21 May 2017 22:52:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level: 
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 YAgEpbV_pLnk for <tls@ietfa.amsl.com>; Sun, 21 May 2017 22:52:09 -0700 (PDT)
Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (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 EE8C91296B3 for <tls@ietf.org>; Sun, 21 May 2017 22:52:08 -0700 (PDT)
Received: by mail-oi0-x229.google.com with SMTP id w10so148851773oif.0 for <tls@ietf.org>; Sun, 21 May 2017 22:52:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to:cc; bh=rP+aOYR4m72Xmu9xde75IQxoVF5G7M6rh7uzvDyUgng=; b=kX3GjIDRa8uHgrUBIQSKPHCMa+fXA483NNitCt7jKlWNtio/YrcbSLD6dBgS46ZATn stuezRkBoe3ki0y4eFg+jbn7/2MIRpP/A5R138MngFULJMM2RFswXaq0CMqD6+XDqpp1 zWsQBH1TpHSoCY6E+rQZ0zQqaYHZx/fSQS5bfQpcUyiFAXkRGlNB1rLc3ovv5+LW5eWr BLu8tU6rnmxqt8pVvMf3CrE8AcWNWDX/9oAgB3pKsG/1R9alHqBBc1oB4spj20iDPkmV Ylw7LavAtwIXTYrxEuOzIJQ66jSi//WHCai/GHN9K0nq2IrPVB+WHLt3bBo1X+VOxovu OPrw==
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:cc; bh=rP+aOYR4m72Xmu9xde75IQxoVF5G7M6rh7uzvDyUgng=; b=n4ALH6msZRovc3cihD4X0tdd5ieDCdnxgfWSXFoC3UaUpLQyF4KSCkz3vqJdRQwvB4 9NuBWDiWiAVCUEWB3sGqyxDm3pD/nmPOzp6xEBDAgFbt+aCM809XDfwmQq1KeQNUSd6J 1aI9FbbJeT/DgaEdyFyaKn6G88hIqW5mL8m1twprVm27FkokqawT+Jd6K5cLcKwfjtWb 6dNU93Z0IY2nknZNIJj0d6n4iLIoAD6BXt9tvVUK7maVbkV36kr6HkvKN+A6P42fvEiK 7SRbj+xvjR9jG7qz4Nknj6Aw6BCdcDhAgIPwq6gBMtatPFixuvDwygdqytv/doTTpne7 Knyw==
X-Gm-Message-State: AODbwcDVIwmtGu/1US+4ejYcehglKOceSMutUHauXENVnCBdGQZfD/Sh MobaPVOZAHKl8J1zmxM55oYk9dYO1A==
X-Received: by 10.157.16.55 with SMTP id h52mr10201564ote.218.1495432328358; Sun, 21 May 2017 22:52:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.56.24 with HTTP; Sun, 21 May 2017 22:52:07 -0700 (PDT)
From: Sankalp Bagaria <sankalp.nitt@gmail.com>
Date: Mon, 22 May 2017 11:22:07 +0530
Message-ID: <CAPZZOThk9GL1T2N06cwkAA4edFp9YmubM20Rn0nu8u-Jp_pObw@mail.gmail.com>
To: tls@ietf.org
Cc: sankalp <sankalp@cdac.in>, Balaji Rajendran <balajirajendran@gmail.com>
Content-Type: multipart/alternative; boundary="001a113d0342b7afda0550167836"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/RORa8HL1to_6NfkjWILgdni-row>
Subject: Re: [TLS] I-D Action: draft-ietf-tls-exported-authenticator-00.txt (internet-drafts@ietf.org)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 05:52:11 -0000

--001a113d0342b7afda0550167836
Content-Type: text/plain; charset="UTF-8"

Hi,

I have a couple of questions:
1) How will the out-of-band request for certificate be sent by the server/
client ?
What format will be used ? (Only Reply's format is given in draft)
2a) If certificate verification is unsuccessful, will the existing
connection also be
dropped or will it be continued ?
2b) If certificate verification is successful, how will the state of the
connection
change ? Will there be a re-direction to new entity ? If yes, how will that
be
achieved ?

Regards,
Sankalp Bagaria.


>
> ------------------------------
>
> Message: 3
> Date: Thu, 18 May 2017 14:04:38 -0700
> From: internet-drafts@ietf.org
> To: <i-d-announce@ietf.org>
> Cc: tls@ietf.org
> Subject: [TLS] I-D Action:
>         draft-ietf-tls-exported-authenticator-00.txt
> Message-ID: <149514147857.6720.16783609697509356369@ietfa.amsl.com>
> Content-Type: text/plain; charset="utf-8"
>
>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> This draft is a work item of the Transport Layer Security of the IETF.
>
>         Title           : Exported Authenticators in TLS
>         Author          : Nick Sullivan
>         Filename        : draft-ietf-tls-exported-authenticator-00.txt
>         Pages           : 6
>         Date            : 2017-05-18
>
> Abstract:
>    This document describes a mechanism in Transport Layer Security (TLS)
>    to provide an exportable proof of ownership of a certificate that can
>    be transmitted out of band and verified by the other party.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-tls-exported-authenticator/
>
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-tls-exported-authenticator-00
> https://datatracker.ietf.org/doc/html/draft-ietf-tls-
> exported-authenticator-00
>
>
> Please note that it may take a couple of minutes from the time of
> submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
>
>
>

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

<div dir=3D"ltr">Hi,<div><br></div><div>I have a couple of questions:</div>=
<div>1) How will the out-of-band request for certificate be sent by the ser=
ver/ client ?</div><div>What format will be used ? (Only Reply&#39;s format=
 is given in draft)</div><div>2a) If certificate verification is unsuccessf=
ul, will the existing connection also be=C2=A0</div><div>dropped or will it=
 be continued ?</div><div>2b) If certificate verification is successful, ho=
w will the state of the connection</div><div>change ? Will there be a re-di=
rection to new entity ? If yes, how will that be</div><div>achieved ?</div>=
<div><br></div><div>Regards,</div><div>Sankalp Bagaria.<br><div class=3D"gm=
ail_extra"><br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><b=
r>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 18 May 2017 14:04:38 -0700<br>
From: <a href=3D"mailto:internet-drafts@ietf.org">internet-drafts@ietf.org<=
/a><br>
To: &lt;<a href=3D"mailto:i-d-announce@ietf.org">i-d-announce@ietf.org</a>&=
gt;<br>
Cc: <a href=3D"mailto:tls@ietf.org">tls@ietf.org</a><br>
Subject: [TLS] I-D Action:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 draft-ietf-tls-exported-<wbr>authenticator-00.t=
xt<br>
Message-ID: &lt;<a href=3D"mailto:149514147857.6720.16783609697509356369@ie=
tfa.amsl.com">149514147857.6720.<wbr>16783609697509356369@ietfa.<wbr>amsl.c=
om</a>&gt;<br>
Content-Type: text/plain; charset=3D&quot;utf-8&quot;<br>
<br>
<br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
This draft is a work item of the Transport Layer Security of the IETF.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Title=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:=
 Exported Authenticators in TLS<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Author=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : Nick=
 Sullivan<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Filename=C2=A0 =C2=A0 =C2=A0 =C2=A0 : draft-iet=
f-tls-exported-<wbr>authenticator-00.txt<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Pages=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:=
 6<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Date=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :=
 2017-05-18<br>
<br>
Abstract:<br>
=C2=A0 =C2=A0This document describes a mechanism in Transport Layer Securit=
y (TLS)<br>
=C2=A0 =C2=A0to provide an exportable proof of ownership of a certificate t=
hat can<br>
=C2=A0 =C2=A0be transmitted out of band and verified by the other party.<br=
>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-tls-exported-authent=
icator/" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/=
<wbr>doc/draft-ietf-tls-exported-<wbr>authenticator/</a><br>
<br>
There are also htmlized versions available at:<br>
<a href=3D"https://tools.ietf.org/html/draft-ietf-tls-exported-authenticato=
r-00" rel=3D"noreferrer" target=3D"_blank">https://tools.ietf.org/html/<wbr=
>draft-ietf-tls-exported-<wbr>authenticator-00</a><br>
<a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-tls-exported-au=
thenticator-00" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ie=
tf.org/<wbr>doc/html/draft-ietf-tls-<wbr>exported-authenticator-00</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n<br>
until the htmlized version and diff are available at <a href=3D"http://tool=
s.ietf.org" rel=3D"noreferrer" target=3D"_blank">tools.ietf.org</a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" rel=3D"noreferrer" target=
=3D"_blank">ftp://ftp.ietf.org/internet-<wbr>drafts/</a><br>
<br>
<br>
<br></blockquote></div></div></div></div>

--001a113d0342b7afda0550167836--


From nobody Sun May 21 23:00:08 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 05EE5129B49 for <tls@ietfa.amsl.com>; Sun, 21 May 2017 23:00:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 oviomQupA7GT for <tls@ietfa.amsl.com>; Sun, 21 May 2017 23:00:04 -0700 (PDT)
Received: from mail-lf0-x22b.google.com (mail-lf0-x22b.google.com [IPv6:2a00:1450:4010:c07::22b]) (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 AD619129B33 for <tls@ietf.org>; Sun, 21 May 2017 23:00:03 -0700 (PDT)
Received: by mail-lf0-x22b.google.com with SMTP id h4so24785900lfj.3 for <tls@ietf.org>; Sun, 21 May 2017 23:00:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ZAfsJT2tqonqqO1ugXR86LAGthDBdaDpfrueH+RPEwc=; b=PYUEQGV/r1oEZsBCxC29W2/wgcHfBCH8lMmMTY2PLZscg+2B4T+UW/+mM3NQ7tWcwo hfFrRVQ3C9XaPEQePXmsQ+J3jt/38gXQJpUC4jGhBbntJRI8y3u8AdDlMMZQLMO3bghb mLJbXSijteftyQEsWDOL6PMXhagOI1dkawDKEigCIl2CvIHiLB8ukgad/anv9H/6WagM xh5Qr2gtDvOKX/xjWR21PIafZ4hEnqwrNKHKRZVeVFGvgmKGbajgBzeQoqDbjcqr5iye KCUT0hYZVbXsi4vp367IJABUgWEYmvnloP7W553MveMpYIrsHxYa0Czo9M7/XKnrX9vl 7eCw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ZAfsJT2tqonqqO1ugXR86LAGthDBdaDpfrueH+RPEwc=; b=gWWWgjF6MIpYj1eBZy8VAKEhOUDDLkOUkHpgrrc6rCd++jV4V/d6F/ZWp4mZ6JSa14 3xyUSquEIFnqvi+woostYPlB4lOdRlxv49SMOgSsiDq8pEPzV+7QxP996lKI8mcF+EtE 3eFuar3mD0NL4uAxEfDiumv4afBseOSbwfX8GwHJpgqkcp35z7EM2uPCSK8Odtavv3OY PVFvesRYurRS98ylvP0sjH1OxsGs4ve9OyE7SobbGsFaLcyszLcORy9Fw+8w1roUsWJw vGYH1dz2NL9sC44ziOKfe+bW9OcOZSM3DH5DWS5QUUgCerx8PqZl8Yfe1kRdfibF2dUW MN+Q==
X-Gm-Message-State: AODbwcConG+wvLmQdVxTPKuB/WWln0+ABJlYfyYn9Xp8qe1QEnkst+94 7droDk37zzwvrzTpUPtbNpVOSizmMg==
X-Received: by 10.46.76.1 with SMTP id z1mr4601909lja.128.1495432801758; Sun, 21 May 2017 23:00:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.22.73 with HTTP; Sun, 21 May 2017 23:00:01 -0700 (PDT)
In-Reply-To: <CAPZZOThk9GL1T2N06cwkAA4edFp9YmubM20Rn0nu8u-Jp_pObw@mail.gmail.com>
References: <CAPZZOThk9GL1T2N06cwkAA4edFp9YmubM20Rn0nu8u-Jp_pObw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 22 May 2017 16:00:01 +1000
Message-ID: <CABkgnnUrp84sWCe+iXYFM9PvGN3uKDu5wdQ_aLZMuwJb6aYgqg@mail.gmail.com>
To: Sankalp Bagaria <sankalp.nitt@gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>, Balaji Rajendran <balajirajendran@gmail.com>, sankalp <sankalp@cdac.in>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/apMHaLIO7L3ISCrMEF2eeGGfg-Y>
Subject: Re: [TLS] I-D Action: draft-ietf-tls-exported-authenticator-00.txt (internet-drafts@ietf.org)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 06:00:06 -0000

This defines a tool, in the same way that RFC 5705 does.  See
https://tools.ietf.org/html/draft-bishop-httpbis-http2-additional-certs
for a use of that tool.

On 22 May 2017 at 15:52, Sankalp Bagaria <sankalp.nitt@gmail.com> wrote:
> Hi,
>
> I have a couple of questions:
> 1) How will the out-of-band request for certificate be sent by the server/
> client ?
> What format will be used ? (Only Reply's format is given in draft)
> 2a) If certificate verification is unsuccessful, will the existing
> connection also be
> dropped or will it be continued ?
> 2b) If certificate verification is successful, how will the state of the
> connection
> change ? Will there be a re-direction to new entity ? If yes, how will that
> be
> achieved ?
>
> Regards,
> Sankalp Bagaria.
>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Thu, 18 May 2017 14:04:38 -0700
>> From: internet-drafts@ietf.org
>> To: <i-d-announce@ietf.org>
>> Cc: tls@ietf.org
>> Subject: [TLS] I-D Action:
>>         draft-ietf-tls-exported-authenticator-00.txt
>> Message-ID: <149514147857.6720.16783609697509356369@ietfa.amsl.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>>
>> A New Internet-Draft is available from the on-line Internet-Drafts
>> directories.
>> This draft is a work item of the Transport Layer Security of the IETF.
>>
>>         Title           : Exported Authenticators in TLS
>>         Author          : Nick Sullivan
>>         Filename        : draft-ietf-tls-exported-authenticator-00.txt
>>         Pages           : 6
>>         Date            : 2017-05-18
>>
>> Abstract:
>>    This document describes a mechanism in Transport Layer Security (TLS)
>>    to provide an exportable proof of ownership of a certificate that can
>>    be transmitted out of band and verified by the other party.
>>
>>
>> The IETF datatracker status page for this draft is:
>> https://datatracker.ietf.org/doc/draft-ietf-tls-exported-authenticator/
>>
>> There are also htmlized versions available at:
>> https://tools.ietf.org/html/draft-ietf-tls-exported-authenticator-00
>>
>> https://datatracker.ietf.org/doc/html/draft-ietf-tls-exported-authenticator-00
>>
>>
>> Please note that it may take a couple of minutes from the time of
>> submission
>> until the htmlized version and diff are available at tools.ietf.org.
>>
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>>
>>
>>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>


From nobody Mon May 22 07:50:17 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7022612EADB for <tls@ietfa.amsl.com>; Mon, 22 May 2017 07:50:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.599
X-Spam-Level: 
X-Spam-Status: No, score=-1.599 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 QUCHKOojaIrY for <tls@ietfa.amsl.com>; Mon, 22 May 2017 07:50:14 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6CAF7127078 for <tls@ietf.org>; Mon, 22 May 2017 07:50:14 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTP id 0D55D20051C29; Mon, 22 May 2017 07:50:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=cryptonector.com; bh=mcEolSDH2qMqIBjN79Nlzuj2Qjs =; b=G9esvAjhMnoP3R8ZPFV73lJHQYOXjeKzZkKKvxeUNn7oneXrQ4l1hmgSOCN WJv3ytG0dLloeRMzPDLFugTKVaoEB2Bg9061RaQU1DmiE3z3dia9tmVxsFBj9G8b znMpAyJuZsBTYtvUmYO5CwTfWeT3bja0BbM2qcFq2nhjN6W4=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTPSA id BAB5B20051C26; Mon, 22 May 2017 07:50:13 -0700 (PDT)
Date: Mon, 22 May 2017 09:50:09 -0500
From: Nico Williams <nico@cryptonector.com>
To: TLS WG <tls@ietf.org>
Message-ID: <20170522145008.GN10188@localhost>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/nH-AMLsEQO-fGChYpRlSlcAFqBA>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 14:50:15 -0000

On Sat, May 20, 2017 at 01:55:07AM -0400, Viktor Dukhovni wrote:
> > On May 20, 2017, at 1:41 AM, Nico Williams <nico@cryptonector.com> wrote:
> > "When using TLS to authenticate the server, certificate signature
> > algorithms weaker than <list of weakest acceptable signature algs here>
> > MUST NOT be used."
> 
> Minor correction, perhaps you really mean to say "when using RFC5280 (PKIX)
> to authenticate... (the [server or client?]).  TLS is just the transport
> after all.

No, I meant what I said, as in "as opposed to using TLS
opportunistically".

Nico
-- 


From nobody Mon May 22 08:35:37 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0020412422F for <tls@ietfa.amsl.com>; Mon, 22 May 2017 08:35:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 WgdYo818wGNY for <tls@ietfa.amsl.com>; Mon, 22 May 2017 08:35:33 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0D6D51200CF for <tls@ietf.org>; Mon, 22 May 2017 08:35:32 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 16A4E7A32F1 for <tls@ietf.org>; Mon, 22 May 2017 15:35:32 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <20170522145008.GN10188@localhost>
Date: Mon, 22 May 2017 11:35:31 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <2D45C128-BF84-481C-AC28-87A9793B5E00@dukhovni.org>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <20170522145008.GN10188@localhost>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/TQeShPGf9iMlVNHj54hnIJm7_cA>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 15:35:35 -0000

> On May 22, 2017, at 10:50 AM, Nico Williams <nico@cryptonector.com> =
wrote:
>=20
>>> "When using TLS to authenticate the server, certificate signature
>>> algorithms weaker than <list of weakest acceptable signature algs =
here>
>>> MUST NOT be used."
>>=20
>> Minor correction, perhaps you really mean to say "when using RFC5280 =
(PKIX)
>> to authenticate... (the [server or client?]).  TLS is just the =
transport
>> after all.
>=20
> No, I meant what I said, as in "as opposed to using TLS
> opportunistically".

While we are quibbling over terminology and not substance:

Note that opportunistically !=3D unauthenticated.  Opportunistic DANE =
TLS
still authenticates when the peer has TLSA records, and even uses PKIX
when the TLSA record certificate usage is DANE-TA(2).  And sufficiently
strong algorithms are desirable even under those conditions:

   =
https://github.com/vdukhovni/postfix/blob/master/postfix/src/tls/tls_clien=
t.c#L955

So it seems the phrase "using TLS to authenticate" in fact means using
RFC5280 (PKIX) to authenticate the peer via its signature over its
Cerificate Verify message:

	=
https://tools.ietf.org/html/draft-ietf-tls-tls13-20#section-4.4.3

The phrase used to describe the situation in that section of the draft =
is
"when authenticating via a certificate", which is part of the story, =
what
would need to be added to that to get the right context for setting a =
floor
on acceptable certificate signature algorithms is something along the =
lines
of "with PKIX chain verification".

Still, all of this belongs in an update of RFC5280, but if we just can't
resist saying something here along the lines you suggest then it might =
be:

"When peer authentication is via a certificate, with RFC5280 (PKIX) =
chain
verification, certificate signature algorithms weaker than <list of =
weakest
acceptable signature algs here> MUST NOT be trusted."

I carefully say "MUST NOT be trusted" rather than "MUST NOT be used", it =
is
the relying party that decides what minimal algorithm strength is =
acceptable.
The peer may send whatever chain it has (lacking one that meets the =
advertised
supported signature algorithms).

Peers that desire broadly interoperable RFC5280 authentication via their
certificate chain should of course be configured to present chains that =
avoid
deprecated certificate signature algorithms (except in self-signatures =
of
trust-anchors).

--=20
	Viktor.


From nobody Mon May 22 08:53:16 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 42B81124D85 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 08:53:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham 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 SIQLae5eFHMf for <tls@ietfa.amsl.com>; Mon, 22 May 2017 08:53:12 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8A6031200E5 for <tls@ietf.org>; Mon, 22 May 2017 08:53:12 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 38DB67A32F1 for <tls@ietf.org>; Mon, 22 May 2017 15:53:11 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <2D45C128-BF84-481C-AC28-87A9793B5E00@dukhovni.org>
Date: Mon, 22 May 2017 11:53:10 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <D716A296-07DD-49B9-99E5-51388131D3E7@dukhovni.org>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <20170522145008.GN10188@localhost> <2D45C128-BF84-481C-AC28-87A9793B5E00@dukhovni.org>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/x45YGSyHI9HGzHcLk-Ed9urgjE8>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 15:53:14 -0000

> On May 22, 2017, at 11:35 AM, Viktor Dukhovni <ietf-dane@dukhovni.org> =
wrote:
>=20
> Still, all of this belongs in an update of RFC5280, but if we just =
can't
> resist saying something here along the lines you suggest then it might =
be:
>=20
> "When peer authentication is via a certificate, with RFC5280 (PKIX) =
chain
> verification, certificate signature algorithms weaker than <list of =
weakest
> acceptable signature algs here> MUST NOT be trusted."

I want to reiterate, that the simplest approach, and the one that I
would prefer, is not to repurpose the TLS 1.3 specification to carry
language that properly belongs in PKIX.  The "MUST NOT" language
related to MD5 and SHA-1 in *certificate signatures* should be removed.

--=20
	Viktor.


From nobody Mon May 22 10:06:56 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 079B2126CF6 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:06:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.1
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 dL_KQJbiIt0Z for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:06:53 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C1C061201F2 for <tls@ietf.org>; Mon, 22 May 2017 10:06:53 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4MGv1R3016289; Mon, 22 May 2017 18:06:48 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : references : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=feTyB1MLUXJp/c/yfnni6YdtNNhzlFOfTQ9soNnvfi4=; b=HSHRLD00+huZoRQiizCzP0oFx2tI3ejyx62PdlEE2WSZXu8KoWpgOiAa1d9IrdGG1fpI YyiTCq90KjzlRkUQKTCC2j9lnqj/MmEFwiWRtAz2Ax1/MvY9PN9xfUuOfMh/XVgJx2Vm WwEGU5BFL6SzloSVuuR0RwsJPfk11cgQL2cPANZrSgwh7eA0d6eoS+puSW32f5Cf4Ro1 AJ/P/mVJSjVN5Efql80E/z6j3yPi+X3C06Sz0tXc6CZz+ha1X0lQQDoVOXjo9iMkHMiA L4NqjZ5gbBi2GvqMh3q1vfCc7JlWDB2WBuQ6tnv1T7fjQkVPWOnlROntxZZ6rfLhntl6 5Q== 
Received: from prod-mail-ppoint2 (a184-51-33-19.deploy.static.akamaitechnologies.com [184.51.33.19] (may be forged)) by m0050096.ppops.net-00190b01. with ESMTP id 2aje78btvj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2017 18:06:48 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4MH6dJ4026783; Mon, 22 May 2017 13:06:47 -0400
Received: from prod-mail-relay10.akamai.com ([172.27.118.251]) by prod-mail-ppoint2.akamai.com with ESMTP id 2ajh4up4kw-1; Mon, 22 May 2017 13:06:47 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id 72E2E1FC73; Mon, 22 May 2017 17:06:47 +0000 (GMT)
To: TLS WG <tls@ietf.org>, Viktor Dukhovni <ietf-dane@dukhovni.org>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com>
Date: Mon, 22 May 2017 12:06:47 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org>
Content-Type: multipart/alternative; boundary="------------0AE0384D8C92110539DD1F5F"
Content-Language: en-US
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-22_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705220090
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-22_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705220089
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ckhlKU4dh9LJE1DGlB5AmAfVy2s>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:06:55 -0000

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

On 05/20/2017 12:55 AM, Viktor Dukhovni wrote:
>> On May 20, 2017, at 1:41 AM, Nico Williams <nico@cryptonector.com> wrote:
>>
>> "When using TLS to authenticate the server, certificate signature
>> algorithms weaker than <list of weakest acceptable signature algs here>
>> MUST NOT be used."
> Minor correction, perhaps you really mean to say "when using RFC5280 (PKIX)
> to authenticate... (the [server or client?]).  TLS is just the transport
> after all.
>

Given the apparent strength of opinion against removing these supposed
restrictions entirely, it seems like this text (or something similar) is
probably the best we can do.

-Ben

--------------0AE0384D8C92110539DD1F5F
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 05/20/2017 12:55 AM, Viktor Dukhovni wrote:<br>
    <blockquote type="cite"
      cite="mid:80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org">
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">On May 20, 2017, at 1:41 AM, Nico Williams <a class="moz-txt-link-rfc2396E" href="mailto:nico@cryptonector.com">&lt;nico@cryptonector.com&gt;</a> wrote:

"When using TLS to authenticate the server, certificate signature
algorithms weaker than &lt;list of weakest acceptable signature algs here&gt;
MUST NOT be used."
</pre>
      </blockquote>
      <pre wrap="">
Minor correction, perhaps you really mean to say "when using RFC5280 (PKIX)
to authenticate... (the [server or client?]).  TLS is just the transport
after all.

</pre>
    </blockquote>
    <br>
    Given the apparent strength of opinion against removing these
    supposed restrictions entirely, it seems like this text (or
    something similar) is probably the best we can do.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------0AE0384D8C92110539DD1F5F--


From nobody Mon May 22 10:12:27 2017
Return-Path: <prvs=6315748958=knekritz@fb.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CCB3A12EB30 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:12:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.719
X-Spam-Level: 
X-Spam-Status: No, score=-2.719 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=fb.com header.b=pvPyNqpH; dkim=pass (1024-bit key) header.d=fb.onmicrosoft.com header.b=OnQ7mnj8
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 NDT5ZsR0mX1L for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:12:24 -0700 (PDT)
Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 93B05126C23 for <tls@ietf.org>; Mon, 22 May 2017 10:12:24 -0700 (PDT)
Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v4MH9tB8015354; Mon, 22 May 2017 10:12:22 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=facebook; bh=uJ36TymipTgbwDtH07ehlRnP2lFZap/P8SFXxamoU0U=; b=pvPyNqpHTR3+Tr0HCSVuj5he38MA0+5lqi3ye+ZidLq/GR3SkbvJ5wCxHzXZj79QyRL2 eg00MnkDpTNKNz5SDcpPaq6fW0UXm3bAfg7AiV920ZkMwdCTVG1lpHfBZGYq4y0cXydI iY3aLFfAG0xp2V46uB/REaPCkQXxkToz6nc= 
Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2am22t8j58-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 22 May 2017 10:12:22 -0700
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (192.168.183.28) by o365-in.thefacebook.com (192.168.177.28) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 22 May 2017 13:12:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;  bh=uJ36TymipTgbwDtH07ehlRnP2lFZap/P8SFXxamoU0U=; b=OnQ7mnj8sGPduohmfm3HiUN8OukIJ7eioJOoUYoglzoVk5OnosBf7HmlOvST5Juw2UdZcRFP1kdktdTdUR9sTwb01SH3EHNacd4iK17PrXJV1k1+SgrQXCsSSGuvwN4UP8glogkFW0jvjv+r2EnHmvnI32YutrIwraTV0EcVYxc=
Received: from MWHPR15MB1182.namprd15.prod.outlook.com (10.175.2.136) by MWHPR15MB1182.namprd15.prod.outlook.com (10.175.2.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Mon, 22 May 2017 17:12:19 +0000
Received: from MWHPR15MB1182.namprd15.prod.outlook.com ([10.175.2.136]) by MWHPR15MB1182.namprd15.prod.outlook.com ([10.175.2.136]) with mapi id 15.01.1101.019; Mon, 22 May 2017 17:12:19 +0000
From: Kyle Nekritz <knekritz@fb.com>
To: =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>, Eric Rescorla <ekr@rtfm.com>
CC: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NWfzhsEfLgEUy3mG3N+R1DLqHjghwAgAAB3wCAAABtgIABK3OAgBMVs4CAA79FgIAAdzaAgAEhiwCAAmQwAIAAPdqAgADlUOA=
Date: Mon, 22 May 2017 17:12:19 +0000
Message-ID: <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com>
In-Reply-To: <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: allcosts.net; dkim=none (message not signed) header.d=none;allcosts.net; dmarc=none action=none header.from=fb.com;
x-originating-ip: [2620:10d:c091:200::4:3a71]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; MWHPR15MB1182; 7:UKcVxpfvgd2PPN3HwKpYrzm+FLTz6YyYM5prMYZBkQ60UGZ7VV1D/FfNMSV3Bclh4L66UOJfJ0ApCw950YD9aaRKZDqCw/GT5jfxQK2V8RXm6/0EhxJZrSDkEMFERf9kw4emd0bwYOdH/KfbgP5vF5nXfjvvv0k21Clfja/brE5Oyo51VA9bhVDN+hFmIkDhnDiG/Rh9MKLgFs2LLcPyIQLfMmJUk30CAsBLjr5e1Mvr4vGlIxwcaELw0iK/b2vKeSJ5uU9nAxfSyP/d7nkD7cwhLqMmWEXkQiBOLZ7PJbPFTWWYPoQp3/rzSBrt1jzDCdaHJ2m7p5LRlC0d54Ia8A==; 20:Le+DK2kHyQIbcKNzUoMqHhTJ7wVeBz0xjqqyci2KwgYoKJdBduvL6XXU0gYdSXt65UafnVIa/8bXt/GZ9Y8AwKnTTOUqtmgm7bVniEanmouFMxfzPtzRcO/3ArVmorEtSNhWmd7YRNOdRjhDbf5CjwlvdUCZzdijsmbZ9WYOEzQ=
x-ms-traffictypediagnostic: MWHPR15MB1182:
x-ms-office365-filtering-correlation-id: b08abe49-6a0c-468e-e761-08d4a135b426
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:MWHPR15MB1182; 
x-microsoft-antispam-prvs: <MWHPR15MB11827C1A46A90CCAB2029DB3AFF80@MWHPR15MB1182.namprd15.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(192374486261705)(21748063052155); 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(20161123555025)(20161123562025)(6072148); SRVR:MWHPR15MB1182; BCL:0; PCL:0; RULEID:; SRVR:MWHPR15MB1182; 
x-forefront-prvs: 03152A99FF
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39410400002)(39840400002)(39450400003)(39400400002)(39850400002)(377454003)(24454002)(54356999)(46360400001)(5660300001)(74316002)(3660700001)(7736002)(3280700002)(76176999)(50986999)(53546009)(93886004)(38730400002)(4326008)(99286003)(54896002)(53936002)(9686003)(10710500007)(236005)(55016002)(33656002)(6306002)(6246003)(2906002)(122556002)(8936002)(2900100001)(19609705001)(2950100002)(6506006)(77096006)(229853002)(6436002)(478600001)(7696004)(81166006)(25786009)(189998001)(7110500001)(102836003)(15650500001)(6116002)(2420400007)(86362001)(8676002)(790700001); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR15MB1182; H:MWHPR15MB1182.namprd15.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_MWHPR15MB1182F59E2B60534CB20EC9C4AFF80MWHPR15MB1182namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 May 2017 17:12:19.1427 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR15MB1182
X-OriginatorOrg: fb.com
X-Proofpoint-Spam-Reason: safe
X-FB-Internal: Safe
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-22_09:, , signatures=0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/iF2oPDlz8zYhAuHZjnEMqlH3734>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:12:27 -0000

--_000_MWHPR15MB1182F59E2B60534CB20EC9C4AFF80MWHPR15MB1182namp_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

VGhlIHN0YXRlbGVzcyB0ZWNobmlxdWUgY2VydGFpbmx5IGRvZXNu4oCZdCBzb2x2ZSBhbGwg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m1hbCI+PG86cD4m
bmJzcDs8L286cD48L3A+DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj5TbyBm
YXIgZWFjaCBjYXNlIHdoZXJlIHdlJ3ZlIHRob3VnaHQgJnF1b3Q7QWN0dWFsbHkgc3RhdGVsZXNz
IG1pZ2h0IGJlIG9rIGluIHRoaXMgY2FzZSZxdW90OyAuLi4gbGlrZSB0aGUgZXhhbXBsZSBvZiBE
TlMgLi4uIHR1cm5zIG91dCBub3QgdG8gYmUgc2FmZSB3aGVuIGV4YW1pbmVkIG1vcmUgY2xvc2Vs
eSAoaW4gRE5TZXMgY2FzZSBpdCB3b3VsZCBjb21wcm9taXNlIHByaXZhY3kgYmVjYXVzZSBjYWNo
ZXMgY291bGQgYmUgcHJvYmVkKS4mbmJzcDs8bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPC9kaXY+
DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJzcDs8L286cD48L3A+DQo8L2Rp
dj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPi0tIDxvOnA+PC9vOnA+PC9wPg0KPGRpdj4NCjxwIGNs
YXNzPSJNc29Ob3JtYWwiPkNvbG08bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPC9kaXY+DQo8L2Rp
dj4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K

--_000_MWHPR15MB1182F59E2B60534CB20EC9C4AFF80MWHPR15MB1182namp_--


From nobody Mon May 22 10:17:22 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 271A8129B9E for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:17:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham 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 lckakExZJCoO for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:17:20 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C0DA2126C23 for <tls@ietf.org>; Mon, 22 May 2017 10:17:19 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 145D27A32F1 for <tls@ietf.org>; Mon, 22 May 2017 17:17:19 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com>
Date: Mon, 22 May 2017 13:17:18 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/o7f0h6_beaAZLx8fR8RtRVX3rbc>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:17:21 -0000

> On May 22, 2017, at 1:06 PM, Benjamin Kaduk <bkaduk@akamai.com> wrote:
>=20
> Given the apparent strength of opinion against removing these supposed =
restrictions entirely, it seems like this text (or something similar) is =
probably the best we can do.

Perhaps so, but I saw only one strong objection from Dave Garrett.  Is =
that
sufficient for "apparent strength of opinion"?  Removal is simpler, and =
it
sure does not look like people are determined to continue to support MD5
and SHA-1 in certificates, but would be willing to relent if TLS 1.3 =
told
them not to.  Isn't the language in question tackling a non-problem?

That said, if the only way to rough consensus is a properly qualified
requirement to not rely on such certificate signatures for =
authentication,
(rather than must hang up with a fatal alert when you see these, must =
not
send these, ...) then I'll go along with a compromise.

--=20
	Viktor.


From nobody Mon May 22 10:24:18 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8216912EB34 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:24:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 agoiehJarbpT for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:24:15 -0700 (PDT)
Received: from mail-yw0-x22d.google.com (mail-yw0-x22d.google.com [IPv6:2607:f8b0:4002:c05::22d]) (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 B049D1200B9 for <tls@ietf.org>; Mon, 22 May 2017 10:24:15 -0700 (PDT)
Received: by mail-yw0-x22d.google.com with SMTP id l74so63175108ywe.2 for <tls@ietf.org>; Mon, 22 May 2017 10:24:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=NyfbXEaP7bGFe1v7xCM99jmPmF4hs1t0zCgo8YPjuDc=; b=itDDI4fg7Zyb7rjxfbGbm3yBZhzfJVC7/IJDYks9q6BAJBXXdejKQzAbwm94f17cdJ xycHRngSictuunjftiy+Lm6M3BLY3BazvDRNTZz3ptpElp6l2lD3ESnA1U1eevVkEf74 wYLQ9UvTqKFzWp+WVALsPvzHGQjhSUDbR8uabdWqxBEQ3bH+iTJwJlt0uBPjteT0RRRp xXIixukmQlK0gVhmzeHqEkZzXeZxjW+u8/+t0V2oSeNmOSlNMSOct0QeApeqJgQlKyUH rWQIXzaIZBwVqsfARDmYXBkkDA0hQnYvzeUZIgjVVXScWtJckmvDo76IKMFiKtAIsW8V QMmA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=NyfbXEaP7bGFe1v7xCM99jmPmF4hs1t0zCgo8YPjuDc=; b=mVK/pOZe5aC/FYI4pDublKTsaWSlx/f1l+retZLhQ2Dc52M8oo8buUPphQ6Xi9NhP/ ozoP0GWeMcWnkW6261eD1iAdYEvVTz0NyMMVfTjG8JkfMLiUDZR05cTdSfB5wkgnMkOL i82oC7d2VPVEQ67dII/XFUdqs/XgESDONu3ZexK0YNMh4DNY+Dtz0UdOAeGmxsjRKcrE 3Lxy2GmjSVfzCyP78ARaQ++R2X3F8nygUcCA03jbuHlU6FJCN7Mrw4+pDolGoTm3Th7y 9vvkbPkYWFOBIR2Pug0UUWsYkVljekTZCvRHUoaaALt1C0qYdjqTAJLE4TXh67SWIHjy Z7dg==
X-Gm-Message-State: AODbwcDIf1J94Pap0/oqwDuo7NLZ6S92yKwvhr2cJrrm3Kh8vGcE4Twl rUmqfVv66Dhf7FwXIZzKxXdY3uoex4+c
X-Received: by 10.129.96.69 with SMTP id u66mr21656620ywb.241.1495473854833; Mon, 22 May 2017 10:24:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.93.70 with HTTP; Mon, 22 May 2017 10:24:13 -0700 (PDT)
In-Reply-To: <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com> <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Mon, 22 May 2017 10:24:13 -0700
Message-ID: <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com>
To: Kyle Nekritz <knekritz@fb.com>
Cc: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a11471c00e388320550202364"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/-RZLfd1S-akcFzyLYsAWmRxQNIM>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:24:17 -0000

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

On Mon, May 22, 2017 at 10:12 AM, Kyle Nekritz <knekritz@fb.com> wrote:

> The stateless technique certainly doesn=E2=80=99t solve all issues with r=
eplay.
> Neither do the other techniques, unless a fairly unrealistic (imo, in mos=
t
> use cases) retry strategy is used.
>


The stateless technique is insecure; plain and simple, and it is far more
easily exploited than issues that have caused us to deprecate cipher
suites. It should come out. It enables attacks that are materially
different from forced retries, such as cache probing and statistical
side-channel analysis.


> But the stateless technique is definitely an improvement over no
> anti-replay mechanism at all (for instance it reduces the possible number
> of rounds of a cache probing attack, assuming the cache TTL > replay
> window).
>

Today TLS has robust anti-replay; the comparison to "no anti-replay
mechanism at all" isn't relevant.



> Which mechanisms to use, and whether to enable 0-RTT in the first place
> (or PSK mode at all), should be decided considering the tradeoff between
> security/performance/implementation constraints, etc. In the case of DNS,
> most DNS security protocols (dnssec, etc.) do allow this kind of replay s=
o
> I think it is a pretty reasonable tradeoff to consider.
>


This same argument could be made for keeping MD5, or RC4.  DNSSEC is not
concerned with secrecy. TLS is. This exact kind of replay would compromise
the secrecy of the data being transported.


> Additionally, I think the stateless technique is quite useful as a
> defense-in-depth mechanism.
>

It's tempting because it lowers the costs for implementors, but it's
absolutely not secure.  I seriously doubt that any application can be made
side-channel free in the manner that would be required to preserve secrecy.


> I highly doubt all deployments will end up correctly implementing a
> thorough anti-replay mechanism (whether accidentally or willfully).
>

This is why I think we should GREASE this and report (to users) any sites
that show any signs of replay tolerance.


> The stateless method is very cheap, and can be implemented entirely withi=
n
> a TLS library even in a distributed setup, only requiring access to an
> accurate clock. I=E2=80=99d much rather deployments without a robust and =
correct
> anti-replay mechanism break down to allowing replay over a number of
> seconds, rather than days (or longer).
>

I'd prefer if that were possible too, but it's not possible - it's
insecure.

--=20
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Mon, May 22, 2017 at 10:12 AM, Kyle Nekritz <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:knekritz@fb.com" target=3D"_blank">knekritz@fb.com</a>&gt;<=
/span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:r=
gb(204,204,204);padding-left:1ex">





<div lang=3D"EN-US">
<div class=3D"gmail-m_-7352507327584364725WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">The stateless technique certainly doesn=E2=
=80=99t solve all issues with replay. Neither do the other techniques, unle=
ss a fairly unrealistic (imo, in most use cases)
 retry strategy is used. </span></p></div></div></blockquote><div><br></div=
><div><br></div><div>The stateless technique is insecure; plain and simple,=
 and it is far more easily exploited than issues that have caused us to dep=
recate cipher suites. It should come out. It enables attacks that are mater=
ially different from forced retries, such as cache probing and statistical =
side-channel analysis.=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-le=
ft-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div la=
ng=3D"EN-US"><div class=3D"gmail-m_-7352507327584364725WordSection1"><p cla=
ss=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sans-ser=
if;color:rgb(31,73,125)">But the stateless technique is definitely an impro=
vement over no anti-replay mechanism at all (for instance it reduces the po=
ssible number of rounds of a cache probing attack, assuming the cache TTL &=
gt; replay window).</span></p></div></div></blockquote><div><br></div><div>=
Today TLS has robust anti-replay; the comparison to &quot;no anti-replay me=
chanism at all&quot; isn&#39;t relevant. =C2=A0</div><div><br></div><div>=
=C2=A0<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rg=
b(204,204,204);padding-left:1ex"><div lang=3D"EN-US"><div class=3D"gmail-m_=
-7352507327584364725WordSection1"><p class=3D"MsoNormal"><span style=3D"fon=
t-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Which mech=
anisms
 to use, and whether to enable 0-RTT in the first place (or PSK mode at all=
), should be decided considering the tradeoff between security/performance/=
<wbr>implementation constraints, etc. In the case of DNS, most DNS security=
 protocols (dnssec, etc.) do allow this
 kind of replay so I think it is a pretty reasonable tradeoff to consider. =
<br></span></p></div></div></blockquote><div><br></div><div><br></div><div>=
This same argument could be made for keeping MD5, or RC4.=C2=A0 DNSSEC is n=
ot concerned with secrecy. TLS is. This exact kind of replay would compromi=
se the secrecy of the data being transported.=C2=A0</div><div>=C2=A0</div><=
blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l=
eft-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);pa=
dding-left:1ex"><div lang=3D"EN-US"><div class=3D"gmail-m_-7352507327584364=
725WordSection1"><p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-=
family:Calibri,sans-serif;color:rgb(31,73,125)">
Additionally, I think the stateless technique is quite useful as a defense-=
in-depth mechanism.</span></p></div></div></blockquote><div><br></div><div>=
It&#39;s tempting because it lowers the costs for implementors, but it&#39;=
s absolutely not secure.=C2=A0 I seriously doubt that any application can b=
e made side-channel free in the manner that would be required to preserve s=
ecrecy.=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;=
border-left-color:rgb(204,204,204);padding-left:1ex"><div lang=3D"EN-US"><d=
iv class=3D"gmail-m_-7352507327584364725WordSection1"><p class=3D"MsoNormal=
"><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31=
,73,125)"> I highly doubt all deployments will end up correctly implementin=
g a thorough anti-replay mechanism (whether accidentally or willfully). </s=
pan></p></div></div></blockquote><div><br></div><div>This is why I think we=
 should GREASE this and report (to users) any sites that show any signs of =
replay tolerance.=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-st=
yle:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div lang=3D=
"EN-US"><div class=3D"gmail-m_-7352507327584364725WordSection1"><p class=3D=
"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;co=
lor:rgb(31,73,125)">The stateless method is very
 cheap, and can be implemented entirely within a TLS library even in a dist=
ributed setup, only requiring access to an accurate clock. I=E2=80=99d much=
 rather deployments without a robust and correct anti-replay mechanism brea=
k down to allowing replay over a number
 of seconds, rather than days (or longer).</span></p></div></div></blockquo=
te><div><br></div><div>I&#39;d prefer if that were possible too, but it&#39=
;s not possible - it&#39;s insecure.=C2=A0</div></div><div><br></div>-- <br=
><div class=3D"gmail_signature">Colm</div>
</div></div>

--001a11471c00e388320550202364--


From nobody Mon May 22 10:28:01 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E886612EB3F for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:27:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 UkpmuJA94A1i for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:27:58 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 81A1E12EB42 for <tls@ietf.org>; Mon, 22 May 2017 10:27:58 -0700 (PDT)
Received: from pps.filterd (m0050093.ppops.net [127.0.0.1]) by m0050093.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4MHRY75006198; Mon, 22 May 2017 18:27:54 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : references : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=ehDqqxUga0kKRl/Ph4TRwQISd5C+7kI17V9ZZkf60O8=; b=TP5ycv6PhHtCiFoxTACw+WQKflYHEn1pOpRs8Y9KLsnz67/YSyFnv2Bo86I9DMVNT6Ui jbA/SRM0YJA2V8lpvUkrNVWLXUelJFUZxrrY3wGgwDMTbdB87+YeBCps9oLBiLsQf32v O0MUFOzvaAtqqp89BORfGV1xWPNWQAmnBb459YzfSR4otO+VaIXiqyhojDoCw4Wz2lCi dtmhC08O8cNAW5dlkM/mnKO9UDLJS9FnC5iqDiRzYgvyVHeZujsr8UQYd78UKriiwMgu 4yhpfOftCCxk+mhE7mxYQWJsfNFKR1UFJ1ZcVUhU6t/SDBghnaW2VYrCnD6oe5wy/EJM Ug== 
Received: from prod-mail-ppoint3 ([96.6.114.86]) by m0050093.ppops.net-00190b01. with ESMTP id 2akvg5tt8p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2017 18:27:54 +0100
Received: from pps.filterd (prod-mail-ppoint3.akamai.com [127.0.0.1]) by prod-mail-ppoint3.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4MHLZC2009213; Mon, 22 May 2017 13:27:53 -0400
Received: from prod-mail-relay15.akamai.com ([172.27.17.40]) by prod-mail-ppoint3.akamai.com with ESMTP id 2ajh4vbht9-1; Mon, 22 May 2017 13:27:52 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay15.akamai.com (Postfix) with ESMTP id 9035520064; Mon, 22 May 2017 11:27:52 -0600 (MDT)
To: TLS WG <tls@ietf.org>, Viktor Dukhovni <ietf-dane@dukhovni.org>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com>
Date: Mon, 22 May 2017 12:27:52 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org>
Content-Type: multipart/alternative; boundary="------------D1D81A8F72EB60D9EAC726FE"
Content-Language: en-US
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-22_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705220091
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-22_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705220092
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/d_sOsLgJmQp32-WLh25UYtePSm8>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:28:00 -0000

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

On 05/22/2017 12:17 PM, Viktor Dukhovni wrote:
>> On May 22, 2017, at 1:06 PM, Benjamin Kaduk <bkaduk@akamai.com> wrote:
>>
>> Given the apparent strength of opinion against removing these supposed restrictions entirely, it seems like this text (or something similar) is probably the best we can do.
> Perhaps so, but I saw only one strong objection from Dave Garrett.  Is that

There was also some discussion when this text was originally going in,
IIRC.  But I do not remember well enough to say who/how many people
wanted it.

> sufficient for "apparent strength of opinion"?  Removal is simpler, and it
> sure does not look like people are determined to continue to support MD5
> and SHA-1 in certificates, but would be willing to relent if TLS 1.3 told
> them not to.  Isn't the language in question tackling a non-problem?

It probably is, but I don't feel a need to spend a lot of my time
pushing for it to be removed.

-Ben

> That said, if the only way to rough consensus is a properly qualified
> requirement to not rely on such certificate signatures for authentication,
> (rather than must hang up with a fatal alert when you see these, must not
> send these, ...) then I'll go along with a compromise.
>


--------------D1D81A8F72EB60D9EAC726FE
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">
    On 05/22/2017 12:17 PM, Viktor Dukhovni wrote:<br>
    <blockquote type="cite"
      cite="mid:35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org">
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">On May 22, 2017, at 1:06 PM, Benjamin Kaduk <a class="moz-txt-link-rfc2396E" href="mailto:bkaduk@akamai.com">&lt;bkaduk@akamai.com&gt;</a> wrote:

Given the apparent strength of opinion against removing these supposed restrictions entirely, it seems like this text (or something similar) is probably the best we can do.
</pre>
      </blockquote>
      <pre wrap="">
Perhaps so, but I saw only one strong objection from Dave Garrett.  Is that
</pre>
    </blockquote>
    <br>
    There was also some discussion when this text was originally going
    in, IIRC.Â  But I do not remember well enough to say who/how many
    people wanted it.<br>
    <br>
    <blockquote type="cite"
      cite="mid:35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org">
      <pre wrap="">sufficient for "apparent strength of opinion"?  Removal is simpler, and it
sure does not look like people are determined to continue to support MD5
and SHA-1 in certificates, but would be willing to relent if TLS 1.3 told
them not to.  Isn't the language in question tackling a non-problem?
</pre>
    </blockquote>
    <br>
    It probably is, but I don't feel a need to spend a lot of my time
    pushing for it to be removed.<br>
    <br>
    -Ben<br>
    <br>
    <blockquote type="cite"
      cite="mid:35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org">
      <pre wrap="">
That said, if the only way to rough consensus is a properly qualified
requirement to not rely on such certificate signatures for authentication,
(rather than must hang up with a fatal alert when you see these, must not
send these, ...) then I'll go along with a compromise.

</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------D1D81A8F72EB60D9EAC726FE--


From nobody Mon May 22 10:36:12 2017
Return-Path: <kaduk@mit.edu>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CB0BC12EB31; Mon, 22 May 2017 10:35:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.303
X-Spam-Level: 
X-Spam-Status: No, score=-2.303 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham 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 gjJkW-SRmM2z; Mon, 22 May 2017 10:35:43 -0700 (PDT)
Received: from dmz-mailsec-scanner-1.mit.edu (dmz-mailsec-scanner-1.mit.edu [18.9.25.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2F54B1200ED; Mon, 22 May 2017 10:35:43 -0700 (PDT)
X-AuditID: 1209190c-07dff70000001ef4-ff-5923216d00d9
Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP id A1.FB.07924.D6123295; Mon, 22 May 2017 13:35:42 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id v4MHZei6031223; Mon, 22 May 2017 13:35:40 -0400
Received: from kduck.kaduk.org (24-107-191-124.dhcp.stls.mo.charter.com [24.107.191.124]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id v4MHZZb2025266 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 22 May 2017 13:35:38 -0400
Date: Mon, 22 May 2017 12:35:35 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: Daniel Migault <daniel.migault@ericsson.com>
Cc: tls <tls@ietf.org>, draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, "ietf@ietf.org" <ietf@ietf.org>, The IESG <iesg@ietf.org>, secdir@ietf.org
Message-ID: <20170522173534.GT39245@kduck.kaduk.org>
References: <20170519043827.GL39245@kduck.kaduk.org> <CADZyTkncMTsTQt6C2S+Z0mw+30uc38bfrTSCOvjWRPn_dJkDLQ@mail.gmail.com> <20170519162725.GM39245@kduck.kaduk.org> <CADZyTk=id9bDfi31R+K6hC+ZKzWsjsvo8JbSCzqYGaK_1X1j7Q@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CADZyTk=id9bDfi31R+K6hC+ZKzWsjsvo8JbSCzqYGaK_1X1j7Q@mail.gmail.com>
User-Agent: Mutt/1.7.1 (2016-10-04)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHIsWRmVeSWpSXmKPExsUixG6nopunqBxpcP8Yq8WU6XvYLN4s28Rk MePPRGaLZxvns1h8WPiQxeLT+S5GBzaPX1+vsnksWfKTKYApissmJTUnsyy1SN8ugSvj748D zAXTOSqeLLnA2sC4na2LkZNDQsBEYmXvW8YuRi4OIYHFTBKTbx9hBEkICWxklJjRVwCRuMok 8WD7dCaQBIuAqsS/W+9YQGw2ARWJhu7LzCC2iICBxMsJO9lAGpgFFjBK7GtqAysSFnCRWNG3 BKyIF2hdz45+qA1vGSU2PqiHiAtKnJz5BKyeWUBL4sa/l0DLOIBsaYnl/zhATE6BQIn76/hB KkQFlCX+Hr7HMoFRYBaS5llImmchNC9gZF7FKJuSW6Wbm5iZU5yarFucnJiXl1qka6iXm1mi l5pSuokRFMyckjw7GM+88TrEKMDBqMTDq/FYKVKINbGsuDL3EKMkB5OSKO/RN0AhvqT8lMqM xOKM+KLSnNTiQ4wSHMxKIrx57MqRQrwpiZVVqUX5MClpDhYlcV4JjcYIIYH0xJLU7NTUgtQi mKwMB4eSBO9kBaBGwaLU9NSKtMycEoQ0EwcnyHAeoOGzQWp4iwsSc4sz0yHypxgVpcR5d4Ak BEASGaV5cL2gZCORvb/mFaM40CvCvGUgVTzARAXX/QpoMBPQYOtn8iCDSxIRUlINjK3n5JZk O9V/1Uyc16yopM53cm3Gju8rp1x86aW/YM6es7tXVxm6s6s+0NtTHdWen6ZwnW3R6ndZK55x GlZwLnddckukpXz6S1ed3U7M0rv33v/+TZ7plczSvV6OqRuZZrYp5J+b5dXKnbnRwEmUhana KiFD0VJ5+p5rV+PzL+7oWpqRsVg8UYmlOCPRUIu5qDgRAHMN/G0RAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/cwT9OAMaN6wXKiyi_dKJ15mSwTo>
Subject: Re: [TLS] secdir review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:35:45 -0000

Sorry for the slow reply.

On Fri, May 19, 2017 at 12:58:07PM -0400, Daniel Migault wrote:
> Thank you,
> 
> Your comments have all been addressed. I have one remaining clarification.
> In my text the SHOULD NOT was intended to the ECDHE_PSK in general, and not
> only for the cipher suites of the draft. In your opinion do we clarify
> this, and should we use something else than SHOULD NOT ?

It's somewhat awkward, as what we really want to do is Update RFC
5489 to add this prohibition there.  But, that's more process to
jump through and this document is already at a late stage, so I do
not actually propose doing that.  I would be okay saying

  As such, all ECDHE_PSK ciphers, including those defined outside
  this document, SHOULD NOT be negotiated in TLS versions prior to
  1.2.

to match up with the MUST NOT text we have for these new ciphers.
(Taking into account Martin's text that the prohibition is on
negotiating them, but offering them in a ClientHello that also
offers the old version is okay.)

-Ben


From nobody Mon May 22 10:37:58 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 40B1812EB36 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:37:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.711
X-Spam-Level: 
X-Spam-Status: No, score=0.711 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 47yO6Dp_6AtX for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:37:54 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C4B8C126C2F for <tls@ietf.org>; Mon, 22 May 2017 10:37:54 -0700 (PDT)
Received: from pps.filterd (m0050095.ppops.net [127.0.0.1]) by m0050095.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4MHRWur008960; Mon, 22 May 2017 18:37:51 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=jan2016.eng; bh=CjNCN8uslhbQ+Rrkyb8fVGs1LObBLseddyyPPm8+dfg=; b=LY+G2+Vk1T4AwEauw1WJ5NozMqR0xe4TQ0EuGyBrD5pviX2FJ1ctoFMyqdam5r7Z8Uy3 p+F/Z0ctL5HygBE9zehMKAk+t83JfLIe85o7CeqKb+3nb/rCPO3Djsa/Wp9O+GH9d4gn I/7MHA9mCrZ7DOyZH8dokwg3F8UQVCo7C65sY5aMSvh8HZVTwGX6ZsAMw6tMG/VSjOu+ JBjlHAR4O9VxbOWbckEz8/Xvl4pSxd9E9TGH8ADK+DH8LcKl/YMDZi99XwpVlJj4NlpF 1FIlijLySNzdg9faOmiYYUcCP7wKww/YTmeYdpLmcBsX7Lc8aka+m74O1l5Gv4sYtolj Dw== 
Received: from prod-mail-ppoint1 (a184-51-33-18.deploy.static.akamaitechnologies.com [184.51.33.18] (may be forged)) by m0050095.ppops.net-00190b01. with ESMTP id 2akw7haqvd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2017 18:37:51 +0100
Received: from pps.filterd (prod-mail-ppoint1.akamai.com [127.0.0.1]) by prod-mail-ppoint1.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4MHVOoA007869; Mon, 22 May 2017 13:37:50 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.34]) by prod-mail-ppoint1.akamai.com with ESMTP id 2ajh4ux6au-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 22 May 2017 13:37:50 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb6.msg.corp.akamai.com (172.27.123.65) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Mon, 22 May 2017 10:37:49 -0700
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1263.000; Mon, 22 May 2017 13:37:49 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: "Kaduk, Ben" <bkaduk@akamai.com>, TLS WG <tls@ietf.org>, Viktor Dukhovni <ietf-dane@dukhovni.org>
Thread-Topic: [TLS] AD Review of draft-ietf-tls-tls13
Thread-Index: AQHS0IMoCuGTydRkRUKTdQLvE3XegqH8ZV6AgABRk4CAAEJ+AIAAA9yAgAPgU4CAAALxAIAAAvMA//++0+A=
Date: Mon, 22 May 2017 17:37:49 +0000
Message-ID: <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com>
In-Reply-To: <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.41.160]
Content-Type: multipart/alternative; boundary="_000_ac704db142c04e7b8a836df711e9bc7fusma1exdag1mb1msgcorpak_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-22_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705220092
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-22_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705220092
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/6Bcm6MmuT0hfrOvYLMiYl7T5UBs>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:37:56 -0000

--_000_ac704db142c04e7b8a836df711e9bc7fusma1exdag1mb1msgcorpak_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SSBhc3NlcnQgdGhhdCBtb3N0IHVzZXMgb2YgVExTIGFyZSBzZXJ2ZXItYXV0aGVudGljYXRlZCB1
c2luZyBhIFBLSVgtY29tcGxpYW50IGNlcnRpZmljYXRlLCBubyBtYXR0ZXIgaWYgeW91IGNvdW50
IHVzZXJzL3NlcnZlcnMsIGNvbm5lY3Rpb25zLCBieXRlcyB0cmFuc2ZlcnJlZCwgb3IgZS1jb21t
ZXJjZSBkb2xsYXIgdmFs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c3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6
JnF1b3Q7Q2FsaWJyaSZxdW90OyxzYW5zLXNlcmlmO2NvbG9yOndpbmRvd3RleHQiPk1lbWJlciwg
T3BlblNTTCBEZXYgVGVhbTxvOnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3Jt
YWwiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGli
cmkmcXVvdDssc2Fucy1zZXJpZjtjb2xvcjp3aW5kb3d0ZXh0Ij5JTTogcmljaHNhbHpAamFiYmVy
LmF0IFR3aXR0ZXI6IFJpY2hTYWx6PG86cD48L286cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1z
b05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7
Q2FsaWJyaSZxdW90OyxzYW5zLXNlcmlmO2NvbG9yOndpbmRvd3RleHQiPjxvOnA+Jm5ic3A7PC9v
OnA+PC9zcGFuPjwvcD4NCjwvZGl2Pg0KPC9kaXY+DQo8L2JvZHk+DQo8L2h0bWw+DQo=

--_000_ac704db142c04e7b8a836df711e9bc7fusma1exdag1mb1msgcorpak_--


From nobody Mon May 22 10:38:57 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0123C1200B9 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:38:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 OovOHDUq72AJ for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:38:54 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8DF99124E15 for <tls@ietf.org>; Mon, 22 May 2017 10:38:54 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id CEA077A32F1 for <tls@ietf.org>; Mon, 22 May 2017 17:38:53 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com>
Date: Mon, 22 May 2017 13:38:52 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <DFF38A8D-2052-400B-BC77-BACE1AB40A4D@dukhovni.org>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/D8YBUdcS_Ehz85zPkf66HGHdxOU>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:38:56 -0000

> On May 22, 2017, at 1:27 PM, Benjamin Kaduk <bkaduk@akamai.com> wrote:
>=20
>> Isn't the language in question tackling a non-problem?
>=20
> It probably is, but I don't feel a need to spend a lot of my time =
pushing
> for it to be removed.

Well, the reason for this sub-thread is that I just to waste a bunch of =
cycles
to avoid new code in OpenSSL that would implement the spec as written =
and
needlessly break applications that don't care about PKIX certificates.

A nameless team member suggested casually that such applications can =
just
disable TLS 1.3...

And yet TLS 1.3 brings desirable improvements, and should not have =
needless
restrictions on the supported use cases.

Therefore, the language should go, or needs to be amended to make it =
clear
that TLS does not prohibit (mandate connection abort, ...) the =
appearance
of any certificate signature algorithms in the certificate message.  =
Advice
to not trust such algorithms for authentication is unnecessary, but =
acceptable.

--=20
	Viktor.


From nobody Mon May 22 10:45:50 2017
Return-Path: <ynir.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A3151124E15 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:45:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 99Ks9F1IYec2 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:45:47 -0700 (PDT)
Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (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 C4F4912009C for <tls@ietf.org>; Mon, 22 May 2017 10:45:46 -0700 (PDT)
Received: by mail-wr0-x241.google.com with SMTP id w50so7693882wrc.0 for <tls@ietf.org>; Mon, 22 May 2017 10:45:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=yV8Yqa1DB1oFXn5EhqAtOrQkb15qc3fysSvTk/jpeqo=; b=f/AfdiD4OX/bwGidndhR+3OUlP7bQa2nRqF/YOKaNi9URIMmcKQQ/gTY6ms9z3rZB0 6cUyNDQgDDhMoyxvRI/PldePYdh1oLCGyiLPv2cb3AMkul0Kb5oI4zOnXFcVRyd+IxRn PeHht0tmB2+KrqIPe4o2jS5NYGS4kkwQKLdwisXq9k+zYPYGyxI9m+YcicEFb3h661/f XIagiZFa7Ba4dBIaYqGbe86EIM/T8fW1/53SRTzvemDteJHehoWTVlZep7Hc67YrkdTj 3MF33tHPfqVQmuF7q1qEfxRwqH38n+BogcXGM3wQPoDHGbR/TLS/xsMaFX8G9deEhVdv RV7A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=yV8Yqa1DB1oFXn5EhqAtOrQkb15qc3fysSvTk/jpeqo=; b=DiDONfI/rLtuRO8r+Tw+7obUByz7+5Hu9hfj4XiIi/kskKwyZUC73EbBcjK6GD/qEo 6XGmNV7sD1aQ6eVcmDQpRJCYLKLSrSWv0nILuQS4HBFED7ql/ItHo4dOCz0fvRHsRwXl yLItDu6ke7tAMQ67nzU3+a/oXhh2TgTDP1cZHFBXUeUndHBMApbCu/tGvBAIHA4Ec/s5 zgCTMKDM+aqa8nZfb1GyoZ/tGgyWRK+ltP1RbQBrZNY3nngtWYZXNo8N5tYWF/wUWqY4 kjJYVgwZNe8xk+RLOTL1MTXvpLe/YSQJY8g9YFkaDudlPLmOHA+5iSUZf9Qc4Tu7JMfW Yb9w==
X-Gm-Message-State: AODbwcAwlcvLnNF7CpeBLfR4mFiJnhywJb6Dz+oaDFgBiJ/V1lMTwcf3 nqiF7h2DC8DWDg==
X-Received: by 10.223.179.199 with SMTP id x7mr13740153wrd.72.1495475145290; Mon, 22 May 2017 10:45:45 -0700 (PDT)
Received: from [192.168.1.18] ([46.120.57.147]) by smtp.gmail.com with ESMTPSA id 137sm19699979wmi.19.2017.05.22.10.45.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 May 2017 10:45:44 -0700 (PDT)
From: Yoav Nir <ynir.ietf@gmail.com>
Message-Id: <2120907F-7488-46DA-B5BA-76A89A2E6236@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_97085B6D-9C66-49EE-A0DF-5A5DAE856F8E"; protocol="application/pgp-signature"; micalg=pgp-sha512
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Mon, 22 May 2017 20:45:41 +0300
In-Reply-To: <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com>
Cc: TLS WG <tls@ietf.org>, Viktor Dukhovni <ietf-dane@dukhovni.org>
To: Benjamin Kaduk <bkaduk@akamai.com>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/RB8v4bo7qiHPRIqRZW7XW8mRJfI>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:45:49 -0000

--Apple-Mail=_97085B6D-9C66-49EE-A0DF-5A5DAE856F8E
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_8A6D4E9D-64EC-4284-BFCE-501F83AC3229"


--Apple-Mail=_8A6D4E9D-64EC-4284-BFCE-501F83AC3229
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On 22 May 2017, at 20:27, Benjamin Kaduk <bkaduk@akamai.com> wrote:
>=20
> On 05/22/2017 12:17 PM, Viktor Dukhovni wrote:
>>> On May 22, 2017, at 1:06 PM, Benjamin Kaduk <bkaduk@akamai.com> =
<mailto:bkaduk@akamai.com> wrote:
>>>=20
>>> Given the apparent strength of opinion against removing these =
supposed restrictions entirely, it seems like this text (or something =
similar) is probably the best we can do.
>> Perhaps so, but I saw only one strong objection from Dave Garrett.  =
Is that
>=20
> There was also some discussion when this text was originally going in, =
IIRC.  But I do not remember well enough to say who/how many people =
wanted it.

This came up in one of the F2F meetings. I believe I argued that we =
shouldn=E2=80=99t have PKIX policy in a TLS document, because if signing =
certificates with SHA-1 is bad, it=E2=80=99s bad for all users of =
certificates, and should be prohibited by a PKIX document, not a TLS =
document.

The room was against me then. So it may look now like it=E2=80=99s just =
Dave (and now Rich), there was more support for this at the time.

Yoav


--Apple-Mail=_8A6D4E9D-64EC-4284-BFCE-501F83AC3229
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 22 May 2017, at 20:27, Benjamin Kaduk &lt;<a =
href=3D"mailto:bkaduk@akamai.com" class=3D"">bkaduk@akamai.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D"">
 =20
    <meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8" class=3D"">
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF" class=3D"">
    On 05/22/2017 12:17 PM, Viktor Dukhovni wrote:<br class=3D"">
    <blockquote type=3D"cite" =
cite=3D"mid:35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org" class=3D"">=

      <pre wrap=3D"" class=3D""></pre>
      <blockquote type=3D"cite" class=3D"">
        <pre wrap=3D"" class=3D"">On May 22, 2017, at 1:06 PM, Benjamin =
Kaduk <a class=3D"moz-txt-link-rfc2396E" =
href=3D"mailto:bkaduk@akamai.com">&lt;bkaduk@akamai.com&gt;</a> wrote:

Given the apparent strength of opinion against removing these supposed =
restrictions entirely, it seems like this text (or something similar) is =
probably the best we can do.
</pre>
      </blockquote>
      <pre wrap=3D"" class=3D"">Perhaps so, but I saw only one strong =
objection from Dave Garrett.  Is that
</pre>
    </blockquote>
    <br class=3D"">
    There was also some discussion when this text was originally going
    in, IIRC.&nbsp; But I do not remember well enough to say who/how =
many
    people wanted it.<br class=3D""></div></div></blockquote><div><br =
class=3D""></div></div>This came up in one of the F2F meetings. I =
believe I argued that we shouldn=E2=80=99t have PKIX policy in a TLS =
document, because if signing certificates with SHA-1 is bad, it=E2=80=99s =
bad for all users of certificates, and should be prohibited by a PKIX =
document, not a TLS document.&nbsp;<div class=3D""><br =
class=3D""></div><div class=3D"">The room was against me then. So it may =
look now like it=E2=80=99s just Dave (and now Rich), there was more =
support for this at the time.</div><div class=3D""><br =
class=3D""></div><div class=3D"">Yoav</div><div class=3D""><br =
class=3D""></div></body></html>=

--Apple-Mail=_8A6D4E9D-64EC-4284-BFCE-501F83AC3229--

--Apple-Mail=_97085B6D-9C66-49EE-A0DF-5A5DAE856F8E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJZIyPGAAoJELhJCxUKWMyZc08IAIZJn+klVHOO0OibGRWwbpBd
kPrzw8uU13IEYQk9j7Eu9eD8Q0NBhqowV8Sd5aJzCSCoY2CRSEdomXQ5jnlrvgbu
VWrJMPqzwSwb0TeJQOPi1dVe8HHZsEko+aCvDf8kEg7+zku9boF0PseIFXAdU4qZ
jzLK0B75TVcCGnYlcjAzMTQmsKEEF1SAlFPu4Gqtpv9TDAbbR7V04q0YdNzKCndp
LQEW2sK5wD2XIa54Pyc8D2m1dWxoVXqn8yT/SlzW47zE3wPW9Ue7TXcPpp+Sqhc/
PeWCGO1zN9YL6sSd15tz5RTC1RNne44eCjaN1noJcIf5lbuXCeygaF90vjR+zbU=
=PUWY
-----END PGP SIGNATURE-----

--Apple-Mail=_97085B6D-9C66-49EE-A0DF-5A5DAE856F8E--


From nobody Mon May 22 10:47:03 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 550A712704B for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:47:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham 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 YWvzvUfG18in for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:47:00 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E857E12009C for <tls@ietf.org>; Mon, 22 May 2017 10:46:59 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 011757A32F1 for <tls@ietf.org>; Mon, 22 May 2017 17:46:58 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com>
Date: Mon, 22 May 2017 13:46:58 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com> <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/KEo7E1Rre2ETk_uONSfVreb9Sqg>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:47:01 -0000

> On May 22, 2017, at 1:37 PM, Salz, Rich <rsalz@akamai.com> wrote:
>=20
> I strongly believe the text should stay as it is, for the most good to =
the most people.  Viktor is in the weeds, arguably by himself.

Right, all by myself...  With support from Nico, Ilari, and others =
who've upthread
accepted that certificate verification is properly RFC5280 and not TLS, =
before I
suggested removal of the text in question (which solves no real problem, =
but does
create needless interoperability issues for various TLS use-cases).

The dominant use case is not the only one that needs consideration,
and text that breaks other use-cases is NOT just fine, and the TLS
WG really does need to think more broadly than the Web PKI.  This is
not the HTTPS working group.

--=20
	Viktor.


From nobody Mon May 22 10:47:15 2017
Return-Path: <huitema@huitema.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B767912009C for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:47:02 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 8KAmBVy8mjAu for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:47:00 -0700 (PDT)
Received: from mx43-out1.antispamcloud.com (mx43-out1.antispamcloud.com [138.201.61.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 67790124E15 for <tls@ietf.org>; Mon, 22 May 2017 10:47:00 -0700 (PDT)
Received: from xsmtp01.mail2web.com ([168.144.250.230]) by mx43.antispamcloud.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.86) (envelope-from <huitema@huitema.net>) id 1dCrQ0-00083U-6S for tls@ietf.org; Mon, 22 May 2017 19:46:58 +0200
Received: from [10.5.2.35] (helo=xmail10.myhosting.com) by xsmtp01.mail2web.com with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from <huitema@huitema.net>) id 1dCrPu-0002Kr-4b for tls@ietf.org; Mon, 22 May 2017 13:46:54 -0400
Received: (qmail 21263 invoked from network); 22 May 2017 17:46:48 -0000
Received: from unknown (HELO [192.168.1.103]) (Authenticated-user:_huitema@huitema.net@[172.56.42.98]) (envelope-sender <huitema@huitema.net>) by xmail10.myhosting.com (qmail-ldap-1.03) with ESMTPA for <tls@ietf.org>; 22 May 2017 17:46:47 -0000
To: =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>, Kyle Nekritz <knekritz@fb.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com> <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com> <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>
From: Christian Huitema <huitema@huitema.net>
Message-ID: <f8f8db4a-7d4e-590b-25c2-b1cbac6b5313@huitema.net>
Date: Mon, 22 May 2017 10:46:43 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------0956D0D9515423A36D630600"
X-Originating-IP: 168.144.250.230
X-SpamExperts-Domain: xsmtpout.mail2web.com
X-SpamExperts-Username: 168.144.250.0/24
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=168.144.250.0/24@xsmtpout.mail2web.com
X-SpamExperts-Outgoing-Class: unsure
X-SpamExperts-Outgoing-Evidence: Combined (0.12)
X-Recommended-Action: accept
X-Filter-ID: s0sct1PQhAABKnZB5plbIVbU93hg6Kq00BjAzYBqWlVTHAar8Je/lORhy3PZJU8LERWeKKG4PAQY Nyavp7c49LCP7NcwZmTrFhTWonoFoqtTugiLDom8V25hond3K4RsO76XSTAwtV4mg4i2ouCDa4AU hvIWAV5xUW/+gAh4vXoWIPlnrfEDRiyWf+KtRxCHRcOb18WfxGyg6Om6u4YYm9aWSU9YfXahEmwF qtDcd2Y5hjoyEb9Oq0NWpyO3vrfYoocEfHwV+0ePfQGXOSgIJz3dKxLhoxcmaInYbR5vlqGudzLe k2TYFBStSOMccbr5Uz0sPgnpAk2KA2vJwMd1uWhCmLzOxTAcQmFWVARhgNqBNFD3an3wiMp49rVr ybSB9a2LHJVD1n7GG0fP4s+aInTFgIfDMShmlQFqCr5hA8xAXSGwpLGc/Znuh3MoIpK0dzvzp+mG 5Y/zCY7DUzpfU7bRF0J+AL6gRRwFcty0/RGJ+cv73CChOPjKA0/DVd83mzKXD5o/Ia+BqyQ7Q0nt IZ2PVtMHd8bHCmdzlxzVIEgwyGTHIAoNFX+jcW7DGmdE6eBVl9/A6GtGi+mfMSANmgQ9/T0zHbtC pLbhgZ6Z/Qhqxiuap5uKiBpffUsHYsfmrbtbs8GJuRKR6hnrta1usy6F/SOWlhnS7qkS/mOkSgD5 8bDUIriOSOQTK7vaz2jBsjp0rjSY76LAIHA6cW4Oa0NgfQDX7DQ+bDeh72B3Mio8arn2PuuzhjWm yAwjA2zXxdwDV/LdQk4Dnvnv/o4ZpIN8Tfe43vaXKX/yihCEqxIlRZaHuAWSnHeK3PdSA6Q+2n/k rhIYlNMbfS0wdTtG+6JGvz6FazW2uq9LM3++XT4UhuDAoR32cV4eNY9hrm4n
X-Report-Abuse-To: spam@quarantine5.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/IJSas_C8YLfOKdOujq6uRs_YaM4>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:47:03 -0000

This is a multi-part message in MIME format.
--------------0956D0D9515423A36D630600
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable



On 5/22/2017 10:24 AM, Colm MacC=E1rthaigh wrote:
>
>
> On Mon, May 22, 2017 at 10:12 AM, Kyle Nekritz <knekritz@fb.com
> <mailto:knekritz@fb.com>> wrote:
> ...
>
>     Which mechanisms to use, and whether to enable 0-RTT in the first
>     place (or PSK mode at all), should be decided considering the
>     tradeoff between security/performance/implementation constraints,
>     etc. In the case of DNS, most DNS security protocols (dnssec,
>     etc.) do allow this kind of replay so I think it is a pretty
>     reasonable tradeoff to consider.
>
>
>
> This same argument could be made for keeping MD5, or RC4.  DNSSEC is
> not concerned with secrecy. TLS is. This exact kind of replay would
> compromise the secrecy of the data being transported.=20
> =20
Check DKG's analysis of 0-RTT for DNS over TLS:
https://www.ietf.org/mail-archive/web/dns-privacy/current/msg01276.html.
There is only one point of concern, a minor privacy leak if the DNS
queries in the 0-RTT data can be replayed at intervals chosen by the
attacker. The idea is to replay the data to a resolver, and then observe
the queries going out to authoritative servers in clear text. The
correlation can be used to find out what domain the client was
attempting to resolve. The attack requires "chosen time" by the
attacker, and thus will probably be mitigated by a caching system that
prevents replays after a short interval.

-- Christian Huitema


--------------0956D0D9515423A36D630600
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 5/22/2017 10:24 AM, Colm
      MacCárthaigh wrote:<br>
    </div>
    <blockquote
cite="mid:CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Mon, May 22, 2017 at 10:12 AM,
            Kyle Nekritz <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:knekritz@fb.com" target="_blank">knekritz@fb.com</a>&gt;</span>
            wrote:<br>
            ...
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
              <div lang="EN-US">
                <div class="gmail-m_-7352507327584364725WordSection1">
                  <p class="MsoNormal"><span
style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Which
                      mechanisms to use, and whether to enable 0-RTT in
                      the first place (or PSK mode at all), should be
                      decided considering the tradeoff between
                      security/performance/<wbr>implementation
                      constraints, etc. In the case of DNS, most DNS
                      security protocols (dnssec, etc.) do allow this
                      kind of replay so I think it is a pretty
                      reasonable tradeoff to consider. <br>
                    </span></p>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>This same argument could be made for keeping MD5, or
              RC4.  DNSSEC is not concerned with secrecy. TLS is. This
              exact kind of replay would compromise the secrecy of the
              data being transported. </div>
            <div> </div>
          </div>
        </div>
      </div>
    </blockquote>
    Check DKG's analysis of 0-RTT for DNS over TLS:
    <a class="moz-txt-link-freetext" href="https://www.ietf.org/mail-archive/web/dns-privacy/current/msg01276.html">https://www.ietf.org/mail-archive/web/dns-privacy/current/msg01276.html</a>.
    There is only one point of concern, a minor privacy leak if the DNS
    queries in the 0-RTT data can be replayed at intervals chosen by the
    attacker. The idea is to replay the data to a resolver, and then
    observe the queries going out to authoritative servers in clear
    text. The correlation can be used to find out what domain the client
    was attempting to resolve. The attack requires "chosen time" by the
    attacker, and thus will probably be mitigated by a caching system
    that prevents replays after a short interval.<br>
    <br>
    -- Christian Huitema<br>
    <br>
  </body>
</html>

--------------0956D0D9515423A36D630600--


From nobody Mon May 22 10:47:21 2017
Return-Path: <balajirajendran@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E233B12EB36 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:47:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level: 
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 l8umUeaXRjS9 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:47:03 -0700 (PDT)
Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (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 84DF6127077 for <tls@ietf.org>; Mon, 22 May 2017 10:47:03 -0700 (PDT)
Received: by mail-it0-x233.google.com with SMTP id g126so2049420ith.0 for <tls@ietf.org>; Mon, 22 May 2017 10:47:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=uwCuF4jKR75txpFEvip3D266YUYbUPigYzMU8saGoGk=; b=YF7Zq0RPxVv4UOkB7HXUgmMGpLL6B5b4sso3SVYIjSMjn5NRxKEHTAaVcxWaAip0xO k9/9sVbUvA1U3r+tM31UqYnZSXT9WvREhBPvLPttHUTZ0ZVtSPP6xwERE46SnQW7whqR IyWlkhMIx9nlWVtmRgGU4+vVGk90w6QS+/3Ds7bYPN+qRu/VOSnYNK8VxU22n6tc9PZX rUkelYPbQWJ/+pBUMDmO1LnNGPD+sTrjo8pDT4GG1qhtXflj4iFxOAJgU5YYHdH7PaQQ u27ZcqfXn1u6+DkIyaizkmOeyYRuPbrLUJR0jwPR+8XLB5ikkuWZFEc5e8/528hypd+2 Pf6g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=uwCuF4jKR75txpFEvip3D266YUYbUPigYzMU8saGoGk=; b=mmJSd+LhgtZRUfDATwuNIS4Vn69Cun12Fm8xDdaKseWU+UplnhGgiRsYIA0hNyw5ag c1/SqiEfLq5Fim1ijJe9KYasYdIGbQMSWt3Yp4Xs7ZTIj5lEfvaITvOCp+4LHaQMvOob kXfrv90nw20JcpWKHLYt5g3JYy7xGJtdFekXy5h/bSHP3+ovaEPoj8VMd+YMCcpEOajY LjmJah56q2PYONcAfZkq8rXOfMOlf5l8EXU2KIrkyppMr/qB/b+aaTmBMChwV7AfD6BC aj91dFLGqY7UtF8fT9p0oarndQbitYLq0IHYw3RLtTw68cNuP/h2SjvmC6JXbbU/Xf2B AT0Q==
X-Gm-Message-State: AODbwcByMmnSxEe/5o6RDGeJeyUVrYTeK4JgNP2bKjascGu671YypPjF 8NNl9Xzp8UPCRuomei4/1Ii176mPsw==
X-Received: by 10.36.190.133 with SMTP id i127mr41642252itf.41.1495475222766;  Mon, 22 May 2017 10:47:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.135.92 with HTTP; Mon, 22 May 2017 10:47:02 -0700 (PDT)
In-Reply-To: <CABkgnnUrp84sWCe+iXYFM9PvGN3uKDu5wdQ_aLZMuwJb6aYgqg@mail.gmail.com>
References: <CAPZZOThk9GL1T2N06cwkAA4edFp9YmubM20Rn0nu8u-Jp_pObw@mail.gmail.com> <CABkgnnUrp84sWCe+iXYFM9PvGN3uKDu5wdQ_aLZMuwJb6aYgqg@mail.gmail.com>
From: Balaji Rajendran <balajirajendran@gmail.com>
Date: Mon, 22 May 2017 23:17:02 +0530
Message-ID: <CABVRomhk7DEvAqPmSa8vzvxf-128+VhoSFpYH6r6Q41BRdtViQ@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Sankalp Bagaria <sankalp.nitt@gmail.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c19d4e46c6a4c0550207513"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/WfqUD1LKck0wuwdRPw40GbLfGkw>
Subject: Re: [TLS] I-D Action: draft-ietf-tls-exported-authenticator-00.txt (internet-drafts@ietf.org)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:47:06 -0000

--94eb2c19d4e46c6a4c0550207513
Content-Type: text/plain; charset="UTF-8"

Hi,

   While trying to obtain an authenticator, the private key used for
signing the certificate is demanded.

   Is it safe to do such operations or is it the public key associated with
the Certificate?

--
Balaji R

On Mon, May 22, 2017 at 11:30 AM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> This defines a tool, in the same way that RFC 5705 does.  See
> https://tools.ietf.org/html/draft-bishop-httpbis-http2-additional-certs
> for a use of that tool.
>
> On 22 May 2017 at 15:52, Sankalp Bagaria <sankalp.nitt@gmail.com> wrote:
> > Hi,
> >
> > I have a couple of questions:
> > 1) How will the out-of-band request for certificate be sent by the
> server/
> > client ?
> > What format will be used ? (Only Reply's format is given in draft)
> > 2a) If certificate verification is unsuccessful, will the existing
> > connection also be
> > dropped or will it be continued ?
> > 2b) If certificate verification is successful, how will the state of the
> > connection
> > change ? Will there be a re-direction to new entity ? If yes, how will
> that
> > be
> > achieved ?
> >
> > Regards,
> > Sankalp Bagaria.
> >
> >>
> >>
> >> ------------------------------
> >>
> >> Message: 3
> >> Date: Thu, 18 May 2017 14:04:38 -0700
> >> From: internet-drafts@ietf.org
> >> To: <i-d-announce@ietf.org>
> >> Cc: tls@ietf.org
> >> Subject: [TLS] I-D Action:
> >>         draft-ietf-tls-exported-authenticator-00.txt
> >> Message-ID: <149514147857.6720.16783609697509356369@ietfa.amsl.com>
> >> Content-Type: text/plain; charset="utf-8"
> >>
> >>
> >> A New Internet-Draft is available from the on-line Internet-Drafts
> >> directories.
> >> This draft is a work item of the Transport Layer Security of the IETF.
> >>
> >>         Title           : Exported Authenticators in TLS
> >>         Author          : Nick Sullivan
> >>         Filename        : draft-ietf-tls-exported-authenticator-00.txt
> >>         Pages           : 6
> >>         Date            : 2017-05-18
> >>
> >> Abstract:
> >>    This document describes a mechanism in Transport Layer Security (TLS)
> >>    to provide an exportable proof of ownership of a certificate that can
> >>    be transmitted out of band and verified by the other party.
> >>
> >>
> >> The IETF datatracker status page for this draft is:
> >> https://datatracker.ietf.org/doc/draft-ietf-tls-exported-authenticator/
> >>
> >> There are also htmlized versions available at:
> >> https://tools.ietf.org/html/draft-ietf-tls-exported-authenticator-00
> >>
> >> https://datatracker.ietf.org/doc/html/draft-ietf-tls-
> exported-authenticator-00
> >>
> >>
> >> Please note that it may take a couple of minutes from the time of
> >> submission
> >> until the htmlized version and diff are available at tools.ietf.org.
> >>
> >> Internet-Drafts are also available by anonymous FTP at:
> >> ftp://ftp.ietf.org/internet-drafts/
> >>
> >>
> >>
> >
> > _______________________________________________
> > TLS mailing list
> > TLS@ietf.org
> > https://www.ietf.org/mailman/listinfo/tls
> >
>

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

<div dir=3D"ltr">Hi,=C2=A0<div><br></div><div>=C2=A0 =C2=A0While trying to =
obtain an authenticator, the private key used for signing the certificate i=
s demanded.=C2=A0</div><div><br></div><div>=C2=A0 =C2=A0Is it safe to do su=
ch operations or is it the public key associated with the Certificate?=C2=
=A0</div><div><br></div><div>--</div><div>Balaji R</div><div class=3D"gmail=
_extra"><br><div class=3D"gmail_quote">On Mon, May 22, 2017 at 11:30 AM, Ma=
rtin Thomson <span dir=3D"ltr">&lt;<a href=3D"mailto:martin.thomson@gmail.c=
om" target=3D"_blank">martin.thomson@gmail.com</a>&gt;</span> wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex">This defines a tool, in the same way that RFC 5=
705 does.=C2=A0 See<br>
<a href=3D"https://tools.ietf.org/html/draft-bishop-httpbis-http2-additiona=
l-certs" rel=3D"noreferrer" target=3D"_blank">https://tools.ietf.org/html/<=
wbr>draft-bishop-httpbis-http2-<wbr>additional-certs</a><br>
for a use of that tool.<br>
<div><div class=3D"h5"><br>
On 22 May 2017 at 15:52, Sankalp Bagaria &lt;<a href=3D"mailto:sankalp.nitt=
@gmail.com">sankalp.nitt@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have a couple of questions:<br>
&gt; 1) How will the out-of-band request for certificate be sent by the ser=
ver/<br>
&gt; client ?<br>
&gt; What format will be used ? (Only Reply&#39;s format is given in draft)=
<br>
&gt; 2a) If certificate verification is unsuccessful, will the existing<br>
&gt; connection also be<br>
&gt; dropped or will it be continued ?<br>
&gt; 2b) If certificate verification is successful, how will the state of t=
he<br>
&gt; connection<br>
&gt; change ? Will there be a re-direction to new entity ? If yes, how will=
 that<br>
&gt; be<br>
&gt; achieved ?<br>
&gt;<br>
&gt; Regards,<br>
&gt; Sankalp Bagaria.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------<br>
&gt;&gt;<br>
&gt;&gt; Message: 3<br>
&gt;&gt; Date: Thu, 18 May 2017 14:04:38 -0700<br>
&gt;&gt; From: <a href=3D"mailto:internet-drafts@ietf.org">internet-drafts@=
ietf.org</a><br>
&gt;&gt; To: &lt;<a href=3D"mailto:i-d-announce@ietf.org">i-d-announce@ietf=
.org</a>&gt;<br>
&gt;&gt; Cc: <a href=3D"mailto:tls@ietf.org">tls@ietf.org</a><br>
&gt;&gt; Subject: [TLS] I-D Action:<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0draft-ietf-tls-exported-<wbr>auth=
enticator-00.txt<br>
&gt;&gt; Message-ID: &lt;<a href=3D"mailto:149514147857.6720.16783609697509=
356369@ietfa.amsl.com">149514147857.6720.<wbr>16783609697509356369@ietfa.<w=
br>amsl.com</a>&gt;<br>
&gt;&gt; Content-Type: text/plain; charset=3D&quot;utf-8&quot;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; A New Internet-Draft is available from the on-line Internet-Drafts=
<br>
&gt;&gt; directories.<br>
&gt;&gt; This draft is a work item of the Transport Layer Security of the I=
ETF.<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Title=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0: Exported Authenticators in TLS<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Author=C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 : Nick Sullivan<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Filename=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 : draft-ietf-tls-exported-<wbr>authenticator-00.txt<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Pages=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0: 6<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Date=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 : 2017-05-18<br>
&gt;&gt;<br>
&gt;&gt; Abstract:<br>
&gt;&gt;=C2=A0 =C2=A0 This document describes a mechanism in Transport Laye=
r Security (TLS)<br>
&gt;&gt;=C2=A0 =C2=A0 to provide an exportable proof of ownership of a cert=
ificate that can<br>
&gt;&gt;=C2=A0 =C2=A0 be transmitted out of band and verified by the other =
party.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; The IETF datatracker status page for this draft is:<br>
&gt;&gt; <a href=3D"https://datatracker.ietf.org/doc/draft-ietf-tls-exporte=
d-authenticator/" rel=3D"noreferrer" target=3D"_blank">https://datatracker.=
ietf.org/<wbr>doc/draft-ietf-tls-exported-<wbr>authenticator/</a><br>
&gt;&gt;<br>
&gt;&gt; There are also htmlized versions available at:<br>
&gt;&gt; <a href=3D"https://tools.ietf.org/html/draft-ietf-tls-exported-aut=
henticator-00" rel=3D"noreferrer" target=3D"_blank">https://tools.ietf.org/=
html/<wbr>draft-ietf-tls-exported-<wbr>authenticator-00</a><br>
&gt;&gt;<br>
&gt;&gt; <a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-tls-ex=
ported-authenticator-00" rel=3D"noreferrer" target=3D"_blank">https://datat=
racker.ietf.org/<wbr>doc/html/draft-ietf-tls-<wbr>exported-authenticator-00=
</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Please note that it may take a couple of minutes from the time of<=
br>
&gt;&gt; submission<br>
&gt;&gt; until the htmlized version and diff are available at <a href=3D"ht=
tp://tools.ietf.org" rel=3D"noreferrer" target=3D"_blank">tools.ietf.org</a=
>.<br>
&gt;&gt;<br>
&gt;&gt; Internet-Drafts are also available by anonymous FTP at:<br>
&gt;&gt; <a href=3D"ftp://ftp.ietf.org/internet-drafts/" rel=3D"noreferrer"=
 target=3D"_blank">ftp://ftp.ietf.org/internet-<wbr>drafts/</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; TLS mailing list<br>
&gt; <a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferre=
r" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
&gt;<br>
</blockquote></div><br><br clear=3D"all"><div><br></div><div class=3D"gmail=
_signature" data-smartmail=3D"gmail_signature"><div><br></div></div>
</div></div>

--94eb2c19d4e46c6a4c0550207513--


From nobody Mon May 22 10:56:24 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E2151127137 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:56:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 Bb_In7mBgtsn for <tls@ietfa.amsl.com>; Mon, 22 May 2017 10:56:21 -0700 (PDT)
Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (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 312EC1270AC for <tls@ietf.org>; Mon, 22 May 2017 10:56:21 -0700 (PDT)
Received: by mail-yw0-x229.google.com with SMTP id l74so63590370ywe.2 for <tls@ietf.org>; Mon, 22 May 2017 10:56:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=P02zQw0xL+OuVAhbU9dD8I/LJKgABfj6510XIVdwzKU=; b=0Vbn5rG1lxv/1KSOAmvwsNxQGqhk4bEaA7uMeIVh3MWy3Hv+5NzKbQP0i/b+l7H7EM dbc+VcpDd55j3TKql5w94sPIkU+nSW4H8EGQjc3b3Ct0KgZa0q2QHC/yNHuVVOYVUU8d ncPbk/fxayOe10shIkett+dQ7QU1l8xrHpo3OIhIWSVmFoqSpke0zvCtoQOeWDB/qfS1 1+wTeodds+Sl9D8gPS02DF/eC3714X7cmabJYtM2p5zlIbrVlmKCL3o9UmPiZvd5RAcM K3cUILNAkOZsAvP2Wmz/12dFRRaf4hAcPzI0BH4Ip59HQLmCBED4uPl4YN8GZAf4Uhsg LFxg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=P02zQw0xL+OuVAhbU9dD8I/LJKgABfj6510XIVdwzKU=; b=fZkVxguBDGQImU6+Wu87chL1xj9FHFTpQwnapdAqy+HUtC3Io/f1uOD+Wyyet8j1xR Tumn9gHO8IGl4NfkHPiXQ4+q4yguobigNyyOIEk01NQ/VPIm/ggnrAgOXU1EYKAX817R 9O8XjTQYSrbbB5BZGRUQ3hyerdle4qhmzq3RyS19Ie2OVoXXUpdaCt2pxuC4NbD+jfv5 56Qq8y6eHpmXo7zKqZ6/1SkDI0rpMO4WgPShndmGnlDy6EnDTHL72TL5zMggInDKftBx gsZ+h4iFMhYx1CiiGyNrgXHv/RDh2hmzLgJbt3Xakgai1zIXEjjb3dbUCG5+hvX1rryO GHnw==
X-Gm-Message-State: AODbwcDVI5DYcMRRBvtPqcpmRA7vS0w4T3H0+HFQCbMwTWNjC3IRClbI AzhWGYh3jabkVTy/sZGBxIrhCiVXTQ91
X-Received: by 10.129.152.68 with SMTP id p65mr19409630ywg.1.1495475780437; Mon, 22 May 2017 10:56:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.93.70 with HTTP; Mon, 22 May 2017 10:56:19 -0700 (PDT)
In-Reply-To: <f8f8db4a-7d4e-590b-25c2-b1cbac6b5313@huitema.net>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com> <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com> <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com> <f8f8db4a-7d4e-590b-25c2-b1cbac6b5313@huitema.net>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Mon, 22 May 2017 10:56:19 -0700
Message-ID: <CAAF6GDcarzUXiEAxBm9RaLQT5A3B=2TPkngEavEY=wQMHU=9Gw@mail.gmail.com>
To: Christian Huitema <huitema@huitema.net>
Cc: Kyle Nekritz <knekritz@fb.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0ba6caa9dee00550209608"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/GkG_80R1ZPIcrNjwS5jAQA7M4io>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:56:23 -0000

--94eb2c0ba6caa9dee00550209608
Content-Type: text/plain; charset="UTF-8"

On Mon, May 22, 2017 at 10:46 AM, Christian Huitema <huitema@huitema.net>
wrote
>
> Check DKG's analysis of 0-RTT for DNS over TLS: https://www.ietf.org/mail-
> archive/web/dns-privacy/current/msg01276.html. There is only one point of
> concern, a minor privacy leak if the DNS queries in the 0-RTT data can be
> replayed at intervals chosen by the attacker. The idea is to replay the
> data to a resolver, and then observe the queries going out to authoritative
> servers in clear text. The correlation can be used to find out what domain
> the client was attempting to resolve. The attack requires "chosen time" by
> the attacker, and thus will probably be mitigated by a caching system that
> prevents replays after a short interval.
>


I have a reply to that too, linked at the bottom: there's actually a more
trivial side-channel (due to non-idempotence) that hadn't been considered
in the original analysis.

I've yet to find /any/ example application where 0-RTT replay would
actually be side-channel free.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Mon, May 22, 2017 at 10:46 AM, Christian Huitema <span dir=3D"ltr">&=
lt;<a href=3D"mailto:huitema@huitema.net" target=3D"_blank">huitema@huitema=
.net</a>&gt;</span> wrote<blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor=3D"#FF=
FFFF" text=3D"#000000">
    Check DKG&#39;s analysis of 0-RTT for DNS over TLS:
    <a class=3D"m_-6450328252620180813moz-txt-link-freetext" href=3D"https:=
//www.ietf.org/mail-archive/web/dns-privacy/current/msg01276.html" target=
=3D"_blank">https://www.ietf.org/mail-<wbr>archive/web/dns-privacy/<wbr>cur=
rent/msg01276.html</a>.
    There is only one point of concern, a minor privacy leak if the DNS
    queries in the 0-RTT data can be replayed at intervals chosen by the
    attacker. The idea is to replay the data to a resolver, and then
    observe the queries going out to authoritative servers in clear
    text. The correlation can be used to find out what domain the client
    was attempting to resolve. The attack requires &quot;chosen time&quot; =
by the
    attacker, and thus will probably be mitigated by a caching system
    that prevents replays after a short interval.</div></blockquote><div><b=
r></div><div><br></div><div>I have a reply to that too, linked at the botto=
m: there&#39;s actually a more trivial side-channel (due to non-idempotence=
) that hadn&#39;t been considered in the original analysis.</div><div><br><=
/div><div>I&#39;ve yet to find /any/ example application where 0-RTT replay=
 would actually be side-channel free.=C2=A0</div></div><div><br></div>-- <b=
r><div class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Colm</d=
iv>
</div></div>

--94eb2c0ba6caa9dee00550209608--


From nobody Mon May 22 10:56:42 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BBEE5127342; Mon, 22 May 2017 10:56:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 Ag-4NVWKpHkx; Mon, 22 May 2017 10:56:31 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ED64C129B9E; Mon, 22 May 2017 10:56:30 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4MHqVmb007991; Mon, 22 May 2017 18:56:27 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=yhorxEs9LKFm0uuLinRGQJti/QWtgfJ6vYFUFqS8VUg=; b=UydWlUnF60qKyQybA7zMv0OFtWDrTHmcioIjwM/V5VZAPMHALJ3MR2YNw3B3hsjFksV4 uzvl/xCl1+7exlWyyERbHTD1ITblkd4s+oC0Zf7AdtdwBGD3VyPjUs0KCJ48P+97Ybsy h/twPgeHt+4bAsHg1Z2hM7ZtDy+sWbeWQsZ21a5VUq+IUm9Te9b5vSGE7O9qCCDKz/K/ 5vRQ9RGPERGTNpaXS7PiTji3ZKIFEEcnrXMLGqHevw1pZOcXzqPXyebq0XEURmxLGU24 3cruFLCQPnrKZZDo/BifKs5uv41oJzCxiU+t6D2DOk/muywqml9wYx1/3IvWxkE2VKVf IQ== 
Received: from prod-mail-ppoint4 ([96.6.114.87]) by m0050096.ppops.net-00190b01. with ESMTP id 2aje78c28j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2017 18:56:27 +0100
Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4MHu0he011908; Mon, 22 May 2017 13:56:26 -0400
Received: from prod-mail-relay15.akamai.com ([172.27.17.40]) by prod-mail-ppoint4.akamai.com with ESMTP id 2ajh4v3mbc-1; Mon, 22 May 2017 13:56:25 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay15.akamai.com (Postfix) with ESMTP id 5C2012007F; Mon, 22 May 2017 11:56:25 -0600 (MDT)
To: Daniel Migault <daniel.migault@ericsson.com>, "tls@ietf.org" <tls@ietf.org>
Cc: tls-chairs <tls-chairs@ietf.org>
References: <149522417333.23956.7024977757521677892.idtracker@ietfa.amsl.com> <2DD56D786E600F45AC6BDE7DA4E8A8C118BDBB01@eusaamb107.ericsson.se>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <e6f67985-97a1-3943-7016-3cc6584d38bb@akamai.com>
Date: Mon, 22 May 2017 12:56:24 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <2DD56D786E600F45AC6BDE7DA4E8A8C118BDBB01@eusaamb107.ericsson.se>
Content-Type: multipart/alternative; boundary="------------EB8215E7C99344C8092E778B"
Content-Language: en-US
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-22_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705220094
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-22_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705220094
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/IBR7r7paE1o8ODh-UbE0aA3iR8A>
Subject: Re: [TLS] FW: New Version Notification for draft-ietf-tls-ecdhe-psk-aead-04.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 17:56:40 -0000

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

Thanks for the updates; the new revision addresses my concerns raised in
the secdir review.

However,

% In addition, it is worth noting that TLS 1.0 [RFC2246] and TL1.2
% [RFC4346] splits the pre-master in two parts.

s/TL1.2/TLS 1.1/, and maybe the ending as "split the pre-master secret
into two parts".

% the PSK and pre-master are treated by
% distinct hash function with distinct properties.

s/pre-master/ECDHE shared secret/?

-Ben

On 05/19/2017 03:18 PM, Daniel Migault wrote:
> Hi, 
>
> Thank you to all reviewers for their feed backs. Please find the latest version, which as far as I know includes all comments. Comments were not controversial. In order to raise next reviews I am raising aspects that might need a bit more attention.  
>
> 1)  The current document mentions I-D.ietf-tls-rfc4492bis and I-D.ietf-tls-tls13 as normative. We can wait for these documents to become RFCs, but we can also dowref them to informational reference if we want to move that document forward. I will leave the AD to decide, and changes if needed can be done by the RFC -editor
>
> 2)  Section 4 has the following text:
>
> """In the case of ECDHE_PSK authentication, the PSK and pre-master are treated by distinct hash function with distinct properties.  This may introduce vulnerabilities over the expected security provided by the constructed pre-master. As such TLS 1.0 and TLS 1.1 should not be  used with ECDHE_PSK. """
>
> With EDCHE_PSK being the ECDHE PSK method not restricted to the cipher suites defined in the document.  I just want to make sure we are ok with the last sentence. 
>
> Yours, 
> Daniel
>
> -----Original Message-----
> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org] 
> Sent: Friday, May 19, 2017 4:03 PM
> To: John Mattsson <john.mattsson@ericsson.com>; Daniel Migault <daniel.migault@ericsson.com>; tls-chairs@ietf.org
> Subject: New Version Notification for draft-ietf-tls-ecdhe-psk-aead-04.txt
>
>
> A new version of I-D, draft-ietf-tls-ecdhe-psk-aead-04.txt
> has been successfully submitted by Daniel Migault and posted to the IETF repository.
>
> Name:		draft-ietf-tls-ecdhe-psk-aead
> Revision:	04
> Title:		ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)
> Document date:	2017-05-18
> Group:		tls
> Pages:		8
> URL:            https://www.ietf.org/internet-drafts/draft-ietf-tls-ecdhe-psk-aead-04.txt
> Status:         https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
> Htmlized:       https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04
> Htmlized:       https://datatracker.ietf.org/doc/html/draft-ietf-tls-ecdhe-psk-aead-04
> Diff:           https://www.ietf.org/rfcdiff?url2=draft-ietf-tls-ecdhe-psk-aead-04
>
> Abstract:
>    This document defines several new cipher suites for the Transport
>    Layer Security (TLS) protocol.  The cipher suites are all based on
>    the Ephemeral Elliptic Curve Diffie-Hellman with Pre-Shared Key
>    (ECDHE_PSK) key exchange together with the Authenticated Encryption
>    with Associated Data (AEAD) algorithms AES-GCM and AES-CCM.  PSK
>    provides light and efficient authentication, ECDHE provides forward
>    secrecy, and AES-GCM and AES-CCM provides encryption and integrity
>    protection.
>
>                                                                                   
>
>
> Please note that it may take a couple of minutes from the time of submission until the htmlized version and diff are available at tools.ietf.org.
>
> The IETF Secretariat
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls


--------------EB8215E7C99344C8092E778B
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Thanks for the updates; the new revision addresses my concerns
      raised in the secdir review.<br>
      <br>
      However,<br>
      <br>
      % In addition, it is worth noting that TLS 1.0 [RFC2246] and TL1.2<br>
      % [RFC4346] splits the pre-master in two parts.<br>
      <br>
      s/TL1.2/TLS 1.1/, and maybe the ending as "split the pre-master
      secret into two parts".<br>
      <br>
      % the PSK and pre-master are treated by<br>
      % distinct hash function with distinct properties.<br>
    </tt><br>
    s/pre-master/ECDHE shared secret/?<br>
    <br>
    -Ben<br>
    <br>
    <div class="moz-cite-prefix">On 05/19/2017 03:18 PM, Daniel Migault
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:2DD56D786E600F45AC6BDE7DA4E8A8C118BDBB01@eusaamb107.ericsson.se">
      <pre wrap="">Hi, 

Thank you to all reviewers for their feed backs. Please find the latest version, which as far as I know includes all comments. Comments were not controversial. In order to raise next reviews I am raising aspects that might need a bit more attention.  

1)  The current document mentions I-D.ietf-tls-rfc4492bis and I-D.ietf-tls-tls13 as normative. We can wait for these documents to become RFCs, but we can also dowref them to informational reference if we want to move that document forward. I will leave the AD to decide, and changes if needed can be done by the RFC -editor

2)  Section 4 has the following text:

"""In the case of ECDHE_PSK authentication, the PSK and pre-master are treated by distinct hash function with distinct properties.  This may introduce vulnerabilities over the expected security provided by the constructed pre-master. As such TLS 1.0 and TLS 1.1 should not be  used with ECDHE_PSK. """

With EDCHE_PSK being the ECDHE PSK method not restricted to the cipher suites defined in the document.  I just want to make sure we are ok with the last sentence. 

Yours, 
Daniel

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a> [<a class="moz-txt-link-freetext" href="mailto:internet-drafts@ietf.org">mailto:internet-drafts@ietf.org</a>] 
Sent: Friday, May 19, 2017 4:03 PM
To: John Mattsson <a class="moz-txt-link-rfc2396E" href="mailto:john.mattsson@ericsson.com">&lt;john.mattsson@ericsson.com&gt;</a>; Daniel Migault <a class="moz-txt-link-rfc2396E" href="mailto:daniel.migault@ericsson.com">&lt;daniel.migault@ericsson.com&gt;</a>; <a class="moz-txt-link-abbreviated" href="mailto:tls-chairs@ietf.org">tls-chairs@ietf.org</a>
Subject: New Version Notification for draft-ietf-tls-ecdhe-psk-aead-04.txt


A new version of I-D, draft-ietf-tls-ecdhe-psk-aead-04.txt
has been successfully submitted by Daniel Migault and posted to the IETF repository.

Name:		draft-ietf-tls-ecdhe-psk-aead
Revision:	04
Title:		ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS)
Document date:	2017-05-18
Group:		tls
Pages:		8
URL:            <a class="moz-txt-link-freetext" href="https://www.ietf.org/internet-drafts/draft-ietf-tls-ecdhe-psk-aead-04.txt">https://www.ietf.org/internet-drafts/draft-ietf-tls-ecdhe-psk-aead-04.txt</a>
Status:         <a class="moz-txt-link-freetext" href="https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/">https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/</a>
Htmlized:       <a class="moz-txt-link-freetext" href="https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04">https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04</a>
Htmlized:       <a class="moz-txt-link-freetext" href="https://datatracker.ietf.org/doc/html/draft-ietf-tls-ecdhe-psk-aead-04">https://datatracker.ietf.org/doc/html/draft-ietf-tls-ecdhe-psk-aead-04</a>
Diff:           <a class="moz-txt-link-freetext" href="https://www.ietf.org/rfcdiff?url2=draft-ietf-tls-ecdhe-psk-aead-04">https://www.ietf.org/rfcdiff?url2=draft-ietf-tls-ecdhe-psk-aead-04</a>

Abstract:
   This document defines several new cipher suites for the Transport
   Layer Security (TLS) protocol.  The cipher suites are all based on
   the Ephemeral Elliptic Curve Diffie-Hellman with Pre-Shared Key
   (ECDHE_PSK) key exchange together with the Authenticated Encryption
   with Associated Data (AEAD) algorithms AES-GCM and AES-CCM.  PSK
   provides light and efficient authentication, ECDHE provides forward
   secrecy, and AES-GCM and AES-CCM provides encryption and integrity
   protection.

                                                                                  


Please note that it may take a couple of minutes from the time of submission until the htmlized version and diff are available at tools.ietf.org.

The IETF Secretariat

_______________________________________________
TLS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TLS@ietf.org">TLS@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/tls">https://www.ietf.org/mailman/listinfo/tls</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------EB8215E7C99344C8092E778B--


From nobody Mon May 22 12:17:42 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 29ACB127863 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 12:17:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 OItAmN3kkbcJ for <tls@ietfa.amsl.com>; Mon, 22 May 2017 12:17:39 -0700 (PDT)
Received: from welho-filter4.welho.com (welho-filter4.welho.com [83.102.41.26]) by ietfa.amsl.com (Postfix) with ESMTP id 1115F12773A for <tls@ietf.org>; Mon, 22 May 2017 12:17:38 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id 8BECA244CF; Mon, 22 May 2017 22:17:36 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id HuyiK_IO-zWm; Mon, 22 May 2017 22:17:35 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id CCD4627B; Mon, 22 May 2017 22:17:35 +0300 (EEST)
Date: Mon, 22 May 2017 22:17:34 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Balaji Rajendran <balajirajendran@gmail.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, "tls@ietf.org" <tls@ietf.org>,  Sankalp Bagaria <sankalp.nitt@gmail.com>
Message-ID: <20170522191734.GA12974@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAPZZOThk9GL1T2N06cwkAA4edFp9YmubM20Rn0nu8u-Jp_pObw@mail.gmail.com> <CABkgnnUrp84sWCe+iXYFM9PvGN3uKDu5wdQ_aLZMuwJb6aYgqg@mail.gmail.com> <CABVRomhk7DEvAqPmSa8vzvxf-128+VhoSFpYH6r6Q41BRdtViQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CABVRomhk7DEvAqPmSa8vzvxf-128+VhoSFpYH6r6Q41BRdtViQ@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/OezLMLTMD18497AB-7ca7J63BVA>
Subject: Re: [TLS] I-D Action: draft-ietf-tls-exported-authenticator-00.txt (internet-drafts@ietf.org)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 19:17:41 -0000

On Mon, May 22, 2017 at 11:17:02PM +0530, Balaji Rajendran wrote:
> Hi,
> 
>    While trying to obtain an authenticator, the private key used for
> signing the certificate is demanded.
>
>    Is it safe to do such operations or is it the public key associated with
> the Certificate?

The private key needed is the private key corresponding with the public
key in end-entity SubjectPublicKeyInfo in the exported authenticator.

This is analogous with the main TLS handshake. However, the key used
might be different with what was used for the main handshake.

Specifically, if the certificate in main handshake and exported
authenticator have the same SubjectPublicKeyInfo, then the private
keys used will be the same. If the SubjectPublicKeyInfo's are
different, then the private keys will be different.



-Ilari


From nobody Mon May 22 12:43:31 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 128D7120727 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 12:43:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] 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 1r23wtoiyU2I for <tls@ietfa.amsl.com>; Mon, 22 May 2017 12:43:27 -0700 (PDT)
Received: from mail-yw0-x22d.google.com (mail-yw0-x22d.google.com [IPv6:2607:f8b0:4002:c05::22d]) (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 4B6E8120724 for <tls@ietf.org>; Mon, 22 May 2017 12:43:27 -0700 (PDT)
Received: by mail-yw0-x22d.google.com with SMTP id b68so64919257ywe.3 for <tls@ietf.org>; Mon, 22 May 2017 12:43:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=/6TSy7LGh6VBSGM2RBhFc0kJajIw9FlnMNUnPvo7WZE=; b=Nlx8FfsUBAYJXv4/NIljzaVTR0CuMjFTjXY8c49EJ/H7kffuVdTQZ/CHXxzSkwZwgB PWTaEIYAmZ/h6pAi8VTLCyyGbeAAJ3AdG6pX/vx3paj5Bj9+HejWIDrAGrFKzuevNwkC w0CNVp27JnF0U+QtFmiHIRAvRg6+XSLm0cWhdCG6YEEImWD45sM4Se6ipDPTDFMPS41u 3OtaNoN0grbbrfCBaR204bbT4YghRRkMhJn245sUtee95XX2/A4B41v++ep0Y3L64eHV vfKNBwTakU1DefhKcGxhv6DM/gkzrZWzLrUTDP7rAcVLfBbALkVrbsdb99JjcUeLvtsl a2mA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=/6TSy7LGh6VBSGM2RBhFc0kJajIw9FlnMNUnPvo7WZE=; b=tgSzNm+WZnEdIafjaSZhr6kvaVwCRE+bc8xFJIUWbC/AX/CFujaniYmAa8k8bjL7B6 /oSSLELizuZ+wNBsopD1B70DMI6dl1Q7+gGIiYtBN72zXHOF0LdI50bU2DpL2pq8Ltge IW+cDo5qb/XmJcHn0Wv2MQF9HIdpSgzooipiNEK4dgQzfqDdLHMmeIVo3DcEHQ9NIgOP jSF7QeGIJQ2ddfLnftpF1Wy8j6oqU9CiW/HDNS/tHYZrzYjvPbb5EES27K85K51kmhvA +ig5G7xYgVqRIWe1oYga5Fq4vBwXCiEN0sWIILInqAOjYVOnRxxyigdzmXqjPNNoNITN 8yhg==
X-Gm-Message-State: AODbwcCUoqHv4zn7Zm+rLnt6JcCK6jVHK5pnKOo0oxCZL+k6WbbG5KWP 3zwJaekpuzDJGaGbuovkDRU609uQ84tKuNc=
X-Received: by 10.129.85.83 with SMTP id j80mr19902519ywb.283.1495482206329; Mon, 22 May 2017 12:43:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Mon, 22 May 2017 12:42:45 -0700 (PDT)
In-Reply-To: <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com> <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com> <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 23 May 2017 04:42:45 +0900
Message-ID: <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a113f3cbead397205502215fc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/nipPodC7u0PdOYqEOgYOAMDkEgE>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 19:43:29 -0000

--001a113f3cbead397205502215fc
Content-Type: text/plain; charset="UTF-8"

Well, I certainly think past the Web PKI, because one of the cases I care
about
is WebRTC, which doesn't do any PKI validation at all.

In any case, I think there are two issues:
1. Forbid TLS 1.3 implementations from accepting MD5 and SHA-1.
2. Require a specific failure if the peer presents such a certificate.

There was pretty strong consensus to do #1 and I don't support removing
it. That seems like a pretty modest layering violation. If people think that
the mandate for this specific alert is too onerous, I could live with
removing
that.

-Ekr


On Tue, May 23, 2017 at 2:46 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

>
> > On May 22, 2017, at 1:37 PM, Salz, Rich <rsalz@akamai.com> wrote:
> >
> > I strongly believe the text should stay as it is, for the most good to
> the most people.  Viktor is in the weeds, arguably by himself.
>
> Right, all by myself...  With support from Nico, Ilari, and others who've
> upthread
> accepted that certificate verification is properly RFC5280 and not TLS,
> before I
> suggested removal of the text in question (which solves no real problem,
> but does
> create needless interoperability issues for various TLS use-cases).
>
> The dominant use case is not the only one that needs consideration,
> and text that breaks other use-cases is NOT just fine, and the TLS
> WG really does need to think more broadly than the Web PKI.  This is
> not the HTTPS working group.
>
> --
>         Viktor.
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr"><div>Well, I certainly think past the Web PKI, because one=
 of the cases I care about</div><div>is WebRTC, which doesn&#39;t do any PK=
I validation at all.</div><div><br></div><div>In any case, I think there ar=
e two issues:</div><div>1. Forbid TLS 1.3 implementations from accepting MD=
5 and SHA-1.</div><div>2. Require a specific failure if the peer presents s=
uch a certificate.</div><div><br></div><div>There was pretty strong consens=
us to do #1 and I don&#39;t support removing</div><div>it. That seems like =
a pretty modest layering violation. If people think that</div><div>the mand=
ate for this specific alert is too onerous, I could live with removing</div=
><div>that.=C2=A0</div><div><br></div><div>-Ekr</div><div><br></div><div><d=
iv class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, May 23, 201=
7 at 2:46 AM, Viktor Dukhovni <span dir=3D"ltr">&lt;<a href=3D"mailto:ietf-=
dane@dukhovni.org" target=3D"_blank">ietf-dane@dukhovni.org</a>&gt;</span> =
wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex"><span class=3D""><br>
&gt; On May 22, 2017, at 1:37 PM, Salz, Rich &lt;<a href=3D"mailto:rsalz@ak=
amai.com">rsalz@akamai.com</a>&gt; wrote:<br>
&gt;<br>
&gt; I strongly believe the text should stay as it is, for the most good to=
 the most people.=C2=A0 Viktor is in the weeds, arguably by himself.<br>
<br>
</span>Right, all by myself...=C2=A0 With support from Nico, Ilari, and oth=
ers who&#39;ve upthread<br>
accepted that certificate verification is properly RFC5280 and not TLS, bef=
ore I<br>
suggested removal of the text in question (which solves no real problem, bu=
t does<br>
create needless interoperability issues for various TLS use-cases).=C2=A0<b=
r>
<br>
The dominant use case is not the only one that needs consideration,<br>
and text that breaks other use-cases is NOT just fine, and the TLS<br>
WG really does need to think more broadly than the Web PKI.=C2=A0 This is<b=
r>
not the HTTPS working group.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Viktor.<br>
<br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</div></div></blockquote></div><br></div></div></div>

--001a113f3cbead397205502215fc--


From nobody Mon May 22 13:17:38 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E3874120727 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 13:17:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.299
X-Spam-Level: 
X-Spam-Status: No, score=-4.299 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 AKGPiWFv82Xu for <tls@ietfa.amsl.com>; Mon, 22 May 2017 13:17:35 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 63658128954 for <tls@ietf.org>; Mon, 22 May 2017 13:17:35 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTP id D726520051C27; Mon, 22 May 2017 13:17:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=Rhmw/hb6EpcX41 KcF2rQpzDRSnU=; b=oDaAO1ReinDyELtCT6W39Vs7j0cHWnRy4nHPoNsPKxDi/q gqSdgnT6Avs2Ef0NxtkFbQVLVKfsj7TeoC4RNeJPhOPZOdfGg3h91sb4HW+VnJzl sOy6cKlZNoaMMZ5SrKjz9d3RUXij2/s6bBVGc8BbGYzQCauzjds9H3uAv48X4=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTPSA id 9618320051C22; Mon, 22 May 2017 13:17:34 -0700 (PDT)
Date: Mon, 22 May 2017 15:17:30 -0500
From: Nico Williams <nico@cryptonector.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: TLS WG <tls@ietf.org>
Message-ID: <20170522201729.GO10188@localhost>
References: <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com> <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com> <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org> <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/13r11-7Yg-zGvR-rezPhMxvfvec>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 20:17:37 -0000

On Tue, May 23, 2017 at 04:42:45AM +0900, Eric Rescorla wrote:
> Well, I certainly think past the Web PKI, because one of the cases I
> care about is WebRTC, which doesn't do any PKI validation at all.
> 
> In any case, I think there are two issues:
> 1. Forbid TLS 1.3 implementations from accepting MD5 and SHA-1.
> 2. Require a specific failure if the peer presents such a certificate.
> 
> There was pretty strong consensus to do #1 and I don't support removing
> it. That seems like a pretty modest layering violation. If people think that
> the mandate for this specific alert is too onerous, I could live with
> removing
> that.

I don't understand how you can have (1) and not (2).

Unlike Viktor (though I also don't like the layering violation) I'm not
proposing removing that text altogether, but tweaking it to allow
opportunistic and other TLS usage.

Instead of altogether forbidding certs with MD5 signatures, forbid them
when the application expects TLS to authenticate the server [with PKIX,
as opposed to certain DANE usage values, or with pre-shared certs,
etc.].  I.e., a server authentication security level knob is needed.

Nico

> On Tue, May 23, 2017 at 2:46 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
> wrote:
> > > On May 22, 2017, at 1:37 PM, Salz, Rich <rsalz@akamai.com> wrote:
> > > I strongly believe the text should stay as it is, for the most good to
> > the most people.  Viktor is in the weeds, arguably by himself.
> >
> > Right, all by myself...  With support from Nico, Ilari, and others
> > who've upthread accepted that certificate verification is properly
> > RFC5280 and not TLS, before I suggested removal of the text in
> > question (which solves no real problem, but does create needless
> > interoperability issues for various TLS use-cases).
> >
> > The dominant use case is not the only one that needs consideration,
> > and text that breaks other use-cases is NOT just fine, and the TLS
> > WG really does need to think more broadly than the Web PKI.  This is
> > not the HTTPS working group.


From nobody Mon May 22 13:18:43 2017
Return-Path: <Roelof_Dutoit@symantec.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 766A5120454 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 13:18:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 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_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=symc.onmicrosoft.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 swsXzTbYwj5o for <tls@ietfa.amsl.com>; Mon, 22 May 2017 13:18:39 -0700 (PDT)
Received: from tussmtoutape01.symantec.com (Tussmtoutape01.symantec.com [155.64.38.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CDFB5120727 for <tls@ietf.org>; Mon, 22 May 2017 13:18:39 -0700 (PDT)
Received: from tussmtmtaapi02.symc.symantec.com (tus3-f5-symc-ext-prd-snat3.net.symantec.com [10.44.130.3]) by tussmtoutape01.symantec.com (Symantec Messaging Gateway) with SMTP id 52.C4.40682.09743295; Mon, 22 May 2017 20:18:24 +0000 (GMT)
X-AuditID: 0a2c7e31-dc6d39a000009eea-f1-59234790cf9d
Received: from tus3xchcaspin01.SYMC.SYMANTEC.COM (tus3-f5-symc-ext-prd-snat8.net.symantec.com [10.44.130.8]) by tussmtmtaapi02.symc.symantec.com (Symantec Messaging Gateway) with SMTP id D5.5A.58529.E8743295; Mon, 22 May 2017 20:18:24 +0000 (GMT)
Received: from TUSXCHMBXWPI01.SYMC.SYMANTEC.COM (10.44.91.33) by tus3xchcaspin01.SYMC.SYMANTEC.COM (10.44.91.13) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Mon, 22 May 2017 13:18:22 -0700
Received: from NAM01-SN1-obe.outbound.protection.outlook.com (10.44.128.4) by TUSXCHMBXWPI01.SYMC.SYMANTEC.COM (10.44.91.33) with Microsoft SMTP Server (TLS) id 15.0.1236.3 via Frontend Transport; Mon, 22 May 2017 13:18:22 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=symc.onmicrosoft.com;  s=selector1-symantec-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=hBhzDp2i5u8YMjKr4AId93CGxnF44B2b5QQgO8X1Fyw=; b=vLFF9CFFlGKX9YXviKggUAGCEoOvz1Au1fkTmU7MAq968pxZ7J6/VEkhBhyTqq+FDDWFK14ULggrJXK5V7roM36P3xelyiphfV6Vd9fKFffDhGLnatu7vFvhaXRtFuea3IIpn+38H3jdNLHvNhkiTwoBVnYS1En+lQesKH1ER3Y=
Received: from DM5PR16MB1834.namprd16.prod.outlook.com (10.172.45.9) by DM5PR16MB1836.namprd16.prod.outlook.com (10.172.45.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16; Mon, 22 May 2017 20:18:21 +0000
Received: from DM5PR16MB1834.namprd16.prod.outlook.com ([10.172.45.9]) by DM5PR16MB1834.namprd16.prod.outlook.com ([10.172.45.9]) with mapi id 15.01.1084.025; Mon, 22 May 2017 20:18:21 +0000
From: Roelof Du Toit <Roelof_Dutoit@symantec.com>
To: TLS WG <tls@ietf.org>
Thread-Topic: Which version to use in ClientKeyExchange when using supported_versions extension
Thread-Index: AQHS0ziOX/zkABdZBUaGTOeOXDMWxg==
Date: Mon, 22 May 2017 20:18:20 +0000
Message-ID: <1CA8423D-0247-42E1-9D49-1BE76C348970@symantec.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=symantec.com;
x-originating-ip: [72.23.5.194]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM5PR16MB1836; 7:4Lct8GJKO+DUU6eICSrTW9GRV9yTAUW4CKsfGt1TD4RhF96OUtjpZmB7pimCAGt5gI79Yn4LL4BpOkK5zU/FFgrc45k5eiN0oqb9qL44+ig5eGLZRraVh8Ms4g8xTevyP449oE45VSuV9Uuztvf+IgTbDthHVqYgwzDRsaU5w3T+4CG+PMDOHcEtRZlMCDv/BjVlgdR35ODBfKomQxXTuo/Yhg+VS7Bwx4B9bnS/hpCKoX4GUs+B1KIDpUKWry16gqiE8wNi3dQyGgu/T229WYEVETZAFvXH8V8fva7FMWrk7JtwdxZSYkwb07AfP0ceDHO+v1yX74Re4Wv7hJYaaQ==
x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(6009001)(39840400002)(39850400002)(39450400003)(39410400002)(39400400002)(50986999)(81166006)(8936002)(54356999)(6506006)(6916009)(6116002)(2900100001)(6436002)(3846002)(8676002)(6512007)(7736002)(53936002)(5660300001)(54896002)(6306002)(102836003)(6486002)(10290500003)(2906002)(99286003)(86362001)(3280700002)(80792005)(38730400002)(110136004)(3660700001)(25786009)(33656002)(66066001)(82746002)(478600001)(189998001)(122556002)(72206003)(83716003)(36756003)(77096006); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR16MB1836; H:DM5PR16MB1834.namprd16.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
x-ms-office365-filtering-correlation-id: 5c95cfb5-6958-4030-43d0-08d4a14fb10e
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:DM5PR16MB1836; 
x-microsoft-antispam-prvs: <DM5PR16MB1836AD9B280D2883E00EBA73FAF80@DM5PR16MB1836.namprd16.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(6072148); SRVR:DM5PR16MB1836; BCL:0; PCL:0; RULEID:; SRVR:DM5PR16MB1836; 
x-forefront-prvs: 03152A99FF
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_1CA8423D024742E19D491BE76C348970symanteccom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 May 2017 20:18:20.8530 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 3b217a9b-6c58-428b-b022-5ad741ce2016
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR16MB1836
X-OriginatorOrg: symantec.com
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKKsWRmVeSWpSXmKPExsXCpdPErDvBXTnS4NcaaYtP57sYHRg9liz5 yRTAGMVlk5Kak1mWWqRvl8CV8W/3N8aCG8EVz7fVNTCuD+xi5OSQEDCReHVwJnsXIxeHkMAn RomDNxuYYBJTps4Es4UEfjBKPF0FVXSUUWLG8zNQiReMEg+euYEkWAQ6mSXW729hgqiawiRx btETNgjnEKPE3cXNrCAtbAKGEj8PTAKzRQQkJT73ngGzhQViJM6u38IOEU+UmNZ4mwXC1pPo 3rifGcRmEVCVeP2hFayGV8BeYvfzuWwgNqOAmMT3U2vATmIWEJe49WQ+1A8CEkv2nGeGsEUl Xj7+xwpyEKNAN6PE1j37GSES8hL3n56GsmUlLs3vhrJ7mCWeL/QGaQCyWSU2TrgINdVX4u6E T1BFdRJ7NryHimdL7JsxlRXC9pbYfuo6C4T9iUli0+NKCFtG4vnUiSwQH0tJ3L3SyTiBUXsW ksMh7GSJCWf/MM8Ce1RQ4uTMJyyzGDmA4poS63fpQ5QoSkzpfsgOYWtItM6ZC2V7SMw+M4cZ Wc0CRo5VjAolpcXFuSX5pSWJBakGhnrFlbnJICIRmJSS9ZLzczcxghNTneEOxkcbfA4xCnAw KvHwrnZVjhRiTSwDqgTGIgezkghvHjtQiDclsbIqtSg/vqg0J7X4EKM0B4uSOO+tebcihATS E0tSs1NTC1KLYLJMHJxSDYzO6Xs/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9frJT00D5pWvddGdkOIXbq7EUpyRaKjFXFScCADtyYWtLAMAAA==
X-CFilter-Loop: TUS02
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/AK2bciuXkJ-FsK_xM33XI1XaHkg>
Subject: [TLS] Which version to use in ClientKeyExchange when using supported_versions extension
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 20:18:41 -0000

--_000_1CA8423D024742E19D491BE76C348970symanteccom_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

UkZDIDUyNDYgaGFzIHRoZSBmb2xsb3dpbmcgaW4gc2VjdGlvbiA3LjQuNy4xIChSU0EtRW5jcnlw
dGVkIFByZW1hc3RlciBTZWNyZXQpOg0KDQogICAgY2xpZW50X3ZlcnNpb24NCiAgICAgICAgIFRo
ZSBsYXRlc3QgKG5ld2VzdCkgdmVyc2lvbiBzdXBwb3J0ZWQgYnkgdGhlIGNsaWVudC4gIFRoaXMg
aXMNCiAgICAgICAgIHVzZWQgdG8gZGV0ZWN0IHZlcnNpb24gcm9sbGJhY2sgYXR0YWNrcy4NCg0K
VGhlIFRMUyAxLjMgZHJhZnQgc3BlY2lmaWNhdGlvbiBoYXMgdGhlIGZvbGxvd2luZyBpbiBzZWN0
aW9uIDEuNCAoVXBkYXRlcyBBZmZlY3RpbmcgVExTIDEuMikNCg0KICAgIFRoZSDigJxzdXBwb3J0
ZWRfdmVyc2lvbnPigJ0gQ2xpZW50SGVsbG8gZXh0ZW5zaW9uIGNhbiBiZSB1c2VkIHRvIG5lZ290
aWF0ZSB0aGUgdmVyc2lvbiBvZiBUTFMgdG8gdXNlLCBpbiBwcmVmZXJlbmNlIHRvIHRoZSBsZWdh
Y3lfdmVyc2lvbiBmaWVsZCBvZiB0aGUgQ2xpZW50SGVsbG8uDQoNCg0KSSB3b3VsZCBhcHByZWNp
YXRlIHNvbWUgY2xhcmlmaWNhdGlvbiByZWdhcmRpbmcgdGhlIHZhbHVlIG9mICJjbGllbnRfdmVy
c2lvbiIgaW4gYSBDbGllbnRLZXlFeGNoYW5nZSBpZjoNCi0gQ2xpZW50SGVsbG8ubGVnYWN5X3Zl
cnNpb24gPSBUTFMgMS4yLCBhbmQNCi0gQ2xpZW50SGVsbG8uc3VwcG9ydGVkX3ZlcnNpb25zIGV4
dGVuc2lvbiBoYXMgVExTIDEuMywgYW5kDQotIFRMUyAxLjIgaXMgbmVnb3RpYXRlZCAoZWl0aGVy
IGJlY2F1c2UgdGhlIHNlcnZlciBkb2VzIG5vdCBzdXBwb3J0IFRMUyAxLjMsIG9yIGJlY2F1c2Ug
dGhlIFRMUyAxLjMtY2FwYWJsZSBzZXJ2ZXIgaXMgY29uZmlndXJlZCB0byByZXNwb25kIHdpdGgg
VExTIDEuMiBmb3Igc29tZSByZWFzb24pDQoNCk15IGFzc3VtcHRpb24gaXMgdGhhdCBDbGllbnRI
ZWxsby5sZWdhY3lfdmVyc2lvbiBzaG91bGQgYmUgdXNlZCBiZWNhdXNlIHRoZSBjbGllbnQgd291
bGQgbm90IGtub3cgd2hldGhlciB0aGUgc2VydmVyIGlnbm9yZWQgdGhlIHN1cHBvcnRlZF92ZXJz
aW9ucyBleHRlbnNpb24gLSBpcyB0aGF0IGNvcnJlY3Q/DQoNCi0tUm9lbG9mDQoNCg==

--_000_1CA8423D024742E19D491BE76C348970symanteccom_
Content-Type: text/html; charset="utf-8"
Content-ID: <9A0A824DB2A5864DBCC77DA4D8F04CC4@namprd16.prod.outlook.com>
Content-Transfer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hbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdCI+LS1Sb2Vsb2Y8
bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHlsZT0i
Zm9udC1zaXplOjExLjBwdCI+PG86cD4mbmJzcDs8L286cD48L3NwYW4+PC9wPg0KPC9kaXY+DQo8
L2JvZHk+DQo8L2h0bWw+DQo=

--_000_1CA8423D024742E19D491BE76C348970symanteccom_--


From nobody Mon May 22 13:27:22 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 06BBB128BC8 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 13:27:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] 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 Z3ei0v_yZfO8 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 13:27:10 -0700 (PDT)
Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (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 D2475128959 for <tls@ietf.org>; Mon, 22 May 2017 13:27:09 -0700 (PDT)
Received: by mail-yw0-x230.google.com with SMTP id p73so54669163ywp.0 for <tls@ietf.org>; Mon, 22 May 2017 13:27:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hz4s7bthZCI0M4siVOr70jdo2IM73d2gwG3t3yo9NKQ=; b=ymbOlFjB+COUVP1hK9xcOOTEky2F1Rt0M+xlig+ZiplPG8Q0Fau+Bd/vB1i9CVuqOX qJDU/i81kD+JafBcEXpxP35RBGRS/whYaUXZ5fEpMmHyNQeYx4sGlXCuux7/TYFWGtUI L93XebReNiGw4gxCip0x5ph1l8CSi5bo4yQl/vZrFE6N6jF2i96FyAcKJCz4HFe+1Eb5 FICcixtH+LPvgbSR1f2mgZD96dKlbO4MqiSc5ZBFrQ9LNJVTogXYfQBfRD9lIcjlpv3L y3usifXyX2IrGT3r2YBJew5Q6fI2MACOBW8oDFYyGhzsc8PbFhBCkcc/Z1xQMgOvcNam +/gw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hz4s7bthZCI0M4siVOr70jdo2IM73d2gwG3t3yo9NKQ=; b=A8yJz6WDB41cNCyhk2CcXUvzvaFEN8LsPcpcBndcVQQNcafClslVdsvRnCxcZIkBFi +NQfpACI+PreLKPVLKUyfbg+0PaJ4Mp2zM2D/c9DUlhOfT/nYJAfKvV6cY1N+4QO//AI 2qNGlogX+IWms8lT8g06xfm8WjqdbGXg3MKdLWvj8n9Z+R6bhchpzl4HpskMbSYc14iL OKGrIABjWu6B5V1YL3UXCwteFhqnNpImtVQSdWDp8IwWQTeVUROCKNrZDFIVpXrR1F6t 6wXCinWtPEVQXnTKZ0kljVUecMvQiM2yLdEne9XkFdbk818wOIUvXrr/dM2OTHfQ3uLp BpRw==
X-Gm-Message-State: AODbwcBTcV8opsvoN5Ih1hSA2GIefj2A7CJuNQsY+DyCpdX9kmfFKlPY i3Z7gaCshrIDmX7o+jZ2JPYdnTAWIupsEnYJwQ==
X-Received: by 10.129.5.14 with SMTP id 14mr20299784ywf.85.1495484829131; Mon, 22 May 2017 13:27:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Mon, 22 May 2017 13:26:28 -0700 (PDT)
In-Reply-To: <20170522201729.GO10188@localhost>
References: <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com> <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com> <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org> <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com> <20170522201729.GO10188@localhost>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 23 May 2017 05:26:28 +0900
Message-ID: <CABcZeBMx5wbfchzonxQ5E6N2cOSAXSFX5JpEdTQMMaTnoCb7Dg@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a114174680230fb055022b2a2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/CqMMYjsSwVTa2KFBKOxIdEWYoug>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 20:27:12 -0000

--001a114174680230fb055022b2a2
Content-Type: text/plain; charset="UTF-8"

On Tue, May 23, 2017 at 5:17 AM, Nico Williams <nico@cryptonector.com>
wrote:

> On Tue, May 23, 2017 at 04:42:45AM +0900, Eric Rescorla wrote:
> > Well, I certainly think past the Web PKI, because one of the cases I
> > care about is WebRTC, which doesn't do any PKI validation at all.
> >
> > In any case, I think there are two issues:
> > 1. Forbid TLS 1.3 implementations from accepting MD5 and SHA-1.
> > 2. Require a specific failure if the peer presents such a certificate.
> >
> > There was pretty strong consensus to do #1 and I don't support removing
> > it. That seems like a pretty modest layering violation. If people think
> that
> > the mandate for this specific alert is too onerous, I could live with
> > removing
> > that.
>
> I don't understand how you can have (1) and not (2).
>

As Ilari suggests, you could just treat the algorithms as unknown.


Unlike Viktor (though I also don't like the layering violation) I'm not
> proposing removing that text altogether, but tweaking it to allow
> opportunistic and other TLS usage.
>
> Instead of altogether forbidding certs with MD5 signatures, forbid them
> when the application expects TLS to authenticate the server [with PKIX,
> as opposed to certain DANE usage values, or with pre-shared certs,
> etc.].  I.e., a server authentication security level knob is needed.
>

I don't think that the current text prohibits that, because of :

   The signatures on certificates that are self-signed or certificates
   that are trust anchors are not validated since they begin a
   certification path (see [RFC5280], Section 3.2).  A certificate that
   begins a certification path MAY use a signature algorithm that is not
   advertised as being supported in the "signature_algorithms"
   extension.

In this case, I think one can argue are treating this as a trust anchor.
Feel free to propose
new text that you think makes that clearer.

-Ekr


> Nico
>
> > On Tue, May 23, 2017 at 2:46 AM, Viktor Dukhovni <ietf-dane@dukhovni.org
> >
> > wrote:
> > > > On May 22, 2017, at 1:37 PM, Salz, Rich <rsalz@akamai.com> wrote:
> > > > I strongly believe the text should stay as it is, for the most good
> to
> > > the most people.  Viktor is in the weeds, arguably by himself.
> > >
> > > Right, all by myself...  With support from Nico, Ilari, and others
> > > who've upthread accepted that certificate verification is properly
> > > RFC5280 and not TLS, before I suggested removal of the text in
> > > question (which solves no real problem, but does create needless
> > > interoperability issues for various TLS use-cases).
> > >
> > > The dominant use case is not the only one that needs consideration,
> > > and text that breaks other use-cases is NOT just fine, and the TLS
> > > WG really does need to think more broadly than the Web PKI.  This is
> > > not the HTTPS working group.
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 23, 2017 at 5:17 AM, Nico Williams <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:nico@cryptonector.com" target=3D"_blank">nico@cryptonector.=
com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex"><span class=3D"gmail-">On Tue, May 23, 2017 at 04:42:45AM +0900, Eric R=
escorla wrote:<br>
&gt; Well, I certainly think past the Web PKI, because one of the cases I<b=
r>
&gt; care about is WebRTC, which doesn&#39;t do any PKI validation at all.<=
br>
&gt;<br>
&gt; In any case, I think there are two issues:<br>
&gt; 1. Forbid TLS 1.3 implementations from accepting MD5 and SHA-1.<br>
&gt; 2. Require a specific failure if the peer presents such a certificate.=
<br>
&gt;<br>
&gt; There was pretty strong consensus to do #1 and I don&#39;t support rem=
oving<br>
&gt; it. That seems like a pretty modest layering violation. If people thin=
k that<br>
&gt; the mandate for this specific alert is too onerous, I could live with<=
br>
&gt; removing<br>
&gt; that.<br>
<br>
</span>I don&#39;t understand how you can have (1) and not (2).<br></blockq=
uote><div><br></div><div>As Ilari suggests, you could just treat the algori=
thms as unknown.</div><div><br></div><div><br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex">
Unlike Viktor (though I also don&#39;t like the layering violation) I&#39;m=
 not<br>
proposing removing that text altogether, but tweaking it to allow<br>
opportunistic and other TLS usage.<br>
<br>
Instead of altogether forbidding certs with MD5 signatures, forbid them<br>
when the application expects TLS to authenticate the server [with PKIX,<br>
as opposed to certain DANE usage values, or with pre-shared certs,<br>
etc.].=C2=A0 I.e., a server authentication security level knob is needed.<b=
r></blockquote><div><br></div><div>I don&#39;t think that the current text =
prohibits that, because of :</div><div><br></div><div><div>=C2=A0 =C2=A0The=
 signatures on certificates that are self-signed or certificates</div><div>=
=C2=A0 =C2=A0that are trust anchors are not validated since they begin a</d=
iv><div>=C2=A0 =C2=A0certification path (see [RFC5280], Section 3.2).=C2=A0=
 A certificate that</div><div>=C2=A0 =C2=A0begins a certification path MAY =
use a signature algorithm that is not</div><div>=C2=A0 =C2=A0advertised as =
being supported in the &quot;signature_algorithms&quot;</div><div>=C2=A0 =
=C2=A0extension.</div></div><div><br></div><div>In this case, I think one c=
an argue are treating this as a trust anchor. Feel free to propose</div><di=
v>new text that you think makes that clearer.</div><div><br></div><div>-Ekr=
</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=3D"gmail-HOEnZb"><font color=3D"#888888"><br>
Nico<br>
</font></span><div class=3D"gmail-HOEnZb"><div class=3D"gmail-h5"><br>
&gt; On Tue, May 23, 2017 at 2:46 AM, Viktor Dukhovni &lt;<a href=3D"mailto=
:ietf-dane@dukhovni.org">ietf-dane@dukhovni.org</a>&gt;<br>
&gt; wrote:<br>
&gt; &gt; &gt; On May 22, 2017, at 1:37 PM, Salz, Rich &lt;<a href=3D"mailt=
o:rsalz@akamai.com">rsalz@akamai.com</a>&gt; wrote:<br>
&gt; &gt; &gt; I strongly believe the text should stay as it is, for the mo=
st good to<br>
&gt; &gt; the most people.=C2=A0 Viktor is in the weeds, arguably by himsel=
f.<br>
&gt; &gt;<br>
&gt; &gt; Right, all by myself...=C2=A0 With support from Nico, Ilari, and =
others<br>
&gt; &gt; who&#39;ve upthread accepted that certificate verification is pro=
perly<br>
&gt; &gt; RFC5280 and not TLS, before I suggested removal of the text in<br=
>
&gt; &gt; question (which solves no real problem, but does create needless<=
br>
&gt; &gt; interoperability issues for various TLS use-cases).<br>
&gt; &gt;<br>
&gt; &gt; The dominant use case is not the only one that needs consideratio=
n,<br>
&gt; &gt; and text that breaks other use-cases is NOT just fine, and the TL=
S<br>
&gt; &gt; WG really does need to think more broadly than the Web PKI.=C2=A0=
 This is<br>
&gt; &gt; not the HTTPS working group.<br>
</div></div></blockquote></div><br></div></div>

--001a114174680230fb055022b2a2--


From nobody Mon May 22 13:43:34 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B4DF128A32 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 13:43:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.299
X-Spam-Level: 
X-Spam-Status: No, score=-4.299 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 1gnSRO7q154z for <tls@ietfa.amsl.com>; Mon, 22 May 2017 13:43:32 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7AEBF12702E for <tls@ietf.org>; Mon, 22 May 2017 13:43:31 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTP id 18C5020051C26; Mon, 22 May 2017 13:43:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=bSyymB5orI/gsv +tbgi4mz6rt+8=; b=sUKJduDgFyWIbWYZH8uZsF2BpFokmA0ud3f8fr5y+UV/UV cgIJCsscK70Jym2fXwv+enTXJY1I6aqiotyYYRVdhjeRtH/sroKaNEZnkfWaKi+u J9KCCcSHuc/tR9v3PpJCHzL5usoXGACs3DLzOIv23mCbAgayaqs1zE44hHt9M=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTPSA id C745820051C24; Mon, 22 May 2017 13:43:30 -0700 (PDT)
Date: Mon, 22 May 2017 15:43:26 -0500
From: Nico Williams <nico@cryptonector.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: TLS WG <tls@ietf.org>
Message-ID: <20170522204326.GP10188@localhost>
References: <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com> <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com> <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org> <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com> <20170522201729.GO10188@localhost> <CABcZeBMx5wbfchzonxQ5E6N2cOSAXSFX5JpEdTQMMaTnoCb7Dg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABcZeBMx5wbfchzonxQ5E6N2cOSAXSFX5JpEdTQMMaTnoCb7Dg@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/fJ5DL_bUJHoi2-K9pn8V2oS1p4Y>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 20:43:33 -0000

On Tue, May 23, 2017 at 05:26:28AM +0900, Eric Rescorla wrote:
> On Tue, May 23, 2017 at 5:17 AM, Nico Williams <nico@cryptonector.com>
> wrote:
> > > In any case, I think there are two issues:
> > > 1. Forbid TLS 1.3 implementations from accepting MD5 and SHA-1.
> > > 2. Require a specific failure if the peer presents such a certificate.
> > >
> > > There was pretty strong consensus to do #1 and I don't support removing
> > > it. That seems like a pretty modest layering violation. If people think
> > that
> > > the mandate for this specific alert is too onerous, I could live with
> > > removing
> > > that.
> >
> > I don't understand how you can have (1) and not (2).
> 
> As Ilari suggests, you could just treat the algorithms as unknown.

How does that square with (1)?

> > Instead of altogether forbidding certs with MD5 signatures, forbid them
> > when the application expects TLS to authenticate the server [with PKIX,
> > as opposed to certain DANE usage values, or with pre-shared certs,
> > etc.].  I.e., a server authentication security level knob is needed.
> 
> I don't think that the current text prohibits that, because of :

That takes care of DANE and pre-shared cert uses, but not of
opportunistic use.  And maybe not of TOFU either: since on first use the
server's cert won't be known to the client, it's not a "trust anchor"
yet and cannot fall under this safe-harbor.

>    The signatures on certificates that are self-signed or certificates
>    that are trust anchors are not validated since they begin a
>    certification path (see [RFC5280], Section 3.2).  A certificate that
>    begins a certification path MAY use a signature algorithm that is not
>    advertised as being supported in the "signature_algorithms"
>    extension.
> 
> In this case, I think one can argue are treating this as a trust
> anchor.  Feel free to propose new text that you think makes that
> clearer.

Proposal:

   Clients SHOULD/MUST NOT accept server certificates, or certificate
   validation paths, where the server certificate or intermediate
   certificates (but not trust anchors) are signed with "weak" signature
   algorithms, unless the client is not expecting TLS to strongly
   authenticate the server (e.g., for opportunistic use) or where the
   client has previously learned and cached the server's certificate.

   A "weak" signature algorithm is any of <list1>, or any that isn't on
   <list2> and was introduced prior to publication date of this
   document.

The last is a way to eliminate any old hash.  List some of them in
<list1>, list all the allowable ones that we know about today in
<list2>, and the publication date will take care of any that should have
been on <list1> but was not listed in it, while future-proofing <list2>.

Nico
-- 


From nobody Mon May 22 13:50:49 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 29969128CDC for <tls@ietfa.amsl.com>; Mon, 22 May 2017 13:50:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] 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 Zq8kDp9WKkey for <tls@ietfa.amsl.com>; Mon, 22 May 2017 13:50:34 -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 89C9A128B93 for <tls@ietf.org>; Mon, 22 May 2017 13:50:29 -0700 (PDT)
Received: by mail-yw0-x22e.google.com with SMTP id l14so65793759ywk.1 for <tls@ietf.org>; Mon, 22 May 2017 13:50:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9Ay29x0NxdgQQeRckRX2egrDKaGUB5JskJWcGdvYLVQ=; b=GrODbQ2sNHNLMWD4cp0ZNmninIOWv2vKR1dyimo5X70raw+0vBTMj6iXluD6dyBY0s vTdNnjAG3tTzZVo123PSLbrZVvBAqsxGnZzWSao0UtKDKEhzLsmaijncsIPY2tF1p+uR +vG/ST59qmtYpnQJt3s5exTcXmGzJYKMu615aNp0JR7RSXk/unfyCh0ntig4Wo/FN2xq zfGws9BKMxT21Tfe1oe8Il+EAeIph8Pdmh4x8/XSdxAHjqxbb5Ro1+E0vfAvzj9DN+n1 IjnYIzi8v/Go/R2L/pOMdWfRlQZ3yXlJit2y3nIt8LrsfjlMzD7LA3a4sIVoQFF2GsE0 bbLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9Ay29x0NxdgQQeRckRX2egrDKaGUB5JskJWcGdvYLVQ=; b=nDtr7Aj/5lpzQreMIcX5UfktgDqa0hIQNQG2XBJnYWiwYbedLoSF4wkEcDzRw6Wku1 OmektapVR0V1/vCwnDLLm3gE5zX+xuPLj3LpGKhyZ5AAli47ZH3pUflo3IBUaoEw7dGF 3pcwq6oU589YigU6Gnlwzh1sORIKcnAvJYmoG6Wza2e3uRYIn7WFOhltqhR9vWDP8i6D 92c0a6t1xafVAbFN3T7NY7lhpxYwrze5FjR4InRja1H64hNgkJ9UPKPc9yyiRxYOMKDx ZrLwiHikcND1uLAHTXUVN66YUMIUDN/OKxRdmxAQNiyiw499tm+qn9ON2iXMyPzhg46V Ep7w==
X-Gm-Message-State: AODbwcCBjRPRf32294SCHvI1D8m/8c9fBE9QMNED2Fh36gZfXk71Vjpb TQLzjrBDXx4h2eEHCxpwlrSlFMoUXxnLKb4=
X-Received: by 10.129.57.138 with SMTP id g132mr19786351ywa.312.1495486228773;  Mon, 22 May 2017 13:50:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Mon, 22 May 2017 13:49:47 -0700 (PDT)
In-Reply-To: <20170522204326.GP10188@localhost>
References: <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com> <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com> <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org> <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com> <20170522201729.GO10188@localhost> <CABcZeBMx5wbfchzonxQ5E6N2cOSAXSFX5JpEdTQMMaTnoCb7Dg@mail.gmail.com> <20170522204326.GP10188@localhost>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 23 May 2017 05:49:47 +0900
Message-ID: <CABcZeBM1SWnganpX_VyDRiVm+ZFSoA6tZpCWX+Ec-D6So6RUGw@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a114c76b46ed9a3055023057f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Q1EllqhfmagZqqZNme3KtIkFWj8>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 20:50:47 -0000

--001a114c76b46ed9a3055023057f
Content-Type: text/plain; charset="UTF-8"

On Tue, May 23, 2017 at 5:43 AM, Nico Williams <nico@cryptonector.com>
wrote:

> On Tue, May 23, 2017 at 05:26:28AM +0900, Eric Rescorla wrote:
> > On Tue, May 23, 2017 at 5:17 AM, Nico Williams <nico@cryptonector.com>
> > wrote:
> > > > In any case, I think there are two issues:
> > > > 1. Forbid TLS 1.3 implementations from accepting MD5 and SHA-1.
> > > > 2. Require a specific failure if the peer presents such a
> certificate.
> > > >
> > > > There was pretty strong consensus to do #1 and I don't support
> removing
> > > > it. That seems like a pretty modest layering violation. If people
> think
> > > that
> > > > the mandate for this specific alert is too onerous, I could live with
> > > > removing
> > > > that.
> > >
> > > I don't understand how you can have (1) and not (2).
> >
> > As Ilari suggests, you could just treat the algorithms as unknown.
>
> How does that square with (1)?
>

I don't understand the question. If you treat them as unknown then either
your path construction code will route around them or once you try to
verify,
it will fail.



> > Instead of altogether forbidding certs with MD5 signatures, forbid them
> > > when the application expects TLS to authenticate the server [with PKIX,
> > > as opposed to certain DANE usage values, or with pre-shared certs,
> > > etc.].  I.e., a server authentication security level knob is needed.
> >
> > I don't think that the current text prohibits that, because of :
>
> That takes care of DANE and pre-shared cert uses, but not of
> opportunistic use.  And maybe not of TOFU either: since on first use the
> server's cert won't be known to the client, it's not a "trust anchor"
> yet and cannot fall under this safe-harbor.
>

I wouldn't have any trouble interpreting it that way.


>    The signatures on certificates that are self-signed or certificates
> >    that are trust anchors are not validated since they begin a
> >    certification path (see [RFC5280], Section 3.2).  A certificate that
> >    begins a certification path MAY use a signature algorithm that is not
> >    advertised as being supported in the "signature_algorithms"
> >    extension.
> >
> > In this case, I think one can argue are treating this as a trust
> > anchor.  Feel free to propose new text that you think makes that
> > clearer.
>
> Proposal:
>
>    Clients SHOULD/MUST NOT accept server certificates, or certificate
>    validation paths, where the server certificate or intermediate
>    certificates (but not trust anchors) are signed with "weak" signature
>    algorithms, unless the client is not expecting TLS to strongly
>    authenticate the server (e.g., for opportunistic use) or where the
>    client has previously learned and cached the server's certificate.
>

I don't think "strongly authenticate" is useful here. I think the
requirement
is that the RP must not accept these algorithms in any context which would
require validating signatures made using them.

-Ekr


   A "weak" signature algorithm is any of <list1>, or any that isn't on
>    <list2> and was introduced prior to publication date of this
>    document.
>
> The last is a way to eliminate any old hash.  List some of them in
> <list1>, list all the allowable ones that we know about today in
> <list2>, and the publication date will take care of any that should have
> been on <list1> but was not listed in it, while future-proofing <list2>.
>
> Nico
> --
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 23, 2017 at 5:43 AM, Nico Williams <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:nico@cryptonector.com" target=3D"_blank">nico@cryptonector.=
com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"=
">On Tue, May 23, 2017 at 05:26:28AM +0900, Eric Rescorla wrote:<br>
&gt; On Tue, May 23, 2017 at 5:17 AM, Nico Williams &lt;<a href=3D"mailto:n=
ico@cryptonector.com">nico@cryptonector.com</a>&gt;<br>
&gt; wrote:<br>
</span><span class=3D"">&gt; &gt; &gt; In any case, I think there are two i=
ssues:<br>
&gt; &gt; &gt; 1. Forbid TLS 1.3 implementations from accepting MD5 and SHA=
-1.<br>
&gt; &gt; &gt; 2. Require a specific failure if the peer presents such a ce=
rtificate.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; There was pretty strong consensus to do #1 and I don&#39;t s=
upport removing<br>
&gt; &gt; &gt; it. That seems like a pretty modest layering violation. If p=
eople think<br>
&gt; &gt; that<br>
&gt; &gt; &gt; the mandate for this specific alert is too onerous, I could =
live with<br>
&gt; &gt; &gt; removing<br>
&gt; &gt; &gt; that.<br>
&gt; &gt;<br>
&gt; &gt; I don&#39;t understand how you can have (1) and not (2).<br>
&gt;<br>
&gt; As Ilari suggests, you could just treat the algorithms as unknown.<br>
<br>
</span>How does that square with (1)?<br></blockquote><div><br></div><div>I=
 don&#39;t understand the question. If you treat them as unknown then eithe=
r</div><div>your path construction code will route around them or once you =
try to verify,</div><div>it will fail.</div><div><br></div><div><br></div><=
div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">&gt; &gt; Ins=
tead of altogether forbidding certs with MD5 signatures, forbid them<br>
&gt; &gt; when the application expects TLS to authenticate the server [with=
 PKIX,<br>
&gt; &gt; as opposed to certain DANE usage values, or with pre-shared certs=
,<br>
&gt; &gt; etc.].=C2=A0 I.e., a server authentication security level knob is=
 needed.<br>
&gt;<br>
&gt; I don&#39;t think that the current text prohibits that, because of :<b=
r>
<br>
</span>That takes care of DANE and pre-shared cert uses, but not of<br>
opportunistic use.=C2=A0 And maybe not of TOFU either: since on first use t=
he<br>
server&#39;s cert won&#39;t be known to the client, it&#39;s not a &quot;tr=
ust anchor&quot;<br>
yet and cannot fall under this safe-harbor.<br></blockquote><div>=C2=A0</di=
v><div>I wouldn&#39;t have any trouble interpreting it that way.</div><div>=
<br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">
&gt;=C2=A0 =C2=A0 The signatures on certificates that are self-signed or ce=
rtificates<br>
&gt;=C2=A0 =C2=A0 that are trust anchors are not validated since they begin=
 a<br>
&gt;=C2=A0 =C2=A0 certification path (see [RFC5280], Section 3.2).=C2=A0 A =
certificate that<br>
&gt;=C2=A0 =C2=A0 begins a certification path MAY use a signature algorithm=
 that is not<br>
&gt;=C2=A0 =C2=A0 advertised as being supported in the &quot;signature_algo=
rithms&quot;<br>
&gt;=C2=A0 =C2=A0 extension.<br>
&gt;<br>
&gt; In this case, I think one can argue are treating this as a trust<br>
&gt; anchor.=C2=A0 Feel free to propose new text that you think makes that<=
br>
&gt; clearer.<br>
<br>
</span>Proposal:<br>
<br>
=C2=A0 =C2=A0Clients SHOULD/MUST NOT accept server certificates, or certifi=
cate<br>
=C2=A0 =C2=A0validation paths, where the server certificate or intermediate=
<br>
=C2=A0 =C2=A0certificates (but not trust anchors) are signed with &quot;wea=
k&quot; signature<br>
=C2=A0 =C2=A0algorithms, unless the client is not expecting TLS to strongly=
<br>
=C2=A0 =C2=A0authenticate the server (e.g., for opportunistic use) or where=
 the<br>
=C2=A0 =C2=A0client has previously learned and cached the server&#39;s cert=
ificate.<br></blockquote><div><br></div><div>I don&#39;t think &quot;strong=
ly authenticate&quot; is useful here. I think the requirement</div><div>is =
that the RP must not accept these algorithms in any context which would</di=
v><div>require validating signatures made using them.</div><div><br></div><=
div>-Ekr</div><div><br></div><div><br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
=C2=A0 =C2=A0A &quot;weak&quot; signature algorithm is any of &lt;list1&gt;=
, or any that isn&#39;t on<br>
=C2=A0 =C2=A0&lt;list2&gt; and was introduced prior to publication date of =
this<br>
=C2=A0 =C2=A0document.<br>
<br>
The last is a way to eliminate any old hash.=C2=A0 List some of them in<br>
&lt;list1&gt;, list all the allowable ones that we know about today in<br>
&lt;list2&gt;, and the publication date will take care of any that should h=
ave<br>
been on &lt;list1&gt; but was not listed in it, while future-proofing &lt;l=
ist2&gt;.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Nico<br>
--<br>
</font></span></blockquote></div><br></div></div>

--001a114c76b46ed9a3055023057f--


From nobody Mon May 22 14:00:26 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 192CB126C25 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 14:00:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.299
X-Spam-Level: 
X-Spam-Status: No, score=-4.299 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 9AqTuhnJ-Eyd for <tls@ietfa.amsl.com>; Mon, 22 May 2017 14:00:24 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AAB76126B72 for <tls@ietf.org>; Mon, 22 May 2017 14:00:24 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTP id 38F4320051C24; Mon, 22 May 2017 14:00:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=g28niWHQ38xE5Y 7fwjfsHEOtH0A=; b=LT5doJDTl+gWwNImumdi0QfzkBlyg6pDcSakd4DCHv8Wst GoKxN1buGRUNoyHdGWpfbrOdOZJAbqKb30rNauWuniCd1CC4gdX7CSbm5a/X85CI tVBvhm1XsmSZ/pF1f29MkYBPZdxz7cmK8tOgiNI+c0fYF02DZMVHsVgaZ2SIk=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTPSA id ED39A20051C23; Mon, 22 May 2017 14:00:23 -0700 (PDT)
Date: Mon, 22 May 2017 16:00:20 -0500
From: Nico Williams <nico@cryptonector.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: TLS WG <tls@ietf.org>
Message-ID: <20170522210018.GQ10188@localhost>
References: <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com> <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com> <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org> <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com> <20170522201729.GO10188@localhost> <CABcZeBMx5wbfchzonxQ5E6N2cOSAXSFX5JpEdTQMMaTnoCb7Dg@mail.gmail.com> <20170522204326.GP10188@localhost> <CABcZeBM1SWnganpX_VyDRiVm+ZFSoA6tZpCWX+Ec-D6So6RUGw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABcZeBM1SWnganpX_VyDRiVm+ZFSoA6tZpCWX+Ec-D6So6RUGw@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/IevHGXk64WzL8PxBqgBJB9SvjwE>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 21:00:26 -0000

On Tue, May 23, 2017 at 05:49:47AM +0900, Eric Rescorla wrote:
> On Tue, May 23, 2017 at 5:43 AM, Nico Williams <nico@cryptonector.com>
> wrote:
> > On Tue, May 23, 2017 at 05:26:28AM +0900, Eric Rescorla wrote:
> > > On Tue, May 23, 2017 at 5:17 AM, Nico Williams <nico@cryptonector.com>
> > > wrote:
> > > > > In any case, I think there are two issues:
> > > > > 1. Forbid TLS 1.3 implementations from accepting MD5 and SHA-1.
> > > > > 2. Require a specific failure if the peer presents such a
> > certificate.
> > > > >
> > > > > There was pretty strong consensus to do #1 and I don't support
> > removing
> > > > > it. That seems like a pretty modest layering violation. If people
> > think
> > > > that
> > > > > the mandate for this specific alert is too onerous, I could live with
> > > > > removing
> > > > > that.
> > > >
> > > > I don't understand how you can have (1) and not (2).
> > >
> > > As Ilari suggests, you could just treat the algorithms as unknown.
> >
> > How does that square with (1)?
> >
> 
> I don't understand the question. If you treat them as unknown then
> either your path construction code will route around them or once you
> try to verify, it will fail.

That *really* seems like a layer violation!

> > > I don't think that the current text prohibits that, because of :
> >
> > That takes care of DANE and pre-shared cert uses, but not of
> > opportunistic use.  And maybe not of TOFU either: since on first use the
> > server's cert won't be known to the client, it's not a "trust anchor"
> > yet and cannot fall under this safe-harbor.
> 
> I wouldn't have any trouble interpreting it that way.

Why not be clear?

> > >    The signatures on certificates that are self-signed or certificates
> > >    that are trust anchors are not validated since they begin a
> > >    certification path (see [RFC5280], Section 3.2).  A certificate that
> > >    begins a certification path MAY use a signature algorithm that is not
> > >    advertised as being supported in the "signature_algorithms"
> > >    extension.
> > >
> > > In this case, I think one can argue are treating this as a trust
> > > anchor.  Feel free to propose new text that you think makes that
> > > clearer.
> >
> > Proposal:
> >
> >    Clients SHOULD/MUST NOT accept server certificates, or certificate
> >    validation paths, where the server certificate or intermediate
> >    certificates (but not trust anchors) are signed with "weak" signature
> >    algorithms, unless the client is not expecting TLS to strongly
> >    authenticate the server (e.g., for opportunistic use) or where the
> >    client has previously learned and cached the server's certificate.
> 
> I don't think "strongly authenticate" is useful here. I think the
> requirement is that the RP must not accept these algorithms in any
> context which would require validating signatures made using them.

Well, I want it to be crystal clear that the "not MD5 and such"
requirement need not apply to opportunistic TLS usage.  If you don't
like my text, maybe you can propose your own.

Nico
-- 


From nobody Mon May 22 14:02:23 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 84E71128AB0 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 14:02:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham 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 TYWti7hjl5jg for <tls@ietfa.amsl.com>; Mon, 22 May 2017 14:02:20 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D6B161273B1 for <tls@ietf.org>; Mon, 22 May 2017 14:02:19 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 2AC407A32F1 for <tls@ietf.org>; Mon, 22 May 2017 21:02:19 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com>
Date: Mon, 22 May 2017 17:02:20 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <44D307FD-DBF7-4979-B4E0-76104F64D159@dukhovni.org>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com> <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com> <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org> <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/x--nfBiPBeNagvJ06WyC3_NNT0o>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 21:02:21 -0000

> On May 22, 2017, at 3:42 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>=20
> Well, I certainly think past the Web PKI, because one of the cases I =
care about
> is WebRTC, which doesn't do any PKI validation at all.
>=20
> In any case, I think there are two issues:
> 1. Forbid TLS 1.3 implementations from accepting MD5 and SHA-1.
> 2. Require a specific failure if the peer presents such a certificate.
>=20
> There was pretty strong consensus to do #1 and I don't support =
removing
> it.

The operative word here is *was*.  Time has passed, and things have =
changed:

	1.  The motivating problem (broad use of weak hashes in Web PKI
            certificates) has become a non-problem.  The CAs and the =
browsers
 	    have moved on.

	2.  We've since had many discussions that make it clearer still =
that
	    layer violation into RFC5280 space is suboptimal.

	3.  While did not object strongly at the time, I've since seen =
that the
 	    language in question temps TLS stack authors to implement =
checks against
	    the specific certificate algorithms at the TLS layer, =
instead of at the
	    X509 verification layer where X509 security checks belong.

Surely there are some old GOST signature algorithms that could appear in =
certificates,
that TLS 1.3 does not prohibit, but which are not much stronger than =
SHA-1, and if not
GOST then something else.  Plucking out the specific code-points in =
question is both
insufficient and counter-productive.

It is time to revisit the previous consensus, because its motivation is =
no longer
relevant, and its negative consequences are more apparent.

--=20
	Viktor.


From nobody Mon May 22 14:21:04 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A66D127B60 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 14:21:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 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_NONE=-0.0001, URIBL_BLOCKED=0.001] 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 YXl_QiFKfzPN for <tls@ietfa.amsl.com>; Mon, 22 May 2017 14:21:00 -0700 (PDT)
Received: from mail-yb0-x234.google.com (mail-yb0-x234.google.com [IPv6:2607:f8b0:4002:c09::234]) (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 7C8C0126B72 for <tls@ietf.org>; Mon, 22 May 2017 14:21:00 -0700 (PDT)
Received: by mail-yb0-x234.google.com with SMTP id 130so15439520ybl.3 for <tls@ietf.org>; Mon, 22 May 2017 14:21:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=diOVm3+OcjiDuvjFZbpXwCSNZA12U4BpIawCec9fqTs=; b=f3eThYLYHOuEDE1eYhxVq4seXQZzcrPSaemXq9al1FdXNsU9Ydqin5s57+2C3V9i5E osdC3ip6IFsBzjBLrojo3NUPkygAWLS76/ZNHbUpKlGy9nG38cCWKg2GxiPpZcALod+y Lc5g2Tokuz4Ppd3yWp5AAsLIHzGkAlRNCzrZ683F8K77RXRQvqjHWGjpmqqDLSCLATpM Y+FfJdDiJjhnB/eAJdurZnPUPeKa3bqWWMFldEfYN0DXaPwRFzTOX65lC9a1XwnGC6r3 +6b6o2mTxz/2XOyMUnamgfw+9e4NfNyXJwGQxQHYa34EQB/kuH6kvYP4ksML72yG0kNu n5Fw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=diOVm3+OcjiDuvjFZbpXwCSNZA12U4BpIawCec9fqTs=; b=Hui5V8KRsj1qN9uJjsOwk6vpgnQTg7OoXoY9MwP6N4yB2dxvAy3fEVMiieFx75XnhE WXwMJcMYP4Q4dfS6kUTjYmnn4HRbPpNFswbzf3chX6VoJEwIUrIjdF/IoE/DyKmyjKlf LbOp59KXGZ6ZttsTtDnIkLQjfLsg+yZ20646kXb2Y3ubiziHXU/8v3T+DXt3PQo5am0D DCrHipUbWuyX4IXVttWRNDVx8jL312HT9lsgKGQkgN/0QGyMWFtNW0E/xCMVXWO9oCxt /CLaoRMxi4fjKlV0gfbosXVYSCiqvgiiZ9R/XLNjL/gjFLjc05216gzpRgHTqLVWbG8i /W+A==
X-Gm-Message-State: AODbwcAx93A4KKRb/PPELTDYEO6ByKomgCQSMVC626Y6PqPswN/upiU5 l44YEjuGMhxmofdkM7Tovseg3Xonha7h7CQ=
X-Received: by 10.37.1.4 with SMTP id 4mr17525854ybb.24.1495488059345; Mon, 22 May 2017 14:20:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Mon, 22 May 2017 14:20:18 -0700 (PDT)
In-Reply-To: <44D307FD-DBF7-4979-B4E0-76104F64D159@dukhovni.org>
References: <CAPZZOTgizE2n06V9wEtARFCXB7FP_eikW-K1k67bZG11kNhSAw@mail.gmail.com> <44AED5C2-B21C-442A-8412-9134D1C10BCD@dukhovni.org> <201705192143.19490.davemgarrett@gmail.com> <20170520054117.GM10188@localhost> <80AB5C55-41BA-471E-A55A-86E98299B652@dukhovni.org> <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com> <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com> <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org> <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com> <44D307FD-DBF7-4979-B4E0-76104F64D159@dukhovni.org>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 23 May 2017 06:20:18 +0900
Message-ID: <CABcZeBMizNkL9uYz-d+AkVWYwUx4Vaq_+ZFguVXAzz0x+e80XQ@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a113cf5228b297e05502372a5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/N9JYa_JM8dze5lqToYSDEBpg8zU>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 21:21:02 -0000

--001a113cf5228b297e05502372a5
Content-Type: text/plain; charset="UTF-8"

This document has WGLC and so has a presumption of consensus. If you want
to re-raise that, this is a process question which is the province of the
chairs, so if you feel strongly, as it appears you do, I would encourage
you raise it with them.

-Ekr


On Tue, May 23, 2017 at 6:02 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

>
> > On May 22, 2017, at 3:42 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> >
> > Well, I certainly think past the Web PKI, because one of the cases I
> care about
> > is WebRTC, which doesn't do any PKI validation at all.
> >
> > In any case, I think there are two issues:
> > 1. Forbid TLS 1.3 implementations from accepting MD5 and SHA-1.
> > 2. Require a specific failure if the peer presents such a certificate.
> >
> > There was pretty strong consensus to do #1 and I don't support removing
> > it.
>
> The operative word here is *was*.  Time has passed, and things have
> changed:
>
>         1.  The motivating problem (broad use of weak hashes in Web PKI
>             certificates) has become a non-problem.  The CAs and the
> browsers
>             have moved on.
>
>         2.  We've since had many discussions that make it clearer still
> that
>             layer violation into RFC5280 space is suboptimal.
>
>         3.  While did not object strongly at the time, I've since seen
> that the
>             language in question temps TLS stack authors to implement
> checks against
>             the specific certificate algorithms at the TLS layer, instead
> of at the
>             X509 verification layer where X509 security checks belong.
>
> Surely there are some old GOST signature algorithms that could appear in
> certificates,
> that TLS 1.3 does not prohibit, but which are not much stronger than
> SHA-1, and if not
> GOST then something else.  Plucking out the specific code-points in
> question is both
> insufficient and counter-productive.
>
> It is time to revisit the previous consensus, because its motivation is no
> longer
> relevant, and its negative consequences are more apparent.
>
> --
>         Viktor.
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr"><div>This document has WGLC and so has a presumption of co=
nsensus. If you want to re-raise that, this is a process question which is =
the province of the chairs, so if you feel strongly, as it appears you do, =
I would encourage you raise it with them.</div><div><br></div><div><div><di=
v><div><div>-Ekr</div><div><br></div></div></div></div></div></div><div cla=
ss=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, May 23, 2017 at 6=
:02 AM, Viktor Dukhovni <span dir=3D"ltr">&lt;<a href=3D"mailto:ietf-dane@d=
ukhovni.org" target=3D"_blank">ietf-dane@dukhovni.org</a>&gt;</span> wrote:=
<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex"><span class=3D""><br>
&gt; On May 22, 2017, at 3:42 PM, Eric Rescorla &lt;<a href=3D"mailto:ekr@r=
tfm.com">ekr@rtfm.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Well, I certainly think past the Web PKI, because one of the cases I c=
are about<br>
&gt; is WebRTC, which doesn&#39;t do any PKI validation at all.<br>
&gt;<br>
&gt; In any case, I think there are two issues:<br>
&gt; 1. Forbid TLS 1.3 implementations from accepting MD5 and SHA-1.<br>
&gt; 2. Require a specific failure if the peer presents such a certificate.=
<br>
&gt;<br>
&gt; There was pretty strong consensus to do #1 and I don&#39;t support rem=
oving<br>
&gt; it.<br>
<br>
</span>The operative word here is *was*.=C2=A0 Time has passed, and things =
have changed:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 1.=C2=A0 The motivating problem (broad use of w=
eak hashes in Web PKI<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 certificates) has become a non-pr=
oblem.=C2=A0 The CAs and the browsers<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 have moved on.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 2.=C2=A0 We&#39;ve since had many discussions t=
hat make it clearer still that<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 layer violation into RFC5280 spac=
e is suboptimal.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 3.=C2=A0 While did not object strongly at the t=
ime, I&#39;ve since seen that the<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 language in question temps TLS st=
ack authors to implement checks against<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 the specific certificate algorith=
ms at the TLS layer, instead of at the<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 X509 verification layer where X50=
9 security checks belong.<br>
<br>
Surely there are some old GOST signature algorithms that could appear in ce=
rtificates,<br>
that TLS 1.3 does not prohibit, but which are not much stronger than SHA-1,=
 and if not<br>
GOST then something else.=C2=A0 Plucking out the specific code-points in qu=
estion is both<br>
insufficient and counter-productive.<br>
<br>
It is time to revisit the previous consensus, because its motivation is no =
longer<br>
relevant, and its negative consequences are more apparent.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Viktor.<br>
<br>
______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
</div></div></blockquote></div><br></div>

--001a113cf5228b297e05502372a5--


From nobody Mon May 22 14:23:17 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AF1631292AE for <tls@ietfa.amsl.com>; Mon, 22 May 2017 14:23:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, URIBL_BLOCKED=0.001] 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 w0IumlmNvqwk for <tls@ietfa.amsl.com>; Mon, 22 May 2017 14:23:12 -0700 (PDT)
Received: from mail-yb0-x229.google.com (mail-yb0-x229.google.com [IPv6:2607:f8b0:4002:c09::229]) (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 E1E26128DF2 for <tls@ietf.org>; Mon, 22 May 2017 14:23:11 -0700 (PDT)
Received: by mail-yb0-x229.google.com with SMTP id p143so33604669yba.2 for <tls@ietf.org>; Mon, 22 May 2017 14:23:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0Bk9Z9ZJhDQqWpuJiQ5Yw7YVK88+qCci51+mOE7h67M=; b=oUAjLza6kzjGB1PjlkkIVLlB/b2+Um3Wd/AbmEZdbI8JeTgvOvFns09Unzzp2NG371 sz4cd5jcNAuG+XyNoA5mghC4Uw52psn0wpNEIKghB7j9CCxBHJzbaDsUt4crkBnznCM/ JBEzWyDeHSUQaTOl9a0zsMbVrQivSFTevYxG+/acnJwIYMpmc3Mqs7NqeS8uWRpEK+ar roTc4de7e9zaoWZMpi3snRYqqwIi2fyDgfcNHYgp4TRPB/Mp6lqC+rTIlNi/8eUEvquV NE+9VCcZzXnl0MOYQDl/pJr2suCONSrx4vYSasdOG5BSFaX7i2CQBhKFTV6cWVlPYqol m0fw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0Bk9Z9ZJhDQqWpuJiQ5Yw7YVK88+qCci51+mOE7h67M=; b=YP/QejQIll+h4qjrUr0QscRnRaKuenGnhMD0HMF0pZx6Dt5HbMHewgCemCvRgfcNO1 teT/Uapy/wvX9FHS4EQblV8SeqJn3VgDqpOCvgEonP4MAwZoH6TaZ5whpUGqIpwUwruT Jym3ek7jSH8+5yXBxQye08nBXx47oHKcSm3LuYLyAdDxNOV1C4JySa/bvl4DA0Wlsq/7 66saW0kOnHd+vNNRrO5aT3jwq7npkfJGKWsOVb06irEHwXACMORCykTPG26Jp5aQbzkw G8XPxTP/sW3btP6svg0XtEzimSaqzMHA5X8ap+fBrgh22DHsvSOmm7x5yqC//+22EQ0F YY/w==
X-Gm-Message-State: AODbwcAto/aqcHb61Rwm3rxXaUC9aVANDSpeR9QmkTXuOG7K1RfrZoqJ PGxftMpLqYycqPwWEQjxH73XG0l4WmzD
X-Received: by 10.37.206.8 with SMTP id x8mr15443493ybe.16.1495488191192; Mon, 22 May 2017 14:23:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Mon, 22 May 2017 14:22:30 -0700 (PDT)
In-Reply-To: <20170522210018.GQ10188@localhost>
References: <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com> <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com> <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org> <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com> <20170522201729.GO10188@localhost> <CABcZeBMx5wbfchzonxQ5E6N2cOSAXSFX5JpEdTQMMaTnoCb7Dg@mail.gmail.com> <20170522204326.GP10188@localhost> <CABcZeBM1SWnganpX_VyDRiVm+ZFSoA6tZpCWX+Ec-D6So6RUGw@mail.gmail.com> <20170522210018.GQ10188@localhost>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 23 May 2017 06:22:30 +0900
Message-ID: <CABcZeBMMfp4DUcNCFUYCCP6B+UQn85bq2LSoumJdywy=0GOq4Q@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c190b20672ca00550237ae0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/9chI-heBlITkVGf_sbiQzbYorbU>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 21:23:14 -0000

--94eb2c190b20672ca00550237ae0
Content-Type: text/plain; charset="UTF-8"

On Tue, May 23, 2017 at 6:00 AM, Nico Williams <nico@cryptonector.com>
wrote:

> On Tue, May 23, 2017 at 05:49:47AM +0900, Eric Rescorla wrote:
> > On Tue, May 23, 2017 at 5:43 AM, Nico Williams <nico@cryptonector.com>
> > wrote:
> > > On Tue, May 23, 2017 at 05:26:28AM +0900, Eric Rescorla wrote:
> > > > On Tue, May 23, 2017 at 5:17 AM, Nico Williams <
> nico@cryptonector.com>
> > > > wrote:
> > > > > > In any case, I think there are two issues:
> > > > > > 1. Forbid TLS 1.3 implementations from accepting MD5 and SHA-1.
> > > > > > 2. Require a specific failure if the peer presents such a
> > > certificate.
> > > > > >
> > > > > > There was pretty strong consensus to do #1 and I don't support
> > > removing
> > > > > > it. That seems like a pretty modest layering violation. If people
> > > think
> > > > > that
> > > > > > the mandate for this specific alert is too onerous, I could live
> with
> > > > > > removing
> > > > > > that.
> > > > >
> > > > > I don't understand how you can have (1) and not (2).
> > > >
> > > > As Ilari suggests, you could just treat the algorithms as unknown.
> > >
> > > How does that square with (1)?
> > >
> >
> > I don't understand the question. If you treat them as unknown then
> > either your path construction code will route around them or once you
> > try to verify, it will fail.
>
> That *really* seems like a layer violation!
>

As I said, I don't have a problem with it. It's TLS giving instructions to
the PKI subsystem.


> >    Clients SHOULD/MUST NOT accept server certificates, or certificate
> > >    validation paths, where the server certificate or intermediate
> > >    certificates (but not trust anchors) are signed with "weak"
> signature
> > >    algorithms, unless the client is not expecting TLS to strongly
> > >    authenticate the server (e.g., for opportunistic use) or where the
> > >    client has previously learned and cached the server's certificate.
> >
> > I don't think "strongly authenticate" is useful here. I think the
> > requirement is that the RP must not accept these algorithms in any
> > context which would require validating signatures made using them.
>
> Well, I want it to be crystal clear that the "not MD5 and such"
> requirement need not apply to opportunistic TLS usage.


I don't think "opportunistic" is a clearly enough defined category to be
useful
here. Rather, I think the relevant criterion is the one I listed above. If
people
agree, I'd be happy to make that change (and can produce text) because I
think it conforms to the WG consensus.

-Ekr

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 23, 2017 at 6:00 AM, Nico Williams <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:nico@cryptonector.com" target=3D"_blank">nico@cryptonector.=
com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"=
">On Tue, May 23, 2017 at 05:49:47AM +0900, Eric Rescorla wrote:<br>
&gt; On Tue, May 23, 2017 at 5:43 AM, Nico Williams &lt;<a href=3D"mailto:n=
ico@cryptonector.com">nico@cryptonector.com</a>&gt;<br>
&gt; wrote:<br>
&gt; &gt; On Tue, May 23, 2017 at 05:26:28AM +0900, Eric Rescorla wrote:<br=
>
&gt; &gt; &gt; On Tue, May 23, 2017 at 5:17 AM, Nico Williams &lt;<a href=
=3D"mailto:nico@cryptonector.com">nico@cryptonector.com</a>&gt;<br>
&gt; &gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt; In any case, I think there are two issues:<br>
&gt; &gt; &gt; &gt; &gt; 1. Forbid TLS 1.3 implementations from accepting M=
D5 and SHA-1.<br>
&gt; &gt; &gt; &gt; &gt; 2. Require a specific failure if the peer presents=
 such a<br>
&gt; &gt; certificate.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; There was pretty strong consensus to do #1 and I d=
on&#39;t support<br>
&gt; &gt; removing<br>
&gt; &gt; &gt; &gt; &gt; it. That seems like a pretty modest layering viola=
tion. If people<br>
&gt; &gt; think<br>
&gt; &gt; &gt; &gt; that<br>
&gt; &gt; &gt; &gt; &gt; the mandate for this specific alert is too onerous=
, I could live with<br>
&gt; &gt; &gt; &gt; &gt; removing<br>
&gt; &gt; &gt; &gt; &gt; that.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I don&#39;t understand how you can have (1) and not (2)=
.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; As Ilari suggests, you could just treat the algorithms as un=
known.<br>
&gt; &gt;<br>
&gt; &gt; How does that square with (1)?<br>
&gt; &gt;<br>
&gt;<br>
&gt; I don&#39;t understand the question. If you treat them as unknown then=
<br>
&gt; either your path construction code will route around them or once you<=
br>
&gt; try to verify, it will fail.<br>
<br>
</span>That *really* seems like a layer violation!<br></blockquote><div><br=
></div><div>As I said, I don&#39;t have a problem with it. It&#39;s TLS giv=
ing instructions to the PKI subsystem.</div><div><br></div><div><br></div><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex"><span class=3D"">
&gt; &gt;=C2=A0 =C2=A0 Clients SHOULD/MUST NOT accept server certificates, =
or certificate<br>
&gt; &gt;=C2=A0 =C2=A0 validation paths, where the server certificate or in=
termediate<br>
&gt; &gt;=C2=A0 =C2=A0 certificates (but not trust anchors) are signed with=
 &quot;weak&quot; signature<br>
&gt; &gt;=C2=A0 =C2=A0 algorithms, unless the client is not expecting TLS t=
o strongly<br>
&gt; &gt;=C2=A0 =C2=A0 authenticate the server (e.g., for opportunistic use=
) or where the<br>
&gt; &gt;=C2=A0 =C2=A0 client has previously learned and cached the server&=
#39;s certificate.<br>
&gt;<br>
&gt; I don&#39;t think &quot;strongly authenticate&quot; is useful here. I =
think the<br>
&gt; requirement is that the RP must not accept these algorithms in any<br>
&gt; context which would require validating signatures made using them.<br>
<br>
</span>Well, I want it to be crystal clear that the &quot;not MD5 and such&=
quot;<br>
requirement need not apply to opportunistic TLS usage.</blockquote><div><br=
></div><div>I don&#39;t think &quot;opportunistic&quot; is a clearly enough=
 defined category to be useful</div><div>here. Rather, I think the relevant=
 criterion is the one I listed above. If people</div><div>agree, I&#39;d be=
 happy to make that change (and can produce text) because I</div><div>think=
 it conforms to the WG consensus.</div><div><br></div><div>-Ekr</div><div><=
br></div><div><br></div></div><br></div></div>

--94eb2c190b20672ca00550237ae0--


From nobody Mon May 22 14:32:00 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1144B1292FD for <tls@ietfa.amsl.com>; Mon, 22 May 2017 14:31:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham 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 dXfK2iY5SpNg for <tls@ietfa.amsl.com>; Mon, 22 May 2017 14:31:57 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 830F6128D3E for <tls@ietf.org>; Mon, 22 May 2017 14:31:57 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 9103B7A32F1 for <tls@ietf.org>; Mon, 22 May 2017 21:31:56 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CABcZeBMMfp4DUcNCFUYCCP6B+UQn85bq2LSoumJdywy=0GOq4Q@mail.gmail.com>
Date: Mon, 22 May 2017 17:31:55 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <E3BB180E-EC66-4F92-868B-E04F9E63CDF6@dukhovni.org>
References: <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com> <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com> <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org> <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com> <20170522201729.GO10188@localhost> <CABcZeBMx5wbfchzonxQ5E6N2cOSAXSFX5JpEdTQMMaTnoCb7Dg@mail.gmail.com> <20170522204326.GP10188@localhost> <CABcZeBM1SWnganpX_VyDRiVm+ZFSoA6tZpCWX+Ec-D6So6RUGw@mail.gmail.com> <20170522210018.GQ10188@localhost> <CABcZeBMMfp4DUcNCFUYCCP6B+UQn85bq2LSoumJdywy=0GOq4Q@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/iW-dWsvjigtNMPPELQ4A8tRe5_g>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 21:31:59 -0000

> On May 22, 2017, at 5:22 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>=20
> I don't think "opportunistic" is a clearly enough defined category to =
be useful
> here.

If you mean:

> I don't think "strongly authenticate" is useful here. I think the
> requirement is that the RP must not accept these algorithms in any
> context which would require validating signatures made using them.

That's fine.

> Rather, I think the relevant criterion is the one I listed above. If =
people
> agree, I'd be happy to make that change (and can produce text) because =
I
> think it conforms to the WG consensus.

The above formulation (where the relying party does not accept certain
signature algorithms as valid in the context of validating issuer
signatures) works for me.  All I'm looking for is not requiring the
RP to abort the handshake as soon as the algorithm is encountered,
even when the signature would never be checked!

So if putting the consensus to ban MD5/SHA-1 in its *proper context*
is consistent with the WG consensus, let's do that.

--=20
	Viktor.


From nobody Mon May 22 15:09:36 2017
Return-Path: <frodo@baggins.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0E2C11286CA for <tls@ietfa.amsl.com>; Mon, 22 May 2017 15:09:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.119
X-Spam-Level: 
X-Spam-Status: No, score=-2.119 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, URIBL_BLOCKED=0.001] autolearn=ham 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 B_Ri4X42MnVy for <tls@ietfa.amsl.com>; Mon, 22 May 2017 15:09:33 -0700 (PDT)
Received: from mx496502.smtp-engine.com (mx496502.smtp-engine.com [217.160.92.157]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 65B051272E1 for <tls@ietf.org>; Mon, 22 May 2017 15:09:33 -0700 (PDT)
Received: from mail-it0-f47.google.com (mail-it0-f47.google.com [209.85.214.47]) by mx496502.smtp-engine.com (Postfix) with ESMTPSA id B078551F for <tls@ietf.org>; Mon, 22 May 2017 23:09:31 +0100 (BST)
Received: by mail-it0-f47.google.com with SMTP id g126so7208293ith.0 for <tls@ietf.org>; Mon, 22 May 2017 15:09:31 -0700 (PDT)
X-Gm-Message-State: AODbwcD1DbtrK03r31RSkLLGq1CsC40sBakNzmbeSm/4mxyh3F9gVTOC 8eI8jRj9hX+oipQvYpPPgdV0rfL1vg==
X-Received: by 10.36.0.23 with SMTP id 23mr24359773ita.108.1495490970251; Mon, 22 May 2017 15:09:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.127.79 with HTTP; Mon, 22 May 2017 15:09:29 -0700 (PDT)
In-Reply-To: <1CA8423D-0247-42E1-9D49-1BE76C348970@symantec.com>
References: <1CA8423D-0247-42E1-9D49-1BE76C348970@symantec.com>
From: Matt Caswell <frodo@baggins.org>
Date: Mon, 22 May 2017 23:09:29 +0100
X-Gmail-Original-Message-ID: <CAMoSCWajnsAAY82y-rBR5j8p1P8Ory18OBN-pagfDHH7rG=w5Q@mail.gmail.com>
Message-ID: <CAMoSCWajnsAAY82y-rBR5j8p1P8Ory18OBN-pagfDHH7rG=w5Q@mail.gmail.com>
To: Roelof Du Toit <Roelof_Dutoit@symantec.com>
Cc: TLS WG <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/QMkoa6c42DAuhpJr6nRcPPlkGJA>
Subject: Re: [TLS] Which version to use in ClientKeyExchange when using supported_versions extension
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 22:09:35 -0000

On 22 May 2017 at 21:18, Roelof Du Toit <Roelof_Dutoit@symantec.com> wrote:
> RFC 5246 has the following in section 7.4.7.1 (RSA-Encrypted Premaster
> Secret):
>
>
>
>     client_version
>
>          The latest (newest) version supported by the client.  This is
>
>          used to detect version rollback attacks.
>
>
>
> The TLS 1.3 draft specification has the following in section 1.4 (Updates
> Affecting TLS 1.2)
>
>
>
>     The =E2=80=9Csupported_versions=E2=80=9D ClientHello extension can be=
 used to negotiate
> the version of TLS to use, in preference to the legacy_version field of t=
he
> ClientHello.
>
>
>
>
>
> I would appreciate some clarification regarding the value of
> "client_version" in a ClientKeyExchange if:
>
> - ClientHello.legacy_version =3D TLS 1.2, and
>
> - ClientHello.supported_versions extension has TLS 1.3, and
>
> - TLS 1.2 is negotiated (either because the server does not support TLS 1=
.3,
> or because the TLS 1.3-capable server is configured to respond with TLS 1=
.2
> for some reason)
>
>
>
> My assumption is that ClientHello.legacy_version should be used because t=
he
> client would not know whether the server ignored the supported_versions
> extension - is that correct?

That is the interpretation that OpenSSL takes - and I believe that is
true for other implementations as well.

Matt


From nobody Mon May 22 16:30:49 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A53312943C for <tls@ietfa.amsl.com>; Mon, 22 May 2017 16:30:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 aI76ThZPArRH for <tls@ietfa.amsl.com>; Mon, 22 May 2017 16:30:46 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AFA621293F9 for <tls@ietf.org>; Mon, 22 May 2017 16:30:46 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTP id 1449F20051C23; Mon, 22 May 2017 16:30:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=zBvr/t0858GRlC d67NE7xwj0IFU=; b=KaXsBRE7gu5bHeuJ72UsihJYG0eofjjgVfGL505T9Dz1jm x3TPwojFL8446Xxsm050WwNjTmXlps1sVZkMomvoZ6VUSbmuAzi3GeIGfE6DAchS 7IT2vT6MKHHyx0RGq1uxb7x3AH71VKHzz3/VJE7rTiLrYfotLrbdHtKhM2d1c=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTPSA id C063F20051C25; Mon, 22 May 2017 16:30:45 -0700 (PDT)
Date: Mon, 22 May 2017 18:30:41 -0500
From: Nico Williams <nico@cryptonector.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: TLS WG <tls@ietf.org>
Message-ID: <20170522233040.GR10188@localhost>
References: <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com> <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com> <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org> <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com> <20170522201729.GO10188@localhost> <CABcZeBMx5wbfchzonxQ5E6N2cOSAXSFX5JpEdTQMMaTnoCb7Dg@mail.gmail.com> <20170522204326.GP10188@localhost> <CABcZeBM1SWnganpX_VyDRiVm+ZFSoA6tZpCWX+Ec-D6So6RUGw@mail.gmail.com> <20170522210018.GQ10188@localhost> <CABcZeBMMfp4DUcNCFUYCCP6B+UQn85bq2LSoumJdywy=0GOq4Q@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABcZeBMMfp4DUcNCFUYCCP6B+UQn85bq2LSoumJdywy=0GOq4Q@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ere5L3q3PVwekz6b_fwvfRbNPvs>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2017 23:30:48 -0000

On Tue, May 23, 2017 at 06:22:30AM +0900, Eric Rescorla wrote:
> On Tue, May 23, 2017 at 6:00 AM, Nico Williams <nico@cryptonector.com>
> wrote:
> > > I don't understand the question. If you treat them as unknown then
> > > either your path construction code will route around them or once you
> > > try to verify, it will fail.
> >
> > That *really* seems like a layer violation!
> 
> As I said, I don't have a problem with it. It's TLS giving instructions to
> the PKI subsystem.

It implies more APIs.

> > Well, I want it to be crystal clear that the "not MD5 and such"
> > requirement need not apply to opportunistic TLS usage.
> 
> I don't think "opportunistic" is a clearly enough defined category to be
> useful here. Rather, I think the relevant criterion is the one I
> listed above. If people agree, I'd be happy to make that change (and
> can produce text) because I think it conforms to the WG consensus.

Opportunistic == "If the server got authenticated great, if not, that's fine too"

If the server was not authenticated, the app might use channel binding,
or learn the server's cert (TOFU), or just use the connection because
the only thing the application cares about is key agreement (defeat
eavesdropers, but not active attackers).  The last one is Viktor's use
case (SMTP).

Nico
-- 


From nobody Mon May 22 17:19:53 2017
Return-Path: <davemgarrett@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B7B8E129477 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 17:19:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 z9xdorOcACdh for <tls@ietfa.amsl.com>; Mon, 22 May 2017 17:19:50 -0700 (PDT)
Received: from mail-qt0-x234.google.com (mail-qt0-x234.google.com [IPv6:2607:f8b0:400d:c0d::234]) (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 039C5128D3E for <tls@ietf.org>; Mon, 22 May 2017 17:19:50 -0700 (PDT)
Received: by mail-qt0-x234.google.com with SMTP id v27so115193344qtg.2 for <tls@ietf.org>; Mon, 22 May 2017 17:19:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-transfer-encoding:message-id; bh=1GLB6Vw5pPszfqun523TqXLqVVQ906g5xzrYu+JJuKM=; b=ea2wQjTOEhskreIZOA6hQ8LAW3yWFqZ8pW1a8e8o5wPCyat0+TOTZPF3OZubvmNpIt B7pFzvbiRBAu6YV5if4KuuH9275B2SpkSiZlyr2XFOywocvKrQTrm2ajht9mIDuh6JaO aBuvjEk73/BuFYtgrtSL7qI6yBV5wHwfhQuUKVF9X3xjuyqCzn6cY4Yn+uOqfLgziC+0 pjnOzhJCJUhTh/UpyfzdYTJ+j4wk85vLQoWZWv97unOy2SJk9GKVg5xJdPAonV4L9aUa fg1HFwj/v1b+sYJ3gEO87/ysISuS58Vl38Aj91JKzWmCz0P65Pvja4cyiPaGEFt4lk6B Iq+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-transfer-encoding:message-id; bh=1GLB6Vw5pPszfqun523TqXLqVVQ906g5xzrYu+JJuKM=; b=UTzp1MM0KA5etZwtseoyh9qOcv+P1XjMMd2TaXCiaz676kgchy2NTGbd3OYXOoXXl/ LqpBRHrP3ASSV8AlDK49WA7BVeZmfcyfi6/82Cm/7jC7MVcp/DRF1PnfWdlM0b9Vy0bp 5+6IFKjDEV/xF+0BnW0s2BfjQQfppS55d+pXmnE82Z4fzWKiFbKmLM30iEAbNEdvnoWY cFHDulP88gWSkK3WUmLe46q9GWJ/E+x/L1DmXclzORp8mUNAbQzQGVTqYtyRkgjDBsKI rkUgdfyKwPVzikoOr6eH9+9hqjXjuoLfXUToOAb7M1UysBNPrcBd/IU802Wr/26lB2M7 D0Ow==
X-Gm-Message-State: AODbwcAreNw7l4fjvHXL1PTZ2dc5JeROp1FlDqiG2edfCE4B+tkjtLQR POmsTr1HRglnDMkP
X-Received: by 10.237.63.71 with SMTP id q7mr23079592qtf.49.1495498789061; Mon, 22 May 2017 17:19:49 -0700 (PDT)
Received: from dave-laptop.localnet (pool-71-185-36-197.phlapa.fios.verizon.net. [71.185.36.197]) by smtp.gmail.com with ESMTPSA id q5sm12846346qtb.52.2017.05.22.17.19.47 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 22 May 2017 17:19:48 -0700 (PDT)
From: Dave Garrett <davemgarrett@gmail.com>
To: tls@ietf.org
Date: Mon, 22 May 2017 20:19:46 -0400
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
References: <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <CABcZeBMMfp4DUcNCFUYCCP6B+UQn85bq2LSoumJdywy=0GOq4Q@mail.gmail.com> <E3BB180E-EC66-4F92-868B-E04F9E63CDF6@dukhovni.org>
In-Reply-To: <E3BB180E-EC66-4F92-868B-E04F9E63CDF6@dukhovni.org>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201705222019.46521.davemgarrett@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/g-sYupDa83_fRnxfJ65p3UuJflE>
Subject: [TLS] Better weak hash language (was Re: AD Review of draft-ietf-tls-tls13)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 00:19:52 -0000

On Monday, May 22, 2017 05:31:55 pm Viktor Dukhovni wrote:
> So if putting the consensus to ban MD5/SHA-1 in its *proper context*
> is consistent with the WG consensus, let's do that.

Yes, please.

Citing discussion elsewhere in this thread (that probably should've all
been forked off with a different subject long before now...):

On Monday, May 22, 2017 05:00:20 pm Nico Williams wrote:
> On Tue, May 23, 2017 at 05:49:47AM +0900, Eric Rescorla wrote:
> > On Tue, May 23, 2017 at 5:43 AM, Nico Williams <nico@cryptonector.com>
> > wrote:
> > > Proposal:
> > >
> > >    Clients SHOULD/MUST NOT accept server certificates, or certificate
> > >    validation paths, where the server certificate or intermediate
> > >    certificates (but not trust anchors) are signed with "weak" signature
> > >    algorithms, unless the client is not expecting TLS to strongly
> > >    authenticate the server (e.g., for opportunistic use) or where the
> > >    client has previously learned and cached the server's certificate.
> > 
> > I don't think "strongly authenticate" is useful here. I think the
> > requirement is that the RP must not accept these algorithms in any
> > context which would require validating signatures made using them.
> 
> Well, I want it to be crystal clear that the "not MD5 and such"
> requirement need not apply to opportunistic TLS usage.  If you don't
> like my text, maybe you can propose your own.

My issue with this area is that we've got this fairly weird two tiered
problem where we're still pretending SHA-1 is vaguely acceptable in some
scenarios where certificates are being validated, and thus we need two
sets of language: one for weak hash MUST NOTs and another for weak hash
SHOULD NOT. The current text was written before SHA-1 was broken back in
February, so, while the topic of changing language we had consensus on is
up, I'd really like to make SHA-1 completely banned for standard certificate
authenticated TLS 1.3+ connections alongside MD5. To do this in a
non-messy way, we'd have to delete the SHA-1 special-casing and state
that TLS 1.3+ implementations can only use deprecated hashes
(MD5/SHA1/SHA224/etc) if explicitly doing opportunistic encryption or some
scenario where trust can be established without validating them. Again,
the trust anchor gets an exception here due to it being trusted directly
without need for validation, and they can get away with just a "NOT
RECOMMENDED". If we can agree to this, then the resulting text will end up
being far less problematic. If we can't get a consensus for this, I seriously
propose citing RFC 6919 s3.


Dave


From nobody Mon May 22 17:29:18 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4EAF4128D40 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 17:29:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 JrOHvcZyJ6Xx for <tls@ietfa.amsl.com>; Mon, 22 May 2017 17:29:14 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C20211279E5 for <tls@ietf.org>; Mon, 22 May 2017 17:29:14 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 182C07A32F1 for <tls@ietf.org>; Tue, 23 May 2017 00:29:14 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <201705222019.46521.davemgarrett@gmail.com>
Date: Mon, 22 May 2017 20:29:13 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <F589FF5F-3F77-4125-B8F0-B9701925B9EF@dukhovni.org>
References: <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <CABcZeBMMfp4DUcNCFUYCCP6B+UQn85bq2LSoumJdywy=0GOq4Q@mail.gmail.com> <E3BB180E-EC66-4F92-868B-E04F9E63CDF6@dukhovni.org> <201705222019.46521.davemgarrett@gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/mmRTm8wL_pYEEDZmlEw46vBtM-E>
Subject: Re: [TLS] Better weak hash language (was Re: AD Review of draft-ietf-tls-tls13)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 00:29:16 -0000

> On May 22, 2017, at 8:19 PM, Dave Garrett <davemgarrett@gmail.com> =
wrote:
>=20
> My issue with this area is that we've got this fairly weird two tiered
> problem where we're still pretending SHA-1 is vaguely acceptable in =
some
> scenarios where certificates are being validated, and thus we need two
> sets of language: one for weak hash MUST NOTs and another for weak =
hash
> SHOULD NOT. The current text was written before SHA-1 was broken back =
in
> February, so, while the topic of changing language we had consensus on =
is
> up, I'd really like to make SHA-1 completely banned for standard =
certificate
> authenticated TLS 1.3+ connections alongside MD5. To do this in a
> non-messy way, we'd have to delete the SHA-1 special-casing and state
> that TLS 1.3+ implementations can only use deprecated hashes
> (MD5/SHA1/SHA224/etc) if explicitly doing opportunistic encryption or =
some
> scenario where trust can be established without validating them.

Works for me.  In all the use-cases I care about the hash algorithm in
question is never actually used to validate any certificate signatures,
but the spec seems to require that the handshake be aborted anyway, just
because the codepoint is present in the chain.

I have no objections to banning *actual* use for making verification
decisions of all hash functions with collision resistance less than
say 120 bits (128 - modest fuzz for attacks that don't significantly
damage the algorithm).

What I am trying to avoid is having implementations just hang up
because the peer's certificate message contains "toxic" codepoints,
that will never actually get used, because verification is not
performed at all, or performed by means other than PKIX, or with
different intermediate certificates than presented.

Setting a collision-resistance floor rather than naming some list
of algorithms makes more sense to me, but if the WG really feels
that naming some "verbotten" algorithms is better, so be it.

--=20
	Viktor.


From nobody Mon May 22 17:57:37 2017
Return-Path: <davemgarrett@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 840D912948F for <tls@ietfa.amsl.com>; Mon, 22 May 2017 17:57:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 UPTfFNimCR3o for <tls@ietfa.amsl.com>; Mon, 22 May 2017 17:57:34 -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 B5BF812949D for <tls@ietf.org>; Mon, 22 May 2017 17:57:33 -0700 (PDT)
Received: by mail-qk0-x22a.google.com with SMTP id y201so119982940qka.0 for <tls@ietf.org>; Mon, 22 May 2017 17:57:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-transfer-encoding:message-id; bh=Hluhre5nP1UHEYKNnCzetya4XnM8qSBjhIl1gJlaHZ4=; b=bflIVFY9TnhpEqxteF795Uh4GuRJqsb6jNwMxwHTGPSB8yW59UtJiZsihc7RRUymzS wLeuFJakk/9Yu85+li7v/g4Vf5gc2XvJDOjtFMbCG7bAsr+iaXid05XC02+sJ+NkzVxE B5QT6HdvQMS0Y6+X6bNR36eelfUvkQn4j2mt34bsfCW/LB36r/SPjaJeDYQqBmyjlzN8 yilbPyXaB7sNqXUmcdUIR0keAOHEwRidXlSMJo/A3RS30BaX2maXJ5HBAAivqJhOuAu2 IrIl6hgNX6GE76O43DiUrAl1ASjXD6DUei6iPiWSSq9cSVkuXI6YyN3KfcBwNrIBXG6/ fRbw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-transfer-encoding:message-id; bh=Hluhre5nP1UHEYKNnCzetya4XnM8qSBjhIl1gJlaHZ4=; b=qYfpXGA97SkoV/o6JzavouaaHdvA7uVJc1vN42ONQFegat0E204TWEr5dLUDsmRjG4 8plsSMum3MdJH1RPH9dvriEunkMH5XpRrhRAeNXlWg4+mLyhPd9XDaeOhPJb30k+WsSG iDxPhm9egVvLueCWpRU29bWT86ZbK8BPY+/rcNnW8g7fABmN0BiJK6pV/FHbS52mG4SR zfpKodfwGOgXtiOkFzZOGiVVapzPcklrZnBSIWKWtxXOVm54CWK++yd4naxI//mApG/O WYwTERhAZUyCp3gnM/lsIDYly55Wj9KhVIDn5kSuH6tIYzbLqHpHjfEWy6KDHU/78Vej rxBw==
X-Gm-Message-State: AODbwcC9Xc0zkZBG5LP6xw3X9OmtAYehozWoSfDtBpqeuj+fbtmy/hFm ZqVhOPgU3NxdrmG/
X-Received: by 10.233.235.12 with SMTP id b12mr23413640qkg.75.1495501052769; Mon, 22 May 2017 17:57:32 -0700 (PDT)
Received: from dave-laptop.localnet (pool-71-185-36-197.phlapa.fios.verizon.net. [71.185.36.197]) by smtp.gmail.com with ESMTPSA id d200sm12932545qkg.50.2017.05.22.17.57.31 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 22 May 2017 17:57:32 -0700 (PDT)
From: Dave Garrett <davemgarrett@gmail.com>
To: tls@ietf.org
Date: Mon, 22 May 2017 20:57:30 -0400
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
References: <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <201705222019.46521.davemgarrett@gmail.com> <F589FF5F-3F77-4125-B8F0-B9701925B9EF@dukhovni.org>
In-Reply-To: <F589FF5F-3F77-4125-B8F0-B9701925B9EF@dukhovni.org>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201705222057.30588.davemgarrett@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/6KlfLAusAbK32yuUBJkdLkDu5Po>
Subject: Re: [TLS] Better weak hash language (was Re: AD Review of draft-ietf-tls-tls13)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 00:57:35 -0000

On Monday, May 22, 2017 08:29:13 pm Viktor Dukhovni wrote:
> Setting a collision-resistance floor rather than naming some list
> of algorithms makes more sense to me, but if the WG really feels
> that naming some "verbotten" algorithms is better, so be it.

My preference would be to do both. Call out the ones we have
codepoints for by name (MD5/SHA1/SHA224), then have a general
collision-resistance floor value for everything else.


Dave


From nobody Mon May 22 18:06:42 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0119C1294B7 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 18:06:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 Zq00PxrTIRmH for <tls@ietfa.amsl.com>; Mon, 22 May 2017 18:06:38 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AC8711294A2 for <tls@ietf.org>; Mon, 22 May 2017 18:06:38 -0700 (PDT)
Received: from [172.31.31.193] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id ED8347A32F1 for <tls@ietf.org>; Tue, 23 May 2017 01:06:37 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <201705222057.30588.davemgarrett@gmail.com>
Date: Mon, 22 May 2017 21:06:37 -0400
Content-Transfer-Encoding: 7bit
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <BFED1B82-DDEB-4B59-9C85-68D8FF65156F@dukhovni.org>
References: <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <201705222019.46521.davemgarrett@gmail.com> <F589FF5F-3F77-4125-B8F0-B9701925B9EF@dukhovni.org> <201705222057.30588.davemgarrett@gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/z_krUiVhnBt_1Y1MXaY4EEM30iM>
Subject: Re: [TLS] Better weak hash language (was Re: AD Review of draft-ietf-tls-tls13)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 01:06:40 -0000

> On May 22, 2017, at 8:57 PM, Dave Garrett <davemgarrett@gmail.com> wrote:
> 
> My preference would be to do both. Call out the ones we have
> codepoints for by name (MD5/SHA1/SHA224), then have a general
> collision-resistance floor value for everything else.

OK by me, with previous proviso on the appropriate context,
namely actual use by the relying party, not mere appearance
on the wire.  That is, effectively the RP behaves as though
the code points are unknown, but with "lazy evaluation"[1].

-- 
	Viktor.

[1] With "lazy evaluation" one is not forced to fail to parse
the certificate if parsing requires having known code points.
So long as no use of the underlying algorithm is made, the
intent of the prohibition is accomplished.


From nobody Mon May 22 19:12:08 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id B12C3128656; Mon, 22 May 2017 19:11:59 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Eric Rescorla <ekr@rtfm.com>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-tls-ecdhe-psk-aead@ietf.org, Joseph Salowey <joe@salowey.net>,  tls-chairs@ietf.org, joe@salowey.net, tls@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.51.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com>
Date: Mon, 22 May 2017 19:11:59 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/FQNgMw3GHfMxzKGE9qSo1iSa9F8>
Subject: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 02:12:00 -0000

Eric Rescorla has entered the following ballot position for
draft-ietf-tls-ecdhe-psk-aead-04: Discuss

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about IESG DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/



----------------------------------------------------------------------
DISCUSS:
----------------------------------------------------------------------

The following text appears to have been added in -04

   A server receiving a ClientHello and a client_version indicating
   (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites from
   this document in ClientHello.cipher_suites can safely assume that
the
   client supports TLS 1.2 and is willing to use it.  The server MUST
   NOT negotiate these cipher suites with TLS protocol versions earlier
   than TLS 1.2.  Not requiring clients to indicate their support for
   TLS 1.2 cipher suites exclusively through ClientHello.client_hello
   improves the interoperability in the installed base and use of TLS
   1.2 AEAD cipher suites without upsetting the installed base of
   version-intolerant TLS servers, results in more TLS handshakes
   succeeding and obviates fallback mechanisms.

This is a major technical change from -03, which, AFAIK, prohibited
the server from negotiating these algorithms with TLS 1.1 and below
and maintained the usual TLS version 1.2 negotiation rules.

This is a very material technical change. I don't consider it wise,
but in any case it would absolutely need WG consensus, which I
don't believe that it has given the recent introduction.

The discussion of dictionary attacks here seems inferior to that
in 4279. In particular, you only need to actively attack one
connection to capture the data you need for a brute force attack
despite the text there referring to trying "different keys".
Please correct that.


----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

The citations to TLS 1.3 still seem pretty muddled. I think you
should just stop referencing and discussing 1.3.

S 2.
I'm not sure that the discussion of the PRF is helpful here in
mandating the non-use of these cipher suites with TLS 1.1 and
below.



From nobody Mon May 22 19:23:29 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E6842128D69 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 19:23:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.011
X-Spam-Level: 
X-Spam-Status: No, score=-0.011 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, HTTPS_HTTP_MISMATCH=1.989, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 afesRCeRsSdP for <tls@ietfa.amsl.com>; Mon, 22 May 2017 19:23:26 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 17757128656 for <tls@ietf.org>; Mon, 22 May 2017 19:23:26 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4N2MLD4018349; Tue, 23 May 2017 03:23:22 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=llL0gQeJZGw4hBBUSF/+DditjQzFiEQZxWavzm+VsK0=; b=WA8/b36UxZOjowyBLt4QG3kfUZUEpkSRtqUzHFWXxY3WUqKYCcvnyS+n3jxO/pZJevGu SpTvNfDn5iEJJLFGhowK+IIwhxinZD8blxm4CTiHQyJt/LBYNWBFMYQCpoBBcj0NCTY/ /nAVXkaQA9Wefp2bqlApcJKetDt72SLXjQ3hRiv1tZRFoPP++qFFTlrLfgwOg7e1kUCD 4RWtjckmJg7tqqhWBBeSeYA6HwZw7wR0ThXkS+eb/UChyUNYXmel7l9DeZrJ68rYtuwX xiioavW668+eGY3VPE86dI1kZQ7Ccyv0akuCqdxU4otPkcpLGMOkmrW3vprSfCDuT04H sg== 
Received: from prod-mail-ppoint4 ([96.6.114.87]) by m0050096.ppops.net-00190b01. with ESMTP id 2am4wdhyqm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 May 2017 03:23:22 +0100
Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4N2Kt1n030450; Mon, 22 May 2017 22:23:21 -0400
Received: from prod-mail-relay15.akamai.com ([172.27.17.40]) by prod-mail-ppoint4.akamai.com with ESMTP id 2ajh4v4ddw-1; Mon, 22 May 2017 22:23:21 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay15.akamai.com (Postfix) with ESMTP id 5E3BD20061; Mon, 22 May 2017 20:23:21 -0600 (MDT)
To: =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>
Cc: "tls@ietf.org" <tls@ietf.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com> <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com> <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com> <f8f8db4a-7d4e-590b-25c2-b1cbac6b5313@huitema.net> <CAAF6GDcarzUXiEAxBm9RaLQT5A3B=2TPkngEavEY=wQMHU=9Gw@mail.gmail.com>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <1c188f36-c197-20f7-48e4-5d75ac4a2211@akamai.com>
Date: Mon, 22 May 2017 21:23:19 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <CAAF6GDcarzUXiEAxBm9RaLQT5A3B=2TPkngEavEY=wQMHU=9Gw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------6BB8AF23F408F3DE3D957ED6"
Content-Language: en-US
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_01:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230011
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_01:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230011
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/-PGhmghe-YmyJjOcwpkQ0K2qzU4>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 02:23:28 -0000

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

On 05/22/2017 12:56 PM, Colm MacCÃ¡rthaigh wrote:
>
>
> On Mon, May 22, 2017 at 10:46 AM, Christian Huitema
> <huitema@huitema.net <mailto:huitema@huitema.net>> wrote
>
>     Check DKG's analysis of 0-RTT for DNS over TLS:
>     https://www.ietf.org/mail-archive/web/dns-privacy/current/msg01276.html
>     <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mail-2Darchive_web_dns-2Dprivacy_current_msg01276.html&d=DwMFaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=sssDLkeEEBWNIXmTsdpw8TZ3tAJx-Job4p1unc7rOhM&m=GpV0HuEr8VOZYeOaFgKwdKskI0x-DDWOnnYVY71gWo0&s=sIac6VMHVpaHv3FPdo-jIsOTEbAh8WPU01BhfV8CRcw&e=>.
>     There is only one point of concern, a minor privacy leak if the
>     DNS queries in the 0-RTT data can be replayed at intervals chosen
>     by the attacker. The idea is to replay the data to a resolver, and
>     then observe the queries going out to authoritative servers in
>     clear text. The correlation can be used to find out what domain
>     the client was attempting to resolve. The attack requires "chosen
>     time" by the attacker, and thus will probably be mitigated by a
>     caching system that prevents replays after a short interval.
>
>
>
> I have a reply to that too, linked at the bottom: there's actually a
> more trivial side-channel (due to non-idempotence) that hadn't been
> considered in the original analysis.
>

Sorry for being daft, but a direct link to this additional side-channel
would be helpful.

-Ben

--------------6BB8AF23F408F3DE3D957ED6
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">
    On 05/22/2017 12:56 PM, Colm MacCÃ¡rthaigh wrote:<br>
    <blockquote type="cite"
cite="mid:CAAF6GDcarzUXiEAxBm9RaLQT5A3B=2TPkngEavEY=wQMHU=9Gw@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Mon, May 22, 2017 at 10:46 AM,
            Christian Huitema <span dir="ltr">&lt;<a
                href="mailto:huitema@huitema.net" target="_blank"
                moz-do-not-send="true">huitema@huitema.net</a>&gt;</span>
            wrote
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> Check DKG's
                analysis of 0-RTT for DNS over TLS: <a
                  class="m_-6450328252620180813moz-txt-link-freetext"
href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mail-2Darchive_web_dns-2Dprivacy_current_msg01276.html&amp;d=DwMFaQ&amp;c=96ZbZZcaMF4w0F4jpN6LZg&amp;r=sssDLkeEEBWNIXmTsdpw8TZ3tAJx-Job4p1unc7rOhM&amp;m=GpV0HuEr8VOZYeOaFgKwdKskI0x-DDWOnnYVY71gWo0&amp;s=sIac6VMHVpaHv3FPdo-jIsOTEbAh8WPU01BhfV8CRcw&amp;e="
                  target="_blank" moz-do-not-send="true">https://www.ietf.org/mail-<wbr>archive/web/dns-privacy/<wbr>current/msg01276.html</a>.
                There is only one point of concern, a minor privacy leak
                if the DNS queries in the 0-RTT data can be replayed at
                intervals chosen by the attacker. The idea is to replay
                the data to a resolver, and then observe the queries
                going out to authoritative servers in clear text. The
                correlation can be used to find out what domain the
                client was attempting to resolve. The attack requires
                "chosen time" by the attacker, and thus will probably be
                mitigated by a caching system that prevents replays
                after a short interval.</div>
            </blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>I have a reply to that too, linked at the bottom:
              there's actually a more trivial side-channel (due to
              non-idempotence) that hadn't been considered in the
              original analysis.</div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Sorry for being daft, but a direct link to this additional
    side-channel would be helpful.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------6BB8AF23F408F3DE3D957ED6--


From nobody Mon May 22 19:53:11 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 685C9129503 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 19:53:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 n1gGQ37fuX73 for <tls@ietfa.amsl.com>; Mon, 22 May 2017 19:53:07 -0700 (PDT)
Received: from mail-yb0-x236.google.com (mail-yb0-x236.google.com [IPv6:2607:f8b0:4002: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 C3DE51294DB for <tls@ietf.org>; Mon, 22 May 2017 19:53:07 -0700 (PDT)
Received: by mail-yb0-x236.google.com with SMTP id 130so16720400ybl.3 for <tls@ietf.org>; Mon, 22 May 2017 19:53:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AkiBu9GWOpjWPG5TTrqA8UwFaCR5JUnscCJ6XfIdU+g=; b=X/jpYK5tqgZFukACJw4Q8giZK0Qd1VIgU+dow4QBRwacCh33tmczKxILCLptpxH07/ MN5ucS63bVgOsItCyY9ytH7yugmC6NjXULLiU/frVo/j4iKYH0r+qdsriujh3fAy34Gc rRuQsV1BjMWp73/NrbZmeWOJPF9eRRoKB+dGt5itqLxYy/mKFUcY8IW+eVVrpkj2r2qd w11bPzPRs91YMG4qHqVVdq6hO3laSdgBHtyhF0EFUqXPsPEJuZSxmK0ziwsDEBs8pyL2 WltaZVIXqFCOBIJb1c843giHxZJl8myNrV/ebPfa+dpZcCDKydPISFWkS0GfyV3qKAMV scHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AkiBu9GWOpjWPG5TTrqA8UwFaCR5JUnscCJ6XfIdU+g=; b=p9+8f6A7c+rrALQ0WH5wg2OZCyoeRwTzBAPsBpngBNtPg+W41qKL80eoem2IuQPMtU E3U8fPmvMeQS7yeKDN1JI2E8oNn0fjRQB0ZqacsMHItAx8Jukc9BTUmgg9Km/6aX/BTg WlRtd9iV6NwucIgZCldo1B9kAzJN9NlGZ7NT94iYnu/+ZiF1pBFPkBve/bSeIC0ABiOY T7TLrLE/gZU8Ta52xD4idrL72YVvMkhsBFjrO8PLpdPVsmK3+SanXdHN1Xdvfgo9nfUy HNs8EpVWwSBhbZvRczBWSjpHHf92ZEqgrWzYHs6Y5zaesTJJKGfInC/uZrYegxv23kpU J3JQ==
X-Gm-Message-State: AODbwcCcwR2NrT3WL1TUjd7cXLeTNDVc+PGlJmKNsqTt9gcN/HNivFKc jsDQ+t1BDY4h7zALBOnvV88KzkEZ1Y1N0qk=
X-Received: by 10.37.170.97 with SMTP id s88mr14823219ybi.19.1495507987092; Mon, 22 May 2017 19:53:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.93.70 with HTTP; Mon, 22 May 2017 19:53:06 -0700 (PDT)
In-Reply-To: <1c188f36-c197-20f7-48e4-5d75ac4a2211@akamai.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com> <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com> <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com> <f8f8db4a-7d4e-590b-25c2-b1cbac6b5313@huitema.net> <CAAF6GDcarzUXiEAxBm9RaLQT5A3B=2TPkngEavEY=wQMHU=9Gw@mail.gmail.com> <1c188f36-c197-20f7-48e4-5d75ac4a2211@akamai.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Mon, 22 May 2017 19:53:06 -0700
Message-ID: <CAAF6GDfCRD3nQmr0JB75CxLkqjmDiWn9co0DXCJHwS3TK625WA@mail.gmail.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c19e39a547ce0055028163d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/4s5KpKgmiS6Ed9OmQt5nDeMDrFc>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 02:53:09 -0000

--94eb2c19e39a547ce0055028163d
Content-Type: text/plain; charset="UTF-8"

On Mon, May 22, 2017 at 7:23 PM, Benjamin Kaduk <bkaduk@akamai.com> wrote:

>
> Sorry for being daft, but a direct link to this additional side-channel
> would be helpful.
>

I should have done it the first time.  Here it is:
https://www.ietf.org/mail-archive/web/dns-privacy/current/msg01277.html

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Mon, May 22, 2017 at 7:23 PM, Benjamin Kaduk <span dir=3D"ltr">&lt;<=
a href=3D"mailto:bkaduk@akamai.com" target=3D"_blank">bkaduk@akamai.com</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-co=
lor:rgb(204,204,204);padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF"><span class=3D"gmail-"><br></span>
    Sorry for being daft, but a direct link to this additional
    side-channel would be helpful.<br></div></blockquote><div><br></div><di=
v>I should have done it the first time.=C2=A0 Here it is:=C2=A0<a href=3D"h=
ttps://www.ietf.org/mail-archive/web/dns-privacy/current/msg01277.html">htt=
ps://www.ietf.org/mail-archive/web/dns-privacy/current/msg01277.html</a>=C2=
=A0</div></div><div><br></div>-- <br><div class=3D"gmail_signature">Colm</d=
iv>
</div></div>

--94eb2c19e39a547ce0055028163d--


From nobody Mon May 22 21:19:36 2017
Return-Path: <frantz@pwpconsult.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE1E6124BFA for <tls@ietfa.amsl.com>; Mon, 22 May 2017 21:19:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.8] autolearn=ham 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 QG5Ag8eSVjNO for <tls@ietfa.amsl.com>; Mon, 22 May 2017 21:19:32 -0700 (PDT)
Received: from elasmtp-curtail.atl.sa.earthlink.net (elasmtp-curtail.atl.sa.earthlink.net [209.86.89.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C5CC9127868 for <tls@ietf.org>; Mon, 22 May 2017 21:19:32 -0700 (PDT)
Received: from [47.143.125.207] (helo=Williams-MacBook-Pro.local) by elasmtp-curtail.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <frantz@pwpconsult.com>) id 1dD1IB-0004lf-2Z for tls@ietf.org; Tue, 23 May 2017 00:19:31 -0400
Date: Mon, 22 May 2017 21:19:30 -0700
From: Bill Frantz <frantz@pwpconsult.com>
To: TLS WG <tls@ietf.org>
X-Priority: 3
In-Reply-To: <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org>
Message-ID: <r470Ps-10124i-4126E6020A9F407EB18E86674748440A@Williams-MacBook-Pro.local>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Mailer: Mailsmith 2.4 (470)
X-ELNK-Trace: 3a5e54fa03f1b3e21aa676d7e74259b7b3291a7d08dfec7984ef9363539b6c8596f3c22f5838e7de350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 47.143.125.207
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/OkGvOdzYzso9aZXZXm3jmcVoyYk>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 04:19:35 -0000

On 5/22/17 at 10:46 AM, ietf-dane@dukhovni.org (Viktor Dukhovni) wrote:

>>On May 22, 2017, at 1:37 PM, Salz, Rich <rsalz@akamai.com> wrote:
>>
>>I strongly believe the text should stay as it is, for the most good to th=
e most people.  Viktor is in the weeds, arguably by himself.
>
>Right, all by myself...  With support from Nico, Ilari, and others who've =
upthread
>accepted that certificate verification is properly RFC5280 and not TLS, be=
fore I
>suggested removal of the text in question (which solves no real problem, b=
ut does
>create needless interoperability issues for various TLS use-cases).

Please allow me to add my voice to Viktor's. When I wrote the E=20
language communication protocol, many people said I should use=20
SSL. Some of the reasons we did not use SSL are in a 1998=20
document <http://www.erights.org/elib/distrib/vattp/SSLvsDataComm.html>.

Our protocol started with a hash of the peer's public key. With=20
that bit of information, other authentications are unnecessary.=20
If I were starting today, we could use TLS with PSKs by asking=20
the other side for it's key and then using it with a TLS library=20
(I think).

Cheers - Bill

---------------------------------------------------------------------------
Bill Frantz        |"Web security is like medicine - trying to=20
do good for
408-356-8506       |an evolved body of kludges" - Mark Miller
www.pwpconsult.com |


From nobody Tue May 23 02:29:44 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D19D6129A9A for <tls@ietfa.amsl.com>; Tue, 23 May 2017 02:29:37 -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, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 gK13J1sN-6yZ for <tls@ietfa.amsl.com>; Tue, 23 May 2017 02:29:27 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2.welho.com [83.102.41.24]) by ietfa.amsl.com (Postfix) with ESMTP id E5B51129A99 for <tls@ietf.org>; Tue, 23 May 2017 02:29:26 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 559EA24074; Tue, 23 May 2017 12:29:24 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id 1pWvHvL5QzHC; Tue, 23 May 2017 12:29:23 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id E8E23C4; Tue, 23 May 2017 12:29:23 +0300 (EEST)
Date: Tue, 23 May 2017 12:29:22 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Nico Williams <nico@cryptonector.com>
Cc: Eric Rescorla <ekr@rtfm.com>, TLS WG <tls@ietf.org>
Message-ID: <20170523092921.GA13966@LK-Perkele-V2.elisa-laajakaista.fi>
References: <35E448DD-7F74-4563-9707-DFAB66125FAA@dukhovni.org> <89704888-5f4d-0021-74cb-4cea28c773bd@akamai.com> <ac704db142c04e7b8a836df711e9bc7f@usma1ex-dag1mb1.msg.corp.akamai.com> <1A619330-282A-44F0-871B-DF6D15850394@dukhovni.org> <CABcZeBOvRGar9ZLTo=tu+oUxRWtMucwr5Bk1dPY8C1mAa9asTg@mail.gmail.com> <20170522201729.GO10188@localhost> <CABcZeBMx5wbfchzonxQ5E6N2cOSAXSFX5JpEdTQMMaTnoCb7Dg@mail.gmail.com> <20170522204326.GP10188@localhost> <CABcZeBM1SWnganpX_VyDRiVm+ZFSoA6tZpCWX+Ec-D6So6RUGw@mail.gmail.com> <20170522210018.GQ10188@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20170522210018.GQ10188@localhost>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/JSOud1XkEKy0yQeHSbr6S5rHsug>
Subject: Re: [TLS] AD Review of draft-ietf-tls-tls13
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 09:29:38 -0000

On Mon, May 22, 2017 at 04:00:20PM -0500, Nico Williams wrote:
> On Tue, May 23, 2017 at 05:49:47AM +0900, Eric Rescorla wrote:
> > On Tue, May 23, 2017 at 5:43 AM, Nico Williams <nico@cryptonector.com>
> > wrote:
> > > On Tue, May 23, 2017 at 05:26:28AM +0900, Eric Rescorla wrote:
> > > > On Tue, May 23, 2017 at 5:17 AM, Nico Williams <nico@cryptonector.com>
> > > > wrote:
> > > > > > In any case, I think there are two issues:
> > > > > > 1. Forbid TLS 1.3 implementations from accepting MD5 and SHA-1.
> > > > > > 2. Require a specific failure if the peer presents such a
> > > certificate.
> > > > > >
> > > > > > There was pretty strong consensus to do #1 and I don't support
> > > removing
> > > > > > it. That seems like a pretty modest layering violation. If people
> > > think
> > > > > that
> > > > > > the mandate for this specific alert is too onerous, I could live with
> > > > > > removing
> > > > > > that.
> > > > >
> > > > > I don't understand how you can have (1) and not (2).
> > > >
> > > > As Ilari suggests, you could just treat the algorithms as unknown.
> > >
> > > How does that square with (1)?
> > >
> > 
> > I don't understand the question. If you treat them as unknown then
> > either your path construction code will route around them or once you
> > try to verify, it will fail.
> 
> That *really* seems like a layer violation!

The code I have tries to route around (with equivalent to exhaustive
search of all paths).

And altough the code I have has the TLS and certificate code more
tightly bound togethe than most libraries, the certificate validation
algorithm handling is wholly inside the certificate handling part.

The algorithm handling being inside certificate code is even true for
SHA-1 signatures, which have nontrivial validity rules (only allowed
for dedicated OCSP responders).

The certificate code does not concern itself about TLS version it
is running on. The exchange signature (which has differences between
TLS versions) is direct signature validation and does not involve
certificate code.


BTW:

Section 4.4.3. seemingly allows use of unadvertised exchange signature
schemes if advertised one can't be used. This should be fixed: There
is no way that can actually work (even pinning the server's key doesn't
make that work, unlike say EE certificate being signed with something
unknown).




-Ilari


From nobody Tue May 23 04:50:37 2017
Return-Path: <markulf@microsoft.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1DC7C129AEB for <tls@ietfa.amsl.com>; Tue, 23 May 2017 04:50:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.802
X-Spam-Level: 
X-Spam-Status: No, score=-4.802 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 n_-RZCEy8EMc for <tls@ietfa.amsl.com>; Tue, 23 May 2017 04:50:33 -0700 (PDT)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00130.outbound.protection.outlook.com [40.107.0.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E1DB5129AFC for <tls@ietf.org>; Tue, 23 May 2017 04:50:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=M+xLu0wTzZAkx11IFitCltVZA6MMnqi845Iq8J+frao=; b=mVJkLHJ3r7Y+x+jMFsq3fDsl1U760VI9HR5RNRxR9DpLWGR14CCjjKG5Qa5MAWwcEyJPRUGdouNtjqwCgkJLfbaza2OIZwje2nW52WOfUEITtn9699mfgw/Q1VKIfAfhU0i7rVWfrk/JGbKaX1xZ0Yx0Mg9Eh69xYPCt8GuQYBw=
Received: from DB6PR8303MB0069.EURPRD83.prod.outlook.com (129.75.139.20) by DB6PR8303MB0069.EURPRD83.prod.outlook.com (129.75.139.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.0; Tue, 23 May 2017 11:50:04 +0000
Received: from DB6PR8303MB0069.EURPRD83.prod.outlook.com ([fe80::ac56:1e73:9b19:5ba6]) by DB6PR8303MB0069.EURPRD83.prod.outlook.com ([fe80::ac56:1e73:9b19:5ba6%18]) with mapi id 15.01.1143.000; Tue, 23 May 2017 11:50:01 +0000
From: Markulf Kohlweiss <markulf@microsoft.com>
To: "tls@ietf.org" <tls@ietf.org>
CC: Eric Rescorla <ekr@rtfm.com>, Britta Hale <britta.hale@item.ntnu.no>, Cedric Fournet <fournet@microsoft.com>, Antoine Delignat-Lavaud <antdl@microsoft.com>, Santiago Zanella-Beguelin <santiago@microsoft.com>, Samin Ishtiaq <Samin.Ishtiaq@microsoft.com>, "karthikeyan.bhargavan@inria.fr" <karthikeyan.bhargavan@inria.fr>
Thread-Topic: [TLS] Comments on EndOfEarlyData
Thread-Index: AdLTtEU8p75Loa4ER0+xBa7xoDxY0Q==
Date: Tue, 23 May 2017 11:50:01 +0000
Message-ID: <DB6PR8303MB0069F9DF083276C426975D80ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [167.220.196.154]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DB6PR8303MB0069; 7:60Hix8B+siC5ouAc6G+ivNjbYjC4XqEzJ4tlJTbJkPY8E7YAvxBkyNlfRjc81fHYsRZvBdD9kNpEWuyCD3PzrcDmRUOkazIN1/5zxzPsWiJ2f8wSU9xy84/3jmxmD0lpeHG/kVlDnqTNc7po1WFBllbnNe0fg16RMkXznUh9qNPI6KDwBVZbPqX9jhdCAgCP+e2akBjaYW55FulS80ja19xj5C/IBrShPznNT15WrvrdOFBd2JYzUHxCq+XO5Xpa60JVqU9S70Uw+kUW3oL5zRF6pnN02Wgh3DQ5r+uEQoWI1Z2sK5L+9930jEUEEUrNQYUocZHYkU0e1S0q9qQYGfJ2DxSVV36L7AXhiBQDRsY=
x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10019020)(979002)(6029001)(6009001)(39850400002)(39840400002)(39860400002)(39450400003)(39400400002)(39410400002)(377454003)(24454002)(5640700003)(7736002)(6506006)(305945005)(6436002)(2351001)(6916009)(229853002)(86362001)(7696004)(2900100001)(86612001)(478600001)(2906002)(413944005)(3660700001)(10290500003)(25786009)(53546009)(3280700002)(33656002)(66066001)(189998001)(4326008)(2501003)(5250100002)(102836003)(6116002)(3846002)(6246003)(38730400002)(10090500001)(110136004)(5660300001)(54906002)(99286003)(55016002)(9686003)(54356999)(74316002)(50986999)(53936002)(5005710100001)(8676002)(1730700003)(81166006)(8936002)(8990500004)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR8303MB0069; H:DB6PR8303MB0069.EURPRD83.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; 
x-ms-traffictypediagnostic: DB6PR8303MB0069:
x-ms-office365-filtering-correlation-id: 785a160f-05d2-466b-e9c7-08d4a1d1d887
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);  SRVR:DB6PR8303MB0069; 
x-microsoft-antispam-prvs: <DB6PR8303MB0069D27E838BDDC6F83D2F24ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(278428928389397);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700043)(100105000095)(100000701043)(100105300095)(100000702043)(100105100095)(61425038)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703043)(100105400095)(10201501046)(93006095)(93001095)(3002001)(6055026)(61426038)(61427038)(6041248)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123564025)(6072148)(100000704043)(100105200095)(100000705043)(100105500095); SRVR:DB6PR8303MB0069; BCL:0; PCL:0; RULEID:(100000800043)(100110000095)(100000801043)(100110300095)(100000802043)(100110100095)(100000803043)(100110400095)(100000804043)(100110200095)(100000805039)(100110500095); SRVR:DB6PR8303MB0069; 
x-forefront-prvs: 0316567485
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2017 11:50:01.4105 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR8303MB0069
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/CNp0RbSGVezj_rifcbcQOrdBmE4>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 11:50:35 -0000

Dear Eric, Britta,

I am paraphrasing a long thread on the issue that we had within
the miTLS development team, and I am primarily commenting on the
analysis aspects. I also hope that it will clarify any remaining
problems of understanding that I have on the issue.

If we see EOED as a stream termination signal, then there seems
to be a difference in performance for conservative servers that
want to wait until receiving all 0RTT data before responding to
the client's request in 0.5RTT communication.

Said otherwise, we want servers to be able to respond with application=20
data based on application data from the client and know that that=20
that data was not truncated.

=3D=3DScenario with EOED as Handshake message=3D=3D

After the Client sends 0RTT data the Server gets=20

CH, APP_C1, APP_C2

and typically responds with=20

SH, ... SFIN, APP_S1

But wait, the server doesn't actually know that early data is
terminated. A conservative server would instead send only

SH,... SFIN and wait of EOED

The Client receives SH,... SFIN

Only now the Client knows that the server accepts 0RTT and he can
send and hash the EOED into the transcript hash.

The server receives EOED, CFIN

Only now such a conservative Server can send APP_S1.=20

This results in an additional round trip for conservative
servers, and thus discourages the use of EOED as a stream
termination signal.  ---


=3D=3DScenario with EOED as Alert=3D=3D

With an Alert based design for EOED we can instead have the
following flow, where the client immediately sends the EOED after
his request without waiting for the SFIN. Here the client makes the=20
conscious choice not to send any additional early data.

The server gets=20

CH, APP_C1, APP_C2,=20
respond with SH,...SFIN

The server continues reading EOED and is notified about termination=20
of 0RTT traffic .

The server can now immediately sends  APP_S1, ....

It is important that the server would send SH regardless of
receiving EOED to avoid deadlock due to clients that wait until
receiving SFIN before sending EOED.  ---


Maybe the implicit assumption is that applications, e.g., HTTP/2
have to do their own termination of requests, and that EED serves
a different purpose? What would be the justification for
providing such a mechanism for 1RTT traffic but not for 0RTT
traffic. And why not enable different usage profiles?

Overall, I find the design based on Alert messages cleaner and
more consistent. From colleagues I heard folklore that it would
also ease verification and reduce the implementation complexity
for modular implementations that want to separate Record Layer
and Handshake Layer concerns.

This is related to verifying the handshake without relying on=20
encryption at all but I will let them comment on this if they deem=20
it necessary.

--markulf


> On 16. mai 2017 23:28, Eric Rescorla wrote:
>
>> On Tue, May 16, 2017 at 2:41 PM, Britta Hale <britta.hale@ntnu.no> wrote=
:
>>
>> EOED signals the end of data encrypted with early traffic keys, yes,=20
>> and the next message is the Finished message encrypted with the=20
>> handshake traffic key.
>> However,
>> the Finished message is not *data*, and use of the application traffic=20
>> key is signaled by the Finished message, not EOED. The Finished=20
>> message, like a KeyUpdate message, are handshake messages, and both=20
>> signal the start of a new key use for application data.
>>
>> In comparison, EOED signals the end of key use for application data - wh=
ich
>> correlates
>> to alert behavior.
>
> This seems like a point where reasonable people can differ, especially as=
 ultimately the motivation for this change=20
> was some sense of architectural consistency.
>
> To go back to my earlier question: does this change actually present some=
 analytic difficulty, or do you just find it > > unaesthetic?
>
> -Ekr


From nobody Tue May 23 06:35:11 2017
Return-Path: <mrex@sap.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B83DC129B41; Tue, 23 May 2017 06:35:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level: 
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham 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 Zy4jW_sCTfRX; Tue, 23 May 2017 06:35:06 -0700 (PDT)
Received: from smtpde02.smtp.sap-ag.de (smtpde02.smtp.sap-ag.de [155.56.68.140]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EA1E31200FC; Tue, 23 May 2017 06:34:43 -0700 (PDT)
Received: from mail08.wdf.sap.corp (mail01.sap.corp [194.39.131.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtpde02.smtp.sap-ag.de (Postfix) with ESMTPS id 3wXGjG38WLz26c0; Tue, 23 May 2017 15:34:42 +0200 (CEST)
X-purgate-ID: 152705::1495546482-0000088C-41283E31/0/0
X-purgate-size: 1782
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate-type: clean
X-SAP-SPAM-Status: clean
Received: from ld9781.wdf.sap.corp (ld9781.wdf.sap.corp [10.21.82.193]) by mail08.wdf.sap.corp (Postfix) with ESMTP id 3wXGjF2kvBz30TR; Tue, 23 May 2017 15:34:41 +0200 (CEST)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id 54A901A6A6; Tue, 23 May 2017 15:34:41 +0200 (CEST)
In-Reply-To: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com>
To: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 23 May 2017 15:34:41 +0200 (CEST)
CC: The IESG <iesg@ietf.org>, tls@ietf.org, tls-chairs@ietf.org,  draft-ietf-tls-ecdhe-psk-aead@ietf.org
Reply-To: mrex@sap.com
X-Mailer: ELM [version 2.4ME+ PL125 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20170523133441.54A901A6A6@ld9781.wdf.sap.corp>
From: mrex@sap.com (Martin Rex)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/d4RpQCWcn28cwXrsUSWqwtrmnmw>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 13:35:09 -0000

Eric Rescorla wrote:
> draft-ietf-tls-ecdhe-psk-aead-04: Discuss
> 
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
> 
> The following text appears to have been added in -04
> 
>    A server receiving a ClientHello and a client_version indicating
>    (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites from
>    this document in ClientHello.cipher_suites can safely assume that
> the
>    client supports TLS 1.2 and is willing to use it.  The server MUST
>    NOT negotiate these cipher suites with TLS protocol versions earlier
>    than TLS 1.2.  Not requiring clients to indicate their support for
>    TLS 1.2 cipher suites exclusively through ClientHello.client_hello
>    improves the interoperability in the installed base and use of TLS
>    1.2 AEAD cipher suites without upsetting the installed base of
>    version-intolerant TLS servers, results in more TLS handshakes
>    succeeding and obviates fallback mechanisms.
> 
> This is a major technical change from -03, which, AFAIK, prohibited
> the server from negotiating these algorithms with TLS 1.1 and below
> and maintained the usual TLS version 1.2 negotiation rules.

This change _still_ prohibits the server from negotiating these algorithms
with TLSv1.1 and below.

Could you elaborate a little on where and why you see a problem with this?

As this changes tries to explain, had such a text been used for all
TLSv1.2 AEAD cipher suite code points, then browsers would have never
needed any "downgrade dance" fallbacks, POODLE would have never
existed as a browser problem, and the TLS_FALLBACK_SCSV band-aid
would not been needed, either.

-Martin


From nobody Tue May 23 07:02:20 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AE85D129B5C; Tue, 23 May 2017 07:02:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 iVOsHT9zo80Z; Tue, 23 May 2017 07:02:16 -0700 (PDT)
Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (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 217E4129B51; Tue, 23 May 2017 07:02:16 -0700 (PDT)
Received: by mail-lf0-x22c.google.com with SMTP id m18so49601444lfj.0; Tue, 23 May 2017 07:02:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=EY/Oa89lWWKQKK5tKTI1x2fCFQseLb7Wowx8rmAtCjU=; b=SJkhJQJiZWdBcne03sNxzDftMtxRx7PoDYpNzIRn9FMPD7JsVZmVTZcg4P7YtqiR2s MHJEcr8linpmrxfiUpUIE8DlMHiv7oE4HhjQscr2vqgLwtVIK+iErdWIkctLsvxy/W5g QZL5sL3UlmdrDrhJFdPE9DQH6aeEIXlB8Z+d0/fYwmoCt4WBSKMa2slTVV8aG4W1YEyc 6avcBn0X9ObobzJ9E+4uITeigfM2Zy0g+rLXifoCLrBMes2jtQNMKQ7BtKSzwURdQ/67 sT6Wj4t35o9FmZ859AioXhxyZ9oScen1lNC8in/EqVEHC9JU2W1QXPGOO2gGpj8aNH0B i+2w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=EY/Oa89lWWKQKK5tKTI1x2fCFQseLb7Wowx8rmAtCjU=; b=Qi1S2P9/VkYfp5oad+UBn3H3VXg9uuMy62ERGTaRAfy6FLB+p2YxriDjZ612vllK16 TlVEwQlAqNUClAjSmrS974yh3JM7q6YQNHe2ZwFkfSUKCmwy9O/wIiJ9C2+1AE0cYgsy ia33tHIY9ajUSBOYEJ52y2AHqbblchr72hi+xCjLwkVYfPNMS7ttu2+xhGGGkmhno77d eddLiomSYrRn7dkWjFCEsyQypLEElMgd40dfxE9QqaW+P9Lx/oeeGozurMXL8t0R1pVD ClgMwqNrdZCPMrOEIuLF4guRV+FILJ0OtSX+iXHfhoevcu3u4NXRQKKfgkK2Z/BnoDqi N0Wg==
X-Gm-Message-State: AODbwcB+ayUBRTDHKbujjxjxb8lcaL4S8DckICREApE94+qX/2bvEklO qZid3oLGvIWigLbvDsZqn4bF/dl+ug==
X-Received: by 10.25.193.145 with SMTP id r139mr7414547lff.111.1495548134375;  Tue, 23 May 2017 07:02:14 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Tue, 23 May 2017 07:02:13 -0700 (PDT)
In-Reply-To: <e6f67985-97a1-3943-7016-3cc6584d38bb@akamai.com>
References: <149522417333.23956.7024977757521677892.idtracker@ietfa.amsl.com> <2DD56D786E600F45AC6BDE7DA4E8A8C118BDBB01@eusaamb107.ericsson.se> <e6f67985-97a1-3943-7016-3cc6584d38bb@akamai.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Tue, 23 May 2017 10:02:13 -0400
X-Google-Sender-Auth: Ze0zJf-h5K8R0bOIeEpnsEK93aY
Message-ID: <CADZyTk=DHURsrjwTVCeUnA_3LiUO7Af=8jWTKCXhF6nZkt4Ayw@mail.gmail.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: "tls@ietf.org" <tls@ietf.org>, tls-chairs <tls-chairs@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c1a08784b48220550316f58"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/zUl2HWHtbcf9SrybJuQoyv_bJ7E>
Subject: Re: [TLS] FW: New Version Notification for draft-ietf-tls-ecdhe-psk-aead-04.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 14:02:19 -0000

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

Thanks I will add these by the end of the day.
Yours,
Daniel

On Mon, May 22, 2017 at 1:56 PM, Benjamin Kaduk <bkaduk@akamai.com> wrote:

> Thanks for the updates; the new revision addresses my concerns raised in
> the secdir review.
>
> However,
>
> % In addition, it is worth noting that TLS 1.0 [RFC2246] and TL1.2
> % [RFC4346] splits the pre-master in two parts.
>
> s/TL1.2/TLS 1.1/, and maybe the ending as "split the pre-master secret
> into two parts".
>
> % the PSK and pre-master are treated by
> % distinct hash function with distinct properties.
>
> s/pre-master/ECDHE shared secret/?
>
> -Ben
>
>
> On 05/19/2017 03:18 PM, Daniel Migault wrote:
>
> Hi,
>
> Thank you to all reviewers for their feed backs. Please find the latest v=
ersion, which as far as I know includes all comments. Comments were not con=
troversial. In order to raise next reviews I am raising aspects that might =
need a bit more attention.
>
> 1)  The current document mentions I-D.ietf-tls-rfc4492bis and I-D.ietf-tl=
s-tls13 as normative. We can wait for these documents to become RFCs, but w=
e can also dowref them to informational reference if we want to move that d=
ocument forward. I will leave the AD to decide, and changes if needed can b=
e done by the RFC -editor
>
> 2)  Section 4 has the following text:
>
> """In the case of ECDHE_PSK authentication, the PSK and pre-master are tr=
eated by distinct hash function with distinct properties.  This may introdu=
ce vulnerabilities over the expected security provided by the constructed p=
re-master. As such TLS 1.0 and TLS 1.1 should not be  used with ECDHE_PSK. =
"""
>
> With EDCHE_PSK being the ECDHE PSK method not restricted to the cipher su=
ites defined in the document.  I just want to make sure we are ok with the =
last sentence.
>
> Yours,
> Daniel
>
> -----Original Message-----
> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org <internet=
-drafts@ietf.org>]
> Sent: Friday, May 19, 2017 4:03 PM
> To: John Mattsson <john.mattsson@ericsson.com> <john.mattsson@ericsson.co=
m>; Daniel Migault <daniel.migault@ericsson.com> <daniel.migault@ericsson.c=
om>; tls-chairs@ietf.org
> Subject: New Version Notification for draft-ietf-tls-ecdhe-psk-aead-04.tx=
t
>
>
> A new version of I-D, draft-ietf-tls-ecdhe-psk-aead-04.txt
> has been successfully submitted by Daniel Migault and posted to the IETF =
repository.
>
> Name:		draft-ietf-tls-ecdhe-psk-aead
> Revision:	04
> Title:		ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport La=
yer Security (TLS)
> Document date:	2017-05-18
> Group:		tls
> Pages:		8
> URL:            https://www.ietf.org/internet-drafts/draft-ietf-tls-ecdhe=
-psk-aead-04.txt
> Status:         https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk=
-aead/
> Htmlized:       https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead=
-04
> Htmlized:       https://datatracker.ietf.org/doc/html/draft-ietf-tls-ecdh=
e-psk-aead-04
> Diff:           https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-tls-ecdhe-=
psk-aead-04
>
> Abstract:
>    This document defines several new cipher suites for the Transport
>    Layer Security (TLS) protocol.  The cipher suites are all based on
>    the Ephemeral Elliptic Curve Diffie-Hellman with Pre-Shared Key
>    (ECDHE_PSK) key exchange together with the Authenticated Encryption
>    with Associated Data (AEAD) algorithms AES-GCM and AES-CCM.  PSK
>    provides light and efficient authentication, ECDHE provides forward
>    secrecy, and AES-GCM and AES-CCM provides encryption and integrity
>    protection.
>
>
>
>
> Please note that it may take a couple of minutes from the time of submiss=
ion until the htmlized version and diff are available at tools.ietf.org.
>
> The IETF Secretariat
>
> _______________________________________________
> TLS mailing listTLS@ietf.orghttps://www.ietf.org/mailman/listinfo/tls
>
>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

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

<div dir=3D"ltr"><div><div>Thanks I will add these by the end of the day. <=
br></div>Yours, <br></div>Daniel<br></div><div class=3D"gmail_extra"><br><d=
iv class=3D"gmail_quote">On Mon, May 22, 2017 at 1:56 PM, Benjamin Kaduk <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:bkaduk@akamai.com" target=3D"_blank">=
bkaduk@akamai.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF">
    <tt>Thanks for the updates; the new revision addresses my concerns
      raised in the secdir review.<br>
      <br>
      However,<br>
      <br>
      % In addition, it is worth noting that TLS 1.0 [RFC2246] and TL1.2<br=
>
      % [RFC4346] splits the pre-master in two parts.<br>
      <br>
      s/TL1.2/TLS 1.1/, and maybe the ending as &quot;split the pre-master
      secret into two parts&quot;.<br>
      <br>
      % the PSK and pre-master are treated by<br>
      % distinct hash function with distinct properties.<br>
    </tt><br>
    s/pre-master/ECDHE shared secret/?<br>
    <br>
    -Ben<div><div class=3D"h5"><br>
    <br>
    <div class=3D"m_-4649436460963133150moz-cite-prefix">On 05/19/2017 03:1=
8 PM, Daniel Migault
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <pre>Hi,=20

Thank you to all reviewers for their feed backs. Please find the latest ver=
sion, which as far as I know includes all comments. Comments were not contr=
oversial. In order to raise next reviews I am raising aspects that might ne=
ed a bit more attention. =20

1)  The current document mentions I-D.ietf-tls-rfc4492bis and I-D.ietf-tls-=
tls13 as normative. We can wait for these documents to become RFCs, but we =
can also dowref them to informational reference if we want to move that doc=
ument forward. I will leave the AD to decide, and changes if needed can be =
done by the RFC -editor

2)  Section 4 has the following text:

&quot;&quot;&quot;In the case of ECDHE_PSK authentication, the PSK and pre-=
master are treated by distinct hash function with distinct properties.  Thi=
s may introduce vulnerabilities over the expected security provided by the =
constructed pre-master. As such TLS 1.0 and TLS 1.1 should not be  used wit=
h ECDHE_PSK. &quot;&quot;&quot;

With EDCHE_PSK being the ECDHE PSK method not restricted to the cipher suit=
es defined in the document.  I just want to make sure we are ok with the la=
st sentence.=20

Yours,=20
Daniel

-----Original Message-----
From: <a class=3D"m_-4649436460963133150moz-txt-link-abbreviated" href=3D"m=
ailto:internet-drafts@ietf.org" target=3D"_blank">internet-drafts@ietf.org<=
/a> [<a class=3D"m_-4649436460963133150moz-txt-link-freetext" href=3D"mailt=
o:internet-drafts@ietf.org" target=3D"_blank">mailto:internet-drafts@ietf.<=
wbr>org</a>]=20
Sent: Friday, May 19, 2017 4:03 PM
To: John Mattsson <a class=3D"m_-4649436460963133150moz-txt-link-rfc2396E" =
href=3D"mailto:john.mattsson@ericsson.com" target=3D"_blank">&lt;john.matts=
son@ericsson.com&gt;</a>; Daniel Migault <a class=3D"m_-4649436460963133150=
moz-txt-link-rfc2396E" href=3D"mailto:daniel.migault@ericsson.com" target=
=3D"_blank">&lt;daniel.migault@ericsson.com&gt;</a>; <a class=3D"m_-4649436=
460963133150moz-txt-link-abbreviated" href=3D"mailto:tls-chairs@ietf.org" t=
arget=3D"_blank">tls-chairs@ietf.org</a>
Subject: New Version Notification for draft-ietf-tls-ecdhe-psk-aead-<wbr>04=
.txt


A new version of I-D, draft-ietf-tls-ecdhe-psk-aead-<wbr>04.txt
has been successfully submitted by Daniel Migault and posted to the IETF re=
pository.

Name:		draft-ietf-tls-ecdhe-psk-aead
Revision:	04
Title:		ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Laye=
r Security (TLS)
Document date:	2017-05-18
Group:		tls
Pages:		8
URL:            <a class=3D"m_-4649436460963133150moz-txt-link-freetext" hr=
ef=3D"https://www.ietf.org/internet-drafts/draft-ietf-tls-ecdhe-psk-aead-04=
.txt" target=3D"_blank">https://www.ietf.org/internet-<wbr>drafts/draft-iet=
f-tls-ecdhe-<wbr>psk-aead-04.txt</a>
Status:         <a class=3D"m_-4649436460963133150moz-txt-link-freetext" hr=
ef=3D"https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/" targ=
et=3D"_blank">https://datatracker.ietf.org/<wbr>doc/draft-ietf-tls-ecdhe-ps=
k-<wbr>aead/</a>
Htmlized:       <a class=3D"m_-4649436460963133150moz-txt-link-freetext" hr=
ef=3D"https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04" target=
=3D"_blank">https://tools.ietf.org/html/<wbr>draft-ietf-tls-ecdhe-psk-aead-=
<wbr>04</a>
Htmlized:       <a class=3D"m_-4649436460963133150moz-txt-link-freetext" hr=
ef=3D"https://datatracker.ietf.org/doc/html/draft-ietf-tls-ecdhe-psk-aead-0=
4" target=3D"_blank">https://datatracker.ietf.org/<wbr>doc/html/draft-ietf-=
tls-ecdhe-<wbr>psk-aead-04</a>
Diff:           <a class=3D"m_-4649436460963133150moz-txt-link-freetext" hr=
ef=3D"https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-tls-ecdhe-psk-aead-04"=
 target=3D"_blank">https://www.ietf.org/rfcdiff?<wbr>url2=3Ddraft-ietf-tls-=
ecdhe-psk-<wbr>aead-04</a>

Abstract:
   This document defines several new cipher suites for the Transport
   Layer Security (TLS) protocol.  The cipher suites are all based on
   the Ephemeral Elliptic Curve Diffie-Hellman with Pre-Shared Key
   (ECDHE_PSK) key exchange together with the Authenticated Encryption
   with Associated Data (AEAD) algorithms AES-GCM and AES-CCM.  PSK
   provides light and efficient authentication, ECDHE provides forward
   secrecy, and AES-GCM and AES-CCM provides encryption and integrity
   protection.

                                                                           =
      =20


Please note that it may take a couple of minutes from the time of submissio=
n until the htmlized version and diff are available at <a href=3D"http://to=
ols.ietf.org" target=3D"_blank">tools.ietf.org</a>.

The IETF Secretariat

______________________________<wbr>_________________
TLS mailing list
<a class=3D"m_-4649436460963133150moz-txt-link-abbreviated" href=3D"mailto:=
TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a>
<a class=3D"m_-4649436460963133150moz-txt-link-freetext" href=3D"https://ww=
w.ietf.org/mailman/listinfo/tls" target=3D"_blank">https://www.ietf.org/mai=
lman/<wbr>listinfo/tls</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br></blockquote></div><br></div>

--94eb2c1a08784b48220550316f58--


From nobody Tue May 23 09:53:19 2017
Return-Path: <huitema@huitema.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 42F29129BB6 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 09:53:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.1
X-Spam-Level: 
X-Spam-Status: No, score=0.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham 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 8tDsfvnWEEtU for <tls@ietfa.amsl.com>; Tue, 23 May 2017 09:53:15 -0700 (PDT)
Received: from mx43-out1.antispamcloud.com (mx43-out1.antispamcloud.com [138.201.61.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 30449129BB7 for <tls@ietf.org>; Tue, 23 May 2017 09:53:13 -0700 (PDT)
Received: from xsmtp12.mail2web.com ([168.144.250.177]) by mx43.antispamcloud.com with esmtps (TLSv1.2:AES128-SHA:128) (Exim 4.86) (envelope-from <huitema@huitema.net>) id 1dDD3V-00083U-Gz for tls@ietf.org; Tue, 23 May 2017 18:53:11 +0200
Received: from internal.xmail09.myhosting.com ([10.5.2.31] helo=xmail09.myhosting.com) by xsmtp12.mail2web.com with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <huitema@huitema.net>) id 1dDD3O-0003xQ-Of for tls@ietf.org; Tue, 23 May 2017 12:53:06 -0400
Received: (qmail 17296 invoked from network); 23 May 2017 16:53:00 -0000
Received: from unknown (HELO [192.168.1.103]) (Authenticated-user:_huitema@huitema.net@[172.56.42.98]) (envelope-sender <huitema@huitema.net>) by xmail09.myhosting.com (qmail-ldap-1.03) with ESMTPA for <tls@ietf.org>; 23 May 2017 16:52:59 -0000
To: tls@ietf.org
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com> <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com> <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com> <f8f8db4a-7d4e-590b-25c2-b1cbac6b5313@huitema.net> <CAAF6GDcarzUXiEAxBm9RaLQT5A3B=2TPkngEavEY=wQMHU=9Gw@mail.gmail.com> <1c188f36-c197-20f7-48e4-5d75ac4a2211@akamai.com> <CAAF6GDfCRD3nQmr0JB75CxLkqjmDiWn9co0DXCJHwS3TK625WA@mail.gmail.com>
From: Christian Huitema <huitema@huitema.net>
Message-ID: <55096b5d-dc74-fae4-57e3-83d4355d6050@huitema.net>
Date: Tue, 23 May 2017 09:52:57 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAAF6GDfCRD3nQmr0JB75CxLkqjmDiWn9co0DXCJHwS3TK625WA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------959FFB88B12028CAC953A15E"
X-Originating-IP: 168.144.250.177
X-SpamExperts-Domain: xsmtpout.mail2web.com
X-SpamExperts-Username: 168.144.250.0/24
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=168.144.250.0/24@xsmtpout.mail2web.com
X-SpamExperts-Outgoing-Class: unsure
X-SpamExperts-Outgoing-Evidence: Combined (0.10)
X-Recommended-Action: accept
X-Filter-ID: s0sct1PQhAABKnZB5plbIVbU93hg6Kq00BjAzYBqWlVTHAar8Je/lORhy3PZJU8LERWeKKG4PAQY Nyavp7c49L/N1imVzxQGuMdyq1ILpVFTugiLDom8V25hond3K4RsO76XSTAwtV4mg4i2ouCDa4AU hvIWAV5xUW/+gAh4vXrx020Zi//u8HtKCQmu2avRRcOb18WfxGyg6Om6u4YYmz3HWtx6ULqZPKO4 CxOGNv05hjoyEb9Oq0NWpyO3vrfYNrJwCbVSZviV1vzVlxiUlT3dKxLhoxcmaInYbR5vlqGudzLe k2TYFBStSOMccbr5Uz0sPgnpAk2KA2vJwMd1uWhCmLzOxTAcQmFWVARhgNqBNFD3an3wiMp49rVr ybSBe34TY+s3lj/RgDQoaICKQ3TFgIfDMShmlQFqCr5hA8xAXSGwpLGc/Znuh3MoIpK0ma9ESR2T lyxgm/asCsGmwrbRF0J+AL6gRRwFcty0/RGJ+cv73CChOPjKA0/DVd83mzKXD5o/Ia+BqyQ7Q0nt IZ2PVtMHd8bHCmdzlxzVIEgwyGTHIAoNFX+jcW7DGmdE6eBVl9/A6GtGi+mfMSANmgQ9/T0zHbtC pLbhgZ6Z/Qhqxiuap5uKiBpffUsHYsfmrbtbs8GJuRKR6hnrta1usy6F/SOWlhnS7qkS/mOkSgD5 8bDUIriOSOQTK7vaz2jBsjp0rjSY76LAIHA6cW4Oaw3SZdCEEykPbW5B2y73KchnOoRs9Tq8+LVB +WakvuJMxdwDV/LdQk4Dnvnv/o4ZpIN8Tfe43vaXKX/yihCEqxIlRZaHuAWSnHeK3PdSA6Q+2n/k rhIYlNMbfS0wdTtG+6JGvz6FazW2uq9LM3++XT4UhuDAoR32cV4eNY9hrm4n
X-Report-Abuse-To: spam@quarantine5.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/YyPJndEfpqu_geg8eg9ajL385Rk>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 16:53:17 -0000

This is a multi-part message in MIME format.
--------------959FFB88B12028CAC953A15E
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable



On 5/22/2017 7:53 PM, Colm MacC=E1rthaigh wrote:
>
>
> On Mon, May 22, 2017 at 7:23 PM, Benjamin Kaduk <bkaduk@akamai.com
> <mailto:bkaduk@akamai.com>> wrote:
>
>
>     Sorry for being daft, but a direct link to this additional
>     side-channel would be helpful.
>
>
> I should have done it the first time.  Here it
> is: https://www.ietf.org/mail-archive/web/dns-privacy/current/msg01277.=
html
>

Colm's point is that for many DNS servers, queries are not truly
stateless. The answer to a query for AAAA records for example.net might
vary over time, or even query to query, for example to manage load
balancing. Adversaries can predict these variations. They can observe
the state of the server before and after replaying 0-RTT data. If they
observed that the 0-RTT data caused the answer to change, they can
confirm that the 0-RTT data contained a request to that server.

I take that as an example of the more generic statement, that it is
really difficult to guarantee that transactions are really stateless.
Some transactions are apparently stateless, because the operation in
theory only reads data from the server. But even these transactions can
change the state of the server in subtle ways, such as servers managing
load balancing. Another example would be web servers rotating
advertisements on the page, which also can be observed. If I get Colm's
point correctly, he asserts that this is a fairly general pattern, and
that only fools can assume that a given transaction is "stateless".

I take that as a strong argument for requiring "at most once"
functionality for 0-RTT data.

-- Christian Huitema


--------------959FFB88B12028CAC953A15E
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 5/22/2017 7:53 PM, Colm MacCárthaigh
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAAF6GDfCRD3nQmr0JB75CxLkqjmDiWn9co0DXCJHwS3TK625WA@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Mon, May 22, 2017 at 7:23 PM,
            Benjamin Kaduk <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:bkaduk@akamai.com"
                target="_blank">bkaduk@akamai.com</a>&gt;</span> wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF"><span class="gmail-"><br>
                </span> Sorry for being daft, but a direct link to this
                additional side-channel would be helpful.<br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>I should have done it the first time.  Here it is: <a
                moz-do-not-send="true"
href="https://www.ietf.org/mail-archive/web/dns-privacy/current/msg01277.html">https://www.ietf.org/mail-archive/web/dns-privacy/current/msg01277.html</a>
              <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Colm's point is that for many DNS servers, queries are not truly
    stateless. The answer to a query for AAAA records for example.net
    might vary over time, or even query to query, for example to manage
    load balancing. Adversaries can predict these variations. They can
    observe the state of the server before and after replaying 0-RTT
    data. If they observed that the 0-RTT data caused the answer to
    change, they can confirm that the 0-RTT data contained a request to
    that server.<br>
    <br>
    I take that as an example of the more generic statement, that it is
    really difficult to guarantee that transactions are really
    stateless. Some transactions are apparently stateless, because the
    operation in theory only reads data from the server. But even these
    transactions can change the state of the server in subtle ways, such
    as servers managing load balancing. Another example would be web
    servers rotating advertisements on the page, which also can be
    observed. If I get Colm's point correctly, he asserts that this is a
    fairly general pattern, and that only fools can assume that a given
    transaction is "stateless".<br>
    <br>
    I take that as a strong argument for requiring "at most once"
    functionality for 0-RTT data.<br>
    <pre class="moz-signature" cols="72">-- Christian Huitema</pre>
  </body>
</html>

--------------959FFB88B12028CAC953A15E--


From nobody Tue May 23 10:34:53 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5759C129C34 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 10:34:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 R2rPgUynEn7G for <tls@ietfa.amsl.com>; Tue, 23 May 2017 10:34:49 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0430E129BC7 for <tls@ietf.org>; Tue, 23 May 2017 10:34:48 -0700 (PDT)
Received: from pps.filterd (m0050102.ppops.net [127.0.0.1]) by m0050102.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4NHN14m003768; Tue, 23 May 2017 18:34:47 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=3h5jKruB+YWZ2rtcJOokrm92pGylb/BN/0QvdeOgpgY=; b=eqaFLzeSviV3jhBRtLl1zB52SYeUsrRk9DeHk7H2jMsi5LCtk0Wd5pe5LP1moSh7QIbm tkJo9ddk6fYH0oJ2PhlZ8VL27CHySHfM00o4ti73Z4mu988T/RI+MLS5HS1l7WcHl65M AVgjFjl1z5uN/N1JTjujY2FjixRdAmJesmJ9Rza72ey32H72IlA2wJXP1gk3J1Fh49PW OAWolmotUrZ0GFUxLneHO6d4rxdwfH7xYUTVVIkOXZvAYtzN/PQ50AiCufdOoQGhVWEx K1ECbHIkwNUqi502if0mMDlQ04rRsctBD0JK8XZUzDaBHzVXhnNAVg8Ex0+R5wjmrCpS wg== 
Received: from prod-mail-ppoint1 (a184-51-33-18.deploy.static.akamaitechnologies.com [184.51.33.18] (may be forged)) by m0050102.ppops.net-00190b01. with ESMTP id 2am4nrxrjx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 May 2017 18:34:46 +0100
Received: from pps.filterd (prod-mail-ppoint1.akamai.com [127.0.0.1]) by prod-mail-ppoint1.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4NHPdk0018185; Tue, 23 May 2017 13:34:45 -0400
Received: from prod-mail-relay10.akamai.com ([172.27.118.251]) by prod-mail-ppoint1.akamai.com with ESMTP id 2ajh4v1jgu-1; Tue, 23 May 2017 13:34:45 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id 345741FC72; Tue, 23 May 2017 17:34:45 +0000 (GMT)
To: Markulf Kohlweiss <markulf@microsoft.com>, "tls@ietf.org" <tls@ietf.org>
Cc: Samin Ishtiaq <Samin.Ishtiaq@microsoft.com>, Antoine Delignat-Lavaud <antdl@microsoft.com>, Britta Hale <britta.hale@item.ntnu.no>
References: <DB6PR8303MB0069F9DF083276C426975D80ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <9a52562a-d4cd-3344-de4e-8c798887f451@akamai.com>
Date: Tue, 23 May 2017 12:34:44 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <DB6PR8303MB0069F9DF083276C426975D80ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com>
Content-Type: multipart/alternative; boundary="------------79349C73AE74F3013C967953"
Content-Language: en-US
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_06:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230088
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_06:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230088
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/qHdzsCgHsedSaNxcBqY8Hnhwt00>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 17:34:50 -0000

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

My initial thoughts...

On 05/23/2017 06:50 AM, Markulf Kohlweiss wrote:
> I am paraphrasing a long thread on the issue that we had within
> the miTLS development team, and I am primarily commenting on the
> analysis aspects. I also hope that it will clarify any remaining
> problems of understanding that I have on the issue.
>
> If we see EOED as a stream termination signal, then there seems
> to be a difference in performance for conservative servers that
> want to wait until receiving all 0RTT data before responding to
> the client's request in 0.5RTT communication.
>
> Said otherwise, we want servers to be able to respond with application 
> data based on application data from the client and know that that 
> that data was not truncated.

Thanks, the keyword of "truncated" caused me to understand the intended
point.

I think this question ends up tying into the more philosophical one of
whether early data and 1-rtt data are considered "separate streams" or
not -- if they are separate streams with distinct end/start, then of
course one wants to detect possible truncation as it happens.  But, if
they are conceptually the same stream and the boundary between them is
"just" a bookkeeping operation of key change, then there is no need to
be concerned about detecting truncation; the application just continues
reading in data and replying when complete application protocol requests
are received.

-Ben

--------------79349C73AE74F3013C967953
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">
    My initial thoughts...<br>
    <br>
    On 05/23/2017 06:50 AM, Markulf Kohlweiss wrote:<br>
    <blockquote type="cite"
cite="mid:DB6PR8303MB0069F9DF083276C426975D80ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com">
      <pre wrap="">I am paraphrasing a long thread on the issue that we had within
the miTLS development team, and I am primarily commenting on the
analysis aspects. I also hope that it will clarify any remaining
problems of understanding that I have on the issue.

If we see EOED as a stream termination signal, then there seems
to be a difference in performance for conservative servers that
want to wait until receiving all 0RTT data before responding to
the client's request in 0.5RTT communication.

Said otherwise, we want servers to be able to respond with application 
data based on application data from the client and know that that 
that data was not truncated.
</pre>
    </blockquote>
    <br>
    Thanks, the keyword of "truncated" caused me to understand the
    intended point.<br>
    <br>
    I think this question ends up tying into the more philosophical one
    of whether early data and 1-rtt data are considered "separate
    streams" or not -- if they are separate streams with distinct
    end/start, then of course one wants to detect possible truncation as
    it happens.Â  But, if they are conceptually the same stream and the
    boundary between them is "just" a bookkeeping operation of key
    change, then there is no need to be concerned about detecting
    truncation; the application just continues reading in data and
    replying when complete application protocol requests are received.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------79349C73AE74F3013C967953--


From nobody Tue May 23 10:46:39 2017
Return-Path: <mrex@sap.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 208B8129C52; Tue, 23 May 2017 10:46:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.421
X-Spam-Level: 
X-Spam-Status: No, score=-6.421 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=ham 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 P5uPHT1F9x4y; Tue, 23 May 2017 10:46:29 -0700 (PDT)
Received: from smtpde02.smtp.sap-ag.de (smtpde02.smtp.sap-ag.de [155.56.68.140]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3B843127137; Tue, 23 May 2017 10:46:29 -0700 (PDT)
Received: from mail08.wdf.sap.corp (mail01.sap.corp [194.39.131.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtpde02.smtp.sap-ag.de (Postfix) with ESMTPS id 3wXNHl3GMxz274x; Tue, 23 May 2017 19:46:27 +0200 (CEST)
X-purgate-ID: 152705::1495561587-0000088C-8540E222/0/0
X-purgate-size: 1987
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate-type: clean
X-SAP-SPAM-Status: clean
Received: from ld9781.wdf.sap.corp (ld9781.wdf.sap.corp [10.21.82.193]) by mail08.wdf.sap.corp (Postfix) with ESMTP id 3wXNHl1gKgz2y6R; Tue, 23 May 2017 19:46:27 +0200 (CEST)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id 2EDA81A6A6; Tue, 23 May 2017 19:46:27 +0200 (CEST)
In-Reply-To: <20170523133441.54A901A6A6@ld9781.wdf.sap.corp>
To: mrex@sap.com
Date: Tue, 23 May 2017 19:46:27 +0200 (CEST)
CC: Eric Rescorla <ekr@rtfm.com>, tls-chairs@ietf.org,  draft-ietf-tls-ecdhe-psk-aead@ietf.org, The IESG <iesg@ietf.org>,  tls@ietf.org
Reply-To: mrex@sap.com
X-Mailer: ELM [version 2.4ME+ PL125 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20170523174627.2EDA81A6A6@ld9781.wdf.sap.corp>
From: mrex@sap.com (Martin Rex)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/3tQIKNT9BNjXBOUaQA2PKw8OLt0>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 17:46:31 -0000

It seems I had a typo in the new text.

Martin Rex wrote:
> Eric Rescorla wrote:
>> draft-ietf-tls-ecdhe-psk-aead-04: Discuss
>> 
>> ----------------------------------------------------------------------
>> DISCUSS:
>> ----------------------------------------------------------------------
>> 
>> The following text appears to have been added in -04
>> 
>>    A server receiving a ClientHello and a client_version indicating
>>    (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites from
>>    this document in ClientHello.cipher_suites can safely assume that
>> the
>>    client supports TLS 1.2 and is willing to use it.  The server MUST
>>    NOT negotiate these cipher suites with TLS protocol versions earlier
>>    than TLS 1.2.  Not requiring clients to indicate their support for
>>    TLS 1.2 cipher suites exclusively through ClientHello.client_hello

That line should say
                                         through ClientHello.client_version

>>    improves the interoperability in the installed base and use of TLS
>>    1.2 AEAD cipher suites without upsetting the installed base of
>>    version-intolerant TLS servers, results in more TLS handshakes
>>    succeeding and obviates fallback mechanisms.
>> 
>> This is a major technical change from -03, which, AFAIK, prohibited
>> the server from negotiating these algorithms with TLS 1.1 and below
>> and maintained the usual TLS version 1.2 negotiation rules.
> 
> This change _still_ prohibits the server from negotiating these algorithms
> with TLSv1.1 and below.
> 
> Could you elaborate a little on where and why you see a problem with this?
> 
> As this change tries to explain, had such a text been used for all
> TLSv1.2 AEAD cipher suite code points, then browsers would have never
> needed any "downgrade dance" fallbacks, POODLE would have never
> existed as a browser problem, and the TLS_FALLBACK_SCSV band-aid
> would not have been needed, either.


From nobody Tue May 23 10:50:57 2017
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2519B129C53 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 10:50:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 uEFnIwlxnl83 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 10:50:54 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 86ACA129AB3 for <tls@ietf.org>; Tue, 23 May 2017 10:50:54 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id C244D7A32F1 for <tls@ietf.org>; Tue, 23 May 2017 17:50:53 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <55096b5d-dc74-fae4-57e3-83d4355d6050@huitema.net>
Date: Tue, 23 May 2017 13:50:52 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <86A85A1E-A0A2-4692-ADB1-D5126E421B70@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com> <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com> <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com> <f8f8db4a-7d4e-590b-25c2-b1cbac6b5313@huitema.net> <CAAF6GDcarzUXiEAxBm9RaLQT5A3B=2TPkngEavEY=wQMHU=9Gw@mail.gmail.com> <1c188f36-c197-20f7-48e4-5d75ac4a2211@akamai.com> <CAAF6GDfCRD3nQmr0JB75CxLkqjmDiWn9co0DXCJHwS3TK625WA@mail.gmail.com> <55096b5d-dc74-fae4-57e3-83d4355d6050@huitema.net>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/4raSj-pEF9VUOn-31xKKW8d8rOI>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 17:50:56 -0000

> On May 23, 2017, at 12:52 PM, Christian Huitema <huitema@huitema.net> =
wrote:
>=20
> Colm's point is that for many DNS servers, queries are not truly =
stateless. The answer to a query for AAAA records for example.net might =
vary over time, or even query to query, for example to manage load =
balancing. Adversaries can predict these variations. They can observe =
the state of the server before and after replaying 0-RTT data. If they =
observed that the 0-RTT data caused the answer to change, they can =
confirm that the 0-RTT data contained a request to that server.

The fix is to amend DNSpriv to require stateless (random rather
than say round-robit) RRset rotation.  With random rotation, the
next RRset order is independent of previous queries.

Secondly, even with the 0-RTT leak, while privacy against an active
attacker might not be assured for all users, there is fact privacy
for most users, especially against a purely passive adversary.

DNS privacy is always an imperfect security mechanism because
the DNS query will often at in the provider request to the
authoritative servers leak the user's "subnet" in the clear,
typically in the form of the containing /20 CIDR block to aid
load-balacing CDNs.  Then after the response is received, the
client will send IP datagrams that further narrow the set of
potential domains.  Then in visiting a website there'll be
unencrypted SNI, or predictable patter of response sizes and
consequent retrieval of CSS/javascript/image resources that
fingerprint the request.

Cryptography and 0-RTT are far from the weakest link in the
chain here.  DNSpriv is necessarily imperfect incremental
security, and defeating traffic analysis is exceedingly
difficult.

To the extent that DNSpriv over TLS happens at all, 0-RTT
will be used for DNS, and will be used statelessly (allowing
replays).  If there are sufficiently cheap ways to improve
security (e.g. random RRset rotation) without sacrifing
performance, increasing latency or adding complexity, then
by all means promote their adoption.

--=20
	Viktor.


From nobody Tue May 23 10:52:01 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BFCA5129C5C for <tls@ietfa.amsl.com>; Tue, 23 May 2017 10:51:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.9
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 pdhen3xZugGw for <tls@ietfa.amsl.com>; Tue, 23 May 2017 10:51:58 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 85CB7129C59 for <tls@ietf.org>; Tue, 23 May 2017 10:51:58 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTP id 087B420051C23; Tue, 23 May 2017 10:51:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=XAcQKrAS10Hy8z eeT60q2TFosgA=; b=tS98rKszLEhvBb8cUjYJVfHhsCNNmBHM2CT0lc0B9FQR4u msRgvlI0PW5f8+mFAVcycFOFGC08Wmoa39W2ZQ6yTRQ4gkedUWKSa/eh3P6LJqAz kaNgp9FSrHAGIvYHy+DA7/nTmPtOpsc434OlCSibGbMAf5yYAcHKWcuVz9Ezw=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTPSA id 8F4E520051C22; Tue, 23 May 2017 10:51:57 -0700 (PDT)
Date: Tue, 23 May 2017 12:51:55 -0500
From: Nico Williams <nico@cryptonector.com>
To: Dave Garrett <davemgarrett@gmail.com>
Cc: tls@ietf.org, Viktor Dukhovni <ietf-dane@dukhovni.org>, Eric Rescorla <ekr@rtfm.com>
Message-ID: <20170523175154.GT10188@localhost>
References: <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <CABcZeBMMfp4DUcNCFUYCCP6B+UQn85bq2LSoumJdywy=0GOq4Q@mail.gmail.com> <E3BB180E-EC66-4F92-868B-E04F9E63CDF6@dukhovni.org> <201705222019.46521.davemgarrett@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201705222019.46521.davemgarrett@gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/wcvL4AF_eHv1QHuzpLjUYHyX_t8>
Subject: Re: [TLS] Better weak hash language (was Re: AD Review of draft-ietf-tls-tls13)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 17:52:00 -0000

On Mon, May 22, 2017 at 08:19:46PM -0400, Dave Garrett wrote:
> On Monday, May 22, 2017 05:31:55 pm Viktor Dukhovni wrote:
> > So if putting the consensus to ban MD5/SHA-1 in its *proper context*
> > is consistent with the WG consensus, let's do that.
> 
> Yes, please.

+1

> On Monday, May 22, 2017 05:00:20 pm Nico Williams wrote:
> > Well, I want it to be crystal clear that the "not MD5 and such"
> > requirement need not apply to opportunistic TLS usage.  If you don't
> > like my text, maybe you can propose your own.
> 
> My issue with this area is [...]
>                                            [...]. To do this in a
> non-messy way, we'd have to delete the SHA-1 special-casing and state
> that TLS 1.3+ implementations can only use deprecated hashes
> (MD5/SHA1/SHA224/etc) if explicitly doing opportunistic encryption or some
> scenario where trust can be established without validating them. Again,

Works for me!

> the trust anchor gets an exception here due to it being trusted directly
> without need for validation, and they can get away with just a "NOT
> RECOMMENDED". If we can agree to this, then the resulting text will end up
> being far less problematic. If we can't get a consensus for this, I seriously
> propose citing RFC 6919 s3.

Yes, trust anchors are and should always be excepted (and need not be in
the form of certificates anyways).

Nico
-- 


From nobody Tue May 23 11:07:16 2017
Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87469129C5D for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:07:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.3
X-Spam-Level: 
X-Spam-Status: No, score=-4.3 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 QuDFn0onBceq for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:07:14 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 26FCB129C56 for <tls@ietf.org>; Tue, 23 May 2017 11:07:14 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTP id A3D7C20051C25; Tue, 23 May 2017 11:07:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=elFBisDrwNt9kq V76SbMQhsa/20=; b=keF/j76LPN8+5kgeL6yQRAClM/QOfXrn+7wybUEoUaTW+t l5+9yVyIZtBNYKXGke2bzrGRFcH8fPwLdrRBEJ9D5clBJdveIb+mS0+TeanXZhAl upUMcYdmCdWN9cyn9Wgt0YOSPUSWvJZQ+HboB/04AVw/RjaVE0UEVppbHz+wo=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTPSA id 58FBA20051C24; Tue, 23 May 2017 11:07:13 -0700 (PDT)
Date: Tue, 23 May 2017 13:07:11 -0500
From: Nico Williams <nico@cryptonector.com>
To: Dave Garrett <davemgarrett@gmail.com>
Cc: tls@ietf.org
Message-ID: <20170523180710.GU10188@localhost>
References: <f262447d-5bd1-68c8-dac6-ad2224733235@akamai.com> <201705222019.46521.davemgarrett@gmail.com> <F589FF5F-3F77-4125-B8F0-B9701925B9EF@dukhovni.org> <201705222057.30588.davemgarrett@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201705222057.30588.davemgarrett@gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/rSXjoR0778w2OylqtQkYmty9tIw>
Subject: [TLS] Standard security levels (was Re: Better weak hash language (was Re: AD Review of draft-ietf-tls-tls13))
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 18:07:15 -0000

On Mon, May 22, 2017 at 08:57:30PM -0400, Dave Garrett wrote:
> On Monday, May 22, 2017 08:29:13 pm Viktor Dukhovni wrote:
> > Setting a collision-resistance floor rather than naming some list
> > of algorithms makes more sense to me, but if the WG really feels
> > that naming some "verbotten" algorithms is better, so be it.
> 
> My preference would be to do both. Call out the ones we have
> codepoints for by name (MD5/SHA1/SHA224), then have a general
> collision-resistance floor value for everything else.

Sure.

In general I prefer setting floors, as Viktor says.  That's because
listing all forbidden algorithms is easy to flub up, and because it's
much easier from an API point of view to specify security levels than to
go listing things that are allowed/forbidden.

I think we should have standard algorithm security profile names that
can be used in multiple protocols.  E.g.,

 - weak         (obsolete weak algorithms allowed)
 - interim      (certain obsolete weak algorithms allowed during migrations)
 - default      (default security floors, no obsolete weak algorithms allowed)
 - stronger     (like standard but with higher security floors)

 - <URN?>       (local/custom security level, perhaps specified
                 additively from standard security levels)

The meaning of each of these would be updated over time by updating the
RFCs for the relevant protocols.  Thus configurations would not have to
change.

Specifying such a security level to TLS would have it apply that level
to its ciphersuite, PRF, key agreement, PSK, and signature algorithms,
and pass it to PKIX when using PKIX.

Specifying such a security level to PKIX would have it apply that level
to certificate public key and certificate signature algorithms, as well
as to path construction and validation.

Specifying such a security level to Kerberos, SSHv2, ... would ...
And so on.

This would make security level configuration much easier in the common
case.  And would avoid periodically having to update configurations to
adjust for recent cryptanalysis advances: just update the meanings of
these standard security levels and update software.

Nico
-- 


From nobody Tue May 23 11:07:49 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7ED0F129C70 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:07:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 DJtuKYS1SpdU for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:07:46 -0700 (PDT)
Received: from mail-yb0-x233.google.com (mail-yb0-x233.google.com [IPv6:2607:f8b0:4002:c09::233]) (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 EB43E129C6F for <tls@ietf.org>; Tue, 23 May 2017 11:07:45 -0700 (PDT)
Received: by mail-yb0-x233.google.com with SMTP id p143so39908378yba.2 for <tls@ietf.org>; Tue, 23 May 2017 11:07:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=EAgjVa5yoq+K0qPOFyGd3/Lv5g/7d1wX7nsgCFu90yE=; b=VmiA5m8KyC5pVcVNVlcjCfQSZkTiYTtPLl+RKJgOx6eCpf2g4fvS9iUqVH+vJmJGqO txmDeeFtQKhtejMVvG6e0V8Ezknl065PvMkcdhBH6AowsJ05wrowrWKiLSV9zO+fEtj5 kFmBLXkXkRRCXGbk9j5aJrltHDSYF28oh/XgxaJGpLBq1p3YOiog3KBPqg9nDLnoXwdg LnDeL9ikLD27xDSYgnuv2tvrKhR2PFsE/JOSiSmwm29nAzI7LBpZ1Ck5MilJyF/5H4WV dgB61+11oUbW5rD2GGWvRNsa5KivCCn+MV89rJz2fYEsCyEcHXLiomGW0FlgmSIO7mQi XuaA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=EAgjVa5yoq+K0qPOFyGd3/Lv5g/7d1wX7nsgCFu90yE=; b=I3B7gxzj4c9N8ohRwQEuYKrjE77dO2xs6eeZu/ANir3BZP4krCRUl/5yhSpzVRyeel CvCe89gylcYikk0qaZcxgMMj7PyAJWcomaSCsJ5t9Lze0+bibNGTCDdswI/H5Y+ICXGq 7kq1LaQ8B8wCwuSfCdl8XNfnkTuEvT9W//FaeYO1ltOGna02a9OOXAys2WLq4ZiddTiF 54+yXjQPFt1a69KEeNxSWmcUeaUWQ2s2SqQwUGciPUBK7FpbR1ruITzTl8IqcLC8JQzt QsYlIy2qOB3QFWGU/SW/gEDdxSuPmbDtc8NDcyS3+GVTJ32bFA6ZshsIMbRbXOB96/iE mhGw==
X-Gm-Message-State: AODbwcD1/kTF0kCSKYM4zYK5BrlTynR/5RLe5D8sip0qc2ZHbFh/+vve 7OASRKVKfBJNATdu7qx75+iRGabWlzbG3zc=
X-Received: by 10.37.180.18 with SMTP id n18mr23321166ybj.116.1495562864717; Tue, 23 May 2017 11:07:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.93.70 with HTTP; Tue, 23 May 2017 11:07:43 -0700 (PDT)
In-Reply-To: <86A85A1E-A0A2-4692-ADB1-D5126E421B70@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com> <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com> <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com> <f8f8db4a-7d4e-590b-25c2-b1cbac6b5313@huitema.net> <CAAF6GDcarzUXiEAxBm9RaLQT5A3B=2TPkngEavEY=wQMHU=9Gw@mail.gmail.com> <1c188f36-c197-20f7-48e4-5d75ac4a2211@akamai.com> <CAAF6GDfCRD3nQmr0JB75CxLkqjmDiWn9co0DXCJHwS3TK625WA@mail.gmail.com> <55096b5d-dc74-fae4-57e3-83d4355d6050@huitema.net> <86A85A1E-A0A2-4692-ADB1-D5126E421B70@dukhovni.org>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 23 May 2017 11:07:43 -0700
Message-ID: <CAAF6GDeum-XLt+f3_q9CRabC7Ro_0quu90jWVhaWeYbJntfzZA@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary="f403045e6aa24ae4ef055034dda4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/eSLj2xrExcP2iwU-B-l9QHT0BOs>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 18:07:47 -0000

--f403045e6aa24ae4ef055034dda4
Content-Type: text/plain; charset="UTF-8"

On Tue, May 23, 2017 at 10:50 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> The fix is to amend DNSpriv to require stateless (random rather
> than say round-robit) RRset rotation.  With random rotation, the
> next RRset order is independent of previous queries.
>

That's a good fix for that specific local problem. But next, consider a
different one; what if a DNS provider has q-tuple rate-limiting for DOS
attacks? That's not an unusual measure for large providers - even bind9 has
support for it. Well with stateless 0RTT I can replay the clients query
over and over until the rate-limiting trips; now I have a DOS attack *and*
a privacy-defeating attack; because the rate limit exposes what the query
was for.


> Secondly, even with the 0-RTT leak, while privacy against an active
> attacker might not be assured for all users, there is fact privacy
> for most users, especially against a purely passive adversary.
>

My reference here isn't really meant as a criticism of DNSPriv - we should
make DNS private and secure, that's awesome, and it's a small attack in the
overall context of DNS. It's meant like Christian said; it is really really
hard to make an application protocol idempotent and side-effect free and
very smart people are often wrong about assuming that they are. I see
at-most-once 0-RTT mitigation as essential to avoiding a lot of real world
security issues here, because of that difficulty.


> To the extent that DNSpriv over TLS happens at all, 0-RTT
> will be used for DNS, and will be used statelessly (allowing
> replays).


That's not good for users, and seems like another very strong reason to
make it clear in the TLS draft that that it is not secure. FWIW; DNSCurve
includes nonces to avoid attacks like this:
https://dnscurve.org/replays.html (which means keeping state).

Stateless mechanisms simply aren't secure. We wish they were; because it is
so attractive operationally - just as it would be nice if my MD5
accelerators were still useful. But they don't hold up. We've even seen
this before with DTLS; where replay tolerance opened up the window to
several cryptographic attacks. It's an all-round bad idea.

I've seen a number of arguments here that essentially boil down to "We'd
like to keep it anyway, because it is so operationally convenient". Is that
really how this process works? Don't demonstrable real-world attacks
deserve deference?

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 23, 2017 at 10:50 AM, Viktor Dukhovni <span dir=3D"ltr">&lt=
;<a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukh=
ovni.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;=
border-left-color:rgb(204,204,204);padding-left:1ex">The fix is to amend DN=
Spriv to require stateless (random rather<br>
than say round-robit) RRset rotation.=C2=A0 With random rotation, the<br>
next RRset order is independent of previous queries.<br></blockquote><div><=
br></div><div>That&#39;s a good fix for that specific local problem. But ne=
xt, consider a different one; what if a DNS provider has q-tuple rate-limit=
ing for DOS attacks? That&#39;s not an unusual measure for large providers =
- even bind9 has support for it. Well with stateless 0RTT I can replay the =
clients query over and over until the rate-limiting trips; now I have a DOS=
 attack *and* a privacy-defeating attack; because the rate limit exposes wh=
at the query was for.=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-lef=
t-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
Secondly, even with the 0-RTT leak, while privacy against an active<br>
attacker might not be assured for all users, there is fact privacy<br>
for most users, especially against a purely passive adversary.<br></blockqu=
ote><div><br></div><div>My reference here isn&#39;t really meant as a criti=
cism of DNSPriv - we should make DNS private and secure, that&#39;s awesome=
, and it&#39;s a small attack in the overall context of DNS. It&#39;s meant=
 like Christian said; it is really really hard to make an application proto=
col idempotent and side-effect free and very smart people are often wrong a=
bout assuming that they are. I see at-most-once 0-RTT mitigation as essenti=
al to avoiding a lot of real world security issues here, because of that di=
fficulty.=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:soli=
d;border-left-color:rgb(204,204,204);padding-left:1ex">To the extent that D=
NSpriv over TLS happens at all, 0-RTT<br>
will be used for DNS, and will be used statelessly (allowing<br>
replays).=C2=A0 </blockquote><div><br></div><div>That&#39;s not good for us=
ers, and seems like another very strong reason to make it clear in the TLS =
draft that that it is not secure. FWIW; DNSCurve includes nonces to avoid a=
ttacks like this:=C2=A0<a href=3D"https://dnscurve.org/replays.html">https:=
//dnscurve.org/replays.html</a> (which means keeping state).=C2=A0</div><di=
v>=C2=A0</div><div>Stateless mechanisms simply aren&#39;t secure. We wish t=
hey were; because it is so attractive operationally - just as it would be n=
ice if my MD5 accelerators were still useful. But they don&#39;t hold up. W=
e&#39;ve even seen this before with DTLS; where replay tolerance opened up =
the window to several cryptographic attacks. It&#39;s an all-round bad idea=
.=C2=A0</div><div><br></div><div>I&#39;ve seen a number of arguments here t=
hat essentially boil down to &quot;We&#39;d like to keep it anyway, because=
 it is so operationally convenient&quot;. Is that really how this process w=
orks? Don&#39;t demonstrable real-world attacks deserve deference?</div></d=
iv><div><br></div>-- <br><div class=3D"gmail_signature">Colm</div>
</div></div>

--f403045e6aa24ae4ef055034dda4--


From nobody Tue May 23 11:17:57 2017
Return-Path: <markulf@microsoft.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5557E12E03B for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:17:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.391
X-Spam-Level: 
X-Spam-Status: No, score=-3.391 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 xPcw_0S_oQ7d for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:17:48 -0700 (PDT)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0126.outbound.protection.outlook.com [104.47.2.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CE8A112DDD2 for <tls@ietf.org>; Tue, 23 May 2017 11:17:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=LYHL/T+8M5XPwbrlsG4q8peQwd3ctwVyM54MAus1UEQ=; b=e0fh0voOUWRGzoin3VrEBmIgPf2oDTdkQ8yNuULDi4BxBxRA03gX4YGkeiJwTf5J98F9Ui4SByOCFIb0RsTZGbaQU2j0/RITV+0uqzYw/XhiaHBF+zoNXIkmTT+tQHjHtWxLCQrMFhiq4IELsZPIO45hHUBvYeKsz62S/7N9Vdg=
Received: from DB6PR8303MB0069.EURPRD83.prod.outlook.com (129.75.139.20) by DB5PR83MB0038.EURPRD83.prod.outlook.com (129.75.21.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.0; Tue, 23 May 2017 18:17:42 +0000
Received: from DB6PR8303MB0069.EURPRD83.prod.outlook.com ([fe80::ac56:1e73:9b19:5ba6]) by DB6PR8303MB0069.EURPRD83.prod.outlook.com ([fe80::ac56:1e73:9b19:5ba6%18]) with mapi id 15.01.1143.000; Tue, 23 May 2017 18:17:41 +0000
From: Markulf Kohlweiss <markulf@microsoft.com>
To: Benjamin Kaduk <bkaduk@akamai.com>, "tls@ietf.org" <tls@ietf.org>
CC: Samin Ishtiaq <Samin.Ishtiaq@microsoft.com>, Antoine Delignat-Lavaud <antdl@microsoft.com>, Britta Hale <britta.hale@item.ntnu.no>
Thread-Topic: [TLS] Comments on EndOfEarlyData
Thread-Index: AdLTtEU8p75Loa4ER0+xBa7xoDxY0QANphQAAAFEp8A=
Date: Tue, 23 May 2017 18:17:40 +0000
Message-ID: <DB6PR8303MB00697808B11F2DB538106038ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com>
References: <DB6PR8303MB0069F9DF083276C426975D80ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com> <9a52562a-d4cd-3344-de4e-8c798887f451@akamai.com>
In-Reply-To: <9a52562a-d4cd-3344-de4e-8c798887f451@akamai.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: akamai.com; dkim=none (message not signed) header.d=none;akamai.com; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [2a01:110:8012:1010::35d]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DB5PR83MB0038; 7:JxKwrYAecOI1ktXeS3P4MiEVSTrMF4AMglsJdI6w7OA5SBop42nCTiiaH30SSkrptgiBukI3fmi3Yzzm4gxAiBU//w/90umBk0HyvesP/vshhwLe5MfVnVGSuCnpz9Py27oRfvme7l+Vl84LbUjieEmrmd0HycvFBGAHYdCM8NvlJM7hpMlOoGyFiNfaolQXfpStcNzXd4O764/dXzZfg0BOXRGnxqVws17DWatEb8gQTnEIeKFizPt4Hq/gC+rrJCf1tqq3TzKyJKxbmcEJvrhT1yA4CpzJFEsRHo9URYaRDDgMog0ArEHfzhBFFWhitLeXL+pJYkuXpN5k39viCC+/4E9oAT5eNiuYS3RNmLo=
x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10019020)(6029001)(6009001)(39450400003)(39840400002)(39850400002)(39860400002)(39400400002)(39410400002)(24454002)(377454003)(6436002)(6506006)(7736002)(2900100001)(229853002)(86362001)(7696004)(86612001)(2906002)(3660700001)(478600001)(10290500003)(25786009)(53546009)(3280700002)(33656002)(189998001)(2501003)(2950100002)(4326008)(5250100002)(6116002)(790700001)(10090500001)(53936002)(38730400002)(5660300001)(74316002)(54906002)(9686003)(76176999)(54356999)(6246003)(99286003)(55016002)(81166006)(5005710100001)(8936002)(8676002)(6306002)(54896002)(50986999); DIR:OUT; SFP:1102; SCL:1; SRVR:DB5PR83MB0038; H:DB6PR8303MB0069.EURPRD83.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
x-ms-traffictypediagnostic: DB5PR83MB0038:
x-ms-office365-filtering-correlation-id: a41a29e7-2d81-4a51-a122-08d4a208002b
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081)(201702281549075); SRVR:DB5PR83MB0038; 
x-microsoft-antispam-prvs: <DB5PR83MB0038AB2B7B8994B10C2E62CEABF90@DB5PR83MB0038.EURPRD83.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(278428928389397)(192374486261705)(21748063052155); 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700043)(100105000095)(100000701043)(100105300095)(100000702043)(100105100095)(61425038)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(100000703043)(100105400095)(10201501046)(93006095)(93001095)(6055026)(61426038)(61427038)(6041248)(20161123558100)(20161123564025)(20161123560025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704043)(100105200095)(100000705043)(100105500095); SRVR:DB5PR83MB0038; BCL:0; PCL:0; RULEID:(100000800043)(100110000095)(100000801043)(100110300095)(100000802043)(100110100095)(100000803043)(100110400095)(100000804043)(100110200095)(100000805039)(100110500095); SRVR:DB5PR83MB0038; 
x-forefront-prvs: 0316567485
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DB6PR8303MB00697808B11F2DB538106038ABF90DB6PR8303MB0069_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2017 18:17:40.9723 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR83MB0038
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/rPO0aUqOBJ22nVGo-YqDAAVwHn8>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 18:17:51 -0000

--_000_DB6PR8303MB00697808B11F2DB538106038ABF90DB6PR8303MB0069_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

R2l2ZW4gdGhhdCAwLVJUVCBhbmQgMS1SVFQgZ3VhcmFudGVlcyBhcmUgdmVyeSBkaWZmZXJlbnQs
IGl0IHNlZW0gaW1wb3J0YW50IHRvIGRpc3Rpbmd1aXNoIHRoZSB0d28gc3RyZWFtcyBhbmQgbW9k
ZWwgdGhlbSBzZXBhcmF0ZWx5Lg0KDQpPZiBjb3Vyc2UgdGhhdCBkb2VzIG5vdCBwcmV2ZW50IGFw
cGxpY2F0aW9ucyB0aGF0IHdhbnQgdG8gdHJlYXQg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
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A537312E042 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:27:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 Y8LGxQmcrHzI for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:27:47 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D3AAE12E03E for <tls@ietf.org>; Tue, 23 May 2017 11:27:46 -0700 (PDT)
Received: from vpro.lan (cpe-74-71-8-253.nyc.res.rr.com [74.71.8.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 2ED647A32F1 for <tls@ietf.org>; Tue, 23 May 2017 18:27:46 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAAF6GDeum-XLt+f3_q9CRabC7Ro_0quu90jWVhaWeYbJntfzZA@mail.gmail.com>
Date: Tue, 23 May 2017 14:27:45 -0400
Content-Transfer-Encoding: quoted-printable
Reply-To: TLS WG <tls@ietf.org>
Message-Id: <9112D389-2D1B-4966-90A1-0DD4756EFF31@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com> <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com> <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com> <f8f8db4a-7d4e-590b-25c2-b1cbac6b5313@huitema.net> <CAAF6GDcarzUXiEAxBm9RaLQT5A3B=2TPkngEavEY=wQMHU=9Gw@mail.gmail.com> <1c188f36-c197-20f7-48e4-5d75ac4a2211@akamai.com> <CAAF6GDfCRD3nQmr0JB75CxLkqjmDiWn9co0DXCJHwS3TK625WA@mail.gmail.com> <55096b5d-dc74-fae4-57e3-83d4355d6050@huitema.net> <86A85A1E-A0A2-4692-ADB1-D5126E421B70@dukhovni.org> <CAAF6GDeum-XLt+f3_q9CRabC7Ro_0quu90jWVhaWeYbJntfzZA@mail.gmail.com>
To: TLS WG <tls@ietf.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/VDhMj1-SBDEiin4omCYqli6L3XA>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 18:27:49 -0000

> On May 23, 2017, at 2:07 PM, Colm MacC=C3=A1rthaigh =
<colm@allcosts.net> wrote:
>=20
> That's not good for users, and seems like another very strong reason =
to make it clear in the TLS draft that that it is not secure. FWIW; =
DNSCurve includes nonces to avoid attacks like this: =
https://dnscurve.org/replays.html (which means keeping state).

Actually, nonces in DNScurve protect clients from replayed server =
responses (clients
are stateful).  I see no explicit guidance to detect or refuse replays =
of client
queries in DNScurve.  While servers could keep a nonce cache, in =
practice there
are multiple servers and they don't share state (no "strike registers").

The replays discussed in the URL you provide are replays of stale, but =
still
within signature validity DNSSEC server responses.  Not replays of =
requests.

--=20
	Viktor.


From nobody Tue May 23 11:36:50 2017
Return-Path: <davidben@google.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9DF0112E04F for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:36:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=chromium.org
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 oO6QW-ZNW6Xc for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:36:45 -0700 (PDT)
Received: from mail-pf0-x22b.google.com (mail-pf0-x22b.google.com [IPv6:2607:f8b0:400e:c00::22b]) (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 C51A112E049 for <tls@ietf.org>; Tue, 23 May 2017 11:36:45 -0700 (PDT)
Received: by mail-pf0-x22b.google.com with SMTP id 9so122555564pfj.1 for <tls@ietf.org>; Tue, 23 May 2017 11:36:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/iClSoiWg+TCXPNhPsJbOAA7A2cXHaNghv+vIWl+sXU=; b=hsFyvupQwFiwxr1Kynb2kqA9wARueAs+Y8PIFmeulq9y3NzVDX64aW1G7h3tgRoqvx Ck1HGlLZdC5eurlgxNtQL0qfMtGYeeN0jh3gPQ27r6H6fcIrlt0/J6ejDZ6cApfKAFhP O7Bag71eD7FztEXSnuNMTmJiGBxamKoNE6NJY=
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=/iClSoiWg+TCXPNhPsJbOAA7A2cXHaNghv+vIWl+sXU=; b=SAbo8nhOOwuJHq9Wu0Uei2PmxrtHB9kzaLOLCbrh2F5ctNTZw7YYmr3+fFs64lU2pC LR3qqOrRs/kawq45E/+rZqG1JaL6f02Damv/7PVq/pB6km43gCRIJs/w2ZMcZzjbTjVd hp4TNCFw0Ji/uzGyS6iXGLXyiLERT/L1l+Ak3z/xYJemN6P0hmeqxB47ZpC5xERCAI3B KXRFKgE1uq0kDRR0Xh/XS8N6q6u/sqGmZdGRWrABroM2XrE6AId+InvCJeBzueRWJdp3 zfTWW2LyvTglX2ACMD8BnWR2XCwg++dClbveXSGyw7enYXs/jnhCPANNAuSTuSmjcNlM 7Zjw==
X-Gm-Message-State: AODbwcCo3IkXY6EelpdCwEkLe3ya8ew+nqpDgCcUXIGvdqTT+JrozVO1 XYH2gWXGbLycjN/H+heRpPdqBhZDyIrHWd0=
X-Received: by 10.99.125.2 with SMTP id y2mr9541491pgc.10.1495564605286; Tue, 23 May 2017 11:36:45 -0700 (PDT)
MIME-Version: 1.0
References: <DB6PR8303MB0069F9DF083276C426975D80ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com> <9a52562a-d4cd-3344-de4e-8c798887f451@akamai.com>
In-Reply-To: <9a52562a-d4cd-3344-de4e-8c798887f451@akamai.com>
From: David Benjamin <davidben@chromium.org>
Date: Tue, 23 May 2017 18:36:33 +0000
Message-ID: <CAF8qwaAwHxY-6Dtrsh5ZPwbDOGzDPS=dP_k3e+T=yMGBOsPEXQ@mail.gmail.com>
To: Benjamin Kaduk <bkaduk@akamai.com>, Markulf Kohlweiss <markulf@microsoft.com>, "tls@ietf.org" <tls@ietf.org>
Cc: Antoine Delignat-Lavaud <antdl@microsoft.com>, Samin Ishtiaq <Samin.Ishtiaq@microsoft.com>,  Britta Hale <britta.hale@item.ntnu.no>
Content-Type: multipart/alternative; boundary="f403045db81009fd5805503545e7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/fRH-7rSQg6PGbVy_c4FFuBuF0pE>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 18:36:48 -0000

--f403045db81009fd5805503545e7
Content-Type: text/plain; charset="UTF-8"

On Tue, May 23, 2017 at 1:34 PM Benjamin Kaduk <bkaduk@akamai.com> wrote:

> My initial thoughts...
>
>
> On 05/23/2017 06:50 AM, Markulf Kohlweiss wrote:
>
> I am paraphrasing a long thread on the issue that we had within
> the miTLS development team, and I am primarily commenting on the
> analysis aspects. I also hope that it will clarify any remaining
> problems of understanding that I have on the issue.
>
> If we see EOED as a stream termination signal, then there seems
> to be a difference in performance for conservative servers that
> want to wait until receiving all 0RTT data before responding to
> the client's request in 0.5RTT communication.
>
> Said otherwise, we want servers to be able to respond with application
> data based on application data from the client and know that that
> that data was not truncated.
>
>
> Thanks, the keyword of "truncated" caused me to understand the intended
> point.
>
> I think this question ends up tying into the more philosophical one of
> whether early data and 1-rtt data are considered "separate streams" or not
> -- if they are separate streams with distinct end/start, then of course one
> wants to detect possible truncation as it happens.  But, if they are
> conceptually the same stream and the boundary between them is "just" a
> bookkeeping operation of key change, then there is no need to be concerned
> about detecting truncation; the application just continues reading in data
> and replying when complete application protocol requests are received.
>

Truncation detection is meaningful in both cases. We rely on KeyUpdate
being protected and tied to the immediately preceding record (by way of
sequence number). Otherwise an attacker could toss out chunks in the middle
of the stream immediately before a KeyUpdate.

David

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

<div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, May 23=
, 2017 at 1:34 PM Benjamin Kaduk &lt;<a href=3D"mailto:bkaduk@akamai.com" t=
arget=3D"_blank">bkaduk@akamai.com</a>&gt; wrote:<br></div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
 =20
   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF">
    My initial thoughts...</div><div text=3D"#000000" bgcolor=3D"#FFFFFF"><=
br>
    <br>
    On 05/23/2017 06:50 AM, Markulf Kohlweiss wrote:<br>
    <blockquote type=3D"cite">
      <pre>I am paraphrasing a long thread on the issue that we had within
the miTLS development team, and I am primarily commenting on the
analysis aspects. I also hope that it will clarify any remaining
problems of understanding that I have on the issue.

If we see EOED as a stream termination signal, then there seems
to be a difference in performance for conservative servers that
want to wait until receiving all 0RTT data before responding to
the client&#39;s request in 0.5RTT communication.

Said otherwise, we want servers to be able to respond with application=20
data based on application data from the client and know that that=20
that data was not truncated.
</pre>
    </blockquote>
    <br></div><div text=3D"#000000" bgcolor=3D"#FFFFFF">
    Thanks, the keyword of &quot;truncated&quot; caused me to understand th=
e
    intended point.<br>
    <br>
    I think this question ends up tying into the more philosophical one
    of whether early data and 1-rtt data are considered &quot;separate
    streams&quot; or not -- if they are separate streams with distinct
    end/start, then of course one wants to detect possible truncation as
    it happens.=C2=A0 But, if they are conceptually the same stream and the
    boundary between them is &quot;just&quot; a bookkeeping operation of ke=
y
    change, then there is no need to be concerned about detecting
    truncation; the application just continues reading in data and
    replying when complete application protocol requests are received.<br><=
/div></blockquote><div><br></div></div><div dir=3D"ltr"><div class=3D"gmail=
_quote"><div>Truncation detection is meaningful in both cases. We rely on K=
eyUpdate being protected and tied to the immediately preceding record (by w=
ay of sequence number). Otherwise an attacker could toss out chunks in the =
middle of the stream immediately before a KeyUpdate.</div></div></div><div =
dir=3D"ltr"><div class=3D"gmail_quote"><div><br></div><div>David</div></div=
></div></div>

--f403045db81009fd5805503545e7--


From nobody Tue May 23 11:38:52 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2C70612DDD2 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:38:51 -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=allcosts-net.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 liOHTw3H9Ps0 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:38:49 -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 B9DB012940C for <tls@ietf.org>; Tue, 23 May 2017 11:38:49 -0700 (PDT)
Received: by mail-yw0-x22e.google.com with SMTP id b68so78857930ywe.3 for <tls@ietf.org>; Tue, 23 May 2017 11:38:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=FAMujmr33fmyKkmz/t/zVghynI8/++eCyKUEtal8N+U=; b=ni2V33Za4XAoSThljlZmfy7G8xQbWG/97PTdhhgwpos+nYHOvTvUetv9s+S1YuRC9h x9Ow3gxHhKPP/Y7DwM+yzUgvKVSAODs/zJ0au+zZGpQnca7MR5kRjyEKWSelnkHTDWFZ NONYgLbSHyoLgyGJyLLpzYU8Voe8ElofEyDrvDF6SUAzynuj0Sc8XWV/NfVlqvrP4+Kl C9f74V1po4EFA7lDlxp83ZwwX7k5wSMAhG1JmzEsBQZUjaQ4ZwLx5obOy6+/g74bsh7X /5IO29wWzr3MlH4b+XvFilFtJNFfp43XJ0el8JS/WoR7Tdimu5LGqVk80LlZhCkeEUlP VC/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=FAMujmr33fmyKkmz/t/zVghynI8/++eCyKUEtal8N+U=; b=q1CSf6XMWGuSiV3pL/90BgE8S7jZeN2HtJ8sORabsdJ2nc/zy5bgquJFBxKNTOOxul PpTZ2dy/kq2aWUtQRehzl9Usy3shgGj8elfFQwuSruQs5XjyqufX1lShm2txi/+52psH lwl2wr/QiKEtfcJicnCqwmRHQR5XWUTMW/dVnqF3eCgAnF0lxJAJVHXtO5ezBSpjuaQN kDmUTKmRQ2YNKDzraFpbR9Gxk/XFFZ4zBCly5rOKJXIyieoTzkR/RGEkV2LmR0a4K3hl STuzz7jDNLEnKHG3qHImkdwnOGp4vMb7jjtM3yxTirB4+fkVvbD5UCxLGqwxWghb+iUJ Qmjw==
X-Gm-Message-State: AODbwcAtFD35HZnlo//qYUQGuJo8aXG8ZUfFPFbFy3mHnRuL8f+rnock dR2v6Hj1HQxkwskzY+p6CgUcFLOyD7Y4MyQ=
X-Received: by 10.13.236.206 with SMTP id v197mr24076351ywe.296.1495564728570;  Tue, 23 May 2017 11:38:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.93.70 with HTTP; Tue, 23 May 2017 11:38:47 -0700 (PDT)
In-Reply-To: <9112D389-2D1B-4966-90A1-0DD4756EFF31@dukhovni.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com> <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com> <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com> <f8f8db4a-7d4e-590b-25c2-b1cbac6b5313@huitema.net> <CAAF6GDcarzUXiEAxBm9RaLQT5A3B=2TPkngEavEY=wQMHU=9Gw@mail.gmail.com> <1c188f36-c197-20f7-48e4-5d75ac4a2211@akamai.com> <CAAF6GDfCRD3nQmr0JB75CxLkqjmDiWn9co0DXCJHwS3TK625WA@mail.gmail.com> <55096b5d-dc74-fae4-57e3-83d4355d6050@huitema.net> <86A85A1E-A0A2-4692-ADB1-D5126E421B70@dukhovni.org> <CAAF6GDeum-XLt+f3_q9CRabC7Ro_0quu90jWVhaWeYbJntfzZA@mail.gmail.com> <9112D389-2D1B-4966-90A1-0DD4756EFF31@dukhovni.org>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 23 May 2017 11:38:47 -0700
Message-ID: <CAAF6GDczkYOzDt7PGuA0VkOY67sSaRHwDmHT8+07Fz3OGZTzwA@mail.gmail.com>
To: TLS WG <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0870f262bd8b0550354cff"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/1eWn7MewvBz8nYl626Z0FkQdHDs>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 18:38:51 -0000

--94eb2c0870f262bd8b0550354cff
Content-Type: text/plain; charset="UTF-8"

On Tue, May 23, 2017 at 11:27 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> Actually, nonces in DNScurve protect clients from replayed server
> responses (clients
> are stateful).  I see no explicit guidance to detect or refuse replays of
> client
> queries in DNScurve.  While servers could keep a nonce cache, in practice
> there
> are multiple servers and they don't share state (no "strike registers").
>

My apologies, you're right! I'll make sure to tease djb now. That's still
an insecure design (or at least a privacy defeating design) for the same
reasons as earlier. Though tinydns doesn't do RRL or Cyclic answers, so in
that coupled implementation it may be ok.

At one time we didn't think the kinds of side-channels present in TLS were
a big deal; the "it is not believed to be large enough to be exploitable" note
in section 6.2.3.2 of RFC5246 comes to mind. Here we risk repeating history.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 23, 2017 at 11:27 AM, Viktor Dukhovni <span dir=3D"ltr">&lt=
;<a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukh=
ovni.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;=
border-left-color:rgb(204,204,204);padding-left:1ex">Actually, nonces in DN=
Scurve protect clients from replayed server responses (clients<br>
are stateful).=C2=A0 I see no explicit guidance to detect or refuse replays=
 of client<br>
queries in DNScurve.=C2=A0 While servers could keep a nonce cache, in pract=
ice there<br>
are multiple servers and they don&#39;t share state (no &quot;strike regist=
ers&quot;).<br></blockquote><div><br></div><div>My apologies, you&#39;re ri=
ght! I&#39;ll make sure to tease djb now. That&#39;s still an insecure desi=
gn (or at least a privacy defeating design) for the same reasons as earlier=
. Though tinydns doesn&#39;t do RRL or Cyclic answers, so in that coupled i=
mplementation it may be ok.=C2=A0</div><div><br></div><div>At one time we d=
idn&#39;t think the kinds of side-channels present in TLS were a big deal; =
the &quot;<span style=3D"color:rgb(0,0,0);font-size:13.333333015441895px">i=
t is not believed to be large enough to be exploitable&quot;=C2=A0</span>no=
te in section 6.2.3.2 of RFC5246 comes to mind. Here we risk repeating hist=
ory.</div></div><div><br></div>-- <br><div class=3D"gmail_signature">Colm</=
div>
</div></div>

--94eb2c0870f262bd8b0550354cff--


From nobody Tue May 23 11:44:59 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 233B612E043 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:44:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 TPpa-HKiyfiY for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:44:56 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B3B9112D574 for <tls@ietf.org>; Tue, 23 May 2017 11:44:56 -0700 (PDT)
Received: from pps.filterd (m0050093.ppops.net [127.0.0.1]) by m0050093.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4NIarpK021790; Tue, 23 May 2017 19:44:54 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=s+OiJ5nKszslK2NA87sFOp/FI9uJKD7ko8bInbTkS/4=; b=I6/XZp3OH76BzknjWlgOyC/E6a4d/+5bWoTDcmXmdBrFQmdEhSbbm4gUmkte88XotjWP z4UCDAkk48UC3h3PBKZFVAwwlhovqFw2ilgPEjzdflqyGOmOBuWq0k5qeXHToIwn5cPZ DnP/5L4MkTjkqX8luBufq4atQUMLWcxOT/jeVd5CD7qdHG/nBdOJ1JxT48/nvUT7fTgs fxZNnJFUIld7OTj2VU8zQVFid7Mam/50Nk9VkWISaRZn0MVbtNSVqM1Fe/ibdbl1AS+4 H/pD2bHt5TQQ4CWhVU6H9Z9zZUPoqF7feJLHBZRKJLuKS+3kO4KJAerbLn7s+1tlN7l0 lw== 
Received: from prod-mail-ppoint4 ([96.6.114.87]) by m0050093.ppops.net-00190b01. with ESMTP id 2amf6j48ry-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 May 2017 19:44:54 +0100
Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4NIaDK7031819; Tue, 23 May 2017 14:44:53 -0400
Received: from prod-mail-relay15.akamai.com ([172.27.17.40]) by prod-mail-ppoint4.akamai.com with ESMTP id 2ajh4v65dy-1; Tue, 23 May 2017 14:44:53 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay15.akamai.com (Postfix) with ESMTP id 69CCF20061; Tue, 23 May 2017 12:44:52 -0600 (MDT)
To: David Benjamin <davidben@chromium.org>, Markulf Kohlweiss <markulf@microsoft.com>, "tls@ietf.org" <tls@ietf.org>
Cc: Antoine Delignat-Lavaud <antdl@microsoft.com>, Samin Ishtiaq <Samin.Ishtiaq@microsoft.com>, Britta Hale <britta.hale@item.ntnu.no>
References: <DB6PR8303MB0069F9DF083276C426975D80ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com> <9a52562a-d4cd-3344-de4e-8c798887f451@akamai.com> <CAF8qwaAwHxY-6Dtrsh5ZPwbDOGzDPS=dP_k3e+T=yMGBOsPEXQ@mail.gmail.com>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <dc197b03-fd14-9b7a-4624-52e95dbcec50@akamai.com>
Date: Tue, 23 May 2017 13:44:51 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <CAF8qwaAwHxY-6Dtrsh5ZPwbDOGzDPS=dP_k3e+T=yMGBOsPEXQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------08539753F61B5185E24D6539"
Content-Language: en-US
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_06:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230094
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_06:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230094
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/6-P4ZnhVzgW1DYzdk6kn4WGoaG8>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 18:44:58 -0000

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

On 05/23/2017 01:36 PM, David Benjamin wrote:
> On Tue, May 23, 2017 at 1:34 PM Benjamin Kaduk <bkaduk@akamai.com
> <mailto:bkaduk@akamai.com>> wrote:
>
>
>     I think this question ends up tying into the more philosophical
>     one of whether early data and 1-rtt data are considered "separate
>     streams" or not -- if they are separate streams with distinct
>     end/start, then of course one wants to detect possible truncation
>     as it happens.  But, if they are conceptually the same stream and
>     the boundary between them is "just" a bookkeeping operation of key
>     change, then there is no need to be concerned about detecting
>     truncation; the application just continues reading in data and
>     replying when complete application protocol requests are received.
>
>
> Truncation detection is meaningful in both cases. We rely on KeyUpdate
> being protected and tied to the immediately preceding record (by way
> of sequence number). Otherwise an attacker could toss out chunks in
> the middle of the stream immediately before a KeyUpdate.
>

Right, but that's also provided for all TLS records by the same
mechanism.  The counterproposal here seems to be for the server
application to consider all the 0-RTT data as a coherent chunk and
provide a single reply to the self-contained application message
contained therein.  That is, it would not expect an application message
to span the 0-RTT/1-RTT boundary.

-Ben

--------------08539753F61B5185E24D6539
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">
    On 05/23/2017 01:36 PM, David Benjamin wrote:<br>
    <blockquote type="cite"
cite="mid:CAF8qwaAwHxY-6Dtrsh5ZPwbDOGzDPS=dP_k3e+T=yMGBOsPEXQ@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div class="gmail_quote">
          <div dir="ltr">On Tue, May 23, 2017 at 1:34 PM Benjamin Kaduk
            &lt;<a href="mailto:bkaduk@akamai.com" target="_blank"
              moz-do-not-send="true">bkaduk@akamai.com</a>&gt; wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
            <div text="#000000" bgcolor="#FFFFFF"> I think this question
              ends up tying into the more philosophical one of whether
              early data and 1-rtt data are considered "separate
              streams" or not -- if they are separate streams with
              distinct end/start, then of course one wants to detect
              possible truncation as it happens.Â  But, if they are
              conceptually the same stream and the boundary between them
              is "just" a bookkeeping operation of key change, then
              there is no need to be concerned about detecting
              truncation; the application just continues reading in data
              and replying when complete application protocol requests
              are received.<br>
            </div>
          </blockquote>
          <div><br>
          </div>
        </div>
        <div dir="ltr">
          <div class="gmail_quote">
            <div>Truncation detection is meaningful in both cases. We
              rely on KeyUpdate being protected and tied to the
              immediately preceding record (by way of sequence number).
              Otherwise an attacker could toss out chunks in the middle
              of the stream immediately before a KeyUpdate.</div>
          </div>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    Right, but that's also provided for all TLS records by the same
    mechanism.Â  The counterproposal here seems to be for the server
    application to consider all the 0-RTT data as a coherent chunk and
    provide a single reply to the self-contained application message
    contained therein.Â  That is, it would not expect an application
    message to span the 0-RTT/1-RTT boundary.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------08539753F61B5185E24D6539--


From nobody Tue May 23 11:48:33 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 57491126DEE for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:48:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 QZVtzDiBmxnO for <tls@ietfa.amsl.com>; Tue, 23 May 2017 11:48:30 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5D5B7126B7F for <tls@ietf.org>; Tue, 23 May 2017 11:48:30 -0700 (PDT)
Received: from pps.filterd (m0050095.ppops.net [127.0.0.1]) by m0050095.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4NIlim9011434; Tue, 23 May 2017 19:48:28 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=CaKqDD3JHUzdnVb0Zt2JS6y0p8VN7vzOJVahUrFLz8w=; b=H7Xzko+1ZTt2TIrN8+y/3qGG23zCIUDeoI3eC15LSsi2r2S6kLKIMyJoiGRToVjOujsB HsJnqFG2TtDK7M29aRZw1WZtcbnPw/a6nV47Gdeh19fLlzO0RCRtEUJUZM6na1gHK1Ur V1SVcU54Rel9jHZHFXvEYnaUHkKAgKaZ8SE3ohggYXN60TwCDmy38vffgT17MZtw48Ma 9zwzvktOrWMTOOxIOt37KpHlnCRDqE47/BeL5PPkam28dV9J2Px5R1lugQoukPW9aYxH QaYtfAT32R2dkEajc3x13y2v1hScYZO32GzTwJIMu5yC+3pww0irpRxhipmeKJEgGAD7 3w== 
Received: from prod-mail-ppoint3 ([96.6.114.86]) by m0050095.ppops.net-00190b01. with ESMTP id 2amg7fv30k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 May 2017 19:48:28 +0100
Received: from pps.filterd (prod-mail-ppoint3.akamai.com [127.0.0.1]) by prod-mail-ppoint3.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4NIaQuV016126; Tue, 23 May 2017 14:48:27 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.31]) by prod-mail-ppoint3.akamai.com with ESMTP id 2ajh4ve4d0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 May 2017 14:48:27 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb3.msg.corp.akamai.com (172.27.123.103) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 23 May 2017 14:48:26 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1263.000; Tue, 23 May 2017 14:48:26 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: Markulf Kohlweiss <markulf@microsoft.com>, "Kaduk, Ben" <bkaduk@akamai.com>, "tls@ietf.org" <tls@ietf.org>
CC: Antoine Delignat-Lavaud <antdl@microsoft.com>, Samin Ishtiaq <Samin.Ishtiaq@microsoft.com>, Britta Hale <britta.hale@item.ntnu.no>
Thread-Topic: [TLS] Comments on EndOfEarlyData
Thread-Index: AdLTtEU8p75Loa4ER0+xBa7xoDxY0QAWB9gAAAF/2wAAB1Pg0A==
Date: Tue, 23 May 2017 18:48:25 +0000
Message-ID: <a411d906ec284dd3ac1cc79999a3efc8@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <DB6PR8303MB0069F9DF083276C426975D80ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com> <9a52562a-d4cd-3344-de4e-8c798887f451@akamai.com> <DB6PR8303MB00697808B11F2DB538106038ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com>
In-Reply-To: <DB6PR8303MB00697808B11F2DB538106038ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.40.119]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_06:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230094
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_06:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230095
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/FMcEOGttLKOX5-sHjS4yG2L10mI>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 18:48:31 -0000

PiBHaXZlbiB0aGF0IDAtUlRUIGFuZCAxLVJUVCBndWFyYW50ZWVzIGFyZSB2ZXJ5IGRpZmZlcmVu
dCwgaXQgc2VlbSBpbXBvcnRhbnQgdG8gZGlzdGluZ3Vpc2ggdGhlIHR3byBzdHJlYW1zIGFuZCBt
b2RlbCB0aGVtIHNlcGFyYXRlbHkuDQoNCkNvb2w7IGlzIFNDaGFubmVsIGdvaW5nIHRvIGRvIHRo
YXQ/DQoNCk9wZW5TU0wgZG9lcy4NCg==


From nobody Tue May 23 12:21:57 2017
Return-Path: <adam@nostrum.com>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 0BA2E12EA96; Tue, 23 May 2017 12:21:48 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Adam Roach <adam@nostrum.com>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-tls-ecdhe-psk-aead@ietf.org, Joseph Salowey <joe@salowey.net>,  tls-chairs@ietf.org, joe@salowey.net, tls@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.51.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149556730804.28545.6150805815075208815.idtracker@ietfa.amsl.com>
Date: Tue, 23 May 2017 12:21:48 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ujK6JWs8GUqgm7mh5PLiZN2EHIw>
Subject: [TLS] Adam Roach's No Objection on draft-ietf-tls-ecdhe-psk-aead-04: (with COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 19:21:48 -0000

Adam Roach has entered the following ballot position for
draft-ietf-tls-ecdhe-psk-aead-04: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about IESG DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

I agree with EKR's discuss -- specifying semantics for these ciphersuites
with TLS 1.0 and 1.1 is a material change, and the proposed mechanism (in
which servers are encouraged to infer 1.2 support even in the absence of
explicit indication) is a bit baffling.

Given the scope this document covers, I recommend adding "1.2" to the
title of the document. (e.g.: "ECDHE_PSK with AES-GCM and AES-CCM Cipher
Suites for Transport Layer Security Version 1.2 (TLS 1.2)")



From nobody Tue May 23 12:22:37 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E6AD712EAAA for <tls@ietfa.amsl.com>; Tue, 23 May 2017 12:22:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 INx3n1e4ouhK for <tls@ietfa.amsl.com>; Tue, 23 May 2017 12:22:35 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3D5512EAA6 for <tls@ietf.org>; Tue, 23 May 2017 12:22:34 -0700 (PDT)
Received: from pps.filterd (m0050102.ppops.net [127.0.0.1]) by m0050102.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4NJH6x5021544; Tue, 23 May 2017 20:22:31 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : references : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=JyFXG3CjxU13eewe9MbgYa02bPqpzdrqNoOaGrvfKEc=; b=OoJJ+4SmiNqDxOHvOgZ4YH3xWVOwS9di9FAK4mYyaImePZihcP9dzpIXYD4EpmeP0zj3 gE97reiRzU7+ksgzstPdUPgu5NXUWNpu5dxajlSK18y3R3lfPO8ix32FecIPiFeyDpl8 7NJnOKORqJe1xfUUKvw0IF+QCakV6hSkFIcZ1xzL+bHr5dMgXiEWQuPavuaOHUrWU/M8 hEMmeNUKsoY8tjowoZ00uwtyZMhShN05xUbivVP6sM9w1C4kWeGmp6A3VESbfiwQtzq+ EAIluPW6xKuDdaMB/68Dff3v6vD23bvcvKdPt5rnjqQIGhmGHEbkyUb8vQ1O1b9VCYRH eQ== 
Received: from prod-mail-ppoint2 (a184-51-33-19.deploy.static.akamaitechnologies.com [184.51.33.19] (may be forged)) by m0050102.ppops.net-00190b01. with ESMTP id 2amtyk02pe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 May 2017 20:22:30 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4NJLUcd000442; Tue, 23 May 2017 15:22:30 -0400
Received: from prod-mail-relay10.akamai.com ([172.27.118.251]) by prod-mail-ppoint2.akamai.com with ESMTP id 2ajh4uswb6-1; Tue, 23 May 2017 15:22:30 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id B35EA1FC73; Tue, 23 May 2017 19:22:29 +0000 (GMT)
To: =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>, TLS WG <tls@ietf.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com> <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com> <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com> <f8f8db4a-7d4e-590b-25c2-b1cbac6b5313@huitema.net> <CAAF6GDcarzUXiEAxBm9RaLQT5A3B=2TPkngEavEY=wQMHU=9Gw@mail.gmail.com> <1c188f36-c197-20f7-48e4-5d75ac4a2211@akamai.com> <CAAF6GDfCRD3nQmr0JB75CxLkqjmDiWn9co0DXCJHwS3TK625WA@mail.gmail.com> <55096b5d-dc74-fae4-57e3-83d4355d6050@huitema.net> <86A85A1E-A0A2-4692-ADB1-D5126E421B70@dukhovni.org> <CAAF6GDeum-XLt+f3_q9CRabC7Ro_0quu90jWVhaWeYbJntfzZA@mail.gmail.com>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <af78dc96-cfb6-da62-924a-7f7b9961e062@akamai.com>
Date: Tue, 23 May 2017 14:22:29 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <CAAF6GDeum-XLt+f3_q9CRabC7Ro_0quu90jWVhaWeYbJntfzZA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------AA2573D6DC1541079F27D2DE"
Content-Language: en-US
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_06:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230098
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_06:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230098
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Cy5Kq4M806z7282LzrxvNZMni-Y>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 19:22:36 -0000

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

On 05/23/2017 01:07 PM, Colm MacCÃ¡rthaigh wrote:
>
> I've seen a number of arguments here that essentially boil down to
> "We'd like to keep it anyway, because it is so operationally
> convenient". Is that really how this process works? Don't demonstrable
> real-world attacks deserve deference?

The process is more like "once the participants have gotten used to an
idea, it takes some time to digest countervailing reasoning when
potentially subtle issues are involved".  Without yet taking a position
myself, it seems like at least some folks are coming around to see your
position, and the dialogue should continue.

-Ben

--------------AA2573D6DC1541079F27D2DE
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">
    On 05/23/2017 01:07 PM, Colm MacCÃ¡rthaigh wrote:<br>
    <blockquote type="cite"
cite="mid:CAAF6GDeum-XLt+f3_q9CRabC7Ro_0quu90jWVhaWeYbJntfzZA@mail.gmail.com">
      <div><br>
      </div>
      <div>I've seen a number of arguments here that essentially boil
        down to "We'd like to keep it anyway, because it is so
        operationally convenient". Is that really how this process
        works? Don't demonstrable real-world attacks deserve deference?</div>
    </blockquote>
    <br>
    The process is more like "once the participants have gotten used to
    an idea, it takes some time to digest countervailing reasoning when
    potentially subtle issues are involved".Â  Without yet taking a
    position myself, it seems like at least some folks are coming around
    to see your position, and the dialogue should continue.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------AA2573D6DC1541079F27D2DE--


From nobody Tue May 23 12:33:04 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5965412EAB3 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 12:33:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 btnB4c1_rzRn for <tls@ietfa.amsl.com>; Tue, 23 May 2017 12:33:00 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4FD2612EAC2 for <tls@ietf.org>; Tue, 23 May 2017 12:33:00 -0700 (PDT)
Received: from pps.filterd (m0050102.ppops.net [127.0.0.1]) by m0050102.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4NJRR5F031402; Tue, 23 May 2017 20:32:57 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=rtj4rVv1l2SYBT2vxgd3fMPC5Hn7AsFSioZ6fJU4VKo=; b=d/YAFkBWWIiOOuw6bGt/7pBRvnnLnmF6Vtr/jZavG843fmZW060TMhPlzQ07Q1NzCs+a QXs/xvfSP42DyJ9iPE4VeXh3+ZuT83tqxJwpEckt7OkEMYybt4U3TS4JiaWQlJDpSdxV f69e7MLWgEobbs9Azc3W4wFOLJT+dC2dcoPsFCYIoM/uAopfpG7PhW5luBHPK5HZ957E WAHfZ6hqxaN1cYWexrgUzz0wI75lHez1oRdeAD6fT4TM6umECL7IxqPrE7yDWdu1fNyR tNSVxGRjJtT6eNJmusRNJCW9kLj7CeOu3lwm30aBdNIxEGFWbByyh5mjr6VpF4l28P0k Jw== 
Received: from prod-mail-ppoint2 (a184-51-33-19.deploy.static.akamaitechnologies.com [184.51.33.19] (may be forged)) by m0050102.ppops.net-00190b01. with ESMTP id 2amtyk04bd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 May 2017 20:32:56 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4NJVsZm007231; Tue, 23 May 2017 15:32:55 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.34]) by prod-mail-ppoint2.akamai.com with ESMTP id 2ajh4usx60-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 May 2017 15:32:55 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb4.msg.corp.akamai.com (172.27.123.104) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 23 May 2017 15:32:55 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1263.000; Tue, 23 May 2017 15:32:55 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>, TLS WG <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NICDv1l4S8FUWU9Zh5nPuktKHj1e4AgAAB3wCAAABtgIABK3KAgBME8ICAA79FgIAAdzaAgAEhiwCAAmQwAIAAPdqAgAD23oCAAANTgIAABkmAgAACr4CAAI2ogIAACFIAgADqp4CAABAuAIAABLWA///UHHA=
Date: Tue, 23 May 2017 19:32:54 +0000
Message-ID: <8ae0e20c58494e0cb7e48d70dc42a9c4@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com> <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com> <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com> <f8f8db4a-7d4e-590b-25c2-b1cbac6b5313@huitema.net> <CAAF6GDcarzUXiEAxBm9RaLQT5A3B=2TPkngEavEY=wQMHU=9Gw@mail.gmail.com> <1c188f36-c197-20f7-48e4-5d75ac4a2211@akamai.com> <CAAF6GDfCRD3nQmr0JB75CxLkqjmDiWn9co0DXCJHwS3TK625WA@mail.gmail.com> <55096b5d-dc74-fae4-57e3-83d4355d6050@huitema.net> <86A85A1E-A0A2-4692-ADB1-D5126E421B70@dukhovni.org> <CAAF6GDeum-XLt+f3_q9CRabC7Ro_0quu90jWVhaWeYbJntfzZA@mail.gmail.com>
In-Reply-To: <CAAF6GDeum-XLt+f3_q9CRabC7Ro_0quu90jWVhaWeYbJntfzZA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.40.119]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230099
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_06:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230099
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/D7j7ID4DS5BUMljy5I9_g-5SOvs>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 19:33:03 -0000

PkkndmUgc2VlbiBhIG51bWJlciBvZiBhcmd1bWVudHMgaGVyZSB0aGF0IGVzc2VudGlhbGx5IGJv
aWwgZG93biB0byAiV2UnZCBsaWtlIHRvIGtlZXAgaXQgYW55d2F5LCBiZWNhdXNlIGl0IGlzIHNv
IG9wZXJhdGlvbmFsbHkgY29udmVuaWVudCIuIElzIHRoYXQgcmVhbGx5IGhvdyB0aGlzIHByb2Nl
c3Mgd29ya3M/IERvbid0IGRlbW9uc3RyYWJsZSByZWFsLXdvcmxkIGF0dGFja3MgZGVzZXJ2ZSBk
ZWZlcmVuY2U/DQoNCldlbGwgaXQncyBhIGxpdHRsZSBtb3JlIHN1YnRsZSB0aGVuIHRoYXQ7IGZv
bGtzIHNlZW0gdG8gYWNrbm93bGVkZ2UgdGhlIGF0dGFja3MgYnV0IGZlZWwgdGhhdCB0aGVpciB1
c2UtY2FzZXMgd29uJ3QgYmUgYWZmZWN0ZWQuICBJJ20gbG9va2luZyBhdCB5b3UsIENocm9tZSwg
Ym9yaW5nLCBGaXJlZm94IDopDQoNCkRvbid0IGdldCBkaXNjb3VyYWdlZC4gDQo=


From nobody Tue May 23 12:35:03 2017
Return-Path: <mrex@sap.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7130C12EA8C; Tue, 23 May 2017 12:34:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.421
X-Spam-Level: 
X-Spam-Status: No, score=-6.421 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=ham 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 FzGkzYRHfVYc; Tue, 23 May 2017 12:34:56 -0700 (PDT)
Received: from smtpde02.smtp.sap-ag.de (smtpde02.smtp.sap-ag.de [155.56.68.140]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0380D12EAB1; Tue, 23 May 2017 12:34:56 -0700 (PDT)
Received: from mail08.wdf.sap.corp (mail01.sap.corp [194.39.131.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtpde02.smtp.sap-ag.de (Postfix) with ESMTPS id 3wXQht4dS6z26hC; Tue, 23 May 2017 21:34:54 +0200 (CEST)
X-purgate-ID: 152705::1495568094-0000521C-AB7F7FC5/0/0
X-purgate-size: 1374
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate-type: clean
X-SAP-SPAM-Status: clean
Received: from ld9781.wdf.sap.corp (ld9781.wdf.sap.corp [10.21.82.193]) by mail08.wdf.sap.corp (Postfix) with ESMTP id 3wXQhs6CGwz2y8X; Tue, 23 May 2017 21:34:53 +0200 (CEST)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id CF9761A6A6; Tue, 23 May 2017 21:34:53 +0200 (CEST)
In-Reply-To: <149556730804.28545.6150805815075208815.idtracker@ietfa.amsl.com>
To: Adam Roach <adam@nostrum.com>
Date: Tue, 23 May 2017 21:34:53 +0200 (CEST)
CC: The IESG <iesg@ietf.org>, tls@ietf.org, tls-chairs@ietf.org,  draft-ietf-tls-ecdhe-psk-aead@ietf.org
Reply-To: mrex@sap.com
X-Mailer: ELM [version 2.4ME+ PL125 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20170523193453.CF9761A6A6@ld9781.wdf.sap.corp>
From: mrex@sap.com (Martin Rex)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/FCxo7MCFEvmMwp7bCxLHoCH8x9k>
Subject: Re: [TLS] Adam Roach's No Objection on draft-ietf-tls-ecdhe-psk-aead-04: (with COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 19:34:57 -0000

Adam Roach wrote:
> draft-ietf-tls-ecdhe-psk-aead-04: No Objection
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> I agree with EKR's discuss -- specifying semantics for these ciphersuites
> with TLS 1.0 and 1.1 is a material change, and the proposed mechanism (in
> which servers are encouraged to infer 1.2 support even in the absence of
> explicit indication) is a bit baffling.

It encourages (but does not require) servers to infer 1.2 support
from _very_explicit_ information: the offering of TLSv1.2-only TLS
ciphersuites is the very same TLS ClientHello handshake message.

We know since rfc5746 that the most reliable scheme to indicate support
for certain TLS protocol features is a cipher suite value.  It is far
from rocket science to infer support for 1.2 from 1.2-only cipher
suite codepoints in ClientHello.cipher_suites.



I just realized that I suggested removal of a description of client
behaviour that can, and should remain in the document (I'm sorry):

                    A client MUST treat the selection of these cipher
  suites in combination with a version of TLS that does not support
  AEAD (i.e., TLS 1.1 or earlier) as an error and generate a fatal
  'illegal_parameter' TLS alert.


-Martin


From nobody Tue May 23 12:40:21 2017
Return-Path: <watson@cloudflare.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E25FD12EA95 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 12:40:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.801
X-Spam-Level: 
X-Spam-Status: No, score=-0.801 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, 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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cloudflare.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 qc2M4UsPAe7H for <tls@ietfa.amsl.com>; Tue, 23 May 2017 12:40:18 -0700 (PDT)
Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c: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 5CB17129B60 for <tls@ietf.org>; Tue, 23 May 2017 12:40:18 -0700 (PDT)
Received: by mail-wm0-x22a.google.com with SMTP id e127so44029796wmg.1 for <tls@ietf.org>; Tue, 23 May 2017 12:40:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=FLHu4IzJBckQjzTAhbVZFS5y+v6YVO2sZUfian1LTNg=; b=QMAIZVOcnnVq6c4tIfYmMYO7idGJskIc/dibac5zBlhbZy96uAoDKEVXTYhVGIFoo/ hluX0zQfxgtEYAOObusUWojHGiOft+EV4plTVKcE6RCulDYU9cr3keYeiUu4OyE8ZXs4 mxSiP4EIQ+szn+9ADs+B2MGkRTvDaYSVOHxTQ=
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=FLHu4IzJBckQjzTAhbVZFS5y+v6YVO2sZUfian1LTNg=; b=cu2pkzCZjONEt97Eq8u/k0iJLiMzSM2I9/hVPVzEpDDg4Kc7T6Gk/Myvj8ujszqZrr AuEDvFxhpgxXSYspmOb6CB1Fq9UB8WAcTM2RPmcgd4Mde0krflh0BC7bSd/EhVdWmNvF uJ2q3IYUXCMLkHp34Uy6+Naf3uLjmUf0cmbm/reo9+muOnMgXAoOkIhbet35vTiKNDoB nE89E62B1XAr2+EtdmAqEWjWDgpRtX/jfwr3MicuIyUYMqoB7wCV8QXqfPv5LGpPfXQw UWsbQ6aGL7IgX8JhiuOKQAAnrUsLQ9pKdm8YNGVJHLj6MLFPQ6C7CP+pOvyuVo6e5SaX 90cQ==
X-Gm-Message-State: AODbwcDYgsumDZGdUPkfuOzaIEv2YRWFkKpkmUlePvn5fchyOduMdZjT dihS5F2vOUB+zf8Of74I+pAdz2YRu8K6bYM=
X-Received: by 10.28.156.197 with SMTP id f188mr3579280wme.76.1495568416588; Tue, 23 May 2017 12:40:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.152.148 with HTTP; Tue, 23 May 2017 12:40:16 -0700 (PDT)
From: Watson Ladd <watson@cloudflare.com>
Date: Tue, 23 May 2017 12:40:16 -0700
Message-ID: <CAN2QdAHByU1kxgit9J2KqOp1ujz4xWG8QEgAsZQCZWjfoZ2S=A@mail.gmail.com>
To: tls@ietf.org
Content-Type: multipart/alternative; boundary="001a114b316835635d0550362810"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/KB3HkCdle1JUr1pcS4K6JHQt8P4>
Subject: [TLS] Comments on draft-ietf-tls-exported-authenticator-00
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 19:40:20 -0000

--001a114b316835635d0550362810
Content-Type: text/plain; charset="UTF-8"

Dear all,

I don't think this design needs to be as complex as it is. Why isn't
signing a party-dependent (server or client) exporter with the key of the
certificate, and then appending the certificate chain, enough? I am fairly
certain this gets the properties we need.  Further, the language around
jointly authoritative remains very opaque to me.

My other (much more minor) comment is that exporters labels should start
with "EXPORTER" in RFC 5705, and I don't see why this draft shouldn't do
it.

Sincerely,
Watson Ladd

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

<div dir=3D"ltr">Dear all,<div><br><div>I don&#39;t think this design needs=
 to be as complex as it is. Why isn&#39;t signing a party-dependent (server=
 or client) exporter with the key of the certificate, and then appending th=
e certificate chain, enough? I am fairly certain this gets the properties w=
e need.=C2=A0 Further, the language around jointly authoritative remains ve=
ry opaque to me.</div><div><br></div><div>My other (much more minor) commen=
t is that exporters labels should start with &quot;EXPORTER&quot; in RFC 57=
05, and I don&#39;t see why this draft shouldn&#39;t do it.=C2=A0</div><div=
><br></div><div>Sincerely,</div><div>Watson Ladd</div></div></div>

--001a114b316835635d0550362810--


From nobody Tue May 23 13:01:07 2017
Return-Path: <rsalz@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC24912EA95 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 13:01:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 O13MLFuDeAb0 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 13:01:02 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A76EE12EAA8 for <tls@ietf.org>; Tue, 23 May 2017 13:01:02 -0700 (PDT)
Received: from pps.filterd (m0050102.ppops.net [127.0.0.1]) by m0050102.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4NJpZtM022813; Tue, 23 May 2017 21:01:00 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=MOO6wkoYZ4P76qZ8yn+/5ict/IwiW2oN6UbNLkJpDnI=; b=R0nzbtq1p+sL3b7BWUyojTUeNzshf2zVLf3PkSqgEHqaTKBCCPemej7kkmpvM1IThper Bkx1U2cX75sILMEgUqq8E2V8JN+cZPnG7V2PIjGP9FY3Tzz2MqXZLBhsi4ugDcRVkCNx S3P+oYr4C2ADCiXx28a2iU87jF/+YKXhRtu2C1vncmRLI+tSJdGhvNd7ndticzFTkcT5 CkDoDaXINVUeCPJNDPGWHPvL5ELLiylnQOXz4/sHKSgF1fWikOuyLHQT1UUR4Pd4zj0e n5aXiRF1eCYNfOm6vwsAB8XvvlXQQrMmKj/hec73knulMww5fsNiHkzjnQmX4cpZpUI9 Uw== 
Received: from prod-mail-ppoint1 (a184-51-33-18.deploy.static.akamaitechnologies.com [184.51.33.18] (may be forged)) by m0050102.ppops.net-00190b01. with ESMTP id 2amtyk08cd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 May 2017 21:01:00 +0100
Received: from pps.filterd (prod-mail-ppoint1.akamai.com [127.0.0.1]) by prod-mail-ppoint1.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4NJpLqT014667; Tue, 23 May 2017 16:00:59 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.33]) by prod-mail-ppoint1.akamai.com with ESMTP id 2ajh4v1y3n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 May 2017 16:00:59 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb3.msg.corp.akamai.com (172.27.123.103) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 23 May 2017 16:00:58 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1263.000; Tue, 23 May 2017 16:00:58 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: =?utf-8?B?Q29sbSBNYWNDw6FydGhhaWdo?= <colm@allcosts.net>, TLS WG <tls@ietf.org>
Thread-Topic: [TLS] Security review of TLS1.3 0-RTT
Thread-Index: AQHSw1NICDv1l4S8FUWU9Zh5nPuktKHj1e4AgAAB3wCAAABtgIABK3KAgBME8ICAA79FgIAAdzaAgAEhiwCAAmQwAIAAPdqAgAD23oCAAANTgIAABkmAgAACr4CAAI2ogIAACFIAgADqp4CAABAuAIAABLWA///UHHCAAAfHMA==
Date: Tue, 23 May 2017 20:00:58 +0000
Message-ID: <ad6f909991144cbe9c5f69dec0d29f76@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <CAAF6GDcEKaBaJZU0q822KqoJDL5kyZJGbOBKsnU9tnpU=YvoxA@mail.gmail.com> <MWHPR15MB1182F59E2B60534CB20EC9C4AFF80@MWHPR15MB1182.namprd15.prod.outlook.com> <CAAF6GDeNWpKM_Uu5zN70gW9L=WSLZVJhi=OZwYOC3y24zuphpQ@mail.gmail.com> <f8f8db4a-7d4e-590b-25c2-b1cbac6b5313@huitema.net> <CAAF6GDcarzUXiEAxBm9RaLQT5A3B=2TPkngEavEY=wQMHU=9Gw@mail.gmail.com> <1c188f36-c197-20f7-48e4-5d75ac4a2211@akamai.com> <CAAF6GDfCRD3nQmr0JB75CxLkqjmDiWn9co0DXCJHwS3TK625WA@mail.gmail.com> <55096b5d-dc74-fae4-57e3-83d4355d6050@huitema.net> <86A85A1E-A0A2-4692-ADB1-D5126E421B70@dukhovni.org> <CAAF6GDeum-XLt+f3_q9CRabC7Ro_0quu90jWVhaWeYbJntfzZA@mail.gmail.com> <8ae0e20c58494e0cb7e48d70dc42a9c4@usma1ex-dag1mb1.msg.corp.akamai.com>
In-Reply-To: <8ae0e20c58494e0cb7e48d70dc42a9c4@usma1ex-dag1mb1.msg.corp.akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.40.119]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230101
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230101
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/nwgPFcvgjWZ1yPqlqvIoB872qNo>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 20:01:04 -0000

PiBXZWxsIGl0J3MgYSBsaXR0bGUgbW9yZSBzdWJ0bGUgdGhlbiB0aGF0OyBmb2xrcyBzZWVtIHRv
IGFja25vd2xlZGdlIHRoZSBhdHRhY2tzDQo+IGJ1dCBmZWVsIHRoYXQgdGhlaXIgdXNlLWNhc2Vz
IHdvbid0IGJlIGFmZmVjdGVkLiAgSSdtIGxvb2tpbmcgYXQgeW91LCBDaHJvbWUsDQo+IGJvcmlu
ZywgRmlyZWZveCA6KQ0KDQpJJ3ZlIGhlYXJkIGZyb20gdHdvIHBlb3BsZSB0aGF0IHRoZSAibG9v
a2luZyBhdCB5b3UiIHBocmFzZSB3YXMgbm90IHdlbGwtcmVjZWl2ZWQuICBJIGFwb2xvZ2l6ZSB0
byB0aGUgbGlzdCwgYW5kIHRob3NlIHdob3NlIGZlZWxpbmdzIEkgaHVydC4gIEkgbG9vayBmb3J3
YXJkIHRvIHNlZWluZyBtb3JlIGRldGFpbGVkIHJlc3BvbnNlcyB0byBDb2xtJ3MgcG9zdHMgc29v
bi4gDQoNCi0tICANClNlbmlvciBBcmNoaXRlY3QsIEFrYW1haSBUZWNobm9sb2dpZXMNCk1lbWJl
ciwgT3BlblNTTCBEZXYgVGVhbQ0KSU06IHJpY2hzYWx6QGphYmJlci5hdCBUd2l0dGVyOiBSaWNo
U2Fseg0KDQo=


From nobody Tue May 23 13:07:15 2017
Return-Path: <nicholas.sullivan@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0516712EAFA for <tls@ietfa.amsl.com>; Tue, 23 May 2017 13:07:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 lriW1WGYDIyH for <tls@ietfa.amsl.com>; Tue, 23 May 2017 13:07:12 -0700 (PDT)
Received: from mail-ua0-x22f.google.com (mail-ua0-x22f.google.com [IPv6:2607:f8b0:400c:c08::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 DB78412EAC4 for <tls@ietf.org>; Tue, 23 May 2017 13:07:11 -0700 (PDT)
Received: by mail-ua0-x22f.google.com with SMTP id u10so85070098uaf.1 for <tls@ietf.org>; Tue, 23 May 2017 13:07:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to;  bh=spCIE85vSBkHOsJHerAlox1neYlZC9DcB2H4PB/9GsM=; b=e82NbcX3iyA26hPirSVMTw+0Yp2RFal5V3rniM64Aaup7voiUD/trdykvrtgHaB6b4 jpZBU6j/B+AXQTGwjVdR9K9jwG4wi/qMHlBu3pANo7F3bRkp6usXoaUMPrUzfIMgfzhR JTVJx2wOcPUdn38F3hCvF1STSE5Zx4Yib54OEvZzksSHnrvOFp0Q3qbhW0stv+5uzwPD zJSKmdYzxwroQqJIZpipKO9JCPHSjBSxSi398vFGM7/qqdW6SNmk6D/9EtAKNo6Ou053 IL25L9UrDKGaMcnnet3NCSSOGv/243SjeMFsfaApDrRQD5FGMiG0fHrayxYrBULyJWKp AeEA==
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; bh=spCIE85vSBkHOsJHerAlox1neYlZC9DcB2H4PB/9GsM=; b=gsB391il0c3nSOcQ7njrXbpIlC94NfiEsHM3Z/EfUXaTQ6AVMjB9y/I24gkXNziL0l D3umM6dNn4dTNSdH/tTSJvXbiRLx9dKyH9AR0REUvnFS1R1vqCmEFr4oRNrjSUHSiL8G z8Kb9eLhGOfLfxaJu2Fuks8dC6voukBqkC4dZvN61tEv5r/NcbAHNFdQQdp4sS0YGj7b E+ZjCnN/gQ/XZmHQFgWMWi51kS1xaASgwDKLvbYoBQItOmujVMaPFEg7uKf8G6GudsWz U38XcrnPSXQGgpfbZgyohx4ewSHktpttfPNhggfM9uAxUAaNBQxnu6PP4oggSu/oBV+P F20Q==
X-Gm-Message-State: AODbwcDRsmWBrOiV2+aFwwZYNNh5c0WHb+zn9r1FyVIKxmxtjJ4Xwswc aAfVmTPDxR3fB5p321k7JNwRL5OiQQ==
X-Received: by 10.176.7.198 with SMTP id d6mr15737066uaf.61.1495570030920; Tue, 23 May 2017 13:07:10 -0700 (PDT)
MIME-Version: 1.0
References: <CAN2QdAHByU1kxgit9J2KqOp1ujz4xWG8QEgAsZQCZWjfoZ2S=A@mail.gmail.com>
In-Reply-To: <CAN2QdAHByU1kxgit9J2KqOp1ujz4xWG8QEgAsZQCZWjfoZ2S=A@mail.gmail.com>
From: Nick Sullivan <nicholas.sullivan@gmail.com>
Date: Tue, 23 May 2017 20:07:00 +0000
Message-ID: <CAOjisRziY8KhF163V=VhQGGyXJVkgsQ9QGsqVSpzJMbkvXYO4w@mail.gmail.com>
To: Watson Ladd <watson@cloudflare.com>, tls@ietf.org
Content-Type: multipart/alternative; boundary="f403045f7fe86e0ae305503688ec"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/fD5RanBiv24iRmo5jt9DD-g78RA>
Subject: Re: [TLS] Comments on draft-ietf-tls-exported-authenticator-00
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 20:07:14 -0000

--f403045f7fe86e0ae305503688ec
Content-Type: text/plain; charset="UTF-8"

Hi Watson,

Some points that should help clarify your questions:
1) The certificate used in the construction is no the plain certificate
chain, it's the TLS 1.3 certificate message which could contain extensions.
2) The finished message is used to bind the certificate+certificateverify
to the connection state. It mirrors TLS 1.3 post-handshake authentication.
3) In TLS 1.3 post-handshake authentication, each successive certificate
added to the connection is incorporated into the handshake state. The last
certificate in a sequence of authentications would result in a connection
in which the party could say they were jointly authoritative a over
multiple identities. In exported authenticators, the only state that is
signed comes from the original handshake, so there's no way to order them.
Each exported authenticator is tied to the connection, but not tied
directly to another authenticator, and therefore there is no proof that the
party is "jointly authoritative". I welcome text changes to make this more
clear.
4) We can add the prefix in the next draft, thanks for the note.

On Tue, May 23, 2017 at 12:40 PM Watson Ladd <watson@cloudflare.com> wrote:

> Dear all,
>
> I don't think this design needs to be as complex as it is. Why isn't
> signing a party-dependent (server or client) exporter with the key of the
> certificate, and then appending the certificate chain, enough? I am fairly
> certain this gets the properties we need.  Further, the language around
> jointly authoritative remains very opaque to me.
>
> My other (much more minor) comment is that exporters labels should start
> with "EXPORTER" in RFC 5705, and I don't see why this draft shouldn't do
> it.
>
> Sincerely,
> Watson Ladd
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

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

<div dir=3D"ltr"><div><div><div><div>Hi Watson,<br><br></div>Some points th=
at should help clarify your questions:<br></div>1) The certificate used in =
the construction is no the plain certificate chain, it&#39;s the TLS 1.3 ce=
rtificate message which could contain extensions.<br></div>2) The finished =
message is used to bind the certificate+certificateverify to the connection=
 state. It mirrors TLS 1.3 post-handshake authentication.<br></div><div>3) =
In TLS 1.3 post-handshake authentication, each successive certificate added=
 to the connection is incorporated into the handshake state. The last certi=
ficate in a sequence of authentications would result in a connection in whi=
ch the party could say they were jointly authoritative a over multiple iden=
tities. In exported authenticators, the only state that is signed comes fro=
m the original handshake, so there&#39;s no way to order them. Each exporte=
d authenticator is tied to the connection, but not tied directly to another=
 authenticator, and therefore there is no proof that the party is &quot;joi=
ntly authoritative&quot;. I welcome text changes to make this more clear.<b=
r></div>4) We can add the prefix in the next draft, thanks for the note.<br=
></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, May 23, 2017=
 at 12:40 PM Watson Ladd &lt;<a href=3D"mailto:watson@cloudflare.com">watso=
n@cloudflare.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><di=
v dir=3D"ltr">Dear all,<div><br><div>I don&#39;t think this design needs to=
 be as complex as it is. Why isn&#39;t signing a party-dependent (server or=
 client) exporter with the key of the certificate, and then appending the c=
ertificate chain, enough? I am fairly certain this gets the properties we n=
eed.=C2=A0 Further, the language around jointly authoritative remains very =
opaque to me.</div><div><br></div><div>My other (much more minor) comment i=
s that exporters labels should start with &quot;EXPORTER&quot; in RFC 5705,=
 and I don&#39;t see why this draft shouldn&#39;t do it.=C2=A0</div><div><b=
r></div><div>Sincerely,</div><div>Watson Ladd</div></div></div>
_______________________________________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/tls</a><br>
</blockquote></div>

--f403045f7fe86e0ae305503688ec--


From nobody Tue May 23 13:12:03 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E0F3C12EAB1 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 13:12:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 BFDBL6F7xmEu for <tls@ietfa.amsl.com>; Tue, 23 May 2017 13:12:01 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB082126DEE for <tls@ietf.org>; Tue, 23 May 2017 13:12:01 -0700 (PDT)
Received: from pps.filterd (m0050095.ppops.net [127.0.0.1]) by m0050095.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4NK1uIA026582; Tue, 23 May 2017 21:11:59 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : references : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=sppVDbxDzOsI9NLxggBD1TXk13UDuktfQ5DpqeNzpNo=; b=lDn78AvDBzzp26hv+PrxXRmo3WZyRdUVb3pA68GA8UMv0pHUBWYTb61WP07u7waqwCJ0 D637QmAfh0M0LyXdU08ambfmnBeCo9jumiZYSFD4J0/ZN+AwZd7Fkvb2Wg5Z1GqttC2I 49Ph2nc1clOyxbukms/ivjfhc7nNRWaAUFPNZnxnW9iIHioymF5uODe26yaVek0ewINn h2339Io5ieFqwRNXx/1irtip0DeKRd1GBzL4Xs5kEv8xiKBEMlepkuJtRts9bKx/fpJ3 Bk8FyCzX4zdbHIPLrLRnktnWfDPP2iu/Xw3mibhh7kYyUcMLmAq0lxkYmsCMG9wNkGu7 bQ== 
Received: from prod-mail-ppoint2 (a184-51-33-19.deploy.static.akamaitechnologies.com [184.51.33.19] (may be forged)) by m0050095.ppops.net-00190b01. with ESMTP id 2amg7fvk3t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 May 2017 21:11:59 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4NKAofb032067; Tue, 23 May 2017 16:11:57 -0400
Received: from prod-mail-relay10.akamai.com ([172.27.118.251]) by prod-mail-ppoint2.akamai.com with ESMTP id 2ajh4ut1f7-1; Tue, 23 May 2017 16:11:57 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id 4BD331FC72; Tue, 23 May 2017 20:11:57 +0000 (GMT)
To: Nick Sullivan <nicholas.sullivan@gmail.com>, tls@ietf.org
References: <CAN2QdAHByU1kxgit9J2KqOp1ujz4xWG8QEgAsZQCZWjfoZ2S=A@mail.gmail.com> <CAOjisRziY8KhF163V=VhQGGyXJVkgsQ9QGsqVSpzJMbkvXYO4w@mail.gmail.com>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <70b37362-d036-3a34-b616-58f4da10a384@akamai.com>
Date: Tue, 23 May 2017 15:11:56 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <CAOjisRziY8KhF163V=VhQGGyXJVkgsQ9QGsqVSpzJMbkvXYO4w@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------E356E0B7EC5CB1FB6EBB0724"
Content-Language: en-US
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230103
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230102
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/qFXCVZbShyl898_jBwatz5mfCbE>
Subject: Re: [TLS] Comments on draft-ietf-tls-exported-authenticator-00
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 20:12:03 -0000

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

On 05/23/2017 03:07 PM, Nick Sullivan wrote:
> 3) In TLS 1.3 post-handshake authentication, each successive
> certificate added to the connection is incorporated into the handshake
> state. The last certificate in a sequence of authentications would
> result in a connection in which the party could say they were jointly
> authoritative a over multiple identities. In exported authenticators,
> the only state that is signed comes from the original handshake, so
> there's no way to order them. Each exported authenticator is tied to
> the connection, but not tied directly to another authenticator, and
> therefore there is no proof that the party is "jointly authoritative".
> I welcome text changes to make this more clear.

I thought at least for "normal" post-handshake auth, the handshake hash
used was always just the initial handshake, and did not include
intermediate certificates that had been transmitted.

-Ben

--------------E356E0B7EC5CB1FB6EBB0724
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 05/23/2017 03:07 PM, Nick Sullivan wrote:<br>
    <blockquote type="cite"
cite="mid:CAOjisRziY8KhF163V=VhQGGyXJVkgsQ9QGsqVSpzJMbkvXYO4w@mail.gmail.com">3)
      In TLS 1.3 post-handshake authentication, each successive
      certificate added to the connection is incorporated into the
      handshake state. The last certificate in a sequence of
      authentications would result in a connection in which the party
      could say they were jointly authoritative a over multiple
      identities. In exported authenticators, the only state that is
      signed comes from the original handshake, so there's no way to
      order them. Each exported authenticator is tied to the connection,
      but not tied directly to another authenticator, and therefore
      there is no proof that the party is "jointly authoritative". I
      welcome text changes to make this more clear.</blockquote>
    <br>
    I thought at least for "normal" post-handshake auth, the handshake
    hash used was always just the initial handshake, and did not include
    intermediate certificates that had been transmitted.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------E356E0B7EC5CB1FB6EBB0724--


From nobody Tue May 23 13:25:54 2017
Return-Path: <Andrei.Popov@microsoft.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D95E12EB17 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 13:25:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.022
X-Spam-Level: 
X-Spam-Status: No, score=-2.022 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 vwJlKAk48Y-E for <tls@ietfa.amsl.com>; Tue, 23 May 2017 13:25:50 -0700 (PDT)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0136.outbound.protection.outlook.com [104.47.37.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6A64112EB13 for <tls@ietf.org>; Tue, 23 May 2017 13:25:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=fdwbZz1aD6gbr8LI/GKElDYK9oKR4R6vLE+sqdoVwW0=; b=ZCNrLf43koLB4++n43ZXsy32VzJc5tM/Oa1CXrrgrlw2W/4SkectQpHiP21XPCRb6N4DYODYqknont8M0wM6dfYgJgbCgSxTn95iFBdwOtO8kWGO+cHz2RjStcCyMZCc/ia4/vqTBcTvL2hsLXrg4abvlPfyPPYBrKEbJEiggJg=
Received: from DM2PR21MB0091.namprd21.prod.outlook.com (10.161.141.14) by DM2PR21MB0027.namprd21.prod.outlook.com (10.161.140.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.0; Tue, 23 May 2017 20:25:48 +0000
Received: from DM2PR21MB0091.namprd21.prod.outlook.com ([fe80::2993:3849:f0fd:2a92]) by DM2PR21MB0091.namprd21.prod.outlook.com ([fe80::2993:3849:f0fd:2a92%16]) with mapi id 15.01.1124.009; Tue, 23 May 2017 20:25:47 +0000
From: Andrei Popov <Andrei.Popov@microsoft.com>
To: "Salz, Rich" <rsalz@akamai.com>, Markulf Kohlweiss <markulf@microsoft.com>, "Kaduk, Ben" <bkaduk@akamai.com>, "tls@ietf.org" <tls@ietf.org>
CC: Antoine Delignat-Lavaud <antdl@microsoft.com>, Samin Ishtiaq <Samin.Ishtiaq@microsoft.com>, Britta Hale <britta.hale@item.ntnu.no>
Thread-Topic: [TLS] Comments on EndOfEarlyData
Thread-Index: AdLTtEU8p75Loa4ER0+xBa7xoDxY0QANphQAAAFEp8AAAU4hgAADMD2g
Date: Tue, 23 May 2017 20:25:46 +0000
Message-ID: <DM2PR21MB00918AF80A30B6A0265B61B78CF90@DM2PR21MB0091.namprd21.prod.outlook.com>
References: <DB6PR8303MB0069F9DF083276C426975D80ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com> <9a52562a-d4cd-3344-de4e-8c798887f451@akamai.com> <DB6PR8303MB00697808B11F2DB538106038ABF90@DB6PR8303MB0069.EURPRD83.prod.outlook.com> <a411d906ec284dd3ac1cc79999a3efc8@usma1ex-dag1mb1.msg.corp.akamai.com>
In-Reply-To: <a411d906ec284dd3ac1cc79999a3efc8@usma1ex-dag1mb1.msg.corp.akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: akamai.com; dkim=none (message not signed) header.d=none;akamai.com; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [2001:4898:80e8:4::4ca]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM2PR21MB0027; 7:uZfn6CM/bmein4yqFIQVI8im576yXwXhd01RTX/xhrDXCtPEEDoPqc6/P/1yavkrPTsJt9MQ4KIjorwAh6+XbfID2a7onPIJ/fr/Gkb6YpTYL22EmRvzSHfJVhpbmzvcGi+OWjV1NoniOtPsZLrFkWnqiMWaE8CHMpdUpce97JQvxwMsGyCZ/9w78ggiUHgpg+U48ugJ+LX1xJXjYoD5YGo7+fzo4T5e4yRalm8+ulSrO4lmC63UY99RELO0IUPf0oFmeRBaLWcIv9FxKAjKN+CF8MeXlT0MGvY9+649+l/Jxr6lcH6mboUb9WoWXSvlnmdeSNkZKkH80TVbPLMkEryEHCWbSehWKw9VcvlbNBI=
x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10019020)(6029001)(6009001)(39450400003)(39400400002)(39410400002)(39850400002)(39860400002)(39840400002)(13464003)(377454003)(966005)(2900100001)(72206003)(4326008)(33656002)(38730400002)(55016002)(9686003)(5005710100001)(8990500004)(6306002)(1511001)(6246003)(54906002)(6436002)(25786009)(229853002)(10090500001)(53546009)(99286003)(53936002)(7696004)(3660700001)(81166006)(86362001)(575784001)(74316002)(5660300001)(2561002)(6506006)(189998001)(8676002)(86612001)(50986999)(2950100002)(2501003)(76176999)(3280700002)(10290500003)(2906002)(6116002)(305945005)(7736002)(478600001)(8936002)(5250100002)(54356999)(102836003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR21MB0027; H:DM2PR21MB0091.namprd21.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
x-ms-traffictypediagnostic: DM2PR21MB0027:
x-ms-office365-filtering-correlation-id: 57fbea4f-41f1-4cd1-7f20-08d4a219e541
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);  SRVR:DM2PR21MB0027; 
x-microsoft-antispam-prvs: <DM2PR21MB002723E5D4DA002FC5A836098CF90@DM2PR21MB0027.namprd21.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(189930954265078)(219752817060721);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700043)(100105000095)(100000701043)(100105300095)(100000702043)(100105100095)(61425038)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703043)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(61426038)(61427038)(6041248)(20161123560025)(20161123564025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(100000704043)(100105200095)(100000705043)(100105500095); SRVR:DM2PR21MB0027; BCL:0; PCL:0; RULEID:(100000800043)(100110000095)(100000801043)(100110300095)(100000802043)(100110100095)(100000803043)(100110400095)(100000804043)(100110200095)(100000805039)(100110500095); SRVR:DM2PR21MB0027; 
x-forefront-prvs: 0316567485
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2017 20:25:46.7895 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR21MB0027
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/J0CvUhXhasfP8SAeuExYw_KEGY4>
Subject: Re: [TLS] Comments on EndOfEarlyData
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 20:25:52 -0000

Yes, it is my plan to make 0-RTT data opt-in only in the Windows TLS stack,=
 with a clear distinction in the API.
It is possible, however, that certain middleware components above the TLS s=
tack might choose to blur this distinction (which would be bad design, in m=
y opinion).

Cheers,

Andrei

-----Original Message-----
From: TLS [mailto:tls-bounces@ietf.org] On Behalf Of Salz, Rich
Sent: Tuesday, May 23, 2017 11:48 AM
To: Markulf Kohlweiss <markulf@microsoft.com>; Kaduk, Ben <bkaduk@akamai.co=
m>; tls@ietf.org
Cc: Antoine Delignat-Lavaud <antdl@microsoft.com>; Samin Ishtiaq <Samin.Ish=
tiaq@microsoft.com>; Britta Hale <britta.hale@item.ntnu.no>
Subject: Re: [TLS] Comments on EndOfEarlyData

> Given that 0-RTT and 1-RTT guarantees are very different, it seem importa=
nt to distinguish the two streams and model them separately.

Cool; is SChannel going to do that?

OpenSSL does.
_______________________________________________
TLS mailing list
TLS@ietf.org
https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf=
.org%2Fmailman%2Flistinfo%2Ftls&data=3D02%7C01%7CAndrei.Popov%40microsoft.c=
om%7Cdd3c1a8132a34d29c46908d4a20c5706%7C72f988bf86f141af91ab2d7cd011db47%7C=
1%7C0%7C636311621300870812&sdata=3DMXINz0jr8SWWW9GWOt3Ayrojidu3RdiK%2FkBffE=
ZZ0Eo%3D&reserved=3D0


From nobody Tue May 23 13:58:08 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08817127B31 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 13:57:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] autolearn=unavailable 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 9OFnpNWThWnY for <tls@ietfa.amsl.com>; Tue, 23 May 2017 13:57:58 -0700 (PDT)
Received: from mail-yb0-x230.google.com (mail-yb0-x230.google.com [IPv6:2607:f8b0:4002:c09::230]) (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 3CBB112EB33 for <tls@ietf.org>; Tue, 23 May 2017 13:57:57 -0700 (PDT)
Received: by mail-yb0-x230.google.com with SMTP id p143so40991881yba.2 for <tls@ietf.org>; Tue, 23 May 2017 13:57:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RSmxrL52Q4J+4Z/2S7eNjxrsfYWmI9PHQLoTW9QoOqM=; b=nazyEL/meHUV9ZcqOFUI+Zj3VHxdUqZkANA0ND5CQeyE8FbE7IVp4mkjrxwWNQ9TMM bXgqqGioWcwTc8yuFaSZH3LjMZXLseEC1diZAqcH8D/1BRFfqcBfT/hF5WA97GcNvR5n kbDIACHu5l3LpesnJNuy4B4t+f6/UDKtbugx87vLIE3QhEPxconHMoV027Hmk6NArWzA 9yM89voICsO/Uj/yI9/yY3p6NqKpc2wDL++uTSlY1dhlS3bP80AH3LbwMyPPrcNDlpkT SsXjGUecCpCMJOMIjryzrqijGrONL/PHQrpDK5cuzSFTs2Obgfi7zH8iUYk1zV4rDpIU kJ/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RSmxrL52Q4J+4Z/2S7eNjxrsfYWmI9PHQLoTW9QoOqM=; b=igGJko/wvhEqo6x5u4BXU+lrhIJW5Z8US+fy9YozYYyYtc5sMwP5ohRg6TGHHs8EK9 oCzJU2VjdLzATB9Yfhtlq98L7aKKGwYUEn4sednQZEP+vUULHxxJBPTf/jLKp1wX5tS8 W7sJ8NFEccGrPpUdNf64PHWIyrGi01OX6ww0laFrJaelUVYEh4lJi0Q0MCOG0/gCB8Ow Jqz6+jSzrR5c410vSva3eds2q8vU9Y70HTB62tRgdnrZsISuUtmFJTua5yb2UlFOm/rs JJUwny7a1CnetWOQWTCajlbRh+guHWElyzZMR1tdp9MpWdvPnhLCuRvrkCGLEloMwAdh 12JQ==
X-Gm-Message-State: AODbwcCsAw05vsro58k/GDTcV9JJYO5nahmAmoGIiCFy7ZUr1sxhODNQ RoeM5oKYlRkNd/D9F2BcrX7ar2uhCfJu
X-Received: by 10.37.206.8 with SMTP id x8mr19462239ybe.16.1495573076305; Tue, 23 May 2017 13:57:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Tue, 23 May 2017 13:57:15 -0700 (PDT)
In-Reply-To: <20170523133441.54A901A6A6@ld9781.wdf.sap.corp>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <20170523133441.54A901A6A6@ld9781.wdf.sap.corp>
From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 24 May 2017 04:57:15 +0800
Message-ID: <CABcZeBOrP7RHuk9Kc-306tKh8eg71OYpLdvq8RzDXChFuwWt9g@mail.gmail.com>
To: "mrex@sap.com" <mrex@sap.com>
Cc: The IESG <iesg@ietf.org>, "tls@ietf.org" <tls@ietf.org>, tls-chairs <tls-chairs@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c190b20f32bae0550373dbc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Y-woHow_TwnA1lDG94rEm6O5M7E>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 20:57:59 -0000

--94eb2c190b20f32bae0550373dbc
Content-Type: text/plain; charset="UTF-8"

On Tue, May 23, 2017 at 9:34 PM, Martin Rex <mrex@sap.com> wrote:

> Eric Rescorla wrote:
> > draft-ietf-tls-ecdhe-psk-aead-04: Discuss
> >
> > ----------------------------------------------------------------------
> > DISCUSS:
> > ----------------------------------------------------------------------
> >
> > The following text appears to have been added in -04
> >
> >    A server receiving a ClientHello and a client_version indicating
> >    (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites from
> >    this document in ClientHello.cipher_suites can safely assume that
> > the
> >    client supports TLS 1.2 and is willing to use it.  The server MUST
> >    NOT negotiate these cipher suites with TLS protocol versions earlier
> >    than TLS 1.2.  Not requiring clients to indicate their support for
> >    TLS 1.2 cipher suites exclusively through ClientHello.client_hello
> >    improves the interoperability in the installed base and use of TLS
> >    1.2 AEAD cipher suites without upsetting the installed base of
> >    version-intolerant TLS servers, results in more TLS handshakes
> >    succeeding and obviates fallback mechanisms.
> >
> > This is a major technical change from -03, which, AFAIK, prohibited
> > the server from negotiating these algorithms with TLS 1.1 and below
> > and maintained the usual TLS version 1.2 negotiation rules.
>
> This change _still_ prohibits the server from negotiating these algorithms
> with TLSv1.1 and below.



> Could you elaborate a little on where and why you see a problem with this?
>

For starters, TLS 1.3 has already designed a completely independent
mechanism for doing version negotiation outside of ClientHello.version,
so doing another seems pretty odd. In any case, it's not something you
do between IETF-LC and IESG approval.


As this changes tries to explain, had such a text been used for all
> TLSv1.2 AEAD cipher suite code points, then browsers would have never
> needed any "downgrade dance" fallbacks, POODLE would have never
> existed as a browser problem, and the TLS_FALLBACK_SCSV band-aid
> would not been needed, either.
>

I'm not sure this is true, because there were also servers which did
not understand extensions.

-Ekr


> -Martin
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 23, 2017 at 9:34 PM, Martin Rex <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:mrex@sap.com" target=3D"_blank">mrex@sap.com</a>&gt;</span> wr=
ote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding-left:1ex">Eric Rescorla wrote:<br>
&gt; draft-ietf-tls-ecdhe-psk-aead-<wbr>04: Discuss<br>
<span class=3D"">&gt;<br>
&gt; ------------------------------<wbr>------------------------------<wbr>=
----------<br>
&gt; DISCUSS:<br>
&gt; ------------------------------<wbr>------------------------------<wbr>=
----------<br>
&gt;<br>
&gt; The following text appears to have been added in -04<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 A server receiving a ClientHello and a client_version ind=
icating<br>
&gt;=C2=A0 =C2=A0 (3,1) &quot;TLS 1.0&quot; or (3,2) &quot;TLS 1.1&quot; an=
d any of the cipher suites from<br>
&gt;=C2=A0 =C2=A0 this document in ClientHello.cipher_suites can safely ass=
ume that<br>
&gt; the<br>
&gt;=C2=A0 =C2=A0 client supports TLS 1.2 and is willing to use it.=C2=A0 T=
he server MUST<br>
&gt;=C2=A0 =C2=A0 NOT negotiate these cipher suites with TLS protocol versi=
ons earlier<br>
&gt;=C2=A0 =C2=A0 than TLS 1.2.=C2=A0 Not requiring clients to indicate the=
ir support for<br>
&gt;=C2=A0 =C2=A0 TLS 1.2 cipher suites exclusively through ClientHello.cli=
ent_hello<br>
&gt;=C2=A0 =C2=A0 improves the interoperability in the installed base and u=
se of TLS<br>
&gt;=C2=A0 =C2=A0 1.2 AEAD cipher suites without upsetting the installed ba=
se of<br>
&gt;=C2=A0 =C2=A0 version-intolerant TLS servers, results in more TLS hands=
hakes<br>
&gt;=C2=A0 =C2=A0 succeeding and obviates fallback mechanisms.<br>
&gt;<br>
&gt; This is a major technical change from -03, which, AFAIK, prohibited<br=
>
&gt; the server from negotiating these algorithms with TLS 1.1 and below<br=
>
&gt; and maintained the usual TLS version 1.2 negotiation rules.<br>
<br>
</span>This change _still_ prohibits the server from negotiating these algo=
rithms<br>
with TLSv1.1 and below.</blockquote><div>=C2=A0</div><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">
Could you elaborate a little on where and why you see a problem with this?<=
br></blockquote><div><br></div><div>For starters, TLS 1.3 has already desig=
ned a completely independent</div><div>mechanism for doing version negotiat=
ion outside of ClientHello.version,</div><div>so doing another seems pretty=
 odd. In any case, it&#39;s not something you</div><div>do between IETF-LC =
and IESG approval.</div><div><br></div><div><br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex">
As this changes tries to explain, had such a text been used for all<br>
TLSv1.2 AEAD cipher suite code points, then browsers would have never<br>
needed any &quot;downgrade dance&quot; fallbacks, POODLE would have never<b=
r>
existed as a browser problem, and the TLS_FALLBACK_SCSV band-aid<br>
would not been needed, either.<br></blockquote><div><br></div><div>I&#39;m =
not sure this is true, because there were also servers which did</div><div>=
not understand extensions.</div><div><br></div><div>-Ekr</div><div><br></di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
-Martin<br>
</font></span></blockquote></div><br></div></div>

--94eb2c190b20f32bae0550373dbc--


From nobody Tue May 23 14:06:49 2017
Return-Path: <nicholas.sullivan@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 38A8E12EB30 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 14:06:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 oQMEA52Facns for <tls@ietfa.amsl.com>; Tue, 23 May 2017 14:06:47 -0700 (PDT)
Received: from mail-ua0-x235.google.com (mail-ua0-x235.google.com [IPv6:2607:f8b0:400c:c08::235]) (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 C15F21289B0 for <tls@ietf.org>; Tue, 23 May 2017 14:06:46 -0700 (PDT)
Received: by mail-ua0-x235.google.com with SMTP id e28so86011763uah.0 for <tls@ietf.org>; Tue, 23 May 2017 14:06:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to;  bh=8iT+cVkHlOGAyhwyzY/eqNJ63YLTwjTC0K8iAVAovVM=; b=QrQlJUHEMkQbLE6lwvtpa4ulmBlEJx05RWAsBgaQRphQx0b75NvlUur7LMbDIQu/cS SGLCXMXRHyV3iEx2LZbEhjI0QLvVFPh3Ou4vXIX1vFM5J6TmVoPPDMsWOpCAa6iD5/OY rsqvrkDK0TlPhqbaHTrHYdYKG3+sdb8CoCROkA/7gAi0Ui66wS46j/Ppqg8Dk67AUku9 kqQIQDzVNhv8qEiuOVpxvnwQYhicYHV4pv2HiH4bPDp7bE8iSRiuGSbwvZh1ZpPSH/yG dwWwPNuHbA4vUr2M5TRyqcFqtxOfcQ9DVGFApDWBZyjsvZ0cDpG/yg0uvdsLb+R+oV3q sYLg==
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; bh=8iT+cVkHlOGAyhwyzY/eqNJ63YLTwjTC0K8iAVAovVM=; b=qKxRamHE1YRQhoE3LPKRnJcFbM6Ofqa9cKbvXIlEvrH/PzJYyFbP1diGxJD2ee8QWC yHqW/2bk5TZaSnnGah4KEE6ShOEtQxEHMEhx8s/8B7I/NqUjaJXsI2HC0dgFGHuOBYIh ZepfJXIRy3DpknydHX5lqNFPLf0aR3MdHeJ46qZNRdoEhRIH6j1bM3EFvdDwa8w3LNBW wgGGiz27y2ZKN9gH6L1w75BEvfSEDaek9MtBrLdIaFMq8vVOB+a8XsygW5Mfv03Emouz 8KVR/Y1nwe2dJGScJ1LU7fxmwtyxPMEyzkN0lraXBynz3fuqjNzSB5eqf1vbLpNjfIfD L4FQ==
X-Gm-Message-State: AODbwcAluqir2w7XOTGm9Y2ego71Ts74phQRZgQOGK2gj3D16T5dv/dp nXU/rBFzlhdnHCIANQzNkdys3P0M/w==
X-Received: by 10.159.52.214 with SMTP id b22mr15781720uac.93.1495573605853; Tue, 23 May 2017 14:06:45 -0700 (PDT)
MIME-Version: 1.0
References: <CAN2QdAHByU1kxgit9J2KqOp1ujz4xWG8QEgAsZQCZWjfoZ2S=A@mail.gmail.com> <CAOjisRziY8KhF163V=VhQGGyXJVkgsQ9QGsqVSpzJMbkvXYO4w@mail.gmail.com> <70b37362-d036-3a34-b616-58f4da10a384@akamai.com>
In-Reply-To: <70b37362-d036-3a34-b616-58f4da10a384@akamai.com>
From: Nick Sullivan <nicholas.sullivan@gmail.com>
Date: Tue, 23 May 2017 21:06:35 +0000
Message-ID: <CAOjisRzLRnPZi91sh0CaGZpxR57AQQ3YAAL8NwhQq93-JsDL7A@mail.gmail.com>
To: Benjamin Kaduk <bkaduk@akamai.com>, tls@ietf.org
Content-Type: multipart/alternative; boundary="f403045e7976832f300550375dc3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/uOY1hH3V8SpUcM010dQSPT2qoRk>
Subject: Re: [TLS] Comments on draft-ietf-tls-exported-authenticator-00
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 21:06:48 -0000

--f403045e7976832f300550375dc3
Content-Type: text/plain; charset="UTF-8"

Ben,

Thanks for pointing that out, you are right. A client is jointly
authoritative if there was in-handshake client auth followed by a
post-handshake client auth. Subsequent client authentications can be
computed in any order and are disambiguated by the context id.

Nick

On Tue, May 23, 2017 at 1:12 PM Benjamin Kaduk <bkaduk@akamai.com> wrote:

> On 05/23/2017 03:07 PM, Nick Sullivan wrote:
>
> 3) In TLS 1.3 post-handshake authentication, each successive certificate
> added to the connection is incorporated into the handshake state. The last
> certificate in a sequence of authentications would result in a connection
> in which the party could say they were jointly authoritative a over
> multiple identities. In exported authenticators, the only state that is
> signed comes from the original handshake, so there's no way to order them.
> Each exported authenticator is tied to the connection, but not tied
> directly to another authenticator, and therefore there is no proof that the
> party is "jointly authoritative". I welcome text changes to make this more
> clear.
>
>
> I thought at least for "normal" post-handshake auth, the handshake hash
> used was always just the initial handshake, and did not include
> intermediate certificates that had been transmitted.
>
> -Ben
>

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

<div dir=3D"ltr"><div><div>Ben,<br><br></div>Thanks for pointing that out, =
you are right. A client is jointly authoritative if there was in-handshake =
client auth followed by a post-handshake client auth. Subsequent client aut=
hentications can be computed in any order and are disambiguated by the cont=
ext id.<br><br></div>Nick<br></div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr">On Tue, May 23, 2017 at 1:12 PM Benjamin Kaduk &lt;<a href=3D"mail=
to:bkaduk@akamai.com">bkaduk@akamai.com</a>&gt; wrote:<br></div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex"><div text=3D"#000000" bgcolor=3D"#FFFFFF">
    On 05/23/2017 03:07 PM, Nick Sullivan wrote:<br>
    <blockquote type=3D"cite">3)
      In TLS 1.3 post-handshake authentication, each successive
      certificate added to the connection is incorporated into the
      handshake state. The last certificate in a sequence of
      authentications would result in a connection in which the party
      could say they were jointly authoritative a over multiple
      identities. In exported authenticators, the only state that is
      signed comes from the original handshake, so there&#39;s no way to
      order them. Each exported authenticator is tied to the connection,
      but not tied directly to another authenticator, and therefore
      there is no proof that the party is &quot;jointly authoritative&quot;=
. I
      welcome text changes to make this more clear.</blockquote>
    <br></div><div text=3D"#000000" bgcolor=3D"#FFFFFF">
    I thought at least for &quot;normal&quot; post-handshake auth, the hand=
shake
    hash used was always just the initial handshake, and did not include
    intermediate certificates that had been transmitted.<br>
    <br>
    -Ben<br>
  </div>

</blockquote></div>

--f403045e7976832f300550375dc3--


From nobody Tue May 23 15:00:58 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 29C22128CDB; Tue, 23 May 2017 15:00:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 5s3CUuSmqHPH; Tue, 23 May 2017 15:00:53 -0700 (PDT)
Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (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 3A6C41250B8; Tue, 23 May 2017 15:00:53 -0700 (PDT)
Received: by mail-lf0-x22c.google.com with SMTP id a5so44057612lfh.2; Tue, 23 May 2017 15:00:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=uOUC0gWCwTkCJ7fxgi3SWGFbI31Ig4wbFSiJkrqZfUY=; b=qP5UrwGOIq7sGWPVRjArH5EzaOx/hYObzp0C15Y5FIhO87i4mkwzzVYK+YeV9NzC1f MMUY6UN8JTHn1XwOf7Vd85Uadg4KlXPKKpOAVJKQL/RLTaXLWWsaGHKRUwFdGyrGFXF+ PG+5r3XWpHevTEnkdvdTJJLWKQ1d/3UIzjGd4+X8ZysjTdpZHWcCi9T96yukcGp5C6lS 0JSVKVtptgRbB5HuEDKMgOAIuLevTRLbA185BEmDbckMQWg/awdG5vsEh1SxnhP4t/7a mRELEhoWoD7XQVeWkaTvrvPd1Ry7Ry/SfzHEqspNwfhLLV3WLq2ruQ9WvaK2wdnYkHWn 7ABA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=uOUC0gWCwTkCJ7fxgi3SWGFbI31Ig4wbFSiJkrqZfUY=; b=QbmJBPvfsfgVxFivzhRvlhiTGMGfsnWHUFBYvRp4VjL68B+lxaJgtSyr6NzgXWT7NF ccdpyFroS95I264Lp+uGhSefR2xYvG9iDCRr1L/6TN9LCb3eI9rQc4bYKOG8JsE6gSln 8/NVAujjpu1DOwiMXs2jleUVOg/gVR+TVLh5kYzkkrBP0apYo/puMZsB635pxB3ggAlU 1mEJ4bVNOf2Z0jk1c25W0BJnpslb2GPtM+U6NAXKBMdn15TzPgXiwzVkAS3JWm4apOn6 3qG9yDo1Onaj/EKheXfr8Xo3KVzHKmpjfsBHsZug8aoRTaP79EnNWQvUH11yTIp79XJQ TQoQ==
X-Gm-Message-State: AODbwcCVzjAKDEwoBhVHPrJkmoicI0QxvMoIdWO5yRU0JyRgIFjrSof5 zXwxYvVgeNcCJJiwOxBe/YxvxDvaLw==
X-Received: by 10.25.80.79 with SMTP id z15mr7456613lfj.142.1495576851429; Tue, 23 May 2017 15:00:51 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Tue, 23 May 2017 15:00:50 -0700 (PDT)
In-Reply-To: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Tue, 23 May 2017 18:00:50 -0400
X-Google-Sender-Auth: dy0yvpY3NSAux0DrVAQQrpTSz3s
Message-ID: <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org,  Joseph Salowey <joe@salowey.net>, tls-chairs <tls-chairs@ietf.org>, tls <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c1cb0b0f6bc0c0550381e6b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/nFEwNomfH1BGQe9iagRdg7b3V8s>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 22:00:57 -0000

--94eb2c1cb0b0f6bc0c0550381e6b
Content-Type: text/plain; charset="UTF-8"

Hi Eric,

Thank you for your reviews. Please see my responses inline. If you agree
with the text I will update the draft.

Yours,
Daniel

On Mon, May 22, 2017 at 10:11 PM, Eric Rescorla <ekr@rtfm.com> wrote:

> Eric Rescorla has entered the following ballot position for
> draft-ietf-tls-ecdhe-psk-aead-04: Discuss
>
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
>
>
> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
>
>
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
>
>
>
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
>
> The following text appears to have been added in -04
>
>    A server receiving a ClientHello and a client_version indicating
>    (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites from
>    this document in ClientHello.cipher_suites can safely assume that
> the
>    client supports TLS 1.2 and is willing to use it.  The server MUST
>    NOT negotiate these cipher suites with TLS protocol versions earlier
>    than TLS 1.2.  Not requiring clients to indicate their support for
>    TLS 1.2 cipher suites exclusively through ClientHello.client_hello
>    improves the interoperability in the installed base and use of TLS
>    1.2 AEAD cipher suites without upsetting the installed base of
>    version-intolerant TLS servers, results in more TLS handshakes
>    succeeding and obviates fallback mechanisms.
>
> This is a major technical change from -03, which, AFAIK, prohibited
> the server from negotiating these algorithms with TLS 1.1 and below
> and maintained the usual TLS version 1.2 negotiation rules.
>
> This is a very material technical change. I don't consider it wise,
> but in any case it would absolutely need WG consensus, which I
> don't believe that it has given the recent introduction.
>

I agree that the text is a technical change, and that it may not be
appropriated to do so now. The reason I included it was that it was conform
to the previous text, but I agree that implicit assumption of version 1.2
may need some additional discussion especially regarding RFC5246 Appendix
E. Unless you prefer further discussion I assume the text below address
your concern.

<t>The cipher suites defined in this document MUST NOT be negotiated for
any version of (D)TLS other than TLS 1.2. Clients MUST NOT offer one of
these cipher suites with a (D)TLS version that differs from TLS 1.2.
Servers MUST NOT select one of these cipher suites with a TLS version that
differs from TLS 1.2. A client MUST treat the selection of these cipher
suites in combination with a version of TLS as an error and generate a
fatal 'illegal_parameter' TLS alert. </t>

>
> The discussion of dictionary attacks here seems inferior to that
> in 4279. In particular, you only need to actively attack one
> connection to capture the data you need for a brute force attack
> despite the text there referring to trying "different keys".
> Please correct that.
>
> I believe the text below address your concern:

OLD:
<t>Use of Pre-Shared Keys of limited entropy may allow an active
attacker attempts to connect to the server and try different keys.
For example, limited entropy may be provided by using a short PSK in which
case an attacker may perform a brute-force attack. Another example
includes the use of a PSK  chosen by a human which thus may be exposed to
dictionary attacks.</t>

NEW:
<t>Pre-Shared Keys security relies on its associated entropy, and it is
RECOMMENDED to follow <xref target="4086"/> to ensure the PSK has enough
entropy. Possible reasons for low entropy includes PSK chosen by humans or
PSK of small length as well as using random generators with limited
entropy. </t>

<t>PSK of limited entropy may allow an attacker to test different PSK
values against a valid output such as master secret or any output derived
from it. In this document, the master secret is generated using the PSK as
well as the ECDHE shared secret. The use of ECDHE limits the possibilities
of passive eavesdropping attackers, as the ECDHE shared secret is not
expected to be derived from the observed ECDH parameters. As a result,
passive eavesdropping is unlikely to happen, and the collection of all
necessary material relies on an active attack.
An active attacker may collect the necessary material by setting a TLS
session as a client with the legitimate server. One PSK is tested for each
session, and a match occurs when key exchange succeeds. On the other hand,
an active attacker may also consider gathering the necessary information
for offline computation. One way consists in getting a legitimate client to
establish a connection with the attacker. It is also assumed that the
client will accept the ECDH parameters authenticated by the attacker's
private key and finally returns the Finished message authenticating the
exchange. The attacker will be then in possession of all the necessary
information to perform a brute force attack.</t>


>
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>
> The citations to TLS 1.3 still seem pretty muddled. I think you
> should just stop referencing and discussing 1.3.
>

My understanding of your comment is that mentioning TLS 1.3 to further
insisting that the code point are not valid for TLS 1.3 is confusing. I
propose to:

Explicitly mention the TLS version in the title:

OLD title:
ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
Security (TLS)

NEW title:
ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
Security (TLS)

OLD Introduction:

    The cipher
   suites are defined for version 1.2 of the Transport Layer Security
   (TLS) [RFC5246 <https://tools.ietf.org/html/rfc5246>] protocol,
version 1.2 of the Datagram Transport Layer
   Security (DTLS) protocol [RFC6347
<https://tools.ietf.org/html/rfc6347>], as well as version 1.3 of TLS
   [I-D.ietf-tls-tls13
<https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>].

NEW introduction

The cipher
   suites are defined for version 1.2 of the Transport Layer Security
   (TLS) [RFC5246 <https://tools.ietf.org/html/rfc5246>] protocol,
version 1.2 of the Datagram Transport Layer
   Security (DTLS) protocol [RFC6347 <https://tools.ietf.org/html/rfc6347>].


I suggest to keep the following text of the introduction:


AEAD algorithms that combine encryption and integrity protection are
   strongly recommended for (D)TLS [RFC7525
<https://tools.ietf.org/html/rfc7525>] and non-AEAD algorithms are
   forbidden to use in TLS 1.3 [I-D.ietf-tls-tls13
<https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>].
The AEAD
   algorithms considered in this document are AES-GCM and AES-CCM.  The
   use of AES-GCM in TLS is defined in [RFC5288
<https://tools.ietf.org/html/rfc5288>] and the use of AES-CCM
   is defined in [RFC6655 <https://tools.ietf.org/html/rfc6655>].


I suggest to keep the following text of the Applicable versions sections,
as I believe the section discusses the cipher suites against all existing
TLS versions. In addition, it also justifies somewhat that we only defined
cipher suites that are compatible with TLS1.3.

   TLS version 1.3 and later negotiate these features in a different
   manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and cipher
   suite negotiation [I-D.ietf-tls-tls13
<https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>]
Section 1.2 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#section-1.2>.
TLS 1.3 supports
   PSK with ECDHE key exchange and the cipher suites
   TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
   TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
   specification.  As a result, TLS 1.3 and higher versions, negotiate
   and support these cipher suites in a different way.

I suggest to remove the reference to TLS1.3 in the security considerations

OLD

 The security considerations in TLS 1.2 [RFC5246
<https://tools.ietf.org/html/rfc5246>], DTLS 1.2 [RFC6347
<https://tools.ietf.org/html/rfc6347>],
   TLS 1.3 [I-D.ietf-tls-tls13
<https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>],
ECDHE_PSK [RFC5489 <https://tools.ietf.org/html/rfc5489>], AES-GCM
[RFC5288 <https://tools.ietf.org/html/rfc5288>],
   and AES-CCM [RFC6655 <https://tools.ietf.org/html/rfc6655>] apply
to this document as well.

NEW

 The security considerations in TLS 1.2 [RFC5246
<https://tools.ietf.org/html/rfc5246>], DTLS 1.2 [RFC6347
<https://tools.ietf.org/html/rfc6347>],
 ECDHE_PSK [RFC5489 <https://tools.ietf.org/html/rfc5489>], AES-GCM
[RFC5288 <https://tools.ietf.org/html/rfc5288>],and AES-CCM [RFC6655
<https://tools.ietf.org/html/rfc6655>] apply
 to this document as well.


> S 2.
> I'm not sure that the discussion of the PRF is helpful here in
> mandating the non-use of these cipher suites with TLS 1.1 and
> below.
>

I find the text useful as it gives an idea why even introducing AEAD in TLS
version lower than 1.2 is a bad idea, so I would prefer to keep it. The
text has been changed to

OLD:
As such TLS 1.0 and TLS 1.1 should not be used with ECDHE_PSK.

NEW:
As such,  all ECDHE_PSK
ciphers, including those defined outside this document, SHOULD NOT be
negotiated in TLS versions prior to 1.2.

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

<div dir=3D"ltr"><div><div><div>Hi Eric, <br><br></div>Thank you for your r=
eviews. Please see my responses inline. If you agree with the text I will u=
pdate the draft.<br><br></div>Yours, <br></div>Daniel<br><div><div><div><di=
v><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, May 22,=
 2017 at 10:11 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a href=3D"mailto:ek=
r@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> wrote:<br><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex">Eric Rescorla has entered the fo=
llowing ballot position for<br>
draft-ietf-tls-ecdhe-psk-aead-<wbr>04: Discuss<br>
<br>
When responding, please keep the subject line intact and reply to all<br>
email addresses included in the To and CC lines. (Feel free to cut this<br>
introductory paragraph, however.)<br>
<br>
<br>
Please refer to <a href=3D"https://www.ietf.org/iesg/statement/discuss-crit=
eria.html" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/iesg/s=
tat<wbr>ement/discuss-criteria.html</a><br>
for more information about IESG DISCUSS and COMMENT positions.<br>
<br>
<br>
The document, along with other ballot positions, can be found here:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/"=
 rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/d<wbr>oc=
/draft-ietf-tls-ecdhe-psk-ae<wbr>ad/</a><br>
<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
DISCUSS:<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
<br>
The following text appears to have been added in -04<br>
<br>
=C2=A0 =C2=A0A server receiving a ClientHello and a client_version indicati=
ng<br>
=C2=A0 =C2=A0(3,1) &quot;TLS 1.0&quot; or (3,2) &quot;TLS 1.1&quot; and any=
 of the cipher suites from<br>
=C2=A0 =C2=A0this document in ClientHello.cipher_suites can safely assume t=
hat<br>
the<br>
=C2=A0 =C2=A0client supports TLS 1.2 and is willing to use it.=C2=A0 The se=
rver MUST<br>
=C2=A0 =C2=A0NOT negotiate these cipher suites with TLS protocol versions e=
arlier<br>
=C2=A0 =C2=A0than TLS 1.2.=C2=A0 Not requiring clients to indicate their su=
pport for<br>
=C2=A0 =C2=A0TLS 1.2 cipher suites exclusively through ClientHello.client_h=
ello<br>
=C2=A0 =C2=A0improves the interoperability in the installed base and use of=
 TLS<br>
=C2=A0 =C2=A01.2 AEAD cipher suites without upsetting the installed base of=
<br>
=C2=A0 =C2=A0version-intolerant TLS servers, results in more TLS handshakes=
<br>
=C2=A0 =C2=A0succeeding and obviates fallback mechanisms.<br>
<br>
This is a major technical change from -03, which, AFAIK, prohibited<br>
the server from negotiating these algorithms with TLS 1.1 and below<br>
and maintained the usual TLS version 1.2 negotiation rules.<br>
<br>
This is a very material technical change. I don&#39;t consider it wise,<br>
but in any case it would absolutely need WG consensus, which I<br>
don&#39;t believe that it has given the recent introduction.<br></blockquot=
e><div><br></div><div>I agree that the text is a technical change, and that=
 it may not be appropriated to do so now. The reason I included it was that=
 it was conform to the previous text, but I agree that implicit assumption =
of version 1.2 may need some additional discussion especially regarding RFC=
5246 Appendix E. Unless you prefer further discussion I assume the text bel=
ow address your concern. =C2=A0 <br><br>&lt;t&gt;The cipher suites defined =
in this document MUST NOT be negotiated for any version of (D)TLS other tha=
n TLS 1.2. Clients MUST NOT offer one of these cipher suites with a (D)TLS =
version that differs from TLS 1.2. Servers MUST NOT select one of these cip=
her suites with a TLS version that differs from TLS 1.2. A client MUST trea=
t the selection of these cipher suites in combination with a version of TLS=
 as an error and generate a fatal &#39;illegal_parameter&#39; TLS alert. &l=
t;/t&gt; <br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
The discussion of dictionary attacks here seems inferior to that<br>
in 4279. In particular, you only need to actively attack one<br>
connection to capture the data you need for a brute force attack<br>
despite the text there referring to trying &quot;different keys&quot;.<br>
Please correct that.<br>
<br></blockquote><div>I believe the text below address your concern:<br><br=
>OLD:<br>&lt;t&gt;Use of Pre-Shared Keys of limited entropy may allow an ac=
tive<br>attacker attempts to connect to the server and try different keys.<=
br>For example, limited entropy may be provided by using a short PSK in whi=
ch<br>case an attacker may perform a brute-force attack. Another example<br=
>includes the use of a PSK=C2=A0 chosen by a human which thus may be expose=
d to<br>dictionary attacks.&lt;/t&gt;<br><br>NEW:<br>&lt;t&gt;Pre-Shared Ke=
ys security relies on its associated entropy, and it is RECOMMENDED to foll=
ow &lt;xref target=3D&quot;4086&quot;/&gt; to ensure the PSK has enough ent=
ropy. Possible reasons for low entropy includes PSK chosen by humans or PSK=
 of small length as well as using random generators with limited entropy. &=
lt;/t&gt;<br><br>&lt;t&gt;PSK of limited entropy may allow an attacker to t=
est different PSK values against a valid output such as master secret or an=
y output derived from it. In this document, the master secret is generated =
using the PSK as well as the ECDHE shared secret. The use of ECDHE limits t=
he possibilities of passive eavesdropping attackers, as the ECDHE shared se=
cret is not expected to be derived from the observed ECDH parameters. As a =
result, passive eavesdropping is unlikely to happen, and the collection of =
all necessary material relies on an active attack. <br>An active attacker m=
ay collect the necessary material by setting a TLS session as a client with=
 the legitimate server. One PSK is tested for each session, and a match occ=
urs when key exchange succeeds. On the other hand, an active attacker may a=
lso consider gathering the necessary information for offline computation. O=
ne way consists in getting a legitimate client to establish a connection wi=
th the attacker. It is also assumed that the client will accept the ECDH pa=
rameters authenticated by the attacker&#39;s private key and finally return=
s the Finished message authenticating the exchange. The attacker will be th=
en in possession of all the necessary information to perform a brute force =
attack.&lt;/t&gt;=C2=A0=C2=A0 <br>=C2=A0 <br></div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex">
<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
COMMENT:<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
<br>
The citations to TLS 1.3 still seem pretty muddled. I think you<br>
should just stop referencing and discussing 1.3.<br></blockquote><div><br><=
/div><div>My understanding of your comment is that mentioning TLS 1.3 to fu=
rther insisting that the code point are not valid for TLS 1.3 is confusing.=
 I propose to:<br><br></div><div>Explicitly mention the TLS version in the =
title:<br><br></div><div>OLD title:<br>ECDHE_PSK with AES-GCM and AES-CCM C=
ipher Suites for Transport Layer Security (TLS)<br><br></div><div>NEW title=
:<br>ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer S=
ecurity (TLS)<br></div><div><pre><span class=3D"m_-6500030207053047939gmail=
-h1"></span><span class=3D"m_-6500030207053047939gmail-h1"></span></pre>OLD=
 Introduction:<br><pre class=3D"m_-6500030207053047939gmail-newpage">    Th=
e cipher
   suites are defined for version 1.2 of the Transport Layer Security
   (TLS) [<a href=3D"https://tools.ietf.org/html/rfc5246" title=3D"&quot;Th=
e Transport Layer Security (TLS) Protocol Version 1.2&quot;" target=3D"_bla=
nk">RFC5246</a>] protocol, version 1.2 of the Datagram Transport Layer
   Security (DTLS) protocol [<a href=3D"https://tools.ietf.org/html/rfc6347=
" title=3D"&quot;Datagram Transport Layer Security Version 1.2&quot;" targe=
t=3D"_blank">RFC6347</a>], as well as version 1.3 of TLS
   [<a href=3D"https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04=
#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.ietf-tls-tls13</a>].</pre>NE=
W introduction<br><br><pre class=3D"m_-6500030207053047939gmail-newpage">Th=
e cipher
   suites are defined for version 1.2 of the Transport Layer Security
   (TLS) [<a href=3D"https://tools.ietf.org/html/rfc5246" title=3D"&quot;Th=
e Transport Layer Security (TLS) Protocol Version 1.2&quot;" target=3D"_bla=
nk">RFC5246</a>] protocol, version 1.2 of the Datagram Transport Layer
   Security (DTLS) protocol [<a href=3D"https://tools.ietf.org/html/rfc6347=
" title=3D"&quot;Datagram Transport Layer Security Version 1.2&quot;" targe=
t=3D"_blank">RFC6347</a>]. <br><br><br>I suggest to keep the following text=
 of the introduction:<br></pre></div><div><br><pre class=3D"m_-650003020705=
3047939gmail-newpage">AEAD algorithms that combine encryption and integrity=
 protection are
   strongly recommended for (D)TLS [<a href=3D"https://tools.ietf.org/html/=
rfc7525" title=3D"&quot;Recommendations for Secure Use of Transport Layer S=
ecurity (TLS) and Datagram Transport Layer Security (DTLS)&quot;" target=3D=
"_blank">RFC7525</a>] and non-AEAD algorithms are
   forbidden to use in TLS 1.3 [<a href=3D"https://tools.ietf.org/html/draf=
t-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.=
ietf-tls-tls13</a>].  The AEAD
   algorithms considered in this document are AES-GCM and AES-CCM.  The
   use of AES-GCM in TLS is defined in [<a href=3D"https://tools.ietf.org/h=
tml/rfc5288" title=3D"&quot;AES Galois Counter Mode (GCM) Cipher Suites for=
 TLS&quot;" target=3D"_blank">RFC5288</a>] and the use of AES-CCM
   is defined in [<a href=3D"https://tools.ietf.org/html/rfc6655" title=3D"=
&quot;AES-CCM Cipher Suites for Transport Layer Security (TLS)&quot;" targe=
t=3D"_blank">RFC6655</a>].
</pre></div><div><br>I suggest to keep the following text of the Applicable=
 versions sections, as I believe the section discusses the cipher suites ag=
ainst all existing TLS versions. In addition, it also justifies somewhat th=
at we only defined cipher suites that are compatible with TLS1.3.=C2=A0 <br=
><pre class=3D"m_-6500030207053047939gmail-newpage">   TLS version 1.3 and =
later negotiate these features in a different
   manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and cipher
   suite negotiation [<a href=3D"https://tools.ietf.org/html/draft-ietf-tls=
-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.ietf-tls-t=
ls13</a>] <a href=3D"https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-a=
ead-04#section-1.2" target=3D"_blank">Section 1.2</a>.  TLS 1.3 supports
   PSK with ECDHE key exchange and the cipher suites
   TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
   TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
   specification.  As a result, TLS 1.3 and higher versions, negotiate
   and support these cipher suites in a different way.</pre>I suggest to re=
move the reference to TLS1.3 in the security considerations<br><br></div>OL=
D<br><pre class=3D"m_-6500030207053047939gmail-newpage"> The security consi=
derations in TLS 1.2 [<a href=3D"https://tools.ietf.org/html/rfc5246" title=
=3D"&quot;The Transport Layer Security (TLS) Protocol Version 1.2&quot;" ta=
rget=3D"_blank">RFC5246</a>], DTLS 1.2 [<a href=3D"https://tools.ietf.org/h=
tml/rfc6347" title=3D"&quot;Datagram Transport Layer Security Version 1.2&q=
uot;" target=3D"_blank">RFC6347</a>],
   TLS 1.3 [<a href=3D"https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk=
-aead-04#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.ietf-tls-tls13</a>],=
 ECDHE_PSK [<a href=3D"https://tools.ietf.org/html/rfc5489" title=3D"&quot;=
ECDHE_PSK Cipher Suites for Transport Layer Security (TLS)&quot;" target=3D=
"_blank">RFC5489</a>], AES-GCM [<a href=3D"https://tools.ietf.org/html/rfc5=
288" title=3D"&quot;AES Galois Counter Mode (GCM) Cipher Suites for TLS&quo=
t;" target=3D"_blank">RFC5288</a>],
   and AES-CCM [<a href=3D"https://tools.ietf.org/html/rfc6655" title=3D"&q=
uot;AES-CCM Cipher Suites for Transport Layer Security (TLS)&quot;" target=
=3D"_blank">RFC6655</a>] apply to this document as well.<br><br></pre></div=
><div class=3D"gmail_quote">NEW <br></div><div class=3D"gmail_quote"><div><=
pre class=3D"m_-6500030207053047939gmail-newpage"> The security considerati=
ons in TLS 1.2 [<a href=3D"https://tools.ietf.org/html/rfc5246" title=3D"&q=
uot;The Transport Layer Security (TLS) Protocol Version 1.2&quot;" target=
=3D"_blank">RFC5246</a>], DTLS 1.2 [<a href=3D"https://tools.ietf.org/html/=
rfc6347" title=3D"&quot;Datagram Transport Layer Security Version 1.2&quot;=
" target=3D"_blank">RFC6347</a>],<br> ECDHE_PSK [<a href=3D"https://tools.i=
etf.org/html/rfc5489" title=3D"&quot;ECDHE_PSK Cipher Suites for Transport =
Layer Security (TLS)&quot;" target=3D"_blank">RFC5489</a>], AES-GCM [<a hre=
f=3D"https://tools.ietf.org/html/rfc5288" title=3D"&quot;AES Galois Counter=
 Mode (GCM) Cipher Suites for TLS&quot;" target=3D"_blank">RFC5288</a>],and=
 AES-CCM [<a href=3D"https://tools.ietf.org/html/rfc6655" title=3D"&quot;AE=
S-CCM Cipher Suites for Transport Layer Security (TLS)&quot;" target=3D"_bl=
ank">RFC6655</a>] apply <br> to this document as well.</pre></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">
<br>
S 2.<br>
I&#39;m not sure that the discussion of the PRF is helpful here in<br>
mandating the non-use of these cipher suites with TLS 1.1 and<br>
below.<br></blockquote><div><br></div><div>I find the text useful as it giv=
es an idea why even introducing AEAD in TLS version lower than 1.2 is a bad=
 idea, so I would prefer to keep it. The text has been changed to <br><br><=
/div><div>OLD:<br>As such TLS 1.0 and TLS 1.1 should not be used with ECDHE=
_PSK.</div><div><br>NEW:<br></div></div>As such,=C2=A0 all ECDHE_PSK<br>cip=
hers, including those defined outside this document, SHOULD NOT be<br>negot=
iated in TLS versions prior to 1.2.<br></div></div></div></div></div></div>

--94eb2c1cb0b0f6bc0c0550381e6b--


From nobody Tue May 23 15:04:20 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 681E4129B52; Tue, 23 May 2017 15:04:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 jKjOw08IiKLH; Tue, 23 May 2017 15:04:17 -0700 (PDT)
Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (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 926BD1292F5; Tue, 23 May 2017 15:04:17 -0700 (PDT)
Received: by mail-lf0-x22c.google.com with SMTP id a5so44094574lfh.2; Tue, 23 May 2017 15:04:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=uhTkRNgSR90a9FXfZxPXac0z87nmVS0GoPtaH3JsMHI=; b=fsWTu0Z5KCF47i+EeMtNLukrCbSZcq1BN+PkDGSq/qK+Dd/wX8bvHDIcZIMeIJk3iK DNPdaijBERWtu2QQnUzJHa2kKLhACGv9RLpCGG6eSLYYd9XUJHvYHBkIobEiXIJKa1vH MGn4FakapMjonMaN1lVvFj/TigyTuiMwGAAbz3CAeOQ+bHLmlb6WUO8i3jOr8UpqZfVM RuNZei73W9dziHI9uPK7kzGgIBx7+yhEN3/BqSibVOv6wiDHKU+aP/QCHqS31RHPZgZa /y8nd8+chyZsdwXYFguRZZipOOQMrYKHJdJZjEufc0cPF8hJJR9pfx+5o9cJqgB8gCR/ 0Tlg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=uhTkRNgSR90a9FXfZxPXac0z87nmVS0GoPtaH3JsMHI=; b=Tkx62OgR9x2sAiEAuUXZnw2237Emf1qLYq0YXAFPFN+X0o/bayBmSkL98EL9qlsK1K YbQqhzcBqc8B0K5aGvDHhdYv/wB+VLC5iyUqT1C7x/9hCWQtrbqmZ/bRGXqeOtJiYV6n AeFgBHtxz+BmFOI7QgY6+j8liQ4TphStdJIf3ztNSyZKgQ/wUgeGDMJhdw6LpMFI+Cp6 dmPbl+PmS4LhqHk0nx/2ZWepmyIYfpZyyZgkPDU18nbQHeSGu4i6HVB81dgkCVr3uA5I y7CkNnEZFPl2NI8iZNwqah25PYQSyR4zX+IDdXWKX5xwdnCKfviesNaC/uTK7jQ1P1OS v2+A==
X-Gm-Message-State: AODbwcBDNaAULl2B7U9EJVzyKpGYrv0a4lDXS1dzX75DOjv0mtBHQU3m wWFGczINwRdcE7gtg0Ne/2zF8sI9OQ==
X-Received: by 10.25.229.69 with SMTP id c66mr9821919lfh.102.1495577055946; Tue, 23 May 2017 15:04:15 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Tue, 23 May 2017 15:04:15 -0700 (PDT)
In-Reply-To: <20170523193453.CF9761A6A6@ld9781.wdf.sap.corp>
References: <149556730804.28545.6150805815075208815.idtracker@ietfa.amsl.com> <20170523193453.CF9761A6A6@ld9781.wdf.sap.corp>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Tue, 23 May 2017 18:04:15 -0400
X-Google-Sender-Auth: RVs_6WbKdlhZLypCp37aChtnKxs
Message-ID: <CADZyTkngnUCNOrTJTd7Se+8seghnfE3DXBTbj1s3mw4Nt09Yjg@mail.gmail.com>
To: mrex@sap.com
Cc: Adam Roach <adam@nostrum.com>, The IESG <iesg@ietf.org>, tls <tls@ietf.org>, tls-chairs <tls-chairs@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: multipart/alternative; boundary="001a113c0cb2276f480550382b54"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/q2B51uXlWvD7qMuohIEoJSKnPnE>
Subject: Re: [TLS] Adam Roach's No Objection on draft-ietf-tls-ecdhe-psk-aead-04: (with COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 22:04:19 -0000

--001a113c0cb2276f480550382b54
Content-Type: text/plain; charset="UTF-8"

Hi,

So I have propose a fall back to the latest version. However, if we agree
this is a better approach, I am fine adding it to the document.

Yours,
Daniel

On Tue, May 23, 2017 at 3:34 PM, Martin Rex <mrex@sap.com> wrote:

> Adam Roach wrote:
> > draft-ietf-tls-ecdhe-psk-aead-04: No Objection
> >
> > ----------------------------------------------------------------------
> > COMMENT:
> > ----------------------------------------------------------------------
> >
> > I agree with EKR's discuss -- specifying semantics for these ciphersuites
> > with TLS 1.0 and 1.1 is a material change, and the proposed mechanism (in
> > which servers are encouraged to infer 1.2 support even in the absence of
> > explicit indication) is a bit baffling.
>
> It encourages (but does not require) servers to infer 1.2 support
> from _very_explicit_ information: the offering of TLSv1.2-only TLS
> ciphersuites is the very same TLS ClientHello handshake message.
>
> We know since rfc5746 that the most reliable scheme to indicate support
> for certain TLS protocol features is a cipher suite value.  It is far
> from rocket science to infer support for 1.2 from 1.2-only cipher
> suite codepoints in ClientHello.cipher_suites.
>
>
>
> I just realized that I suggested removal of a description of client
> behaviour that can, and should remain in the document (I'm sorry):
>
>                     A client MUST treat the selection of these cipher
>   suites in combination with a version of TLS that does not support
>   AEAD (i.e., TLS 1.1 or earlier) as an error and generate a fatal
>   'illegal_parameter' TLS alert.
>
>
> -Martin
>

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

<div dir=3D"ltr"><div><div><div>Hi, <br><br></div>So I have propose a fall =
back to the latest version. However, if we agree this is a better approach,=
 I am fine adding it to the document. <br><br></div>Yours,<br></div>Daniel<=
br></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, =
May 23, 2017 at 3:34 PM, Martin Rex <span dir=3D"ltr">&lt;<a href=3D"mailto=
:mrex@sap.com" target=3D"_blank">mrex@sap.com</a>&gt;</span> wrote:<br><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex">Adam Roach wrote:<br>
&gt; draft-ietf-tls-ecdhe-psk-aead-<wbr>04: No Objection<br>
<span class=3D"">&gt;<br>
&gt; ------------------------------<wbr>------------------------------<wbr>=
----------<br>
&gt; COMMENT:<br>
&gt; ------------------------------<wbr>------------------------------<wbr>=
----------<br>
&gt;<br>
&gt; I agree with EKR&#39;s discuss -- specifying semantics for these ciphe=
rsuites<br>
&gt; with TLS 1.0 and 1.1 is a material change, and the proposed mechanism =
(in<br>
&gt; which servers are encouraged to infer 1.2 support even in the absence =
of<br>
&gt; explicit indication) is a bit baffling.<br>
<br>
</span>It encourages (but does not require) servers to infer 1.2 support<br=
>
from _very_explicit_ information: the offering of TLSv1.2-only TLS<br>
ciphersuites is the very same TLS ClientHello handshake message.<br>
<br>
We know since rfc5746 that the most reliable scheme to indicate support<br>
for certain TLS protocol features is a cipher suite value.=C2=A0 It is far<=
br>
from rocket science to infer support for 1.2 from 1.2-only cipher<br>
suite codepoints in ClientHello.cipher_suites.<br>
<br>
<br>
<br>
I just realized that I suggested removal of a description of client<br>
behaviour that can, and should remain in the document (I&#39;m sorry):<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 A cli=
ent MUST treat the selection of these cipher<br>
=C2=A0 suites in combination with a version of TLS that does not support<br=
>
=C2=A0 AEAD (i.e., TLS 1.1 or earlier) as an error and generate a fatal<br>
=C2=A0 &#39;illegal_parameter&#39; TLS alert.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
-Martin<br>
</font></span></blockquote></div><br></div>

--001a113c0cb2276f480550382b54--


From nobody Tue May 23 15:05:20 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65C7512EB49; Tue, 23 May 2017 15:04:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 qjov76PGlap3; Tue, 23 May 2017 15:04:58 -0700 (PDT)
Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (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 012C912EB25; Tue, 23 May 2017 15:04:57 -0700 (PDT)
Received: by mail-lf0-x22c.google.com with SMTP id h4so57645961lfj.3; Tue, 23 May 2017 15:04:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=BcPuDhO1pMmWTz00D2DzmDeckG9yrIFP/RDyuvcpmwU=; b=hk37aTM1gMC9xmHLiM2X1NRjMy1scZR1bHf9D5zFEV6SSSrE+w394A8e9X3OMh3E0I F8KVMl0nGPzN7DnpeXbI7O6hPd9wXgIZBEp81TIkns/d6qsaKrEIXrYgige0mCjFz0CO sqChPjKGzfeU3JxSgdIEJEmKvxjPzxSLWnHaZCqDD6V5IkqsWZqPoRXK4iBbPXNASHco GGbKW20PvPF+UscI92OK4D8SxqNpi08d2wdF74E8SIPFfozWvMuMKo4HTvBhFVQOsvEe WCQxZ2fxGFxW/82Cgv7Pq+/RBsA3JpRHZQYa2QYpeUm7A5m/zLfGgDagmcVLnUg+UvpA tZqA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=BcPuDhO1pMmWTz00D2DzmDeckG9yrIFP/RDyuvcpmwU=; b=f3QU4YUL9/a0DaBKhu02KBpWiXCtZAyLS0QH5uiHZMxaay2jrYDFFokepXRN8rf/1R ML1LromVNGH6R/x8hCX5AZl09yxleiTbVIaHhJ2KAD9p6fTM5ctIoRDeCJREBFg8A6qU PZvjbuGKk8dXp+r4uCVQWUUPKRrExd57u1LTjd6KgHKr3CCUS03s+SW/WdVFG7XDHxZj vfJrBWvUQS2jt7GxKFwK5AfMjUOfRQGvc9sd6a7R38+ZOncrZERXAK+swduIkkNbsfrZ Xec2bXgusWTe1X7Ykbq4ZsghsANsZBOoXeIJYCzwUCSWNWAZzkbuRkHNO5JfRgYhF3F4 LVng==
X-Gm-Message-State: AODbwcD9LVtd4OZAxukI0lQNvXLiZx4SSscX+jJIEnI3FrijXuwtI8jA fsiChjAnmE12J36oeGaa99Ep1Rbecg==
X-Received: by 10.46.81.17 with SMTP id f17mr8864653ljb.96.1495577096361; Tue, 23 May 2017 15:04:56 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Tue, 23 May 2017 15:04:55 -0700 (PDT)
In-Reply-To: <20170522173534.GT39245@kduck.kaduk.org>
References: <20170519043827.GL39245@kduck.kaduk.org> <CADZyTkncMTsTQt6C2S+Z0mw+30uc38bfrTSCOvjWRPn_dJkDLQ@mail.gmail.com> <20170519162725.GM39245@kduck.kaduk.org> <CADZyTk=id9bDfi31R+K6hC+ZKzWsjsvo8JbSCzqYGaK_1X1j7Q@mail.gmail.com> <20170522173534.GT39245@kduck.kaduk.org>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Tue, 23 May 2017 18:04:55 -0400
X-Google-Sender-Auth: mo_QA4jOMmlD5y2_qXqm4vGR1-M
Message-ID: <CADZyTkn1etMeM4BZ5MYPm4VR-YiFH_yvjNQ6TZEwChrJzvHQUg@mail.gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: tls <tls@ietf.org>, draft-ietf-tls-ecdhe-psk-aead.all@ietf.org,  "ietf@ietf.org" <ietf@ietf.org>, The IESG <iesg@ietf.org>, secdir@ietf.org
Content-Type: multipart/alternative; boundary="f403045ff93c901dac0550382d46"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/DQoeWGs0WUZlt0ah04xFD1S5q4c>
Subject: Re: [TLS] secdir review of draft-ietf-tls-ecdhe-psk-aead-03
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 22:04:59 -0000

--f403045ff93c901dac0550382d46
Content-Type: text/plain; charset="UTF-8"

Thank you for the clarifying text. I have added it on my local copy.
Yours,
Daniel

On Mon, May 22, 2017 at 1:35 PM, Benjamin Kaduk <kaduk@mit.edu> wrote:

> Sorry for the slow reply.
>
> On Fri, May 19, 2017 at 12:58:07PM -0400, Daniel Migault wrote:
> > Thank you,
> >
> > Your comments have all been addressed. I have one remaining
> clarification.
> > In my text the SHOULD NOT was intended to the ECDHE_PSK in general, and
> not
> > only for the cipher suites of the draft. In your opinion do we clarify
> > this, and should we use something else than SHOULD NOT ?
>
> It's somewhat awkward, as what we really want to do is Update RFC
> 5489 to add this prohibition there.  But, that's more process to
> jump through and this document is already at a late stage, so I do
> not actually propose doing that.  I would be okay saying
>
>   As such, all ECDHE_PSK ciphers, including those defined outside
>   this document, SHOULD NOT be negotiated in TLS versions prior to
>   1.2.
>
> to match up with the MUST NOT text we have for these new ciphers.
> (Taking into account Martin's text that the prohibition is on
> negotiating them, but offering them in a ClientHello that also
> offers the old version is okay.)
>
> -Ben
>

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

<div dir=3D"ltr"><div><div>Thank you for the clarifying text. I have added =
it on my local copy. <br></div>Yours, <br></div>Daniel<br></div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, May 22, 2017 at 1:3=
5 PM, Benjamin Kaduk <span dir=3D"ltr">&lt;<a href=3D"mailto:kaduk@mit.edu"=
 target=3D"_blank">kaduk@mit.edu</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">Sorry for the slow reply.<br>
<span class=3D""><br>
On Fri, May 19, 2017 at 12:58:07PM -0400, Daniel Migault wrote:<br>
&gt; Thank you,<br>
&gt;<br>
&gt; Your comments have all been addressed. I have one remaining clarificat=
ion.<br>
&gt; In my text the SHOULD NOT was intended to the ECDHE_PSK in general, an=
d not<br>
&gt; only for the cipher suites of the draft. In your opinion do we clarify=
<br>
&gt; this, and should we use something else than SHOULD NOT ?<br>
<br>
</span>It&#39;s somewhat awkward, as what we really want to do is Update RF=
C<br>
5489 to add this prohibition there.=C2=A0 But, that&#39;s more process to<b=
r>
jump through and this document is already at a late stage, so I do<br>
not actually propose doing that.=C2=A0 I would be okay saying<br>
<br>
=C2=A0 As such, all ECDHE_PSK ciphers, including those defined outside<br>
=C2=A0 this document, SHOULD NOT be negotiated in TLS versions prior to<br>
=C2=A0 1.2.<br>
<br>
to match up with the MUST NOT text we have for these new ciphers.<br>
(Taking into account Martin&#39;s text that the prohibition is on<br>
negotiating them, but offering them in a ClientHello that also<br>
offers the old version is okay.)<br>
<br>
-Ben<br>
</blockquote></div><br></div>

--f403045ff93c901dac0550382d46--


From nobody Tue May 23 15:12:50 2017
Return-Path: <ben@nostrum.com>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 4F2B8128B93; Tue, 23 May 2017 15:12:43 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Ben Campbell <ben@nostrum.com>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-tls-ecdhe-psk-aead@ietf.org, Joseph Salowey <joe@salowey.net>,  tls-chairs@ietf.org, joe@salowey.net, tls@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.51.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149557756331.28529.11248340972147793467.idtracker@ietfa.amsl.com>
Date: Tue, 23 May 2017 15:12:43 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/M8hRLCLa_M1tjUr-I2Xcfh56G2o>
Subject: [TLS] Ben Campbell's No Objection on draft-ietf-tls-ecdhe-psk-aead-04: (with COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 22:12:43 -0000

Ben Campbell has entered the following ballot position for
draft-ietf-tls-ecdhe-psk-aead-04: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about IESG DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

I support Ekr's DISCUSS position.



From nobody Tue May 23 16:15:45 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B2761287A5 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 16:15:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 k9YuVLZVEuxJ for <tls@ietfa.amsl.com>; Tue, 23 May 2017 16:15:42 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB362127867 for <tls@ietf.org>; Tue, 23 May 2017 16:15:42 -0700 (PDT)
Received: from pps.filterd (m0050102.ppops.net [127.0.0.1]) by m0050102.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4NNDDSM020370; Wed, 24 May 2017 00:15:38 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=ENzEyH08lHuwpgRBNn98zpibxGAUHojEWHLWZjdBNXo=; b=UP0ivAl6eI2hWgE/C2m78WdpgE42P0v4viaYsfsH/2MYYIdFVjPGfIsPK+miF8vGTuGP mysmRUIoOgXs+tUU4TVTz4sep76TzG3Z8NVAKaE/PM3tr5WTZRuBEi0ZaT9z8CiIjnwX 8v0c+yz0yVuKABmNPxpPo36NvDoBaU+aqXv4WVxqq67/Eo9o6yRTJdQDGsMOTtb04xSd i0LXn4AlwBxBqUsMFsb6ipSGurT9MmBw3ssJJWc9GZA+PiP+T2A4ELJ3Zp1AsDGueou3 fEIphyChAjJlSU6uHJf3pn6ELYGfEnMLlcRKoW023V3D/mEf8soHmmLE8UO2UYYS9Ssg Kg== 
Received: from prod-mail-ppoint3 ([96.6.114.86]) by m0050102.ppops.net-00190b01. with ESMTP id 2amtyk15e2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 May 2017 00:15:38 +0100
Received: from pps.filterd (prod-mail-ppoint3.akamai.com [127.0.0.1]) by prod-mail-ppoint3.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4NN684u007294; Tue, 23 May 2017 19:15:38 -0400
Received: from prod-mail-relay14.akamai.com ([172.27.17.39]) by prod-mail-ppoint3.akamai.com with ESMTP id 2ajh4vekkx-1; Tue, 23 May 2017 19:15:38 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay14.akamai.com (Postfix) with ESMTP id 981C580052; Tue, 23 May 2017 17:15:37 -0600 (MDT)
To: Ilari Liusvaara <ilariliusvaara@welho.com>, =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>
Cc: "tls@ietf.org" <tls@ietf.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170519184051.GA31741@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDcP3_+WOB1xsc7JecpCo2-MfeuHgkN7PVrUiLweeurv2g@mail.gmail.com> <20170520093347.GB32428@LK-Perkele-V2.elisa-laajakaista.fi>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <c0765713-ba46-ad04-ff64-ca339d3644a4@akamai.com>
Date: Tue, 23 May 2017 18:15:37 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <20170520093347.GB32428@LK-Perkele-V2.elisa-laajakaista.fi>
Content-Type: multipart/alternative; boundary="------------6E663C954183D60E2BE03587"
Content-Language: en-US
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_10:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230117
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-23_10:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230118
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/4GVKrWCPq5exCPrwwQC6JZ3eixE>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 23:15:44 -0000

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

On 05/20/2017 04:33 AM, Ilari Liusvaara wrote:
>
> I meant what prevents the (say 10 second) windows from stacking up into
> (say 20 second windows) if 0-RTT is used on multiple hops (client-
> middlebox and middlebox-server)?
>
> One can not assume that the client has knowledge of any middlebox on
> the path (e.g. CDNs in HTTP are in general invisible to the client).
>

I think the attacker has to delay sending the client's 0-RTT to the
middlebox for the 10-second window if it wants to get the 20-second
delay overall (assuming the middlebox does at-most-once properly), at
which point the client would have a sense that something fishy might be
going on.  Though, that still doesn't give the client a hard bound on
the delay, I suppose.

-Ben

--------------6E663C954183D60E2BE03587
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">
    On 05/20/2017 04:33 AM, Ilari Liusvaara wrote:<br>
    <blockquote type="cite"
      cite="mid:20170520093347.GB32428@LK-Perkele-V2.elisa-laajakaista.fi"><br>
      <pre wrap="">I meant what prevents the (say 10 second) windows from stacking up into
(say 20 second windows) if 0-RTT is used on multiple hops (client-
middlebox and middlebox-server)?

One can not assume that the client has knowledge of any middlebox on
the path (e.g. CDNs in HTTP are in general invisible to the client).

</pre>
    </blockquote>
    <br>
    I think the attacker has to delay sending the client's 0-RTT to the
    middlebox for the 10-second window if it wants to get the 20-second
    delay overall (assuming the middlebox does at-most-once properly),
    at which point the client would have a sense that something fishy
    might be going on.Â  Though, that still doesn't give the client a
    hard bound on the delay, I suppose.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------6E663C954183D60E2BE03587--


From nobody Tue May 23 16:41:19 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4AF53120724 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 16:41:11 -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=unavailable 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 tORhdIpjkbXy for <tls@ietfa.amsl.com>; Tue, 23 May 2017 16:41:08 -0700 (PDT)
Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (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 F0E10128616 for <tls@ietf.org>; Tue, 23 May 2017 16:41:07 -0700 (PDT)
Received: by mail-yw0-x230.google.com with SMTP id l74so82015175ywe.2 for <tls@ietf.org>; Tue, 23 May 2017 16:41:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UeyMvDHrDVXz7Y64VZ4RDIzRv5cU2mq5PzpamncNZOU=; b=02zzkFWwx0r6zTxm5zIXw8WmjZOpQr6wS7P68ZTHsoI7svPSzj94ttMR6yyC9RGsM3 nreul3cSlMfMnDH/RGtjx29leY4Ef1kc0VI5JHJ+FHEfJu/vqXzItvMvCldhpHFhURaM v9llIz7noaDSOqWCXEY7Mj3RzL11XaSLAmKrXrlCZz9SEsamPYpR5OjCeXyPdYN+NHso yvc6Z6JmqJrm3eJ9psHvEU04SoVP6g5emSxUzQ+Hv1P4sJaNawerTUpOMy/o2MM4utfF nEb/lE/6eqz7pLFQHHDyEabgRTTP74rC3hh4aHIcYuyQ+C3w7EEr/YrbS5WGf4GRzIU6 n/dg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UeyMvDHrDVXz7Y64VZ4RDIzRv5cU2mq5PzpamncNZOU=; b=AEKAKk5HaVivMCiQlmO/b7u8FnslwGVxOwRRy4R6BfD6QZelID3m8gye7BGSeAcine dMV1ti8VT2PeD6sxVrw7r7I01IRu6ZpWFBwwySf+jXKRcR9GXMPvMadn/8or8S1OfqVo 5xBFZfFoxMx0+JdXCU1GSYePOOhVZ6ae3BMCQ4Bij9E0pd8DyR5tKQUxUC0SgJmFps6i yRNHIrwmAE+OgpYuFM8ldGnnMpEoMnE12ZJHm8NUNteT+nqLiXQZ6N7z5KD1aW2ZMfrg JMQCXd/0CqcTiPvUfq9AwTLGtgJRoG2rGQnNNZomC+6ETEQPAU70MzvlrSX+pcrSmnec 9X4Q==
X-Gm-Message-State: AODbwcBsbetPBTwvbtmRDkProPdbkkk/U9eMDN02Q7FQmq0Pf8U9adfX DSI0sf+kmuOi1iFcrkC0+xdC7Ocf7O8q
X-Received: by 10.13.212.1 with SMTP id w1mr23972122ywd.24.1495582867248; Tue, 23 May 2017 16:41:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Tue, 23 May 2017 16:40:26 -0700 (PDT)
In-Reply-To: <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 24 May 2017 07:40:26 +0800
Message-ID: <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com>
To: Daniel Migault <daniel.migault@ericsson.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org,  Joseph Salowey <joe@salowey.net>, tls-chairs <tls-chairs@ietf.org>, tls <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a114fb0f688f0cb055039859c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/qHOvUviReoT7rz_nnzokAi03ACs>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2017 23:41:11 -0000

--001a114fb0f688f0cb055039859c
Content-Type: text/plain; charset="UTF-8"

On Wed, May 24, 2017 at 6:00 AM, Daniel Migault <daniel.migault@ericsson.com
> wrote:

> Hi Eric,
>
> Thank you for your reviews. Please see my responses inline. If you agree
> with the text I will update the draft.
>
> Yours,
> Daniel
>
> On Mon, May 22, 2017 at 10:11 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>
>> Eric Rescorla has entered the following ballot position for
>> draft-ietf-tls-ecdhe-psk-aead-04: Discuss
>>
>> When responding, please keep the subject line intact and reply to all
>> email addresses included in the To and CC lines. (Feel free to cut this
>> introductory paragraph, however.)
>>
>>
>> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
>> for more information about IESG DISCUSS and COMMENT positions.
>>
>>
>> The document, along with other ballot positions, can be found here:
>> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
>>
>>
>>
>> ----------------------------------------------------------------------
>> DISCUSS:
>> ----------------------------------------------------------------------
>>
>> The following text appears to have been added in -04
>>
>>    A server receiving a ClientHello and a client_version indicating
>>    (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites from
>>    this document in ClientHello.cipher_suites can safely assume that
>> the
>>    client supports TLS 1.2 and is willing to use it.  The server MUST
>>    NOT negotiate these cipher suites with TLS protocol versions earlier
>>    than TLS 1.2.  Not requiring clients to indicate their support for
>>    TLS 1.2 cipher suites exclusively through ClientHello.client_hello
>>    improves the interoperability in the installed base and use of TLS
>>    1.2 AEAD cipher suites without upsetting the installed base of
>>    version-intolerant TLS servers, results in more TLS handshakes
>>    succeeding and obviates fallback mechanisms.
>>
>> This is a major technical change from -03, which, AFAIK, prohibited
>> the server from negotiating these algorithms with TLS 1.1 and below
>> and maintained the usual TLS version 1.2 negotiation rules.
>>
>> This is a very material technical change. I don't consider it wise,
>> but in any case it would absolutely need WG consensus, which I
>> don't believe that it has given the recent introduction.
>>
>
> I agree that the text is a technical change, and that it may not be
> appropriated to do so now. The reason I included it was that it was conform
> to the previous text, but I agree that implicit assumption of version 1.2
> may need some additional discussion especially regarding RFC5246 Appendix
> E. Unless you prefer further discussion I assume the text below address
> your concern.
>
> <t>The cipher suites defined in this document MUST NOT be negotiated for
> any version of (D)TLS other than TLS 1.2. Clients MUST NOT offer one of
> these cipher suites with a (D)TLS version that differs from TLS 1.2.
> Servers MUST NOT select one of these cipher suites with a TLS version that
> differs from TLS 1.2. A client MUST treat the selection of these cipher
> suites in combination with a version of TLS as an error and generate a
> fatal 'illegal_parameter' TLS alert. </t>
>

Yes, this seems fine


The discussion of dictionary attacks here seems inferior to that
>> in 4279. In particular, you only need to actively attack one
>> connection to capture the data you need for a brute force attack
>> despite the text there referring to trying "different keys".
>> Please correct that.
>>
>> I believe the text below address your concern:
>
> OLD:
> <t>Use of Pre-Shared Keys of limited entropy may allow an active
> attacker attempts to connect to the server and try different keys.
> For example, limited entropy may be provided by using a short PSK in which
> case an attacker may perform a brute-force attack. Another example
> includes the use of a PSK  chosen by a human which thus may be exposed to
> dictionary attacks.</t>
>
> NEW:
> <t>Pre-Shared Keys security relies on its associated entropy, and it is
> RECOMMENDED to follow <xref target="4086"/> to ensure the PSK has enough
> entropy. Possible reasons for low entropy includes PSK chosen by humans or
> PSK of small length as well as using random generators with limited
> entropy. </t>
>
> <t>PSK of limited entropy may allow an attacker to test different PSK
> values against a valid output such as master secret or any output derived
> from it. In this document, the master secret is generated using the PSK as
> well as the ECDHE shared secret. The use of ECDHE limits the possibilities
> of passive eavesdropping attackers, as the ECDHE shared secret is not
> expected to be derived from the observed ECDH parameters. As a result,
> passive eavesdropping is unlikely to happen, and the collection of all
> necessary material relies on an active attack.
> An active attacker may collect the necessary material by setting a TLS
> session as a client with the legitimate server. One PSK is tested for each
> session, and a match occurs when key exchange succeeds. On the other hand,
> an active attacker may also consider gathering the necessary information
> for offline computation. One way consists in getting a legitimate client to
> establish a connection with the attacker. It is also assumed that the
> client will accept the ECDH parameters authenticated by the attacker's
> private key and finally returns the Finished message authenticating the
> exchange. The attacker will be then in possession of all the necessary
> information to perform a brute force attack.</t>
>

Is there a reason to not just point directly to the 4279 security
considerations?

-

>
>
>>
>> ----------------------------------------------------------------------
>> COMMENT:
>> ----------------------------------------------------------------------
>>
>> The citations to TLS 1.3 still seem pretty muddled. I think you
>> should just stop referencing and discussing 1.3.
>>
>
> My understanding of your comment is that mentioning TLS 1.3 to further
> insisting that the code point are not valid for TLS 1.3 is confusing. I
> propose to:
>
> Explicitly mention the TLS version in the title:
>
> OLD title:
> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
> Security (TLS)
>
> NEW title:
> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
> Security (TLS)
>
> OLD Introduction:
>
>     The cipher
>    suites are defined for version 1.2 of the Transport Layer Security
>    (TLS) [RFC5246 <https://tools.ietf.org/html/rfc5246>] protocol, version 1.2 of the Datagram Transport Layer
>    Security (DTLS) protocol [RFC6347 <https://tools.ietf.org/html/rfc6347>], as well as version 1.3 of TLS
>    [I-D.ietf-tls-tls13 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>].
>
> NEW introduction
>
> The cipher
>    suites are defined for version 1.2 of the Transport Layer Security
>    (TLS) [RFC5246 <https://tools.ietf.org/html/rfc5246>] protocol, version 1.2 of the Datagram Transport Layer
>    Security (DTLS) protocol [RFC6347 <https://tools.ietf.org/html/rfc6347>].
>
>
> I suggest to keep the following text of the introduction:
>
>
> AEAD algorithms that combine encryption and integrity protection are
>    strongly recommended for (D)TLS [RFC7525 <https://tools.ietf.org/html/rfc7525>] and non-AEAD algorithms are
>    forbidden to use in TLS 1.3 [I-D.ietf-tls-tls13 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>].  The AEAD
>    algorithms considered in this document are AES-GCM and AES-CCM.  The
>    use of AES-GCM in TLS is defined in [RFC5288 <https://tools.ietf.org/html/rfc5288>] and the use of AES-CCM
>    is defined in [RFC6655 <https://tools.ietf.org/html/rfc6655>].
>
>
Yes, this seems fine.



> I suggest to keep the following text of the Applicable versions sections,
> as I believe the section discusses the cipher suites against all existing
> TLS versions. In addition, it also justifies somewhat that we only defined
> cipher suites that are compatible with TLS1.3.
>
>    TLS version 1.3 and later negotiate these features in a different
>    manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and cipher
>    suite negotiation [I-D.ietf-tls-tls13 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>] Section 1.2 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#section-1.2>.  TLS 1.3 supports
>    PSK with ECDHE key exchange and the cipher suites
>    TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
>    TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
>    specification.  As a result, TLS 1.3 and higher versions, negotiate
>    and support these cipher suites in a different way.
>
>
OK.


> I suggest to remove the reference to TLS1.3 in the security considerations
>
> OLD
>
>  The security considerations in TLS 1.2 [RFC5246 <https://tools.ietf.org/html/rfc5246>], DTLS 1.2 [RFC6347 <https://tools.ietf.org/html/rfc6347>],
>    TLS 1.3 [I-D.ietf-tls-tls13 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>], ECDHE_PSK [RFC5489 <https://tools.ietf.org/html/rfc5489>], AES-GCM [RFC5288 <https://tools.ietf.org/html/rfc5288>],
>    and AES-CCM [RFC6655 <https://tools.ietf.org/html/rfc6655>] apply to this document as well.
>
> NEW
>
>  The security considerations in TLS 1.2 [RFC5246 <https://tools.ietf.org/html/rfc5246>], DTLS 1.2 [RFC6347 <https://tools.ietf.org/html/rfc6347>],
>  ECDHE_PSK [RFC5489 <https://tools.ietf.org/html/rfc5489>], AES-GCM [RFC5288 <https://tools.ietf.org/html/rfc5288>],and AES-CCM [RFC6655 <https://tools.ietf.org/html/rfc6655>] apply
>  to this document as well.
>
>
>> S 2.
>> I'm not sure that the discussion of the PRF is helpful here in
>> mandating the non-use of these cipher suites with TLS 1.1 and
>> below.
>>
>
> I find the text useful as it gives an idea why even introducing AEAD in
> TLS version lower than 1.2 is a bad idea, so I would prefer to keep it. The
> text has been changed to
>
> OLD:
> As such TLS 1.0 and TLS 1.1 should not be used with ECDHE_PSK.
>
> NEW:
> As such,  all ECDHE_PSK
> ciphers, including those defined outside this document, SHOULD NOT be
> negotiated in TLS versions prior to 1.2.
>

I don't think you should be levying a new normative requirement like this
for other ciphers
i this document

-Ek
r

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 24, 2017 at 6:00 AM, Daniel Migault <span dir=3D"ltr">&lt;<=
a href=3D"mailto:daniel.migault@ericsson.com" target=3D"_blank">daniel.miga=
ult@ericsson.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><d=
iv dir=3D"ltr"><div><div><div>Hi Eric, <br><br></div>Thank you for your rev=
iews. Please see my responses inline. If you agree with the text I will upd=
ate the draft.<br><br></div>Yours, <br></div>Daniel<br><div><div><div><div>=
<div class=3D"gmail_extra"><br><div class=3D"gmail_quote"><div><div class=
=3D"m_4429336679413947623h5">On Mon, May 22, 2017 at 10:11 PM, Eric Rescorl=
a <span dir=3D"ltr">&lt;<a href=3D"mailto:ekr@rtfm.com" target=3D"_blank">e=
kr@rtfm.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex">Eric Rescorla has entered the following ballot position for<br>
draft-ietf-tls-ecdhe-psk-aead-<wbr>04: Discuss<br>
<br>
When responding, please keep the subject line intact and reply to all<br>
email addresses included in the To and CC lines. (Feel free to cut this<br>
introductory paragraph, however.)<br>
<br>
<br>
Please refer to <a href=3D"https://www.ietf.org/iesg/statement/discuss-crit=
eria.html" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/iesg/s=
tat<wbr>ement/discuss-criteria.html</a><br>
for more information about IESG DISCUSS and COMMENT positions.<br>
<br>
<br>
The document, along with other ballot positions, can be found here:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/"=
 rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/d<wbr>oc=
/draft-ietf-tls-ecdhe-psk-ae<wbr>ad/</a><br>
<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
DISCUSS:<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
<br>
The following text appears to have been added in -04<br>
<br>
=C2=A0 =C2=A0A server receiving a ClientHello and a client_version indicati=
ng<br>
=C2=A0 =C2=A0(3,1) &quot;TLS 1.0&quot; or (3,2) &quot;TLS 1.1&quot; and any=
 of the cipher suites from<br>
=C2=A0 =C2=A0this document in ClientHello.cipher_suites can safely assume t=
hat<br>
the<br>
=C2=A0 =C2=A0client supports TLS 1.2 and is willing to use it.=C2=A0 The se=
rver MUST<br>
=C2=A0 =C2=A0NOT negotiate these cipher suites with TLS protocol versions e=
arlier<br>
=C2=A0 =C2=A0than TLS 1.2.=C2=A0 Not requiring clients to indicate their su=
pport for<br>
=C2=A0 =C2=A0TLS 1.2 cipher suites exclusively through ClientHello.client_h=
ello<br>
=C2=A0 =C2=A0improves the interoperability in the installed base and use of=
 TLS<br>
=C2=A0 =C2=A01.2 AEAD cipher suites without upsetting the installed base of=
<br>
=C2=A0 =C2=A0version-intolerant TLS servers, results in more TLS handshakes=
<br>
=C2=A0 =C2=A0succeeding and obviates fallback mechanisms.<br>
<br>
This is a major technical change from -03, which, AFAIK, prohibited<br>
the server from negotiating these algorithms with TLS 1.1 and below<br>
and maintained the usual TLS version 1.2 negotiation rules.<br>
<br>
This is a very material technical change. I don&#39;t consider it wise,<br>
but in any case it would absolutely need WG consensus, which I<br>
don&#39;t believe that it has given the recent introduction.<br></blockquot=
e><div><br></div></div></div><div>I agree that the text is a technical chan=
ge, and that it may not be appropriated to do so now. The reason I included=
 it was that it was conform to the previous text, but I agree that implicit=
 assumption of version 1.2 may need some additional discussion especially r=
egarding RFC5246 Appendix E. Unless you prefer further discussion I assume =
the text below address your concern. =C2=A0 <br><br>&lt;t&gt;The cipher sui=
tes defined in this document MUST NOT be negotiated for any version of (D)T=
LS other than TLS 1.2. Clients MUST NOT offer one of these cipher suites wi=
th a (D)TLS version that differs from TLS 1.2. Servers MUST NOT select one =
of these cipher suites with a TLS version that differs from TLS 1.2. A clie=
nt MUST treat the selection of these cipher suites in combination with a ve=
rsion of TLS as an error and generate a fatal &#39;illegal_parameter&#39; T=
LS alert. &lt;/t&gt; <br></div></div></div></div></div></div></div></div></=
blockquote><div><br></div><div>Yes, this seems fine</div><div><br></div><di=
v><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><div><div>=
<div><div class=3D"gmail_extra"><div class=3D"gmail_quote"><span><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex">
The discussion of dictionary attacks here seems inferior to that<br>
in 4279. In particular, you only need to actively attack one<br>
connection to capture the data you need for a brute force attack<br>
despite the text there referring to trying &quot;different keys&quot;.<br>
Please correct that.<br>
<br></blockquote></span><div>I believe the text below address your concern:=
<br><br>OLD:<br>&lt;t&gt;Use of Pre-Shared Keys of limited entropy may allo=
w an active<br>attacker attempts to connect to the server and try different=
 keys.<br>For example, limited entropy may be provided by using a short PSK=
 in which<br>case an attacker may perform a brute-force attack. Another exa=
mple<br>includes the use of a PSK=C2=A0 chosen by a human which thus may be=
 exposed to<br>dictionary attacks.&lt;/t&gt;<br><br>NEW:<br>&lt;t&gt;Pre-Sh=
ared Keys security relies on its associated entropy, and it is RECOMMENDED =
to follow &lt;xref target=3D&quot;4086&quot;/&gt; to ensure the PSK has eno=
ugh entropy. Possible reasons for low entropy includes PSK chosen by humans=
 or PSK of small length as well as using random generators with limited ent=
ropy. &lt;/t&gt;<br><br>&lt;t&gt;PSK of limited entropy may allow an attack=
er to test different PSK values against a valid output such as master secre=
t or any output derived from it. In this document, the master secret is gen=
erated using the PSK as well as the ECDHE shared secret. The use of ECDHE l=
imits the possibilities of passive eavesdropping attackers, as the ECDHE sh=
ared secret is not expected to be derived from the observed ECDH parameters=
. As a result, passive eavesdropping is unlikely to happen, and the collect=
ion of all necessary material relies on an active attack. <br>An active att=
acker may collect the necessary material by setting a TLS session as a clie=
nt with the legitimate server. One PSK is tested for each session, and a ma=
tch occurs when key exchange succeeds. On the other hand, an active attacke=
r may also consider gathering the necessary information for offline computa=
tion. One way consists in getting a legitimate client to establish a connec=
tion with the attacker. It is also assumed that the client will accept the =
ECDH parameters authenticated by the attacker&#39;s private key and finally=
 returns the Finished message authenticating the exchange. The attacker wil=
l be then in possession of all the necessary information to perform a brute=
 force attack.&lt;/t&gt;=C2=A0=C2=A0 <br></div></div></div></div></div></di=
v></div></div></blockquote><div><br></div><div>Is there a reason to not jus=
t point directly to the 4279 security considerations?</div><div><br></div><=
div>-</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><div><div><=
div><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div>=C2=A0 <br><=
/div><span><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
COMMENT:<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
<br>
The citations to TLS 1.3 still seem pretty muddled. I think you<br>
should just stop referencing and discussing 1.3.<br></blockquote><div><br><=
/div></span><div>My understanding of your comment is that mentioning TLS 1.=
3 to further insisting that the code point are not valid for TLS 1.3 is con=
fusing. I propose to:<br><br></div><div>Explicitly mention the TLS version =
in the title:<br><br></div><div>OLD title:<br>ECDHE_PSK with AES-GCM and AE=
S-CCM Cipher Suites for Transport Layer Security (TLS)<br><br></div><div>NE=
W title:<br>ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport =
Layer Security (TLS)<br></div><div><pre><span class=3D"m_442933667941394762=
3m_-101311485245468505m_-6500030207053047939gmail-h1"></span><span class=3D=
"m_4429336679413947623m_-101311485245468505m_-6500030207053047939gmail-h1">=
</span></pre>OLD Introduction:<br><pre class=3D"m_4429336679413947623m_-101=
311485245468505m_-6500030207053047939gmail-newpage">    The cipher
   suites are defined for version 1.2 of the Transport Layer Security
   (TLS) [<a href=3D"https://tools.ietf.org/html/rfc5246" title=3D"&quot;Th=
e Transport Layer Security (TLS) Protocol Version 1.2&quot;" target=3D"_bla=
nk">RFC5246</a>] protocol, version 1.2 of the Datagram Transport Layer
   Security (DTLS) protocol [<a href=3D"https://tools.ietf.org/html/rfc6347=
" title=3D"&quot;Datagram Transport Layer Security Version 1.2&quot;" targe=
t=3D"_blank">RFC6347</a>], as well as version 1.3 of TLS
   [<a href=3D"https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04=
#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.ietf-tls-tls13</a>].</pre>NE=
W introduction<br><br><pre class=3D"m_4429336679413947623m_-101311485245468=
505m_-6500030207053047939gmail-newpage">The cipher
   suites are defined for version 1.2 of the Transport Layer Security
   (TLS) [<a href=3D"https://tools.ietf.org/html/rfc5246" title=3D"&quot;Th=
e Transport Layer Security (TLS) Protocol Version 1.2&quot;" target=3D"_bla=
nk">RFC5246</a>] protocol, version 1.2 of the Datagram Transport Layer
   Security (DTLS) protocol [<a href=3D"https://tools.ietf.org/html/rfc6347=
" title=3D"&quot;Datagram Transport Layer Security Version 1.2&quot;" targe=
t=3D"_blank">RFC6347</a>]. <br><br><br>I suggest to keep the following text=
 of the introduction:<br></pre></div><div><br><pre class=3D"m_4429336679413=
947623m_-101311485245468505m_-6500030207053047939gmail-newpage">AEAD algori=
thms that combine encryption and integrity protection are
   strongly recommended for (D)TLS [<a href=3D"https://tools.ietf.org/html/=
rfc7525" title=3D"&quot;Recommendations for Secure Use of Transport Layer S=
ecurity (TLS) and Datagram Transport Layer Security (DTLS)&quot;" target=3D=
"_blank">RFC7525</a>] and non-AEAD algorithms are
   forbidden to use in TLS 1.3 [<a href=3D"https://tools.ietf.org/html/draf=
t-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.=
ietf-tls-tls13</a>].  The AEAD
   algorithms considered in this document are AES-GCM and AES-CCM.  The
   use of AES-GCM in TLS is defined in [<a href=3D"https://tools.ietf.org/h=
tml/rfc5288" title=3D"&quot;AES Galois Counter Mode (GCM) Cipher Suites for=
 TLS&quot;" target=3D"_blank">RFC5288</a>] and the use of AES-CCM
   is defined in [<a href=3D"https://tools.ietf.org/html/rfc6655" title=3D"=
&quot;AES-CCM Cipher Suites for Transport Layer Security (TLS)&quot;" targe=
t=3D"_blank">RFC6655</a>].</pre></div></div></div></div></div></div></div><=
/div></blockquote><div><br></div><div>Yes, this seems fine.</div><div><br><=
/div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di=
v dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div>I =
suggest to keep the following text of the Applicable versions sections, as =
I believe the section discusses the cipher suites against all existing TLS =
versions. In addition, it also justifies somewhat that we only defined ciph=
er suites that are compatible with TLS1.3.=C2=A0 <br><pre class=3D"m_442933=
6679413947623m_-101311485245468505m_-6500030207053047939gmail-newpage">   T=
LS version 1.3 and later negotiate these features in a different
   manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and cipher
   suite negotiation [<a href=3D"https://tools.ietf.org/html/draft-ietf-tls=
-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.ietf-tls-t=
ls13</a>] <a href=3D"https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-a=
ead-04#section-1.2" target=3D"_blank">Section 1.2</a>.  TLS 1.3 supports
   PSK with ECDHE key exchange and the cipher suites
   TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
   TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
   specification.  As a result, TLS 1.3 and higher versions, negotiate
   and support these cipher suites in a different way.</pre></div></div></d=
iv></div></blockquote><div><br></div><div>OK.</div><div>=C2=A0</div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"g=
mail_extra"><div class=3D"gmail_quote"><div>I suggest to remove the referen=
ce to TLS1.3 in the security considerations<br><br></div>OLD<br><pre class=
=3D"m_4429336679413947623m_-101311485245468505m_-6500030207053047939gmail-n=
ewpage"> The security considerations in TLS 1.2 [<a href=3D"https://tools.i=
etf.org/html/rfc5246" title=3D"&quot;The Transport Layer Security (TLS) Pro=
tocol Version 1.2&quot;" target=3D"_blank">RFC5246</a>], DTLS 1.2 [<a href=
=3D"https://tools.ietf.org/html/rfc6347" title=3D"&quot;Datagram Transport =
Layer Security Version 1.2&quot;" target=3D"_blank">RFC6347</a>],
   TLS 1.3 [<a href=3D"https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk=
-aead-04#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.ietf-tls-tls13</a>],=
 ECDHE_PSK [<a href=3D"https://tools.ietf.org/html/rfc5489" title=3D"&quot;=
ECDHE_PSK Cipher Suites for Transport Layer Security (TLS)&quot;" target=3D=
"_blank">RFC5489</a>], AES-GCM [<a href=3D"https://tools.ietf.org/html/rfc5=
288" title=3D"&quot;AES Galois Counter Mode (GCM) Cipher Suites for TLS&quo=
t;" target=3D"_blank">RFC5288</a>],
   and AES-CCM [<a href=3D"https://tools.ietf.org/html/rfc6655" title=3D"&q=
uot;AES-CCM Cipher Suites for Transport Layer Security (TLS)&quot;" target=
=3D"_blank">RFC6655</a>] apply to this document as well.<br><br></pre></div=
><div class=3D"gmail_quote">NEW <br></div><div class=3D"gmail_quote"><div><=
pre class=3D"m_4429336679413947623m_-101311485245468505m_-65000302070530479=
39gmail-newpage"> The security considerations in TLS 1.2 [<a href=3D"https:=
//tools.ietf.org/html/rfc5246" title=3D"&quot;The Transport Layer Security =
(TLS) Protocol Version 1.2&quot;" target=3D"_blank">RFC5246</a>], DTLS 1.2 =
[<a href=3D"https://tools.ietf.org/html/rfc6347" title=3D"&quot;Datagram Tr=
ansport Layer Security Version 1.2&quot;" target=3D"_blank">RFC6347</a>],<b=
r> ECDHE_PSK [<a href=3D"https://tools.ietf.org/html/rfc5489" title=3D"&quo=
t;ECDHE_PSK Cipher Suites for Transport Layer Security (TLS)&quot;" target=
=3D"_blank">RFC5489</a>], AES-GCM [<a href=3D"https://tools.ietf.org/html/r=
fc5288" title=3D"&quot;AES Galois Counter Mode (GCM) Cipher Suites for TLS&=
quot;" target=3D"_blank">RFC5288</a>],and AES-CCM [<a href=3D"https://tools=
.ietf.org/html/rfc6655" title=3D"&quot;AES-CCM Cipher Suites for Transport =
Layer Security (TLS)&quot;" target=3D"_blank">RFC6655</a>] apply <br> to th=
is document as well.</pre></div><span><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi=
ng-left:1ex">
<br>
S 2.<br>
I&#39;m not sure that the discussion of the PRF is helpful here in<br>
mandating the non-use of these cipher suites with TLS 1.1 and<br>
below.<br></blockquote><div><br></div></span><div>I find the text useful as=
 it gives an idea why even introducing AEAD in TLS version lower than 1.2 i=
s a bad idea, so I would prefer to keep it. The text has been changed to <b=
r><br></div><div>OLD:<br>As such TLS 1.0 and TLS 1.1 should not be used wit=
h ECDHE_PSK.</div><div><br>NEW:<br></div></div>As such,=C2=A0 all ECDHE_PSK=
<br>ciphers, including those defined outside this document, SHOULD NOT be<b=
r>negotiated in TLS versions prior to 1.2.<br></div></div></blockquote><div=
><br></div><div>I don&#39;t think you should be levying a new normative req=
uirement like this for other ciphers</div><div>i this document</div><div><b=
r></div><div>-Ek</div><div>r</div></div><br></div></div>

--001a114fb0f688f0cb055039859c--


From nobody Tue May 23 17:11:05 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C3427127866; Tue, 23 May 2017 17:11:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 dyqT6G3-c4vV; Tue, 23 May 2017 17:11:01 -0700 (PDT)
Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 2FC01120727; Tue, 23 May 2017 17:11:01 -0700 (PDT)
Received: by mail-lf0-x232.google.com with SMTP id h4so58659240lfj.3; Tue, 23 May 2017 17:11:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=eQ0qEItdqOv8FuAmHewQEbT0mBiJpfySIN3tQFVPJDI=; b=k9oy4ZN4LaK7gWOqeXzMwYFP7fv3lzrhjytq3N2ezhbQUmEPulwKX2k9nLKtSxPrQu CrYK8imLd/YW1stKey94R3hWzvRLCxX2oEEA6lbzltZ6CURRzzLJb9sHD1PtyyMQcvXU 6zX7UrIuBcuTujxXOt0ARcFOX8difsaghfVHNp3KJ/ZVfXMgghUxlt5AFd41uuYhoaZf uizXDOQxv9v1fJOuaNrfxN69vCfLOBFWoSbf72rY/X21+AXkjBcwb3sGyAzOwcPkKmd/ yS1oEWTWDa51X+KRL9wFFhiBIr02F3sYeg7oNHP4FMAgGhqG9mXoNW69CLaHgWRTgm1y oQbw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=eQ0qEItdqOv8FuAmHewQEbT0mBiJpfySIN3tQFVPJDI=; b=EMwnsOZv3QI9InDrpwkLqbtrizirYXjLpTLYY3yDdGOsEVQZLVCV9p+RaCbI5E0eig 0LUGIXaH0AU7VYz1w/u+ST8sIe1lj1IlhchTEaVZd6hcicVuoC9lUHcE+TZzOtRZf2A3 78oovYkAwXhPkih+q/GPWmmaREW+TmrCs5dASYl54tJ/zLcFgez+BFJRCYNQfYCKQMq9 u9YHbAmAuFIGuSVtod/8uy2i+nrgxgA/l9F/u0QLJxa4ZzSqtcSDbD4dcsWwOTiXpw7S Qga+8PgSiC3neRL375EPMVg5SaiZWE9Xna5t7tTKqAQMWTFgQJwSPYFFHCbdOX8bX4cE 0Zdw==
X-Gm-Message-State: AODbwcDi0TbVUbrLmu+ZY2A8kZcG6CLFAe4Sm9/o5DeJj0FdvdBCCqno 0KR/IumxDEzNj1VE64xXuZk5WJcHHQ==
X-Received: by 10.25.215.198 with SMTP id q67mr7625292lfi.76.1495584659525; Tue, 23 May 2017 17:10:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.22.73 with HTTP; Tue, 23 May 2017 17:10:58 -0700 (PDT)
In-Reply-To: <CADZyTkngnUCNOrTJTd7Se+8seghnfE3DXBTbj1s3mw4Nt09Yjg@mail.gmail.com>
References: <149556730804.28545.6150805815075208815.idtracker@ietfa.amsl.com> <20170523193453.CF9761A6A6@ld9781.wdf.sap.corp> <CADZyTkngnUCNOrTJTd7Se+8seghnfE3DXBTbj1s3mw4Nt09Yjg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Wed, 24 May 2017 10:10:58 +1000
Message-ID: <CABkgnnVg=ex5nP6qexprE=jU49nOgPSZj41yeXuZMVo9H9zXSA@mail.gmail.com>
To: Daniel Migault <daniel.migault@ericsson.com>
Cc: "mrex@sap.com" <mrex@sap.com>, tls-chairs <tls-chairs@ietf.org>,  draft-ietf-tls-ecdhe-psk-aead@ietf.org, Adam Roach <adam@nostrum.com>,  The IESG <iesg@ietf.org>, tls <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Jct6tpo_vEgaRxIR6zQAw_AKxwU>
Subject: Re: [TLS] Adam Roach's No Objection on draft-ietf-tls-ecdhe-psk-aead-04: (with COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 00:11:03 -0000

On 24 May 2017 at 08:04, Daniel Migault <daniel.migault@ericsson.com> wrote:
> So I have propose a fall back to the latest version. However, if we agree
> this is a better approach, I am fine adding it to the document.


Not sure what you mean by this.  If you mean removing the offending
paragraph, that seems best.

It's OK for these suites to be 1.2 only.


From nobody Tue May 23 19:33:30 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2EC3C129421; Tue, 23 May 2017 19:33:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.398
X-Spam-Level: 
X-Spam-Status: No, score=-2.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 ZK9rJdFp37iO; Tue, 23 May 2017 19:33:26 -0700 (PDT)
Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (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 6A2EC1286AB; Tue, 23 May 2017 19:33:26 -0700 (PDT)
Received: by mail-lf0-x229.google.com with SMTP id a5so46144418lfh.2; Tue, 23 May 2017 19:33:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=36M8Rl/qL562eGhQpnSROiYCZpEzb5NZ2IeFmsJ5Vq4=; b=b0b1lhhyZBrMljp6U712UoJHW4RroIjkzQu8Ha2swibpgDtxADNarVew0cfuYGBkte D97qtZTUAYPRI+EJBgDIGE6tMD4LccVN4/K9ycC1mBiyDZCk6V6wFMFci3/LAUsxwWn7 adRIfUld5y574AdrOUuA0APrkKTH83TVbhRyVLX4FjZ4JDYv0Z1AVLooMegkd/8hGvg/ 3PyiW3/JZHeqjGjAwUn7Z2IGJgSts0b7T3yXoubUMvOmwCSU4FAdQAVYdwL4lIv0qZt8 sRH7I/huBPj5Jqey32X9zJAci1k154FIWVrOf+DaeI4MtzrtuhZ/y6EWry8VqR2yFp2S VBVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=36M8Rl/qL562eGhQpnSROiYCZpEzb5NZ2IeFmsJ5Vq4=; b=iEaPg1Po1ZTWomQX1ZnDyX2YLC/C48WsfcqsWU7MdM3yObU8Pyp9bMcEGNMYAvsRXS PiT5FnNQCjsWSmfDKhFAxfGqxG3aTd/sHoKVeq90coEONg2Hc6q96HCgCdtbwIIdJE6x tm3yodL/HsbrBtl7nDBW+WMq3GoKpr2nifI8utHHDCIxelVQz9alfAhV6aiHMrzvup7P f9sWRk4TCHOIbM+Wdu5vwwg5CbO2PwiKkUfunkwU0IwPmHYTL+i7c3mAl3VMTJ0B6OlQ K0YwRx13jZGLc2dUVaG3DQhcjBoNqOlQjywBY2LjtGEv6cJQO/Ajcnxbc28yfPZ6kYrr dZsg==
X-Gm-Message-State: AODbwcC/QyU7Dja4iHPD7f4xP06v25Pmkg6xRv9Wu4i+Sq4VAUb4dkg9 b9kCagpdfhONliGJT5bCOk1q3ulojw==
X-Received: by 10.46.76.1 with SMTP id z1mr7838645lja.128.1495593204574; Tue, 23 May 2017 19:33:24 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Tue, 23 May 2017 19:33:23 -0700 (PDT)
In-Reply-To: <CABkgnnVg=ex5nP6qexprE=jU49nOgPSZj41yeXuZMVo9H9zXSA@mail.gmail.com>
References: <149556730804.28545.6150805815075208815.idtracker@ietfa.amsl.com> <20170523193453.CF9761A6A6@ld9781.wdf.sap.corp> <CADZyTkngnUCNOrTJTd7Se+8seghnfE3DXBTbj1s3mw4Nt09Yjg@mail.gmail.com> <CABkgnnVg=ex5nP6qexprE=jU49nOgPSZj41yeXuZMVo9H9zXSA@mail.gmail.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Tue, 23 May 2017 21:33:23 -0500
X-Google-Sender-Auth: XT4bu6NHQpVfA9SBOoujmdvObc0
Message-ID: <CADZyTk=9dLstaUZHmx6OT3FTweQ4DCzgGjMJD_w1CSNdAajoyQ@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: "mrex@sap.com" <mrex@sap.com>, tls-chairs <tls-chairs@ietf.org>,  draft-ietf-tls-ecdhe-psk-aead@ietf.org, Adam Roach <adam@nostrum.com>,  The IESG <iesg@ietf.org>, tls <tls@ietf.org>
Content-Type: multipart/alternative; boundary="f403045ea6daaff0d805503bedd6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/2wwcZNa19q6CuNjAzYxRSPgJDCs>
Subject: Re: [TLS] Adam Roach's No Objection on draft-ietf-tls-ecdhe-psk-aead-04: (with COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 02:33:28 -0000

--f403045ea6daaff0d805503bedd6
Content-Type: text/plain; charset="UTF-8"

Hi Martin,

The current version does not consider that proposing the cipher suites of
the document implicitly assumes the client supports TLS1.2. However, if
people think there is an advantage of adding this I am fine this being
discussed and  added in the next versions.

Yours,
Daniel

On Tue, May 23, 2017 at 7:10 PM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> On 24 May 2017 at 08:04, Daniel Migault <daniel.migault@ericsson.com>
> wrote:
> > So I have propose a fall back to the latest version. However, if we agree
> > this is a better approach, I am fine adding it to the document.
>
>
> Not sure what you mean by this.  If you mean removing the offending
> paragraph, that seems best.
>
> It's OK for these suites to be 1.2 only.
>

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

<div dir=3D"ltr"><div><div><div>Hi Martin, <br><br></div>The current versio=
n does not consider that proposing the cipher suites of the document implic=
itly assumes the client supports TLS1.2. However, if people think there is =
an advantage of adding this I am fine this being discussed and=C2=A0 added =
in the next versions.<br><br></div>Yours, <br></div>Daniel <br></div><div c=
lass=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, May 23, 2017 at=
 7:10 PM, Martin Thomson <span dir=3D"ltr">&lt;<a href=3D"mailto:martin.tho=
mson@gmail.com" target=3D"_blank">martin.thomson@gmail.com</a>&gt;</span> w=
rote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On 24 May 2017 at =
08:04, Daniel Migault &lt;<a href=3D"mailto:daniel.migault@ericsson.com">da=
niel.migault@ericsson.com</a>&gt; wrote:<br>
&gt; So I have propose a fall back to the latest version. However, if we ag=
ree<br>
&gt; this is a better approach, I am fine adding it to the document.<br>
<br>
<br>
</span>Not sure what you mean by this.=C2=A0 If you mean removing the offen=
ding<br>
paragraph, that seems best.<br>
<br>
It&#39;s OK for these suites to be 1.2 only.<br>
</blockquote></div><br></div>

--f403045ea6daaff0d805503bedd6--


From nobody Tue May 23 19:37:43 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 05E6C12946C; Tue, 23 May 2017 19:37:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.398
X-Spam-Level: 
X-Spam-Status: No, score=-2.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 CgXD_x1RRhJz; Tue, 23 May 2017 19:37:36 -0700 (PDT)
Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::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 9C2481286AB; Tue, 23 May 2017 19:37:35 -0700 (PDT)
Received: by mail-lf0-x22f.google.com with SMTP id h4so59720109lfj.3; Tue, 23 May 2017 19:37:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Ywg70humm/wAG37gn1zWDG9mE5/mrn+OhW94pzYwutM=; b=ig0Om4LtNfWbnyYiiSO62d7FdpT8Y+6HGmQDTX2vv85MF7Gx/scWKfVRVu1Qi7qJBz XXrVC3bj8zRf0rnFzA0WnlvSUPo3AwIGZhbqiJ87XcM4TIXFm4U9HvoLaap4iN7zt8Nl ng/arq3oH1q2E9g7tFcfL9cxJm0pbyjo1Tu+8VUr93ctFUM5RVs+09ieChwVjhP3ys6o 7j3cq5UDqn9vc3kncFVNKPNhLQi/lXsmOceeCAaHPxEXLVwS51GdAtNLFidrVyBL4dke edPsUDfiRPtqcGFrhIgXHvccO8r3HEn7ZAKyBL/4zp8DABiZpKpzwudsWAndWAiwT3uC U9mA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Ywg70humm/wAG37gn1zWDG9mE5/mrn+OhW94pzYwutM=; b=Shg3B67/xvUkKF7nAd23L6bnb8rsNsLmDErbrO9dUKgrOdJUmuVbpfchzcbN/CDkF0 zLUKXqVb601fl5ZCkqjlYcK8P7nW9Xp2lDbdwL7DqNSh6YkUb45OFEC8KAUeXxrXIRQt WZpOKU7xacWdqMtjXJg3q37ry+JZh3jGw97z2a/t20IwLXZY+qio4d8kQD6JB5776fGA U/F8Eg+eLXO+H5QYpcEooYyGv9LuDd2+tynAwPNHw31N1UUnShynUMVEEK6qx1BxAv/u 6NI2S130ZQ0q9zf2BsPhLIAEs2OdN4pTEjz7Xvs+ugoPF0p3MsKbKEwZgx7GdOwzz6fl uicA==
X-Gm-Message-State: AODbwcAz+JG/1+lNVLLFxHxThYYyZ9d3J78mhW8DY3+trT8vsgWHy+Cd 0H1zJcz7CVGUFPFzqdkSeLH89dhBog==
X-Received: by 10.25.208.14 with SMTP id h14mr7224506lfg.174.1495593453923; Tue, 23 May 2017 19:37:33 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Tue, 23 May 2017 19:37:33 -0700 (PDT)
In-Reply-To: <CADZyTknmXE6UW5e9SbSwwSUZWU-wHw_+9sTB_xnYUmo8KBOJxg@mail.gmail.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com> <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com> <CADZyTknmXE6UW5e9SbSwwSUZWU-wHw_+9sTB_xnYUmo8KBOJxg@mail.gmail.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Tue, 23 May 2017 21:37:33 -0500
X-Google-Sender-Auth: vhBbM_T1hl-s3GknTGuQREBJ1EQ
Message-ID: <CADZyTk=K8dzYaEL3TBjHMzsHnF+X52RvZiUsSBJQmNi0CkH=CA@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org,  Joseph Salowey <joe@salowey.net>, tls-chairs <tls-chairs@ietf.org>, tls <tls@ietf.org>
Content-Type: multipart/mixed; boundary="001a11412d3c8cca6305503bfc78"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/wOIj_gYduZSPzGzOPjan6t7h2so>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 02:37:41 -0000

--001a11412d3c8cca6305503bfc78
Content-Type: multipart/alternative; boundary="001a11412d3c8cca5e05503bfc76"

--001a11412d3c8cca5e05503bfc76
Content-Type: text/plain; charset="UTF-8"

re-sending with the version 05 but removing the diff to be under the 100 KB
limit.
Yours,
Daniel

On Tue, May 23, 2017 at 9:28 PM, Daniel Migault <daniel.migault@ericsson.com
> wrote:

> Hi Eric,
>
> Thank you for the feed backs. The version 05 contains all text changes you
> agreed. In addition, the text explaining dictionary/brute force has been
> removed and replace by a reference to 4279. The recommendation regarding to
> all PSK ciphers has been limited to the one of the document.  Please see
> inline for more details.
>
> For some reasons I am not able to validate the submission of version 05. I
> have attached the diff with version 04 as well as the locally generated
> version 05.
>
> Yours,
> Daniel
>
> On Tue, May 23, 2017 at 7:40 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>
>>
>>
>> On Wed, May 24, 2017 at 6:00 AM, Daniel Migault <
>> daniel.migault@ericsson.com> wrote:
>>
>>> Hi Eric,
>>>
>>> Thank you for your reviews. Please see my responses inline. If you agree
>>> with the text I will update the draft.
>>>
>>> Yours,
>>> Daniel
>>>
>>> On Mon, May 22, 2017 at 10:11 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>>>
>>>> Eric Rescorla has entered the following ballot position for
>>>> draft-ietf-tls-ecdhe-psk-aead-04: Discuss
>>>>
>>>> When responding, please keep the subject line intact and reply to all
>>>> email addresses included in the To and CC lines. (Feel free to cut this
>>>> introductory paragraph, however.)
>>>>
>>>>
>>>> Please refer to https://www.ietf.org/iesg/stat
>>>> ement/discuss-criteria.html
>>>> for more information about IESG DISCUSS and COMMENT positions.
>>>>
>>>>
>>>> The document, along with other ballot positions, can be found here:
>>>> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------
>>>> DISCUSS:
>>>> ----------------------------------------------------------------------
>>>>
>>>> The following text appears to have been added in -04
>>>>
>>>>    A server receiving a ClientHello and a client_version indicating
>>>>    (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites from
>>>>    this document in ClientHello.cipher_suites can safely assume that
>>>> the
>>>>    client supports TLS 1.2 and is willing to use it.  The server MUST
>>>>    NOT negotiate these cipher suites with TLS protocol versions earlier
>>>>    than TLS 1.2.  Not requiring clients to indicate their support for
>>>>    TLS 1.2 cipher suites exclusively through ClientHello.client_hello
>>>>    improves the interoperability in the installed base and use of TLS
>>>>    1.2 AEAD cipher suites without upsetting the installed base of
>>>>    version-intolerant TLS servers, results in more TLS handshakes
>>>>    succeeding and obviates fallback mechanisms.
>>>>
>>>> This is a major technical change from -03, which, AFAIK, prohibited
>>>> the server from negotiating these algorithms with TLS 1.1 and below
>>>> and maintained the usual TLS version 1.2 negotiation rules.
>>>>
>>>> This is a very material technical change. I don't consider it wise,
>>>> but in any case it would absolutely need WG consensus, which I
>>>> don't believe that it has given the recent introduction.
>>>>
>>>
>>> I agree that the text is a technical change, and that it may not be
>>> appropriated to do so now. The reason I included it was that it was conform
>>> to the previous text, but I agree that implicit assumption of version 1.2
>>> may need some additional discussion especially regarding RFC5246 Appendix
>>> E. Unless you prefer further discussion I assume the text below address
>>> your concern.
>>>
>>> <t>The cipher suites defined in this document MUST NOT be negotiated for
>>> any version of (D)TLS other than TLS 1.2. Clients MUST NOT offer one of
>>> these cipher suites with a (D)TLS version that differs from TLS 1.2.
>>> Servers MUST NOT select one of these cipher suites with a TLS version that
>>> differs from TLS 1.2. A client MUST treat the selection of these cipher
>>> suites in combination with a version of TLS as an error and generate a
>>> fatal 'illegal_parameter' TLS alert. </t>
>>>
>>
>> Yes, this seems fine
>>
>>
>> The discussion of dictionary attacks here seems inferior to that
>>>> in 4279. In particular, you only need to actively attack one
>>>> connection to capture the data you need for a brute force attack
>>>> despite the text there referring to trying "different keys".
>>>> Please correct that.
>>>>
>>>> I believe the text below address your concern:
>>>
>>> OLD:
>>> <t>Use of Pre-Shared Keys of limited entropy may allow an active
>>> attacker attempts to connect to the server and try different keys.
>>> For example, limited entropy may be provided by using a short PSK in
>>> which
>>> case an attacker may perform a brute-force attack. Another example
>>> includes the use of a PSK  chosen by a human which thus may be exposed to
>>> dictionary attacks.</t>
>>>
>>> NEW:
>>> <t>Pre-Shared Keys security relies on its associated entropy, and it is
>>> RECOMMENDED to follow <xref target="4086"/> to ensure the PSK has enough
>>> entropy. Possible reasons for low entropy includes PSK chosen by humans or
>>> PSK of small length as well as using random generators with limited
>>> entropy. </t>
>>>
>>> <t>PSK of limited entropy may allow an attacker to test different PSK
>>> values against a valid output such as master secret or any output derived
>>> from it. In this document, the master secret is generated using the PSK as
>>> well as the ECDHE shared secret. The use of ECDHE limits the possibilities
>>> of passive eavesdropping attackers, as the ECDHE shared secret is not
>>> expected to be derived from the observed ECDH parameters. As a result,
>>> passive eavesdropping is unlikely to happen, and the collection of all
>>> necessary material relies on an active attack.
>>> An active attacker may collect the necessary material by setting a TLS
>>> session as a client with the legitimate server. One PSK is tested for each
>>> session, and a match occurs when key exchange succeeds. On the other hand,
>>> an active attacker may also consider gathering the necessary information
>>> for offline computation. One way consists in getting a legitimate client to
>>> establish a connection with the attacker. It is also assumed that the
>>> client will accept the ECDH parameters authenticated by the attacker's
>>> private key and finally returns the Finished message authenticating the
>>> exchange. The attacker will be then in possession of all the necessary
>>> information to perform a brute force attack.</t>
>>>
>>
>> Is there a reason to not just point directly to the 4279 security
>> considerations?
>>
>
> No, basically I tried to complete the previous text that missed the
> offline use case. The current version just point to 4279, without having
> the above text. If you think the text above is clarifying I can add it as
> well.
>
>> -
>>
>>>
>>>
>>>>
>>>> ----------------------------------------------------------------------
>>>> COMMENT:
>>>> ----------------------------------------------------------------------
>>>>
>>>> The citations to TLS 1.3 still seem pretty muddled. I think you
>>>> should just stop referencing and discussing 1.3.
>>>>
>>>
>>> My understanding of your comment is that mentioning TLS 1.3 to further
>>> insisting that the code point are not valid for TLS 1.3 is confusing. I
>>> propose to:
>>>
>>> Explicitly mention the TLS version in the title:
>>>
>>> OLD title:
>>> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
>>> Security (TLS)
>>>
>>> NEW title:
>>> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
>>> Security (TLS)
>>>
>>> OLD Introduction:
>>>
>>>     The cipher
>>>    suites are defined for version 1.2 of the Transport Layer Security
>>>    (TLS) [RFC5246 <https://tools.ietf.org/html/rfc5246>] protocol, version 1.2 of the Datagram Transport Layer
>>>    Security (DTLS) protocol [RFC6347 <https://tools.ietf.org/html/rfc6347>], as well as version 1.3 of TLS
>>>    [I-D.ietf-tls-tls13 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>].
>>>
>>> NEW introduction
>>>
>>> The cipher
>>>    suites are defined for version 1.2 of the Transport Layer Security
>>>    (TLS) [RFC5246 <https://tools.ietf.org/html/rfc5246>] protocol, version 1.2 of the Datagram Transport Layer
>>>    Security (DTLS) protocol [RFC6347 <https://tools.ietf.org/html/rfc6347>].
>>>
>>>
>>> I suggest to keep the following text of the introduction:
>>>
>>>
>>> AEAD algorithms that combine encryption and integrity protection are
>>>    strongly recommended for (D)TLS [RFC7525 <https://tools.ietf.org/html/rfc7525>] and non-AEAD algorithms are
>>>    forbidden to use in TLS 1.3 [I-D.ietf-tls-tls13 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>].  The AEAD
>>>    algorithms considered in this document are AES-GCM and AES-CCM.  The
>>>    use of AES-GCM in TLS is defined in [RFC5288 <https://tools.ietf.org/html/rfc5288>] and the use of AES-CCM
>>>    is defined in [RFC6655 <https://tools.ietf.org/html/rfc6655>].
>>>
>>>
>> Yes, this seems fine.
>>
>>
>>
>>> I suggest to keep the following text of the Applicable versions
>>> sections, as I believe the section discusses the cipher suites against all
>>> existing TLS versions. In addition, it also justifies somewhat that we only
>>> defined cipher suites that are compatible with TLS1.3.
>>>
>>>    TLS version 1.3 and later negotiate these features in a different
>>>    manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and cipher
>>>    suite negotiation [I-D.ietf-tls-tls13 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>] Section 1.2 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#section-1.2>.  TLS 1.3 supports
>>>    PSK with ECDHE key exchange and the cipher suites
>>>    TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
>>>    TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
>>>    specification.  As a result, TLS 1.3 and higher versions, negotiate
>>>    and support these cipher suites in a different way.
>>>
>>>
>> OK.
>>
>>
>>> I suggest to remove the reference to TLS1.3 in the security
>>> considerations
>>>
>>> OLD
>>>
>>>  The security considerations in TLS 1.2 [RFC5246 <https://tools.ietf.org/html/rfc5246>], DTLS 1.2 [RFC6347 <https://tools.ietf.org/html/rfc6347>],
>>>    TLS 1.3 [I-D.ietf-tls-tls13 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>], ECDHE_PSK [RFC5489 <https://tools.ietf.org/html/rfc5489>], AES-GCM [RFC5288 <https://tools.ietf.org/html/rfc5288>],
>>>    and AES-CCM [RFC6655 <https://tools.ietf.org/html/rfc6655>] apply to this document as well.
>>>
>>> NEW
>>>
>>>  The security considerations in TLS 1.2 [RFC5246 <https://tools.ietf.org/html/rfc5246>], DTLS 1.2 [RFC6347 <https://tools.ietf.org/html/rfc6347>],
>>>  ECDHE_PSK [RFC5489 <https://tools.ietf.org/html/rfc5489>], AES-GCM [RFC5288 <https://tools.ietf.org/html/rfc5288>],and AES-CCM [RFC6655 <https://tools.ietf.org/html/rfc6655>] apply
>>>  to this document as well.
>>>
>>>
>>>> S 2.
>>>> I'm not sure that the discussion of the PRF is helpful here in
>>>> mandating the non-use of these cipher suites with TLS 1.1 and
>>>> below.
>>>>
>>>
>>> I find the text useful as it gives an idea why even introducing AEAD in
>>> TLS version lower than 1.2 is a bad idea, so I would prefer to keep it. The
>>> text has been changed to
>>>
>>> OLD:
>>> As such TLS 1.0 and TLS 1.1 should not be used with ECDHE_PSK.
>>>
>>> NEW:
>>> As such,  all ECDHE_PSK
>>> ciphers, including those defined outside this document, SHOULD NOT be
>>> negotiated in TLS versions prior to 1.2.
>>>
>>
>> I don't think you should be levying a new normative requirement like this
>> for other ciphers
>> i this document
>>
>
> Consideration for other ciphers has been removed. The requirement is
> limited to the ciphers of the document. The new text is:
>
> As such, all ECDHE_PSK ciphers, including those defined in this document,
> SHOULD NOT be
> negotiated in TLS versions prior to 1.2.
>
>>
>> -Ek
>> r
>>
>>
>

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

<div dir=3D"ltr"><div><div>re-sending with the version 05 but removing the =
diff to be under the 100 KB limit. <br></div>Yours, <br></div>Daniel<br><di=
v><div><div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tu=
e, May 23, 2017 at 9:28 PM, Daniel Migault <span dir=3D"ltr">&lt;<a href=3D=
"mailto:daniel.migault@ericsson.com" target=3D"_blank">daniel.migault@erics=
son.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D=
"ltr"><div><div>Hi Eric, <br><br></div>Thank you for the feed backs. The ve=
rsion 05 contains all text changes you agreed. In addition, the text explai=
ning dictionary/brute force has been removed and replace by a reference to =
4279. The recommendation regarding to all PSK ciphers has been limited to t=
he one of the document.=C2=A0 Please see=C2=A0 inline for more details.<br>=
<span class=3D"m_4394873319862751035m_5356331867454488272gmail-im"><br></sp=
an></div><div><span class=3D"m_4394873319862751035m_5356331867454488272gmai=
l-im">For some reasons I am not able to validate the submission of version =
05. I have attached the diff with version 04 as well as the locally generat=
ed version 05. <br><br></span></div><span class=3D"m_4394873319862751035m_5=
356331867454488272gmail-im">Yours, <br>Daniel<br></span><div class=3D"gmail=
_extra"><br><div class=3D"gmail_quote"><div><div class=3D"h5">On Tue, May 2=
3, 2017 at 7:40 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a href=3D"mailto:e=
kr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> wrote:<br><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><br><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote"><div><div class=3D"m_439487=
3319862751035m_5356331867454488272gmail-h5">On Wed, May 24, 2017 at 6:00 AM=
, Daniel Migault <span dir=3D"ltr">&lt;<a href=3D"mailto:daniel.migault@eri=
csson.com" target=3D"_blank">daniel.migault@ericsson.com</a>&gt;</span> wro=
te:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><=
div><div><div>Hi Eric, <br><br></div>Thank you for your reviews. Please see=
 my responses inline. If you agree with the text I will update the draft.<b=
r><br></div>Yours, <br></div>Daniel<br><div><div><div><div><div class=3D"gm=
ail_extra"><br><div class=3D"gmail_quote"><div><div class=3D"m_439487331986=
2751035m_5356331867454488272gmail-m_4997153826884106269m_442933667941394762=
3h5">On Mon, May 22, 2017 at 10:11 PM, Eric Rescorla <span dir=3D"ltr">&lt;=
<a href=3D"mailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</spa=
n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Eric Rescorl=
a has entered the following ballot position for<br>
draft-ietf-tls-ecdhe-psk-aead-<wbr>04: Discuss<br>
<br>
When responding, please keep the subject line intact and reply to all<br>
email addresses included in the To and CC lines. (Feel free to cut this<br>
introductory paragraph, however.)<br>
<br>
<br>
Please refer to <a href=3D"https://www.ietf.org/iesg/statement/discuss-crit=
eria.html" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/iesg/s=
tat<wbr>ement/discuss-criteria.html</a><br>
for more information about IESG DISCUSS and COMMENT positions.<br>
<br>
<br>
The document, along with other ballot positions, can be found here:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/"=
 rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/d<wbr>oc=
/draft-ietf-tls-ecdhe-psk-ae<wbr>ad/</a><br>
<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
DISCUSS:<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
<br>
The following text appears to have been added in -04<br>
<br>
=C2=A0 =C2=A0A server receiving a ClientHello and a client_version indicati=
ng<br>
=C2=A0 =C2=A0(3,1) &quot;TLS 1.0&quot; or (3,2) &quot;TLS 1.1&quot; and any=
 of the cipher suites from<br>
=C2=A0 =C2=A0this document in ClientHello.cipher_suites can safely assume t=
hat<br>
the<br>
=C2=A0 =C2=A0client supports TLS 1.2 and is willing to use it.=C2=A0 The se=
rver MUST<br>
=C2=A0 =C2=A0NOT negotiate these cipher suites with TLS protocol versions e=
arlier<br>
=C2=A0 =C2=A0than TLS 1.2.=C2=A0 Not requiring clients to indicate their su=
pport for<br>
=C2=A0 =C2=A0TLS 1.2 cipher suites exclusively through ClientHello.client_h=
ello<br>
=C2=A0 =C2=A0improves the interoperability in the installed base and use of=
 TLS<br>
=C2=A0 =C2=A01.2 AEAD cipher suites without upsetting the installed base of=
<br>
=C2=A0 =C2=A0version-intolerant TLS servers, results in more TLS handshakes=
<br>
=C2=A0 =C2=A0succeeding and obviates fallback mechanisms.<br>
<br>
This is a major technical change from -03, which, AFAIK, prohibited<br>
the server from negotiating these algorithms with TLS 1.1 and below<br>
and maintained the usual TLS version 1.2 negotiation rules.<br>
<br>
This is a very material technical change. I don&#39;t consider it wise,<br>
but in any case it would absolutely need WG consensus, which I<br>
don&#39;t believe that it has given the recent introduction.<br></blockquot=
e><div><br></div></div></div><div>I agree that the text is a technical chan=
ge, and that it may not be appropriated to do so now. The reason I included=
 it was that it was conform to the previous text, but I agree that implicit=
 assumption of version 1.2 may need some additional discussion especially r=
egarding RFC5246 Appendix E. Unless you prefer further discussion I assume =
the text below address your concern. =C2=A0 <br><br>&lt;t&gt;The cipher sui=
tes defined in this document MUST NOT be negotiated for any version of (D)T=
LS other than TLS 1.2. Clients MUST NOT offer one of these cipher suites wi=
th a (D)TLS version that differs from TLS 1.2. Servers MUST NOT select one =
of these cipher suites with a TLS version that differs from TLS 1.2. A clie=
nt MUST treat the selection of these cipher suites in combination with a ve=
rsion of TLS as an error and generate a fatal &#39;illegal_parameter&#39; T=
LS alert. &lt;/t&gt; <br></div></div></div></div></div></div></div></div></=
blockquote><div><br></div></div></div><div>Yes, this seems fine</div><span =
class=3D"m_4394873319862751035m_5356331867454488272gmail-"><div><br></div><=
div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D=
"ltr"><div><div><div><div><div class=3D"gmail_extra"><div class=3D"gmail_qu=
ote"><span><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The discussion of dictionary attacks here seems inferior to that<br>
in 4279. In particular, you only need to actively attack one<br>
connection to capture the data you need for a brute force attack<br>
despite the text there referring to trying &quot;different keys&quot;.<br>
Please correct that.<br>
<br></blockquote></span><div>I believe the text below address your concern:=
<br><br>OLD:<br>&lt;t&gt;Use of Pre-Shared Keys of limited entropy may allo=
w an active<br>attacker attempts to connect to the server and try different=
 keys.<br>For example, limited entropy may be provided by using a short PSK=
 in which<br>case an attacker may perform a brute-force attack. Another exa=
mple<br>includes the use of a PSK=C2=A0 chosen by a human which thus may be=
 exposed to<br>dictionary attacks.&lt;/t&gt;<br><br>NEW:<br>&lt;t&gt;Pre-Sh=
ared Keys security relies on its associated entropy, and it is RECOMMENDED =
to follow &lt;xref target=3D&quot;4086&quot;/&gt; to ensure the PSK has eno=
ugh entropy. Possible reasons for low entropy includes PSK chosen by humans=
 or PSK of small length as well as using random generators with limited ent=
ropy. &lt;/t&gt;<br><br>&lt;t&gt;PSK of limited entropy may allow an attack=
er to test different PSK values against a valid output such as master secre=
t or any output derived from it. In this document, the master secret is gen=
erated using the PSK as well as the ECDHE shared secret. The use of ECDHE l=
imits the possibilities of passive eavesdropping attackers, as the ECDHE sh=
ared secret is not expected to be derived from the observed ECDH parameters=
. As a result, passive eavesdropping is unlikely to happen, and the collect=
ion of all necessary material relies on an active attack. <br>An active att=
acker may collect the necessary material by setting a TLS session as a clie=
nt with the legitimate server. One PSK is tested for each session, and a ma=
tch occurs when key exchange succeeds. On the other hand, an active attacke=
r may also consider gathering the necessary information for offline computa=
tion. One way consists in getting a legitimate client to establish a connec=
tion with the attacker. It is also assumed that the client will accept the =
ECDH parameters authenticated by the attacker&#39;s private key and finally=
 returns the Finished message authenticating the exchange. The attacker wil=
l be then in possession of all the necessary information to perform a brute=
 force attack.&lt;/t&gt;=C2=A0=C2=A0 <br></div></div></div></div></div></di=
v></div></div></blockquote><div><br></div></span><div>Is there a reason to =
not just point directly to the 4279 security considerations?</div></div></d=
iv></div></blockquote><div><br></div></div></div><div>No, basically I tried=
 to complete the previous text that missed the offline use case. The curren=
t version just point to 4279, without having the above text. If you think t=
he text above is clarifying I can add it as well.=C2=A0 =C2=A0 =C2=A0 <br><=
/div><div><div class=3D"h5"><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><=
div>-</div><div><div class=3D"m_4394873319862751035m_5356331867454488272gma=
il-h5"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><=
div><div><div><div><div class=3D"gmail_extra"><div class=3D"gmail_quote"><d=
iv>=C2=A0 <br></div><span><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
>
<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
COMMENT:<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
<br>
The citations to TLS 1.3 still seem pretty muddled. I think you<br>
should just stop referencing and discussing 1.3.<br></blockquote><div><br><=
/div></span><div>My understanding of your comment is that mentioning TLS 1.=
3 to further insisting that the code point are not valid for TLS 1.3 is con=
fusing. I propose to:<br><br></div><div>Explicitly mention the TLS version =
in the title:<br><br></div><div>OLD title:<br>ECDHE_PSK with AES-GCM and AE=
S-CCM Cipher Suites for Transport Layer Security (TLS)<br><br></div><div>NE=
W title:<br>ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport =
Layer Security (TLS)<br></div><div><pre><span class=3D"m_439487331986275103=
5m_5356331867454488272gmail-m_4997153826884106269m_4429336679413947623m_-10=
1311485245468505m_-6500030207053047939gmail-h1"></span><span class=3D"m_439=
4873319862751035m_5356331867454488272gmail-m_4997153826884106269m_442933667=
9413947623m_-101311485245468505m_-6500030207053047939gmail-h1"></span></pre=
>OLD Introduction:<br><pre class=3D"m_4394873319862751035m_5356331867454488=
272gmail-m_4997153826884106269m_4429336679413947623m_-101311485245468505m_-=
6500030207053047939gmail-newpage">    The cipher
   suites are defined for version 1.2 of the Transport Layer Security
   (TLS) [<a href=3D"https://tools.ietf.org/html/rfc5246" title=3D"&quot;Th=
e Transport Layer Security (TLS) Protocol Version 1.2&quot;" target=3D"_bla=
nk">RFC5246</a>] protocol, version 1.2 of the Datagram Transport Layer
   Security (DTLS) protocol [<a href=3D"https://tools.ietf.org/html/rfc6347=
" title=3D"&quot;Datagram Transport Layer Security Version 1.2&quot;" targe=
t=3D"_blank">RFC6347</a>], as well as version 1.3 of TLS
   [<a href=3D"https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04=
#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.ietf-tls-tls13</a>].</pre>NE=
W introduction<br><br><pre class=3D"m_4394873319862751035m_5356331867454488=
272gmail-m_4997153826884106269m_4429336679413947623m_-101311485245468505m_-=
6500030207053047939gmail-newpage">The cipher
   suites are defined for version 1.2 of the Transport Layer Security
   (TLS) [<a href=3D"https://tools.ietf.org/html/rfc5246" title=3D"&quot;Th=
e Transport Layer Security (TLS) Protocol Version 1.2&quot;" target=3D"_bla=
nk">RFC5246</a>] protocol, version 1.2 of the Datagram Transport Layer
   Security (DTLS) protocol [<a href=3D"https://tools.ietf.org/html/rfc6347=
" title=3D"&quot;Datagram Transport Layer Security Version 1.2&quot;" targe=
t=3D"_blank">RFC6347</a>]. <br><br><br>I suggest to keep the following text=
 of the introduction:<br></pre></div><div><br><pre class=3D"m_4394873319862=
751035m_5356331867454488272gmail-m_4997153826884106269m_4429336679413947623=
m_-101311485245468505m_-6500030207053047939gmail-newpage">AEAD algorithms t=
hat combine encryption and integrity protection are
   strongly recommended for (D)TLS [<a href=3D"https://tools.ietf.org/html/=
rfc7525" title=3D"&quot;Recommendations for Secure Use of Transport Layer S=
ecurity (TLS) and Datagram Transport Layer Security (DTLS)&quot;" target=3D=
"_blank">RFC7525</a>] and non-AEAD algorithms are
   forbidden to use in TLS 1.3 [<a href=3D"https://tools.ietf.org/html/draf=
t-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.=
ietf-tls-tls13</a>].  The AEAD
   algorithms considered in this document are AES-GCM and AES-CCM.  The
   use of AES-GCM in TLS is defined in [<a href=3D"https://tools.ietf.org/h=
tml/rfc5288" title=3D"&quot;AES Galois Counter Mode (GCM) Cipher Suites for=
 TLS&quot;" target=3D"_blank">RFC5288</a>] and the use of AES-CCM
   is defined in [<a href=3D"https://tools.ietf.org/html/rfc6655" title=3D"=
&quot;AES-CCM Cipher Suites for Transport Layer Security (TLS)&quot;" targe=
t=3D"_blank">RFC6655</a>].</pre></div></div></div></div></div></div></div><=
/div></blockquote><div><br></div></div></div><div>Yes, this seems fine.</di=
v><span class=3D"m_4394873319862751035m_5356331867454488272gmail-"><div><br=
></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><=
div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div>=
I suggest to keep the following text of the Applicable versions sections, a=
s I believe the section discusses the cipher suites against all existing TL=
S versions. In addition, it also justifies somewhat that we only defined ci=
pher suites that are compatible with TLS1.3.=C2=A0 <br><pre class=3D"m_4394=
873319862751035m_5356331867454488272gmail-m_4997153826884106269m_4429336679=
413947623m_-101311485245468505m_-6500030207053047939gmail-newpage">   TLS v=
ersion 1.3 and later negotiate these features in a different
   manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and cipher
   suite negotiation [<a href=3D"https://tools.ietf.org/html/draft-ietf-tls=
-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.ietf-tls-t=
ls13</a>] <a href=3D"https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-a=
ead-04#section-1.2" target=3D"_blank">Section 1.2</a>.  TLS 1.3 supports
   PSK with ECDHE key exchange and the cipher suites
   TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
   TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
   specification.  As a result, TLS 1.3 and higher versions, negotiate
   and support these cipher suites in a different way.</pre></div></div></d=
iv></div></blockquote><div><br></div></span><div>OK.</div><span class=3D"m_=
4394873319862751035m_5356331867454488272gmail-"><div>=C2=A0</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmai=
l_extra"><div class=3D"gmail_quote"><div>I suggest to remove the reference =
to TLS1.3 in the security considerations<br><br></div>OLD<br><pre class=3D"=
m_4394873319862751035m_5356331867454488272gmail-m_4997153826884106269m_4429=
336679413947623m_-101311485245468505m_-6500030207053047939gmail-newpage"> T=
he security considerations in TLS 1.2 [<a href=3D"https://tools.ietf.org/ht=
ml/rfc5246" title=3D"&quot;The Transport Layer Security (TLS) Protocol Vers=
ion 1.2&quot;" target=3D"_blank">RFC5246</a>], DTLS 1.2 [<a href=3D"https:/=
/tools.ietf.org/html/rfc6347" title=3D"&quot;Datagram Transport Layer Secur=
ity Version 1.2&quot;" target=3D"_blank">RFC6347</a>],
   TLS 1.3 [<a href=3D"https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk=
-aead-04#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.ietf-tls-tls13</a>],=
 ECDHE_PSK [<a href=3D"https://tools.ietf.org/html/rfc5489" title=3D"&quot;=
ECDHE_PSK Cipher Suites for Transport Layer Security (TLS)&quot;" target=3D=
"_blank">RFC5489</a>], AES-GCM [<a href=3D"https://tools.ietf.org/html/rfc5=
288" title=3D"&quot;AES Galois Counter Mode (GCM) Cipher Suites for TLS&quo=
t;" target=3D"_blank">RFC5288</a>],
   and AES-CCM [<a href=3D"https://tools.ietf.org/html/rfc6655" title=3D"&q=
uot;AES-CCM Cipher Suites for Transport Layer Security (TLS)&quot;" target=
=3D"_blank">RFC6655</a>] apply to this document as well.<br><br></pre></div=
><div class=3D"gmail_quote">NEW <br></div><div class=3D"gmail_quote"><div><=
pre class=3D"m_4394873319862751035m_5356331867454488272gmail-m_499715382688=
4106269m_4429336679413947623m_-101311485245468505m_-6500030207053047939gmai=
l-newpage"> The security considerations in TLS 1.2 [<a href=3D"https://tool=
s.ietf.org/html/rfc5246" title=3D"&quot;The Transport Layer Security (TLS) =
Protocol Version 1.2&quot;" target=3D"_blank">RFC5246</a>], DTLS 1.2 [<a hr=
ef=3D"https://tools.ietf.org/html/rfc6347" title=3D"&quot;Datagram Transpor=
t Layer Security Version 1.2&quot;" target=3D"_blank">RFC6347</a>],<br> ECD=
HE_PSK [<a href=3D"https://tools.ietf.org/html/rfc5489" title=3D"&quot;ECDH=
E_PSK Cipher Suites for Transport Layer Security (TLS)&quot;" target=3D"_bl=
ank">RFC5489</a>], AES-GCM [<a href=3D"https://tools.ietf.org/html/rfc5288"=
 title=3D"&quot;AES Galois Counter Mode (GCM) Cipher Suites for TLS&quot;" =
target=3D"_blank">RFC5288</a>],and AES-CCM [<a href=3D"https://tools.ietf.o=
rg/html/rfc6655" title=3D"&quot;AES-CCM Cipher Suites for Transport Layer S=
ecurity (TLS)&quot;" target=3D"_blank">RFC6655</a>] apply <br> to this docu=
ment as well.</pre></div><span><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex">
<br>
S 2.<br>
I&#39;m not sure that the discussion of the PRF is helpful here in<br>
mandating the non-use of these cipher suites with TLS 1.1 and<br>
below.<br></blockquote><div><br></div></span><div>I find the text useful as=
 it gives an idea why even introducing AEAD in TLS version lower than 1.2 i=
s a bad idea, so I would prefer to keep it. The text has been changed to <b=
r><br></div><div>OLD:<br>As such TLS 1.0 and TLS 1.1 should not be used wit=
h ECDHE_PSK.</div><div><br>NEW:<br></div></div>As such,=C2=A0 all ECDHE_PSK=
<br>ciphers, including those defined outside this document, SHOULD NOT be<b=
r>negotiated in TLS versions prior to 1.2.<br></div></div></blockquote><div=
><br></div></span><div>I don&#39;t think you should be levying a new normat=
ive requirement like this for other ciphers</div><div>i this document</div>=
</div></div></div></blockquote><div><br></div></div></div><div>Consideratio=
n for other ciphers has been removed. The requirement is limited to the cip=
hers of the document. The new text is:<br><br>As such, all ECDHE_PSK cipher=
s, including those defined in this document, SHOULD NOT be<span class=3D"">=
<br>negotiated in TLS versions prior to 1.2.<br></span></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_ex=
tra"><div class=3D"gmail_quote"><div><br></div><div>-Ek</div><span class=3D=
"m_4394873319862751035m_5356331867454488272gmail-HOEnZb"><font color=3D"#88=
8888"><div>r</div></font></span></div><br></div></div>
</blockquote></div><br></div></div>
</blockquote></div><br></div></div></div></div></div>

--001a11412d3c8cca5e05503bfc76--

--001a11412d3c8cca6305503bfc78
Content-Type: text/plain; charset="US-ASCII"; name="draft-ietf-tls-ecdhe-psk-aead-05.txt"
Content-Disposition: attachment; 
	filename="draft-ietf-tls-ecdhe-psk-aead-05.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_j32dnssw2

CgoKCk5ldHdvcmsgV29ya2luZyBHcm91cCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICBKLiBNYXR0c3NvbgpJbnRlcm5ldC1EcmFmdCAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgIEQuIE1pZ2F1bHQKSW50ZW5kZWQgc3RhdHVzOiBTdGFu
ZGFyZHMgVHJhY2sgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEVyaWNzc29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goKCgoKCgoKCk1hdHRzc29uICYgTWlnYXVsdCAgICAgIEV4cGlyZXMg
Tm92ZW1iZXIgMjQsIDIwMTcgICAgICAgICAgICAgICBbUGFnZSA3XQo=
--001a11412d3c8cca6305503bfc78--


From nobody Tue May 23 19:42:20 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ECB171286D6; Tue, 23 May 2017 19:42:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.398
X-Spam-Level: 
X-Spam-Status: No, score=-2.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 F6mUOTVBzPPs; Tue, 23 May 2017 19:42:17 -0700 (PDT)
Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 0E892126CC4; Tue, 23 May 2017 19:42:17 -0700 (PDT)
Received: by mail-lf0-x232.google.com with SMTP id 99so59577423lfu.1; Tue, 23 May 2017 19:42:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=lqLrGbmUEMpJxATjZ1QV1tvEiOCu8RlKcNY4qtfWqKY=; b=lVuQguDzyuvc2VHS+Q9W8ripkVhZgx8/MrR38+/+rtWFjx5EEp559FRyAouoXW0CVl zty/vgsEvIsYRJEX7YhJJjrmmNWi1eCUAi9f3MWLnzl+D7C4Mv46jX3G3nAxnspKDSgR 0VZHLE3RUXEtAUj6eQJW8GgQRbFFhIblUGySu5yrUt4/jTy3ZOiw/RE2aZV7NLPlGs5a omjsLs489Jw+gc4bYIZ6wkrUDlZChYsj3gmq0MhpGFJ2KHKx/eEz1fXbH49USbiOP37q znqVy+09Z4DKhbciPICknFfXuwLsAqrt41Yr+9D8/Mdx4vDw8VQaMf3T9sDWxEnfKR9o dhZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=lqLrGbmUEMpJxATjZ1QV1tvEiOCu8RlKcNY4qtfWqKY=; b=InMh1rL4BfRbh+zcOiuzNuWdzPrrggSvHCTfF0mV3zZtBuZu7i8yUQ9K2hFNkNLP9A Xkl+IHenoTRQd6RAmoCYXwk4tGRUe5P1DxDsv6SphmXKKCTjTnB0OhrA24PE9gbal0uY DQONX8Nge9Urg8pN9tFhfKBBHc2y9SX9FvRmZ6dwWggqotcUXm4u5VpndZHE8hWFVlJL k/GML4WJkHhRp0fD8lDarYct6/2sGCsVypxPnKXgc4UpWgcxDpTojMS6ICI5AIuHj9Q9 HBA0yHXjD2+8xhVo6PyThVJSYsUnRQRAakdHrCm2oAg72hKvk6lbVlYTK6nWM2FVzZha UYBA==
X-Gm-Message-State: AODbwcBjwUJLfydjwJz0mdqZFeB7qKSID5xd1xbKtz06FkZSKAQh8otz WLaLBW/7oZVZoON9uDnMSiWzo7o/pQ==
X-Received: by 10.25.145.88 with SMTP id y24mr7743537lfj.14.1495593735436; Tue, 23 May 2017 19:42:15 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Tue, 23 May 2017 19:42:14 -0700 (PDT)
In-Reply-To: <149557756331.28529.11248340972147793467.idtracker@ietfa.amsl.com>
References: <149557756331.28529.11248340972147793467.idtracker@ietfa.amsl.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Tue, 23 May 2017 22:42:14 -0400
X-Google-Sender-Auth: zcDRa0hRFE9SZ9rkvhpwDKvQJOE
Message-ID: <CADZyTkmwLPm0ZV9xF-vccVeDxpDScviZ=fSJV4FtLtQc_RrvcQ@mail.gmail.com>
To: Ben Campbell <ben@nostrum.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org,  Joseph Salowey <joe@salowey.net>, tls-chairs <tls-chairs@ietf.org>, tls <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c1cdb3c54401f05503c0d6b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/kMLDsR4BFg6dg5Wx4cjNqVo-VKM>
Subject: Re: [TLS] Ben Campbell's No Objection on draft-ietf-tls-ecdhe-psk-aead-04: (with COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 02:42:19 -0000

--94eb2c1cdb3c54401f05503c0d6b
Content-Type: text/plain; charset="UTF-8"

Hi,
Thanks for your review. I believe version 05 address Eric comments..
Yours,
Daniel

On Tue, May 23, 2017 at 6:12 PM, Ben Campbell <ben@nostrum.com> wrote:

> Ben Campbell has entered the following ballot position for
> draft-ietf-tls-ecdhe-psk-aead-04: No Objection
>
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
>
>
> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
>
>
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
>
>
>
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>
> I support Ekr's DISCUSS position.
>
>
>

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

<div dir=3D"ltr"><div><div><div>Hi, <br></div>Thanks for your review. I bel=
ieve version 05 address Eric comments.. <br></div>Yours, <br></div>Daniel<b=
r></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, M=
ay 23, 2017 at 6:12 PM, Ben Campbell <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:ben@nostrum.com" target=3D"_blank">ben@nostrum.com</a>&gt;</span> wrote:<=
br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex">Ben Campbell has entered the following ba=
llot position for<br>
draft-ietf-tls-ecdhe-psk-aead-<wbr>04: No Objection<br>
<br>
When responding, please keep the subject line intact and reply to all<br>
email addresses included in the To and CC lines. (Feel free to cut this<br>
introductory paragraph, however.)<br>
<br>
<br>
Please refer to <a href=3D"https://www.ietf.org/iesg/statement/discuss-crit=
eria.html" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/iesg/<=
wbr>statement/discuss-criteria.<wbr>html</a><br>
for more information about IESG DISCUSS and COMMENT positions.<br>
<br>
<br>
The document, along with other ballot positions, can be found here:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/"=
 rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/<wbr>doc=
/draft-ietf-tls-ecdhe-psk-<wbr>aead/</a><br>
<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
COMMENT:<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
<br>
I support Ekr&#39;s DISCUSS position.<br>
<br>
<br>
</blockquote></div><br></div>

--94eb2c1cdb3c54401f05503c0d6b--


From nobody Tue May 23 19:48:24 2017
Return-Path: <adam@nostrum.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A12C129453 for <tls@ietfa.amsl.com>; Tue, 23 May 2017 19:48:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.881
X-Spam-Level: 
X-Spam-Status: No, score=-1.881 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01] 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 pCbGIWj4z0op for <tls@ietfa.amsl.com>; Tue, 23 May 2017 19:48:16 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (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 AE48C126C25 for <tls@ietf.org>; Tue, 23 May 2017 19:48:14 -0700 (PDT)
Received: from Svantevit.roach.at (cpe-70-122-154-80.tx.res.rr.com [70.122.154.80]) (authenticated bits=0) by nostrum.com (8.15.2/8.15.2) with ESMTPSA id v4O2mAtD018837 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 23 May 2017 21:48:11 -0500 (CDT) (envelope-from adam@nostrum.com)
X-Authentication-Warning: raven.nostrum.com: Host cpe-70-122-154-80.tx.res.rr.com [70.122.154.80] claimed to be Svantevit.roach.at
To: Daniel Migault <daniel.migault@ericsson.com>, Martin Thomson <martin.thomson@gmail.com>
Cc: "mrex@sap.com" <mrex@sap.com>, tls-chairs <tls-chairs@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org, The IESG <iesg@ietf.org>, tls <tls@ietf.org>
References: <149556730804.28545.6150805815075208815.idtracker@ietfa.amsl.com> <20170523193453.CF9761A6A6@ld9781.wdf.sap.corp> <CADZyTkngnUCNOrTJTd7Se+8seghnfE3DXBTbj1s3mw4Nt09Yjg@mail.gmail.com> <CABkgnnVg=ex5nP6qexprE=jU49nOgPSZj41yeXuZMVo9H9zXSA@mail.gmail.com> <CADZyTk=9dLstaUZHmx6OT3FTweQ4DCzgGjMJD_w1CSNdAajoyQ@mail.gmail.com>
From: Adam Roach <adam@nostrum.com>
Message-ID: <25caac84-190f-cc51-848b-a7b2e9ee6f17@nostrum.com>
Date: Tue, 23 May 2017 21:48:09 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.1.0
MIME-Version: 1.0
In-Reply-To: <CADZyTk=9dLstaUZHmx6OT3FTweQ4DCzgGjMJD_w1CSNdAajoyQ@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/2NActceVrzrCvG-I2yQA4cb4NkI>
Subject: Re: [TLS] Adam Roach's No Objection on draft-ietf-tls-ecdhe-psk-aead-04: (with COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 02:48:17 -0000

On 5/23/17 9:33 PM, Daniel Migault wrote:
> The current version does not consider that proposing the cipher suites 
> of the document implicitly assumes the client supports TLS1.2.

Really? Can you clarify the meaning of the following passage? Because I 
can't read it in any way other than to contradict your assertion above:


    A server receiving a ClientHello and a client_version indicating
    (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites from
    this document in ClientHello.cipher_suites can safely assume that the
    client supports TLS 1.2 and is willing to use it.



/a


From nobody Tue May 23 21:09:51 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08A0B128B91; Tue, 23 May 2017 21:09:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 WD7ADE4dUPph; Tue, 23 May 2017 21:09:39 -0700 (PDT)
Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 C081D12717E; Tue, 23 May 2017 21:09:38 -0700 (PDT)
Received: by mail-lf0-x232.google.com with SMTP id a5so46825822lfh.2; Tue, 23 May 2017 21:09:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ER1/5RAuT1Bks4JkbSx7qc+Jx0HbPU0FabJy4Se8sPE=; b=bw8wTEEYFiwTvAhLYyAFbuwI39bLFJTd2sV+KlN68HCJLUC2F+9Mn9g7aFbWzDo3Wi B/Vu1ZVxf0xnBKJ3CuWgCg08ReZ3Pljk5Nsq7A+qti0MYYrgu1ESvOZpceqyqQ74ON5C uv1mDWry0TlMq1vSRqDBK5xdBNPZ/778lHnsT4snz9V19gm068T/hv43zmdSOwAXM7Bl S333gqIcp4KLDRsHBk9R8yeBZRHIvllmJEju9NQD2yk/coKEpfJzl5lDFlzNqWTkm88m ijjv9NP1gwYukrNULTObgFJxTf24pQy7wve7NaDb/zCupBT2VzmxGVJ6nXQJq7U4frAb ACdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ER1/5RAuT1Bks4JkbSx7qc+Jx0HbPU0FabJy4Se8sPE=; b=l0ZIjMhh/tBtTrB9lyRl41G2iSraRZBIjkTN8k1R2MZG33hZnbFKi0w0m681gUHsxk Hd+9wu1vpQj0cfayJid3Ufjo1Rf50q44JwVJO0c9O/fKxI8pEkPxPqR5KXx8G4wSE/3Z 5qfBTkssj37OSCwPQxWcO+ogvn2WrN8VZdEWN+aOXFe3aHA5BIePAUbXvVr8IfaqfUKi Y73r1DNlACRZahh7JSJZnojoA5/InE5wacmExYDImEkXS95Sa/gBdXhssT99vGz2L67X 1hrN+kb38d0WPPCm8zQqTYooA98sI+7xScDmOvAWVwTvbYqLSsfM3rKd6LqbOeRorgOh Lfig==
X-Gm-Message-State: AODbwcAJXgRytr6P1nSHRXCqmuti9hvgNGkHM4HWJhX53H+iVuGOMr2C LysIWb5QFz9xog8c8P9aVat7shYLYf8sjdk=
X-Received: by 10.46.77.138 with SMTP id c10mr9571235ljd.103.1495598976762; Tue, 23 May 2017 21:09:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.22.73 with HTTP; Tue, 23 May 2017 21:09:36 -0700 (PDT)
In-Reply-To: <CADZyTk=K8dzYaEL3TBjHMzsHnF+X52RvZiUsSBJQmNi0CkH=CA@mail.gmail.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com> <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com> <CADZyTknmXE6UW5e9SbSwwSUZWU-wHw_+9sTB_xnYUmo8KBOJxg@mail.gmail.com> <CADZyTk=K8dzYaEL3TBjHMzsHnF+X52RvZiUsSBJQmNi0CkH=CA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Wed, 24 May 2017 14:09:36 +1000
Message-ID: <CABkgnnVq8N+vEXZ-=yU+EWR9GYTh9K64D8MP0Yu7Pn0enE=iRQ@mail.gmail.com>
To: Daniel Migault <daniel.migault@ericsson.com>
Cc: Eric Rescorla <ekr@rtfm.com>, tls-chairs <tls-chairs@ietf.org>, The IESG <iesg@ietf.org>,  tls <tls@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/7u3ePvrqZPqcgEKwxogtCPjt7Ts>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 04:09:42 -0000

Hi Daniel,

This removes the offending text.

This is incorrect:

> Clients MUST NOT offer one of these cipher suites with a (D)TLS version that differs from TLS 1.2.

It should be possible to offer these when attempting to negotiate TLS
1.3.  The server simply cannot negotiate these cipher suites if it
chooses to use 1.3.  I'd remove that sentence (and the one following
it, since it's redundant with the first sentence of the paragraph).

As others have noted, the paragraph about TLS 1.3 isn't helpful and
should be removed.

This:

> In addition, it is worth noting that TLS 1.0 [RFC2246] and TLS 1.2 [RFC4346] split the pre-master into two  parts.  The PRF results from mixing the two pseudorandom streams with distinct hash functions (MD5 and SHA-1) by exclusive-ORing them together.

You mean TLS 1.1 rather than 1.2.  But as with the former paragraph,
talking about the limitations of TLS versions that you explicitly
don't support isn't useful.  Remove this paragraph also.

Nits:
s/pre-master(| secret)/premaster secret/g

You don't anywhere state that TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256
means to use AEAD_AES_128_GCM (and the same for the other
ciphersuites).  I mention this because the order in which the AEAD
algorithms are mentioned is different to the order of the ciphersuites
in the list.



On 24 May 2017 at 12:37, Daniel Migault <daniel.migault@ericsson.com> wrote:
> re-sending with the version 05 but removing the diff to be under the 100 KB
> limit.
> Yours,
> Daniel
>
> On Tue, May 23, 2017 at 9:28 PM, Daniel Migault
> <daniel.migault@ericsson.com> wrote:
>>
>> Hi Eric,
>>
>> Thank you for the feed backs. The version 05 contains all text changes you
>> agreed. In addition, the text explaining dictionary/brute force has been
>> removed and replace by a reference to 4279. The recommendation regarding to
>> all PSK ciphers has been limited to the one of the document.  Please see
>> inline for more details.
>>
>> For some reasons I am not able to validate the submission of version 05. I
>> have attached the diff with version 04 as well as the locally generated
>> version 05.
>>
>> Yours,
>> Daniel
>>
>> On Tue, May 23, 2017 at 7:40 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>>>
>>>
>>>
>>> On Wed, May 24, 2017 at 6:00 AM, Daniel Migault
>>> <daniel.migault@ericsson.com> wrote:
>>>>
>>>> Hi Eric,
>>>>
>>>> Thank you for your reviews. Please see my responses inline. If you agree
>>>> with the text I will update the draft.
>>>>
>>>> Yours,
>>>> Daniel
>>>>
>>>> On Mon, May 22, 2017 at 10:11 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>>>>>
>>>>> Eric Rescorla has entered the following ballot position for
>>>>> draft-ietf-tls-ecdhe-psk-aead-04: Discuss
>>>>>
>>>>> When responding, please keep the subject line intact and reply to all
>>>>> email addresses included in the To and CC lines. (Feel free to cut this
>>>>> introductory paragraph, however.)
>>>>>
>>>>>
>>>>> Please refer to
>>>>> https://www.ietf.org/iesg/statement/discuss-criteria.html
>>>>> for more information about IESG DISCUSS and COMMENT positions.
>>>>>
>>>>>
>>>>> The document, along with other ballot positions, can be found here:
>>>>> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
>>>>>
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------------
>>>>> DISCUSS:
>>>>> ----------------------------------------------------------------------
>>>>>
>>>>> The following text appears to have been added in -04
>>>>>
>>>>>    A server receiving a ClientHello and a client_version indicating
>>>>>    (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites from
>>>>>    this document in ClientHello.cipher_suites can safely assume that
>>>>> the
>>>>>    client supports TLS 1.2 and is willing to use it.  The server MUST
>>>>>    NOT negotiate these cipher suites with TLS protocol versions earlier
>>>>>    than TLS 1.2.  Not requiring clients to indicate their support for
>>>>>    TLS 1.2 cipher suites exclusively through ClientHello.client_hello
>>>>>    improves the interoperability in the installed base and use of TLS
>>>>>    1.2 AEAD cipher suites without upsetting the installed base of
>>>>>    version-intolerant TLS servers, results in more TLS handshakes
>>>>>    succeeding and obviates fallback mechanisms.
>>>>>
>>>>> This is a major technical change from -03, which, AFAIK, prohibited
>>>>> the server from negotiating these algorithms with TLS 1.1 and below
>>>>> and maintained the usual TLS version 1.2 negotiation rules.
>>>>>
>>>>> This is a very material technical change. I don't consider it wise,
>>>>> but in any case it would absolutely need WG consensus, which I
>>>>> don't believe that it has given the recent introduction.
>>>>
>>>>
>>>> I agree that the text is a technical change, and that it may not be
>>>> appropriated to do so now. The reason I included it was that it was conform
>>>> to the previous text, but I agree that implicit assumption of version 1.2
>>>> may need some additional discussion especially regarding RFC5246 Appendix E.
>>>> Unless you prefer further discussion I assume the text below address your
>>>> concern.
>>>>
>>>> <t>The cipher suites defined in this document MUST NOT be negotiated for
>>>> any version of (D)TLS other than TLS 1.2. Clients MUST NOT offer one of
>>>> these cipher suites with a (D)TLS version that differs from TLS 1.2. Servers
>>>> MUST NOT select one of these cipher suites with a TLS version that differs
>>>> from TLS 1.2. A client MUST treat the selection of these cipher suites in
>>>> combination with a version of TLS as an error and generate a fatal
>>>> 'illegal_parameter' TLS alert. </t>
>>>
>>>
>>> Yes, this seems fine
>>>
>>>
>>>>> The discussion of dictionary attacks here seems inferior to that
>>>>> in 4279. In particular, you only need to actively attack one
>>>>> connection to capture the data you need for a brute force attack
>>>>> despite the text there referring to trying "different keys".
>>>>> Please correct that.
>>>>>
>>>> I believe the text below address your concern:
>>>>
>>>> OLD:
>>>> <t>Use of Pre-Shared Keys of limited entropy may allow an active
>>>> attacker attempts to connect to the server and try different keys.
>>>> For example, limited entropy may be provided by using a short PSK in
>>>> which
>>>> case an attacker may perform a brute-force attack. Another example
>>>> includes the use of a PSK  chosen by a human which thus may be exposed
>>>> to
>>>> dictionary attacks.</t>
>>>>
>>>> NEW:
>>>> <t>Pre-Shared Keys security relies on its associated entropy, and it is
>>>> RECOMMENDED to follow <xref target="4086"/> to ensure the PSK has enough
>>>> entropy. Possible reasons for low entropy includes PSK chosen by humans or
>>>> PSK of small length as well as using random generators with limited entropy.
>>>> </t>
>>>>
>>>> <t>PSK of limited entropy may allow an attacker to test different PSK
>>>> values against a valid output such as master secret or any output derived
>>>> from it. In this document, the master secret is generated using the PSK as
>>>> well as the ECDHE shared secret. The use of ECDHE limits the possibilities
>>>> of passive eavesdropping attackers, as the ECDHE shared secret is not
>>>> expected to be derived from the observed ECDH parameters. As a result,
>>>> passive eavesdropping is unlikely to happen, and the collection of all
>>>> necessary material relies on an active attack.
>>>> An active attacker may collect the necessary material by setting a TLS
>>>> session as a client with the legitimate server. One PSK is tested for each
>>>> session, and a match occurs when key exchange succeeds. On the other hand,
>>>> an active attacker may also consider gathering the necessary information for
>>>> offline computation. One way consists in getting a legitimate client to
>>>> establish a connection with the attacker. It is also assumed that the client
>>>> will accept the ECDH parameters authenticated by the attacker's private key
>>>> and finally returns the Finished message authenticating the exchange. The
>>>> attacker will be then in possession of all the necessary information to
>>>> perform a brute force attack.</t>
>>>
>>>
>>> Is there a reason to not just point directly to the 4279 security
>>> considerations?
>>
>>
>> No, basically I tried to complete the previous text that missed the
>> offline use case. The current version just point to 4279, without having the
>> above text. If you think the text above is clarifying I can add it as well.
>>>
>>> -
>>>>
>>>>
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------------
>>>>> COMMENT:
>>>>> ----------------------------------------------------------------------
>>>>>
>>>>> The citations to TLS 1.3 still seem pretty muddled. I think you
>>>>> should just stop referencing and discussing 1.3.
>>>>
>>>>
>>>> My understanding of your comment is that mentioning TLS 1.3 to further
>>>> insisting that the code point are not valid for TLS 1.3 is confusing. I
>>>> propose to:
>>>>
>>>> Explicitly mention the TLS version in the title:
>>>>
>>>> OLD title:
>>>> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
>>>> Security (TLS)
>>>>
>>>> NEW title:
>>>> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
>>>> Security (TLS)
>>>>
>>>> OLD Introduction:
>>>>
>>>>     The cipher
>>>>    suites are defined for version 1.2 of the Transport Layer Security
>>>>    (TLS) [RFC5246] protocol, version 1.2 of the Datagram Transport Layer
>>>>    Security (DTLS) protocol [RFC6347], as well as version 1.3 of TLS
>>>>    [I-D.ietf-tls-tls13].
>>>>
>>>> NEW introduction
>>>>
>>>> The cipher
>>>>    suites are defined for version 1.2 of the Transport Layer Security
>>>>    (TLS) [RFC5246] protocol, version 1.2 of the Datagram Transport Layer
>>>>    Security (DTLS) protocol [RFC6347].
>>>>
>>>>
>>>> I suggest to keep the following text of the introduction:
>>>>
>>>>
>>>> AEAD algorithms that combine encryption and integrity protection are
>>>>    strongly recommended for (D)TLS [RFC7525] and non-AEAD algorithms are
>>>>    forbidden to use in TLS 1.3 [I-D.ietf-tls-tls13].  The AEAD
>>>>    algorithms considered in this document are AES-GCM and AES-CCM.  The
>>>>    use of AES-GCM in TLS is defined in [RFC5288] and the use of AES-CCM
>>>>    is defined in [RFC6655].
>>>
>>>
>>> Yes, this seems fine.
>>>
>>>
>>>>
>>>> I suggest to keep the following text of the Applicable versions
>>>> sections, as I believe the section discusses the cipher suites against all
>>>> existing TLS versions. In addition, it also justifies somewhat that we only
>>>> defined cipher suites that are compatible with TLS1.3.
>>>>
>>>>    TLS version 1.3 and later negotiate these features in a different
>>>>    manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and cipher
>>>>    suite negotiation [I-D.ietf-tls-tls13] Section 1.2.  TLS 1.3 supports
>>>>    PSK with ECDHE key exchange and the cipher suites
>>>>    TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
>>>>    TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
>>>>    specification.  As a result, TLS 1.3 and higher versions, negotiate
>>>>    and support these cipher suites in a different way.
>>>
>>>
>>> OK.
>>>
>>>>
>>>> I suggest to remove the reference to TLS1.3 in the security
>>>> considerations
>>>>
>>>> OLD
>>>>
>>>>  The security considerations in TLS 1.2 [RFC5246], DTLS 1.2 [RFC6347],
>>>>    TLS 1.3 [I-D.ietf-tls-tls13], ECDHE_PSK [RFC5489], AES-GCM [RFC5288],
>>>>    and AES-CCM [RFC6655] apply to this document as well.
>>>>
>>>> NEW
>>>>
>>>>  The security considerations in TLS 1.2 [RFC5246], DTLS 1.2 [RFC6347],
>>>>  ECDHE_PSK [RFC5489], AES-GCM [RFC5288],and AES-CCM [RFC6655] apply
>>>>  to this document as well.
>>>>>
>>>>>
>>>>> S 2.
>>>>> I'm not sure that the discussion of the PRF is helpful here in
>>>>> mandating the non-use of these cipher suites with TLS 1.1 and
>>>>> below.
>>>>
>>>>
>>>> I find the text useful as it gives an idea why even introducing AEAD in
>>>> TLS version lower than 1.2 is a bad idea, so I would prefer to keep it. The
>>>> text has been changed to
>>>>
>>>> OLD:
>>>> As such TLS 1.0 and TLS 1.1 should not be used with ECDHE_PSK.
>>>>
>>>> NEW:
>>>> As such,  all ECDHE_PSK
>>>> ciphers, including those defined outside this document, SHOULD NOT be
>>>> negotiated in TLS versions prior to 1.2.
>>>
>>>
>>> I don't think you should be levying a new normative requirement like this
>>> for other ciphers
>>> i this document
>>
>>
>> Consideration for other ciphers has been removed. The requirement is
>> limited to the ciphers of the document. The new text is:
>>
>> As such, all ECDHE_PSK ciphers, including those defined in this document,
>> SHOULD NOT be
>> negotiated in TLS versions prior to 1.2.
>>>
>>>
>>> -Ek
>>> r
>>>
>>
>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>


From nobody Wed May 24 05:39:21 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2060C129AE5; Wed, 24 May 2017 05:39:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.398
X-Spam-Level: 
X-Spam-Status: No, score=-2.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 YE8M_MDoMh1Y; Wed, 24 May 2017 05:39:10 -0700 (PDT)
Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (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 CEE42129AD0; Wed, 24 May 2017 05:39:09 -0700 (PDT)
Received: by mail-lf0-x234.google.com with SMTP id m18so66699158lfj.0; Wed, 24 May 2017 05:39:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=qjaGb39B3jm7ADS27tVPHiL0doItOTMWjzosMz+z654=; b=Hp4RG6eKRqmKhHeczdnRO8xPdQyLI+uKouU7TlQLy6NQrhS8RcijV1yGQCG3Xp2iL0 JS+wMmobIdEfI5vvaZRCNikOmRErWVB08/Effdt5o9nuoZgevn5tw+i6F2qfeIOJLq1G 0Slvc7Kvx/qltHdViHSVvV+ZB/AGy+y2G7nmLFAyMUb6GN1cIUEn+LNHkRfKcxASzf+c gIhB4U5gq6ruXfgiX8AqVl6LswSyfM3KQ5qmv0CQvFswXiWcUoinWb6Tgoz0qoKyQ8bf CsHQFdR8Z3bRDq2+zmFJP9NG1AdCcRnRpatuzLnz+eG+DtQPcMirVK7Ia0X3GzoO6dG8 V4hA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=qjaGb39B3jm7ADS27tVPHiL0doItOTMWjzosMz+z654=; b=LgXWHvGiDKo6ImH4XNr5EoP9ixJoqIh6+Dw0qjjfEBtk7p8sgxgpRn9LbZa3cPqzQG 8hVOtHtaFtFxTkUQ1G/F0Xa5DjyaixgHXtzwTkjzv7weWPmT4b8EvWJXnharLmW6fOAf WH/sabUgt5dfR2vbAfmE26fY/EY9HYKc8yYt+D1P69gl2FV2gxSAlGvXOTiHd3CKLBQp 2If2EPG4YQvvsWfn31ARbcof6Ngx9Moog2HlK9z5ZQK3qJjboPja6PpTVQmdl/YbH1he e4FeYWAPDSUEgCF3Zk//fiIgsP8Jx9tPEEdPkU/TOGOemfXdR0J3I6Wn3RJM95Anzkvb Mjmg==
X-Gm-Message-State: AODbwcDlfKNY7C3LwukuCurAOZ69kpV28Vaq057ZNWMGJMjMa9TEy0Vo lvZUNNi+eHcJ4B5XHJxuqsN3Eusk2g==
X-Received: by 10.46.76.1 with SMTP id z1mr8591744lja.128.1495629548100; Wed, 24 May 2017 05:39:08 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Wed, 24 May 2017 05:39:07 -0700 (PDT)
In-Reply-To: <25caac84-190f-cc51-848b-a7b2e9ee6f17@nostrum.com>
References: <149556730804.28545.6150805815075208815.idtracker@ietfa.amsl.com> <20170523193453.CF9761A6A6@ld9781.wdf.sap.corp> <CADZyTkngnUCNOrTJTd7Se+8seghnfE3DXBTbj1s3mw4Nt09Yjg@mail.gmail.com> <CABkgnnVg=ex5nP6qexprE=jU49nOgPSZj41yeXuZMVo9H9zXSA@mail.gmail.com> <CADZyTk=9dLstaUZHmx6OT3FTweQ4DCzgGjMJD_w1CSNdAajoyQ@mail.gmail.com> <25caac84-190f-cc51-848b-a7b2e9ee6f17@nostrum.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Wed, 24 May 2017 08:39:07 -0400
X-Google-Sender-Auth: wVnDrCUvjuArklceyHyhx5cFCjg
Message-ID: <CADZyTkk9Bkd3+Ai+edS1-rP+vN3tYik+2rMAOMWRuGovfFc=Kg@mail.gmail.com>
To: Adam Roach <adam@nostrum.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, "mrex@sap.com" <mrex@sap.com>,  tls-chairs <tls-chairs@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org,  The IESG <iesg@ietf.org>, tls <tls@ietf.org>
Content-Type: multipart/alternative; boundary="f403045ea6daee24d60550446397"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/5-gV56uNItWUyv2flljV2lGwn3o>
Subject: Re: [TLS] Adam Roach's No Objection on draft-ietf-tls-ecdhe-psk-aead-04: (with COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 12:39:12 -0000

--f403045ea6daee24d60550446397
Content-Type: text/plain; charset="UTF-8"

Hi Adam,

The text you mention is from version 04. Version 05 has been submitted, but
is somewhere in the datatracker. For some reason I am not able to confirm
the submission, so I have attached it to my response to Eric. The text of
the current version 05 is:

Yours,
Daniel
"""
4.     Applicable TLS Versions

   The cipher suites defined in this document MUST NOT be negotiated for
   any version of (D)TLS other than TLS 1.2.  Clients MUST NOT offer one
   of these cipher suites with a (D)TLS version that differs from TLS
   1.2.  Servers MUST NOT select one of these cipher suites with a TLS
   version that differs from TLS 1.2.  A client MUST treat the selection
   of these cipher suites in combination with a version of TLS as an
   error and generate a fatal 'illegal_parameter' TLS alert.




Mattsson & Migault      Expires November 24, 2017               [Page 3]
^L
Internet-Draft               ECDHE_PSK_AEAD                     May 2017


   TLS version 1.3 and later negotiate these features in a different
   manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and cipher
   suite negotiation [I-D.ietf-tls-tls13] Section 1.2.  TLS 1.3 supports
   PSK with ECDHE key exchange and the cipher suites
   TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
   TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
   specification.  As a result, TLS 1.3 and higher versions, negotiate
   and support these cipher suites in a different way.

   The cipher suites defined in this document make use of the
   authenticated encryption with additional data (AEAD) defined in TLS
   1.2 [RFC5246] and DTLS 1.2 [RFC6347].  Earlier versions of TLS do not
   have support for AEAD and consequently, the cipher suites defined in
   this document MUST NOT be negotiated in TLS versions prior to 1.2.
   In addition, it is worth noting that TLS 1.0 [RFC2246] and TLS 1.2
   [RFC4346] split the pre-master into two parts.  The PRF results from
   mixing the two pseudorandom streams with distinct hash functions (MD5
   and SHA-1) by exclusive-ORing them together.  In the case of
   ECDHE_PSK authentication, the PSK and ECDHE shared secret are treated
   by distinct hash function with distinct properties.  This may
   introduce vulnerabilities over the expected security provided by the
   constructed pre-master.  As such, all ECDHE_PSK ciphers, including
   those defined in this document, SHOULD NOT be negotiated in TLS
   versions prior to 1.2.
"""

On Tue, May 23, 2017 at 10:48 PM, Adam Roach <adam@nostrum.com> wrote:

> On 5/23/17 9:33 PM, Daniel Migault wrote:
>
>> The current version does not consider that proposing the cipher suites of
>> the document implicitly assumes the client supports TLS1.2.
>>
>
> Really? Can you clarify the meaning of the following passage? Because I
> can't read it in any way other than to contradict your assertion above:
>
>
>    A server receiving a ClientHello and a client_version indicating
>    (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites from
>    this document in ClientHello.cipher_suites can safely assume that the
>    client supports TLS 1.2 and is willing to use it.
>
>
>
> /a
>

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

<div dir=3D"ltr"><div><div><div>Hi Adam, <br><br></div>The text you mention=
 is from version 04. Version 05 has been submitted, but is somewhere in the=
 datatracker. For some reason I am not able to confirm the submission, so I=
 have attached it to my response to Eric. The text of the current version 0=
5 is:<br><br></div>Yours, <br></div>Daniel<br><div><div>&quot;&quot;&quot;<=
br>4. =C2=A0=C2=A0=C2=A0 Applicable TLS Versions<br><br>=C2=A0=C2=A0 The ci=
pher suites defined in this document MUST NOT be negotiated for<br>=C2=A0=
=C2=A0 any version of (D)TLS other than TLS 1.2.=C2=A0 Clients MUST NOT off=
er one<br>=C2=A0=C2=A0 of these cipher suites with a (D)TLS version that di=
ffers from TLS<br>=C2=A0=C2=A0 1.2.=C2=A0 Servers MUST NOT select one of th=
ese cipher suites with a TLS<br>=C2=A0=C2=A0 version that differs from TLS =
1.2.=C2=A0 A client MUST treat the selection<br>=C2=A0=C2=A0 of these ciphe=
r suites in combination with a version of TLS as an<br>=C2=A0=C2=A0 error a=
nd generate a fatal &#39;illegal_parameter&#39; TLS alert.<br><br><br><br><=
br>Mattsson &amp; Migault=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Expires November 24=
, 2017=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 [Page 3]<br>^L<br>Internet-Draft=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ECDHE_PSK_AEAD=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 May 2017<br><br><br>=C2=A0=C2=A0=
 TLS version 1.3 and later negotiate these features in a different<br>=C2=
=A0=C2=A0 manner.=C2=A0 Unlike TLS 1.2, TLS 1.3 separates authentication an=
d cipher<br>=C2=A0=C2=A0 suite negotiation [I-D.ietf-tls-tls13] Section 1.2=
.=C2=A0 TLS 1.3 supports<br>=C2=A0=C2=A0 PSK with ECDHE key exchange and th=
e cipher suites<br>=C2=A0=C2=A0 TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA=
384,<br>=C2=A0=C2=A0 TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 ar=
e part of the<br>=C2=A0=C2=A0 specification.=C2=A0 As a result, TLS 1.3 and=
 higher versions, negotiate<br>=C2=A0=C2=A0 and support these cipher suites=
 in a different way.<br><br>=C2=A0=C2=A0 The cipher suites defined in this =
document make use of the<br>=C2=A0=C2=A0 authenticated encryption with addi=
tional data (AEAD) defined in TLS<br>=C2=A0=C2=A0 1.2 [RFC5246] and DTLS 1.=
2 [RFC6347].=C2=A0 Earlier versions of TLS do not<br>=C2=A0=C2=A0 have supp=
ort for AEAD and consequently, the cipher suites defined in<br>=C2=A0=C2=A0=
 this document MUST NOT be negotiated in TLS versions prior to 1.2.<br>=C2=
=A0=C2=A0 In addition, it is worth noting that TLS 1.0 [RFC2246] and TLS 1.=
2<br>=C2=A0=C2=A0 [RFC4346] split the pre-master into two parts.=C2=A0 The =
PRF results from<br>=C2=A0=C2=A0 mixing the two pseudorandom streams with d=
istinct hash functions (MD5<br>=C2=A0=C2=A0 and SHA-1) by exclusive-ORing t=
hem together.=C2=A0 In the case of<br>=C2=A0=C2=A0 ECDHE_PSK authentication=
, the PSK and ECDHE shared secret are treated<br>=C2=A0=C2=A0 by distinct h=
ash function with distinct properties.=C2=A0 This may<br>=C2=A0=C2=A0 intro=
duce vulnerabilities over the expected security provided by the<br>=C2=A0=
=C2=A0 constructed pre-master.=C2=A0 As such, all ECDHE_PSK ciphers, includ=
ing<br>=C2=A0=C2=A0 those defined in this document, SHOULD NOT be negotiate=
d in TLS<br>=C2=A0=C2=A0 versions prior to 1.2.<br>&quot;&quot;&quot;<br></=
div></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">O=
n Tue, May 23, 2017 at 10:48 PM, Adam Roach <span dir=3D"ltr">&lt;<a href=
=3D"mailto:adam@nostrum.com" target=3D"_blank">adam@nostrum.com</a>&gt;</sp=
an> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On 5/23/17 9:=
33 PM, Daniel Migault wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
The current version does not consider that proposing the cipher suites of t=
he document implicitly assumes the client supports TLS1.2.<br>
</blockquote>
<br></span>
Really? Can you clarify the meaning of the following passage? Because I can=
&#39;t read it in any way other than to contradict your assertion above:<br=
>
<br>
<br>
=C2=A0 =C2=A0A server receiving a ClientHello and a client_version indicati=
ng<br>
=C2=A0 =C2=A0(3,1) &quot;TLS 1.0&quot; or (3,2) &quot;TLS 1.1&quot; and any=
 of the cipher suites from<br>
=C2=A0 =C2=A0this document in ClientHello.cipher_suites can safely assume t=
hat the<br>
=C2=A0 =C2=A0client supports TLS 1.2 and is willing to use it.<span class=
=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
<br>
<br>
/a<br>
</font></span></blockquote></div><br></div>

--f403045ea6daee24d60550446397--


From nobody Wed May 24 06:50:41 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ABA11129AA0 for <tls@ietfa.amsl.com>; Wed, 24 May 2017 06:50:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 oDGv9BNh-1C4 for <tls@ietfa.amsl.com>; Wed, 24 May 2017 06:50:39 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8206012EAE4 for <tls@ietf.org>; Wed, 24 May 2017 06:50:39 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4ODoZa1019115; Wed, 24 May 2017 14:50:36 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=Q4RQCxsg3ECUYXv27K5C18jrFR2UxcTa7hgl8BiiRps=; b=jLObZI7Y3uZr+tc/g2J9Wxkrn/tCU279urdonF/099hv4ElGIg7tGl5r7ZkWTQyelbLa 8jSIjyL52cvRocVH+Wwvf/mKrTth4eWLfE0KYjTy9wkKpa21vnKaV76KdrKwcoYBw3of 7OyVRaiTdUPJqAeML8svRhcg2IDYCFk5UCV/CtYdx3vp5RRw9g/7k+BPmbZ+q2HQM/s2 BeEB8R9RTPt8zT4u/esCEdOK+WeT27C3O+t/UCleCc9EYvvPPM8Sx2oGX+hgHIo6zyCD sAXoMvWnOcBoW/e83eUhd9pBPmrbqyZuc4bsD9zGXWgwbLzDAA8wLiwNRPFggXYDsltV hQ== 
Received: from prod-mail-ppoint2 (a184-51-33-19.deploy.static.akamaitechnologies.com [184.51.33.19] (may be forged)) by m0050096.ppops.net-00190b01. with ESMTP id 2anbc880f3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 May 2017 14:50:34 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4ODk3cU005815; Wed, 24 May 2017 09:50:08 -0400
Received: from prod-mail-relay11.akamai.com ([172.27.118.250]) by prod-mail-ppoint2.akamai.com with ESMTP id 2ajh4uvs5t-1; Wed, 24 May 2017 09:50:08 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay11.akamai.com (Postfix) with ESMTP id 9F7571FC7B; Wed, 24 May 2017 13:50:07 +0000 (GMT)
To: Eric Rescorla <ekr@rtfm.com>, Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: "tls@ietf.org" <tls@ietf.org>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <071fb4df-56e6-d82a-87de-3db084235021@akamai.com>
Date: Wed, 24 May 2017 08:50:07 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------DB91F68371C423C52CFCD43C"
Content-Language: en-US
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-24_10:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705240067
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-24_10:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705240066
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/5LvuWibA-rdRuD5So82yQiAb9IM>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 13:50:40 -0000

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

On 05/21/2017 05:47 PM, Eric Rescorla wrote:
>
>
> On Sat, May 20, 2017 at 6:16 AM, Ilari Liusvaara
> <ilariliusvaara@welho.com <mailto:ilariliusvaara@welho.com>> wrote:
>
>     On Fri, May 19, 2017 at 09:59:57AM -0700, Colm MacCÃ¡rthaigh wrote:
>      
>
>     - Clients MUST NOT use the same ticket multiple times for 0-RTT.
>
>
> I don't understand the purpose of this requirement. As you note below,
> servers are ultimately responsible for enforcing it, and it's not clear to
> me why clients obeying it makes life easier for the server.
>

I think it's just an attempt to make clear what the client behavior
should be.  It's like when we say that implementations MUST NOT put more
than one extension of the same type in a given extension block.  The
peer has to validate received messages, but the local implementation has
to know to not generate them, either.

>  
>
>     - Servers MAY accept the same ticket multiple times.
>
>
> This seems implicit.
>

It seems implicit to me, as well, though I'm not sure that there's harm
in saying it explicitly, particularly when reusing a ticket is a MUST
NOT in certain specific cases (0-RTT).

>  
>
>     - Servers MUST NOT accept the same ticket with the same binder
>     multiple
>       times for 0-RTT (if any part of ClientHello covered by binder is
>       different, one can assume binders are different). This holds even
>       across servers (i.e., if server1 accepts 0-RTT with ticket X and
>       binder Y, then server2 can not accept 0-RTT with ticket X and binder
>       Y).
>
>
> I assume that what you have in mind here is that the server would know
> which tickets it was authoritative for anti-replay and would simply reject
> 0-RTT if it wasn't authoritative? This seems like it would
> significantly cut
> down on mass replays, though it would of course still make
> application-level
> replay a problem.
>

Right, this would bring replays down from the millions hypothesized for
the weak time-based thing to more like tens, which is kind of in the
regime that we are currently in with (at least some) application behavior.

> I'm happy to write this up as part of the first two techniques. I'd be 
> interested in hearing from others in the WG what they think about:
>

I think it's worth writing up the most-secure scheme(s) we know of, to
give us some concrete text to digest and decide if we can live with.

> 1. Requiring it.
> 2. Whether they still want to retain the stateless technique.
>

If we think we can require it and have it actually stick, that seems
like the safest plan.  The results of this discussion leave me uneasy
with a scheme that permits millions of replays, even if there is not
something concrete that I definitely object to.  As DKG (almost) said,
"we're designing a security protocol, not an easy-to-implement
protocol".  I'm still concerned that if we put MUST it will be more RFC
6919 than 2119, though, even if clients and/or ssllabs try to grease
it.  So, if we require it, then the stateless technique is not needed
per se (but we still want the time limit so as to bound the size of a
strike register).  If we don't/can't require it, then I would say keep
the stateless technique but try to crank down the time window and
suggest that implementations rate-limit 0-RTT acceptance per domain to
try to get away from the billions of replay regime.

Another crazy idea would be to just say that servers MUST limit the use
of a single binder to at most 100 times, with the usual case being just
once, to allow for alternative designs that have weaker distributed
consensus requirements (but still describe these current two methods as
examples of ways to do so).

-Ben


--------------DB91F68371C423C52CFCD43C
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">
    On 05/21/2017 05:47 PM, Eric Rescorla wrote:<br>
    <blockquote type="cite"
cite="mid:CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Sat, May 20, 2017 at 6:16 AM,
            Ilari Liusvaara <span dir="ltr">&lt;<a
                href="mailto:ilariliusvaara@welho.com" target="_blank"
                moz-do-not-send="true">ilariliusvaara@welho.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
                class="">On Fri, May 19, 2017 at 09:59:57AM -0700, Colm
                MacCÃ¡rthaigh wrote:<br>
                Â 
              </span><br>
            </blockquote>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              - Clients MUST NOT use the same ticket multiple times for
              0-RTT.<br>
            </blockquote>
            <div><br>
            </div>
            <div>I don't understand the purpose of this requirement. As
              you note below,</div>
            <div>servers are ultimately responsible for enforcing it,
              and it's not clear to</div>
            <div>me why clients obeying it makes life easier for the
              server.</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I think it's just an attempt to make clear what the client behavior
    should be.Â  It's like when we say that implementations MUST NOT put
    more than one extension of the same type in a given extension
    block.Â  The peer has to validate received messages, but the local
    implementation has to know to not generate them, either.<br>
    <br>
    <blockquote type="cite"
cite="mid:CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>Â <br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              - Servers MAY accept the same ticket multiple times.<br>
            </blockquote>
            <div><br>
            </div>
            <div>This seems implicit.</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    It seems implicit to me, as well, though I'm not sure that there's
    harm in saying it explicitly, particularly when reusing a ticket is
    a MUST NOT in certain specific cases (0-RTT).<br>
    <br>
    <blockquote type="cite"
cite="mid:CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>Â </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              - Servers MUST NOT accept the same ticket with the same
              binder multiple<br>
              Â  times for 0-RTT (if any part of ClientHello covered by
              binder is<br>
              Â  different, one can assume binders are different). This
              holds even<br>
              Â  across servers (i.e., if server1 accepts 0-RTT with
              ticket X and<br>
              Â  binder Y, then server2 can not accept 0-RTT with ticket
              X and binder<br>
              Â  Y).<br>
            </blockquote>
            <div><br>
            </div>
            <div>I assume that what you have in mind here is that the
              server would know</div>
            <div>which tickets it was authoritative for anti-replay and
              would simply reject</div>
            <div>0-RTT if it wasn't authoritative? This seems like it
              would significantly cut</div>
            <div>down on mass replays, though it would of course still
              make application-level</div>
            <div>replay a problem.</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Right, this would bring replays down from the millions hypothesized
    for the weak time-based thing to more like tens, which is kind of in
    the regime that we are currently in with (at least some) application
    behavior.<br>
    <br>
    <blockquote type="cite"
cite="mid:CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>I'm happy to write this up as part of the first two
              techniques. I'd beÂ </div>
            <div>interested in hearing from others in the WG what they
              think about:</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I think it's worth writing up the most-secure scheme(s) we know of,
    to give us some concrete text to digest and decide if we can live
    with.<br>
    <br>
    <blockquote type="cite"
cite="mid:CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>1. Requiring it.</div>
            <div>2. Whether they still want to retain the stateless
              technique.</div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    If we think we can require it and have it actually stick, that seems
    like the safest plan.Â  The results of this discussion leave me
    uneasy with a scheme that permits millions of replays, even if there
    is not something concrete that I definitely object to.Â  As DKG
    (almost) said, "we're designing a security protocol, not an
    easy-to-implement protocol".Â  I'm still concerned that if we put
    MUST it will be more RFC 6919 than 2119, though, even if clients
    and/or ssllabs try to grease it.Â  So, if we require it, then the
    stateless technique is not needed per se (but we still want the time
    limit so as to bound the size of a strike register).Â  If we
    don't/can't require it, then I would say keep the stateless
    technique but try to crank down the time window and suggest that
    implementations rate-limit 0-RTT acceptance per domain to try to get
    away from the billions of replay regime.<br>
    <br>
    Another crazy idea would be to just say that servers MUST limit the
    use of a single binder to at most 100 times, with the usual case
    being just once, to allow for alternative designs that have weaker
    distributed consensus requirements (but still describe these current
    two methods as examples of ways to do so).<br>
    <br>
    -Ben<br>
    <br>
  </body>
</html>

--------------DB91F68371C423C52CFCD43C--


From nobody Wed May 24 07:04:51 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E3885129AF1; Wed, 24 May 2017 07:04:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.398
X-Spam-Level: 
X-Spam-Status: No, score=-2.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 1xu0f4TTBEmd; Wed, 24 May 2017 07:04:37 -0700 (PDT)
Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (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 7FD13127F0E; Wed, 24 May 2017 07:04:36 -0700 (PDT)
Received: by mail-lf0-x22d.google.com with SMTP id a5so54638883lfh.2; Wed, 24 May 2017 07:04:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=RGmF/47KcZWSIvADl2kgdMwk396f0vzgTP05U1prPYI=; b=W1mHqvUuq2u9ze/tLzw74M1HTo59vs6eJgTfa3+8usHgjxDDmWxSfOpM/bgnKt/80p fglNwhBvTaefjzOVfTAE125l4LqvktNbgh0gyE0e430y+2s+/1dxHp60bgKU7ZxzaeN2 TTmPtxArpIUxpjZzygcpaHF+AqaUytufgeGPs/QbjLiB4c4LVKv/wNo955+3X7vQPwH8 bO2G7nvnt1jW1MucuBKeeoVwVQ6unJ6eXMOwtYxkTB+LHQkkkQGgbuglBvwOatKPTWKi 0Cjrn111ciE650wZTkk4UxiUCZsqVEvGVQU2g9RoZ1OMIERodI0gZk0XbYFM6IkPNd1E miZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=RGmF/47KcZWSIvADl2kgdMwk396f0vzgTP05U1prPYI=; b=oAiLySXZXqVKbmRm+O5F4Uo4XKZy3ODP2qB9FzoEdm7f/W/t4X63nEUKTfPcELyfXG Pr56ZMQR7KkJHS/S43gx+3zNGjVJiCpxeojn8yI9GlpIpmZIth3uNGsvyYavPuKY/KUS pvRe5j67QNOa763d2tipJoSo1GDWeBqtMJ+Zk2fKrPrLr3uoj0c4QmyAEl4VqOY5A76m gOcLixWc6P8dtnQhmtCHCChU3/vJtdrOKs/taZr7TraacM6Cu4EvlsTVLx0Z47Izp9B2 /ptHazPH/ygJemIeeCWf6Kwh7PbkddvZoG1JDB3u8BN01r6Z2cJu8jpO2R6P90HHSfpL Osnw==
X-Gm-Message-State: AODbwcD9w/TdiLDrP+tCWroq6JCU25B4/dNCmtzMoK41BsPufapixsUO pQqhJoARu758Sa6KiDT26/dmwdHTiZRM
X-Received: by 10.25.145.88 with SMTP id y24mr8577694lfj.14.1495634674668; Wed, 24 May 2017 07:04:34 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Wed, 24 May 2017 07:04:33 -0700 (PDT)
In-Reply-To: <CABkgnnVq8N+vEXZ-=yU+EWR9GYTh9K64D8MP0Yu7Pn0enE=iRQ@mail.gmail.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com> <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com> <CADZyTknmXE6UW5e9SbSwwSUZWU-wHw_+9sTB_xnYUmo8KBOJxg@mail.gmail.com> <CADZyTk=K8dzYaEL3TBjHMzsHnF+X52RvZiUsSBJQmNi0CkH=CA@mail.gmail.com> <CABkgnnVq8N+vEXZ-=yU+EWR9GYTh9K64D8MP0Yu7Pn0enE=iRQ@mail.gmail.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Wed, 24 May 2017 10:04:33 -0400
X-Google-Sender-Auth: W9l1OBARiLLZSVQ0R4jq2SuavqY
Message-ID: <CADZyTknBzV6Z_wwBtPw-=9VOw1Z0X8UQPRorwvg_cRQuRNFQLw@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Eric Rescorla <ekr@rtfm.com>, tls-chairs <tls-chairs@ietf.org>, The IESG <iesg@ietf.org>,  tls <tls@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c1cdb3c7f5ccb055045958f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/m6h57ybrEI_ETS5oQ9miZwOQedg>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 14:04:42 -0000

--94eb2c1cdb3c7f5ccb055045958f
Content-Type: text/plain; charset="UTF-8"

Hi Martin,

Thank you for your review. Some comment were about text in the
applicability section. I think I agree with you that this section details
and clarifies  the following sentence of the previous section:  """ The
assigned code points can only be used for TLS 1.2.""". Most of the text of
this section has been added in order to address comments, thus in order to
make this section helpful for many readers, I prefer to keep most of the
text you mentioned as not useful.

Please see inline for more detail responses and let me know if that address
your comments.

Yours,
Daniel

On Wed, May 24, 2017 at 12:09 AM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> Hi Daniel,
>
> This removes the offending text.
>
> This is incorrect:
>
> > Clients MUST NOT offer one of these cipher suites with a (D)TLS version
> that differs from TLS 1.2.
>
> It should be possible to offer these when attempting to negotiate TLS
> 1.3.  The server simply cannot negotiate these cipher suites if it
> chooses to use 1.3.  I'd remove that sentence (and the one following
> it, since it's redundant with the first sentence of the paragraph).
>
> My understanding is that you suggest to remove "Clients MUST NOT offer one
..." for the following reasons:

A) it is redundant with the first sentence of the paragraph: "The cipher
suites defined in this document MUST NOT be negotiated ...".  This sentence
clarifies on the client side what "MUST NOT be negotiated" means, and the
same is done for the server side. If we provide clarification for the
server side, I would prefer to keep a clarification for the client side as
well.

B) It is not true as TLS1.3 enables these cipher suites to be negotiated
with TLS1.3. In the text cipher suites stands for the cipher suites code
points of the IANA registry.  Maybe we can have a better wording. However I
believe the next paragraph clarifies that TLS1.3 negotiates these ciphers
suites in a different way. Would the following wording address your
comment. If so I will update the section to remove the confusion.

"Clients MUST NOT offer one of the cipher suites code points defined in the
document with a (D)TLS version that differs from TLS 1.2."

The text in question is:
"""
   The cipher suites defined in this document MUST NOT be negotiated for
   any version of (D)TLS other than TLS 1.2.  Clients MUST NOT offer one
   of these cipher suites with a (D)TLS version that differs from TLS
   1.2.  Servers MUST NOT select one of these cipher suites with a TLS
   version that differs from TLS 1.2.  A client MUST treat the selection
   of these cipher suites in combination with a version of TLS as an
   error and generate a fatal 'illegal_parameter' TLS alert.

"""


> As others have noted, the paragraph about TLS 1.3 isn't helpful and
> should be removed.
>
>
Suggestion to remove TLS1.3 related text was to clarify that the cipher
suites were only defined for TLS1.2. Unless I missed something we have
removed most of the text that could cause confusion. On the other hand,
TLS1.3 has been designed, and we also have received comments to position
the defined cipher suites toward TLS1.3 as we do fro TLS1.0 and TLS1.1.
This is the intent of the remaining text mentioning TLS1.3.

In the applicable version section, the text for TLS1.3 is intended to
clarify why the cipher suites are restricted to TLS1.2. I believe this is
useful for readers not so familiar with TLS1.3 that may not be aware of how
TLS1.3 negotiate ciphers. My personal opinion is that it might be better to
have it explicit rather than implicit, and I would prefer to keep the text
below:

"""
   TLS version 1.3 and later negotiate these features in a different
   manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and cipher
   suite negotiation [I-D.ietf-tls-tls13] Section 1.2.  TLS 1.3 supports
   PSK with ECDHE key exchange and the cipher suites
   TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
   TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
   specification.  As a result, TLS 1.3 and higher versions, negotiate
   and support these cipher suites in a different way.

"""




> This:
>
> > In addition, it is worth noting that TLS 1.0 [RFC2246] and TLS 1.2
> [RFC4346] split the pre-master into two  parts.  The PRF results from
> mixing the two pseudorandom streams with distinct hash functions (MD5 and
> SHA-1) by exclusive-ORing them together.
>
> You mean TLS 1.1 rather than 1.2.  But as with the former paragraph,
> talking about the limitations of TLS versions that you explicitly
> don't support isn't useful.  Remove this paragraph also.
>
>
Yes that is TLS1.1. I updated it. I believe the text is useful as it
provides a clear justification on why it should not be used on TLS version
lower than 1.2. More specifically, previous version do not support AEAD,
but this may not prevent someone using AEAD with these versions. The reason
provided is not AEAD related but PSK related. I believe it is useful to
explicitly justify why the cipher suites defined in the document should not
be used with previous TLS versions. The text has bee suggested by the
secdir and I would prefer to keep it, unless there is a strong willingness
to remove it.


> Nits:
> s/pre-master(| secret)/premaster secret/g
>

Corrected: The text only have premaster secret.


> You don't anywhere state that TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256
> means to use AEAD_AES_128_GCM (and the same for the other
> ciphersuites).  I mention this because the order in which the AEAD
> algorithms are mentioned is different to the order of the ciphersuites
> in the list.
>
>
Unless I miss your comment, I believe the section 3 already addresses it.
If not please let me knoe what text you would like to see.

"""
3.  ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites

   The cipher suites defined in this document are based on the AES-GCM
   and AES-CCM Authenticated Encryption with Associated Data (AEAD)
   algorithms AEAD_AES_128_GCM, AEAD_AES_256_GCM and AEAD_AES_128_CCM
   defined in [RFC5116], and AEAD_AES_128_CCM_8 defined in [RFC6655].

"""

>
> On 24 May 2017 at 12:37, Daniel Migault <daniel.migault@ericsson.com>
> wrote:
> > re-sending with the version 05 but removing the diff to be under the 100
> KB
> > limit.
> > Yours,
> > Daniel
> >
> > On Tue, May 23, 2017 at 9:28 PM, Daniel Migault
> > <daniel.migault@ericsson.com> wrote:
> >>
> >> Hi Eric,
> >>
> >> Thank you for the feed backs. The version 05 contains all text changes
> you
> >> agreed. In addition, the text explaining dictionary/brute force has been
> >> removed and replace by a reference to 4279. The recommendation
> regarding to
> >> all PSK ciphers has been limited to the one of the document.  Please see
> >> inline for more details.
> >>
> >> For some reasons I am not able to validate the submission of version
> 05. I
> >> have attached the diff with version 04 as well as the locally generated
> >> version 05.
> >>
> >> Yours,
> >> Daniel
> >>
> >> On Tue, May 23, 2017 at 7:40 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> >>>
> >>>
> >>>
> >>> On Wed, May 24, 2017 at 6:00 AM, Daniel Migault
> >>> <daniel.migault@ericsson.com> wrote:
> >>>>
> >>>> Hi Eric,
> >>>>
> >>>> Thank you for your reviews. Please see my responses inline. If you
> agree
> >>>> with the text I will update the draft.
> >>>>
> >>>> Yours,
> >>>> Daniel
> >>>>
> >>>> On Mon, May 22, 2017 at 10:11 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> >>>>>
> >>>>> Eric Rescorla has entered the following ballot position for
> >>>>> draft-ietf-tls-ecdhe-psk-aead-04: Discuss
> >>>>>
> >>>>> When responding, please keep the subject line intact and reply to all
> >>>>> email addresses included in the To and CC lines. (Feel free to cut
> this
> >>>>> introductory paragraph, however.)
> >>>>>
> >>>>>
> >>>>> Please refer to
> >>>>> https://www.ietf.org/iesg/statement/discuss-criteria.html
> >>>>> for more information about IESG DISCUSS and COMMENT positions.
> >>>>>
> >>>>>
> >>>>> The document, along with other ballot positions, can be found here:
> >>>>> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
> >>>>>
> >>>>>
> >>>>>
> >>>>> ------------------------------------------------------------
> ----------
> >>>>> DISCUSS:
> >>>>> ------------------------------------------------------------
> ----------
> >>>>>
> >>>>> The following text appears to have been added in -04
> >>>>>
> >>>>>    A server receiving a ClientHello and a client_version indicating
> >>>>>    (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites
> from
> >>>>>    this document in ClientHello.cipher_suites can safely assume that
> >>>>> the
> >>>>>    client supports TLS 1.2 and is willing to use it.  The server MUST
> >>>>>    NOT negotiate these cipher suites with TLS protocol versions
> earlier
> >>>>>    than TLS 1.2.  Not requiring clients to indicate their support for
> >>>>>    TLS 1.2 cipher suites exclusively through ClientHello.client_hello
> >>>>>    improves the interoperability in the installed base and use of TLS
> >>>>>    1.2 AEAD cipher suites without upsetting the installed base of
> >>>>>    version-intolerant TLS servers, results in more TLS handshakes
> >>>>>    succeeding and obviates fallback mechanisms.
> >>>>>
> >>>>> This is a major technical change from -03, which, AFAIK, prohibited
> >>>>> the server from negotiating these algorithms with TLS 1.1 and below
> >>>>> and maintained the usual TLS version 1.2 negotiation rules.
> >>>>>
> >>>>> This is a very material technical change. I don't consider it wise,
> >>>>> but in any case it would absolutely need WG consensus, which I
> >>>>> don't believe that it has given the recent introduction.
> >>>>
> >>>>
> >>>> I agree that the text is a technical change, and that it may not be
> >>>> appropriated to do so now. The reason I included it was that it was
> conform
> >>>> to the previous text, but I agree that implicit assumption of version
> 1.2
> >>>> may need some additional discussion especially regarding RFC5246
> Appendix E.
> >>>> Unless you prefer further discussion I assume the text below address
> your
> >>>> concern.
> >>>>
> >>>> <t>The cipher suites defined in this document MUST NOT be negotiated
> for
> >>>> any version of (D)TLS other than TLS 1.2. Clients MUST NOT offer one
> of
> >>>> these cipher suites with a (D)TLS version that differs from TLS 1.2.
> Servers
> >>>> MUST NOT select one of these cipher suites with a TLS version that
> differs
> >>>> from TLS 1.2. A client MUST treat the selection of these cipher
> suites in
> >>>> combination with a version of TLS as an error and generate a fatal
> >>>> 'illegal_parameter' TLS alert. </t>
> >>>
> >>>
> >>> Yes, this seems fine
> >>>
> >>>
> >>>>> The discussion of dictionary attacks here seems inferior to that
> >>>>> in 4279. In particular, you only need to actively attack one
> >>>>> connection to capture the data you need for a brute force attack
> >>>>> despite the text there referring to trying "different keys".
> >>>>> Please correct that.
> >>>>>
> >>>> I believe the text below address your concern:
> >>>>
> >>>> OLD:
> >>>> <t>Use of Pre-Shared Keys of limited entropy may allow an active
> >>>> attacker attempts to connect to the server and try different keys.
> >>>> For example, limited entropy may be provided by using a short PSK in
> >>>> which
> >>>> case an attacker may perform a brute-force attack. Another example
> >>>> includes the use of a PSK  chosen by a human which thus may be exposed
> >>>> to
> >>>> dictionary attacks.</t>
> >>>>
> >>>> NEW:
> >>>> <t>Pre-Shared Keys security relies on its associated entropy, and it
> is
> >>>> RECOMMENDED to follow <xref target="4086"/> to ensure the PSK has
> enough
> >>>> entropy. Possible reasons for low entropy includes PSK chosen by
> humans or
> >>>> PSK of small length as well as using random generators with limited
> entropy.
> >>>> </t>
> >>>>
> >>>> <t>PSK of limited entropy may allow an attacker to test different PSK
> >>>> values against a valid output such as master secret or any output
> derived
> >>>> from it. In this document, the master secret is generated using the
> PSK as
> >>>> well as the ECDHE shared secret. The use of ECDHE limits the
> possibilities
> >>>> of passive eavesdropping attackers, as the ECDHE shared secret is not
> >>>> expected to be derived from the observed ECDH parameters. As a result,
> >>>> passive eavesdropping is unlikely to happen, and the collection of all
> >>>> necessary material relies on an active attack.
> >>>> An active attacker may collect the necessary material by setting a TLS
> >>>> session as a client with the legitimate server. One PSK is tested for
> each
> >>>> session, and a match occurs when key exchange succeeds. On the other
> hand,
> >>>> an active attacker may also consider gathering the necessary
> information for
> >>>> offline computation. One way consists in getting a legitimate client
> to
> >>>> establish a connection with the attacker. It is also assumed that the
> client
> >>>> will accept the ECDH parameters authenticated by the attacker's
> private key
> >>>> and finally returns the Finished message authenticating the exchange.
> The
> >>>> attacker will be then in possession of all the necessary information
> to
> >>>> perform a brute force attack.</t>
> >>>
> >>>
> >>> Is there a reason to not just point directly to the 4279 security
> >>> considerations?
> >>
> >>
> >> No, basically I tried to complete the previous text that missed the
> >> offline use case. The current version just point to 4279, without
> having the
> >> above text. If you think the text above is clarifying I can add it as
> well.
> >>>
> >>> -
> >>>>
> >>>>
> >>>>>
> >>>>>
> >>>>> ------------------------------------------------------------
> ----------
> >>>>> COMMENT:
> >>>>> ------------------------------------------------------------
> ----------
> >>>>>
> >>>>> The citations to TLS 1.3 still seem pretty muddled. I think you
> >>>>> should just stop referencing and discussing 1.3.
> >>>>
> >>>>
> >>>> My understanding of your comment is that mentioning TLS 1.3 to further
> >>>> insisting that the code point are not valid for TLS 1.3 is confusing.
> I
> >>>> propose to:
> >>>>
> >>>> Explicitly mention the TLS version in the title:
> >>>>
> >>>> OLD title:
> >>>> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
> >>>> Security (TLS)
> >>>>
> >>>> NEW title:
> >>>> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
> >>>> Security (TLS)
> >>>>
> >>>> OLD Introduction:
> >>>>
> >>>>     The cipher
> >>>>    suites are defined for version 1.2 of the Transport Layer Security
> >>>>    (TLS) [RFC5246] protocol, version 1.2 of the Datagram Transport
> Layer
> >>>>    Security (DTLS) protocol [RFC6347], as well as version 1.3 of TLS
> >>>>    [I-D.ietf-tls-tls13].
> >>>>
> >>>> NEW introduction
> >>>>
> >>>> The cipher
> >>>>    suites are defined for version 1.2 of the Transport Layer Security
> >>>>    (TLS) [RFC5246] protocol, version 1.2 of the Datagram Transport
> Layer
> >>>>    Security (DTLS) protocol [RFC6347].
> >>>>
> >>>>
> >>>> I suggest to keep the following text of the introduction:
> >>>>
> >>>>
> >>>> AEAD algorithms that combine encryption and integrity protection are
> >>>>    strongly recommended for (D)TLS [RFC7525] and non-AEAD algorithms
> are
> >>>>    forbidden to use in TLS 1.3 [I-D.ietf-tls-tls13].  The AEAD
> >>>>    algorithms considered in this document are AES-GCM and AES-CCM.
> The
> >>>>    use of AES-GCM in TLS is defined in [RFC5288] and the use of
> AES-CCM
> >>>>    is defined in [RFC6655].
> >>>
> >>>
> >>> Yes, this seems fine.
> >>>
> >>>
> >>>>
> >>>> I suggest to keep the following text of the Applicable versions
> >>>> sections, as I believe the section discusses the cipher suites
> against all
> >>>> existing TLS versions. In addition, it also justifies somewhat that
> we only
> >>>> defined cipher suites that are compatible with TLS1.3.
> >>>>
> >>>>    TLS version 1.3 and later negotiate these features in a different
> >>>>    manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and
> cipher
> >>>>    suite negotiation [I-D.ietf-tls-tls13] Section 1.2.  TLS 1.3
> supports
> >>>>    PSK with ECDHE key exchange and the cipher suites
> >>>>    TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
> >>>>    TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
> >>>>    specification.  As a result, TLS 1.3 and higher versions, negotiate
> >>>>    and support these cipher suites in a different way.
> >>>
> >>>
> >>> OK.
> >>>
> >>>>
> >>>> I suggest to remove the reference to TLS1.3 in the security
> >>>> considerations
> >>>>
> >>>> OLD
> >>>>
> >>>>  The security considerations in TLS 1.2 [RFC5246], DTLS 1.2 [RFC6347],
> >>>>    TLS 1.3 [I-D.ietf-tls-tls13], ECDHE_PSK [RFC5489], AES-GCM
> [RFC5288],
> >>>>    and AES-CCM [RFC6655] apply to this document as well.
> >>>>
> >>>> NEW
> >>>>
> >>>>  The security considerations in TLS 1.2 [RFC5246], DTLS 1.2 [RFC6347],
> >>>>  ECDHE_PSK [RFC5489], AES-GCM [RFC5288],and AES-CCM [RFC6655] apply
> >>>>  to this document as well.
> >>>>>
> >>>>>
> >>>>> S 2.
> >>>>> I'm not sure that the discussion of the PRF is helpful here in
> >>>>> mandating the non-use of these cipher suites with TLS 1.1 and
> >>>>> below.
> >>>>
> >>>>
> >>>> I find the text useful as it gives an idea why even introducing AEAD
> in
> >>>> TLS version lower than 1.2 is a bad idea, so I would prefer to keep
> it. The
> >>>> text has been changed to
> >>>>
> >>>> OLD:
> >>>> As such TLS 1.0 and TLS 1.1 should not be used with ECDHE_PSK.
> >>>>
> >>>> NEW:
> >>>> As such,  all ECDHE_PSK
> >>>> ciphers, including those defined outside this document, SHOULD NOT be
> >>>> negotiated in TLS versions prior to 1.2.
> >>>
> >>>
> >>> I don't think you should be levying a new normative requirement like
> this
> >>> for other ciphers
> >>> i this document
> >>
> >>
> >> Consideration for other ciphers has been removed. The requirement is
> >> limited to the ciphers of the document. The new text is:
> >>
> >> As such, all ECDHE_PSK ciphers, including those defined in this
> document,
> >> SHOULD NOT be
> >> negotiated in TLS versions prior to 1.2.
> >>>
> >>>
> >>> -Ek
> >>> r
> >>>
> >>
> >
> >
> > _______________________________________________
> > TLS mailing list
> > TLS@ietf.org
> > https://www.ietf.org/mailman/listinfo/tls
> >
>

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

<div dir=3D"ltr"><div><div><div>Hi Martin, <br><br></div>Thank you for your=
 review. Some comment were about text in the applicability section. I think=
 I agree with you that this section details and clarifies=C2=A0 the followi=
ng sentence of the previous section:=C2=A0 &quot;&quot;&quot;   The assigne=
d code points can only be used for TLS 1.2.&quot;&quot;&quot;. Most of the =
text of this section has been added in order to address comments, thus in o=
rder to make this section helpful for many readers, I prefer to keep most o=
f the text you mentioned as not useful. <br><br>Please see inline for more =
detail responses and let me know if that address your comments.<br><br></di=
v>Yours, <br></div>Daniel<br><div><div><br><div><div class=3D"gmail_extra">=
<div class=3D"gmail_quote">On Wed, May 24, 2017 at 12:09 AM, Martin Thomson=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:martin.thomson@gmail.com" target=
=3D"_blank">martin.thomson@gmail.com</a>&gt;</span> wrote:<br><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex">Hi Daniel,<br>
<br>
This removes the offending text.<br>
<br>
This is incorrect:<br>
<span class=3D"gmail-"><br>
&gt; Clients MUST NOT offer one of these cipher suites with a (D)TLS versio=
n that differs from TLS 1.2.<br>
<br>
</span>It should be possible to offer these when attempting to negotiate TL=
S<br>
1.3.=C2=A0 The server simply cannot negotiate these cipher suites if it<br>
chooses to use 1.3.=C2=A0 I&#39;d remove that sentence (and the one followi=
ng<br>
it, since it&#39;s redundant with the first sentence of the paragraph).<br>
<br></blockquote><div>My understanding is that you suggest to remove &quot;=
Clients MUST NOT offer one ...&quot; for the following reasons:<br><br>A)
 it is redundant with the first sentence of the paragraph: &quot;The cipher=
=20
suites defined in this document MUST NOT be negotiated ...&quot;.=C2=A0 Thi=
s=20
sentence clarifies on the client side what &quot;MUST NOT be negotiated&quo=
t;=20
means, and the same is done for the server side. If we provide=20
clarification for the server side, I would prefer to keep a=20
clarification for the client side as well.=C2=A0 <br><br><div class=3D"gmai=
l_quote">B)
 It is not true as TLS1.3 enables these cipher suites to be negotiated=20
with TLS1.3. In the text cipher suites stands for the cipher suites code
 points of the IANA registry.=C2=A0 Maybe we can have a better wording.=20
However I believe the next paragraph clarifies that TLS1.3 negotiates=20
these ciphers suites in a different way. Would the following wording addres=
s your comment. If so I will update the section to remove the confusion.<br=
><br>&quot;<span class=3D"gmail-">Clients MUST NOT offer one of the cipher =
suites code points defined in the document with a (D)TLS version that diffe=
rs from TLS 1.2.&quot;</span></div><br>The text in question is:<br>&quot;&q=
uot;&quot;<br>=C2=A0=C2=A0 The cipher suites defined in this document MUST =
NOT be negotiated for<br>=C2=A0=C2=A0 any version of (D)TLS other than TLS =
1.2.=C2=A0 Clients MUST NOT offer one<br>=C2=A0=C2=A0 of these cipher suite=
s with a (D)TLS version that differs from TLS<br>=C2=A0=C2=A0 1.2.=C2=A0 Se=
rvers MUST NOT select one of these cipher suites with a TLS<br>=C2=A0=C2=A0=
 version that differs from TLS 1.2.=C2=A0 A client MUST treat the selection=
<br>=C2=A0=C2=A0 of these cipher suites in combination with a version of TL=
S as an<br>=C2=A0=C2=A0 error and generate a fatal &#39;illegal_parameter&#=
39; TLS alert.<br><br>&quot;&quot;&quot;<br>=C2=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">
As others have noted, the paragraph about TLS 1.3 isn&#39;t helpful and<br>
should be removed.<br>
<br></blockquote><div><br></div><div>Suggestion to remove TLS1.3 related te=
xt was to clarify that the cipher suites were only defined for TLS1.2. Unle=
ss I missed something we have removed most of the text that could cause con=
fusion. On the other hand, TLS1.3 has been designed, and we also have recei=
ved comments to position the defined cipher suites toward TLS1.3 as we do f=
ro TLS1.0 and TLS1.1. This is the intent of the remaining text mentioning T=
LS1.3. <br></div><br></div><div class=3D"gmail_quote">In the applicable ver=
sion section, the text for TLS1.3 is intended to clarify why the cipher sui=
tes are restricted to TLS1.2. I believe this is useful for  readers not so =
familiar with TLS1.3 that may not be aware of how TLS1.3=20
negotiate ciphers. My personal opinion is that it might be better to have i=
t explicit rather than implicit, and I would prefer to keep the text below:=
<br><br></div><div class=3D"gmail_quote">&quot;&quot;&quot;<br>=C2=A0=C2=A0=
 TLS version 1.3 and later negotiate these features in a different<br>=C2=
=A0=C2=A0 manner.=C2=A0 Unlike TLS 1.2, TLS 1.3 separates authentication an=
d cipher<br>=C2=A0=C2=A0 suite negotiation [I-D.ietf-tls-tls13] Section 1.2=
.=C2=A0 TLS 1.3 supports<br>=C2=A0=C2=A0 PSK with ECDHE key exchange and th=
e cipher suites<br>=C2=A0=C2=A0 TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA=
384,<br>=C2=A0=C2=A0 TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 ar=
e part of the<br>=C2=A0=C2=A0 specification.=C2=A0 As a result, TLS 1.3 and=
 higher versions, negotiate<br>=C2=A0=C2=A0 and support these cipher suites=
 in a different way.<br><br>&quot;&quot;&quot; <br>=C2=A0</div><br>=C2=A0<d=
iv class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
This:<br>
<br>
&gt; In addition, it is worth noting that TLS 1.0 [RFC2246] and TLS 1.2 [RF=
C4346] split the pre-master into two=C2=A0 parts.=C2=A0 The PRF results fro=
m mixing the two pseudorandom streams with distinct hash functions (MD5 and=
 SHA-1) by exclusive-ORing them together.<br>
<br>
You mean TLS 1.1 rather than 1.2.=C2=A0 But as with the former paragraph,<b=
r>
talking about the limitations of TLS versions that you explicitly<br>
don&#39;t support isn&#39;t useful.=C2=A0 Remove this paragraph also.<br>
<br></blockquote><div><br>Yes that is TLS1.1. I updated it. I believe the t=
ext is useful as it provides a clear justification on why it should not be =
used on TLS version lower than 1.2. More specifically, previous version do =
not support AEAD, but this may not prevent someone using AEAD with these ve=
rsions. The reason provided is not AEAD related but PSK related. I believe =
it is useful to explicitly justify why the cipher suites defined in the doc=
ument should not be used with previous TLS versions. The text has bee sugge=
sted by the secdir and I would prefer to keep it, unless there is a strong =
willingness to remove it. =C2=A0 =C2=A0 <br>=C2=A0 <br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex">
Nits:<br>
s/pre-master(| secret)/premaster secret/g<br></blockquote><div><br></div><d=
iv>Corrected: The text only have premaster secret. =C2=A0 <br></div><div>=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
You don&#39;t anywhere state that TLS_ECDHE_PSK_WITH_AES_128_<wbr>GCM_SHA25=
6<br>
means to use AEAD_AES_128_GCM (and the same for the other<br>
ciphersuites).=C2=A0 I mention this because the order in which the AEAD<br>
algorithms are mentioned is different to the order of the ciphersuites<br>
in the list.<br>
<div><div class=3D"gmail-h5"><br></div></div></blockquote><div><br></div><d=
iv>Unless I miss your comment, I believe the section 3 already addresses it=
. If not please let me knoe what text you would like to see. <br>=C2=A0<br>=
</div><div>&quot;&quot;&quot;<br>3.=C2=A0 ECDHE_PSK with AES-GCM and AES-CC=
M Cipher Suites<br><br>=C2=A0=C2=A0 The cipher suites defined in this docum=
ent are based on the AES-GCM<br>=C2=A0=C2=A0 and AES-CCM Authenticated Encr=
yption with Associated Data (AEAD)<br>=C2=A0=C2=A0 algorithms AEAD_AES_128_=
GCM, AEAD_AES_256_GCM and AEAD_AES_128_CCM<br>=C2=A0=C2=A0 defined in [RFC5=
116], and AEAD_AES_128_CCM_8 defined in [RFC6655].<br><br>&quot;&quot;&quot=
;=C2=A0 <br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><d=
iv class=3D"gmail-h5">
<br>
On 24 May 2017 at 12:37, Daniel Migault &lt;<a href=3D"mailto:daniel.migaul=
t@ericsson.com">daniel.migault@ericsson.com</a>&gt; wrote:<br>
&gt; re-sending with the version 05 but removing the diff to be under the 1=
00 KB<br>
&gt; limit.<br>
&gt; Yours,<br>
&gt; Daniel<br>
&gt;<br>
&gt; On Tue, May 23, 2017 at 9:28 PM, Daniel Migault<br>
&gt; &lt;<a href=3D"mailto:daniel.migault@ericsson.com">daniel.migault@eric=
sson.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Eric,<br>
&gt;&gt;<br>
&gt;&gt; Thank you for the feed backs. The version 05 contains all text cha=
nges you<br>
&gt;&gt; agreed. In addition, the text explaining dictionary/brute force ha=
s been<br>
&gt;&gt; removed and replace by a reference to 4279. The recommendation reg=
arding to<br>
&gt;&gt; all PSK ciphers has been limited to the one of the document.=C2=A0=
 Please see<br>
&gt;&gt; inline for more details.<br>
&gt;&gt;<br>
&gt;&gt; For some reasons I am not able to validate the submission of versi=
on 05. I<br>
&gt;&gt; have attached the diff with version 04 as well as the locally gene=
rated<br>
&gt;&gt; version 05.<br>
&gt;&gt;<br>
&gt;&gt; Yours,<br>
&gt;&gt; Daniel<br>
&gt;&gt;<br>
&gt;&gt; On Tue, May 23, 2017 at 7:40 PM, Eric Rescorla &lt;<a href=3D"mail=
to:ekr@rtfm.com">ekr@rtfm.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, May 24, 2017 at 6:00 AM, Daniel Migault<br>
&gt;&gt;&gt; &lt;<a href=3D"mailto:daniel.migault@ericsson.com">daniel.miga=
ult@ericsson.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi Eric,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thank you for your reviews. Please see my responses inline=
. If you agree<br>
&gt;&gt;&gt;&gt; with the text I will update the draft.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Yours,<br>
&gt;&gt;&gt;&gt; Daniel<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Mon, May 22, 2017 at 10:11 PM, Eric Rescorla &lt;<a hre=
f=3D"mailto:ekr@rtfm.com">ekr@rtfm.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Eric Rescorla has entered the following ballot positio=
n for<br>
&gt;&gt;&gt;&gt;&gt; draft-ietf-tls-ecdhe-psk-aead-<wbr>04: Discuss<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; When responding, please keep the subject line intact a=
nd reply to all<br>
&gt;&gt;&gt;&gt;&gt; email addresses included in the To and CC lines. (Feel=
 free to cut this<br>
&gt;&gt;&gt;&gt;&gt; introductory paragraph, however.)<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Please refer to<br>
&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/iesg/statement/discuss=
-criteria.html" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/i=
esg/<wbr>statement/discuss-criteria.<wbr>html</a><br>
&gt;&gt;&gt;&gt;&gt; for more information about IESG DISCUSS and COMMENT po=
sitions.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The document, along with other ballot positions, can b=
e found here:<br>
&gt;&gt;&gt;&gt;&gt; <a href=3D"https://datatracker.ietf.org/doc/draft-ietf=
-tls-ecdhe-psk-aead/" rel=3D"noreferrer" target=3D"_blank">https://datatrac=
ker.ietf.org/<wbr>doc/draft-ietf-tls-ecdhe-psk-<wbr>aead/</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ------------------------------<wbr>-------------------=
-----------<wbr>----------<br>
&gt;&gt;&gt;&gt;&gt; DISCUSS:<br>
&gt;&gt;&gt;&gt;&gt; ------------------------------<wbr>-------------------=
-----------<wbr>----------<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The following text appears to have been added in -04<b=
r>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 A server receiving a ClientHello and a cl=
ient_version indicating<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 (3,1) &quot;TLS 1.0&quot; or (3,2) &quot;=
TLS 1.1&quot; and any of the cipher suites from<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 this document in ClientHello.cipher_suite=
s can safely assume that<br>
&gt;&gt;&gt;&gt;&gt; the<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 client supports TLS 1.2 and is willing to=
 use it.=C2=A0 The server MUST<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 NOT negotiate these cipher suites with TL=
S protocol versions earlier<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 than TLS 1.2.=C2=A0 Not requiring clients=
 to indicate their support for<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS 1.2 cipher suites exclusively through=
 ClientHello.client_hello<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 improves the interoperability in the inst=
alled base and use of TLS<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 1.2 AEAD cipher suites without upsetting =
the installed base of<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 version-intolerant TLS servers, results i=
n more TLS handshakes<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 succeeding and obviates fallback mechanis=
ms.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; This is a major technical change from -03, which, AFAI=
K, prohibited<br>
&gt;&gt;&gt;&gt;&gt; the server from negotiating these algorithms with TLS =
1.1 and below<br>
&gt;&gt;&gt;&gt;&gt; and maintained the usual TLS version 1.2 negotiation r=
ules.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; This is a very material technical change. I don&#39;t =
consider it wise,<br>
&gt;&gt;&gt;&gt;&gt; but in any case it would absolutely need WG consensus,=
 which I<br>
&gt;&gt;&gt;&gt;&gt; don&#39;t believe that it has given the recent introdu=
ction.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I agree that the text is a technical change, and that it m=
ay not be<br>
&gt;&gt;&gt;&gt; appropriated to do so now. The reason I included it was th=
at it was conform<br>
&gt;&gt;&gt;&gt; to the previous text, but I agree that implicit assumption=
 of version 1.2<br>
&gt;&gt;&gt;&gt; may need some additional discussion especially regarding R=
FC5246 Appendix E.<br>
&gt;&gt;&gt;&gt; Unless you prefer further discussion I assume the text bel=
ow address your<br>
&gt;&gt;&gt;&gt; concern.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &lt;t&gt;The cipher suites defined in this document MUST N=
OT be negotiated for<br>
&gt;&gt;&gt;&gt; any version of (D)TLS other than TLS 1.2. Clients MUST NOT=
 offer one of<br>
&gt;&gt;&gt;&gt; these cipher suites with a (D)TLS version that differs fro=
m TLS 1.2. Servers<br>
&gt;&gt;&gt;&gt; MUST NOT select one of these cipher suites with a TLS vers=
ion that differs<br>
&gt;&gt;&gt;&gt; from TLS 1.2. A client MUST treat the selection of these c=
ipher suites in<br>
&gt;&gt;&gt;&gt; combination with a version of TLS as an error and generate=
 a fatal<br>
&gt;&gt;&gt;&gt; &#39;illegal_parameter&#39; TLS alert. &lt;/t&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Yes, this seems fine<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The discussion of dictionary attacks here seems inferi=
or to that<br>
&gt;&gt;&gt;&gt;&gt; in 4279. In particular, you only need to actively atta=
ck one<br>
&gt;&gt;&gt;&gt;&gt; connection to capture the data you need for a brute fo=
rce attack<br>
&gt;&gt;&gt;&gt;&gt; despite the text there referring to trying &quot;diffe=
rent keys&quot;.<br>
&gt;&gt;&gt;&gt;&gt; Please correct that.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I believe the text below address your concern:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD:<br>
&gt;&gt;&gt;&gt; &lt;t&gt;Use of Pre-Shared Keys of limited entropy may all=
ow an active<br>
&gt;&gt;&gt;&gt; attacker attempts to connect to the server and try differe=
nt keys.<br>
&gt;&gt;&gt;&gt; For example, limited entropy may be provided by using a sh=
ort PSK in<br>
&gt;&gt;&gt;&gt; which<br>
&gt;&gt;&gt;&gt; case an attacker may perform a brute-force attack. Another=
 example<br>
&gt;&gt;&gt;&gt; includes the use of a PSK=C2=A0 chosen by a human which th=
us may be exposed<br>
&gt;&gt;&gt;&gt; to<br>
&gt;&gt;&gt;&gt; dictionary attacks.&lt;/t&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW:<br>
&gt;&gt;&gt;&gt; &lt;t&gt;Pre-Shared Keys security relies on its associated=
 entropy, and it is<br>
&gt;&gt;&gt;&gt; RECOMMENDED to follow &lt;xref target=3D&quot;4086&quot;/&=
gt; to ensure the PSK has enough<br>
&gt;&gt;&gt;&gt; entropy. Possible reasons for low entropy includes PSK cho=
sen by humans or<br>
&gt;&gt;&gt;&gt; PSK of small length as well as using random generators wit=
h limited entropy.<br>
&gt;&gt;&gt;&gt; &lt;/t&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &lt;t&gt;PSK of limited entropy may allow an attacker to t=
est different PSK<br>
&gt;&gt;&gt;&gt; values against a valid output such as master secret or any=
 output derived<br>
&gt;&gt;&gt;&gt; from it. In this document, the master secret is generated =
using the PSK as<br>
&gt;&gt;&gt;&gt; well as the ECDHE shared secret. The use of ECDHE limits t=
he possibilities<br>
&gt;&gt;&gt;&gt; of passive eavesdropping attackers, as the ECDHE shared se=
cret is not<br>
&gt;&gt;&gt;&gt; expected to be derived from the observed ECDH parameters. =
As a result,<br>
&gt;&gt;&gt;&gt; passive eavesdropping is unlikely to happen, and the colle=
ction of all<br>
&gt;&gt;&gt;&gt; necessary material relies on an active attack.<br>
&gt;&gt;&gt;&gt; An active attacker may collect the necessary material by s=
etting a TLS<br>
&gt;&gt;&gt;&gt; session as a client with the legitimate server. One PSK is=
 tested for each<br>
&gt;&gt;&gt;&gt; session, and a match occurs when key exchange succeeds. On=
 the other hand,<br>
&gt;&gt;&gt;&gt; an active attacker may also consider gathering the necessa=
ry information for<br>
&gt;&gt;&gt;&gt; offline computation. One way consists in getting a legitim=
ate client to<br>
&gt;&gt;&gt;&gt; establish a connection with the attacker. It is also assum=
ed that the client<br>
&gt;&gt;&gt;&gt; will accept the ECDH parameters authenticated by the attac=
ker&#39;s private key<br>
&gt;&gt;&gt;&gt; and finally returns the Finished message authenticating th=
e exchange. The<br>
&gt;&gt;&gt;&gt; attacker will be then in possession of all the necessary i=
nformation to<br>
&gt;&gt;&gt;&gt; perform a brute force attack.&lt;/t&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Is there a reason to not just point directly to the 4279 secur=
ity<br>
&gt;&gt;&gt; considerations?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; No, basically I tried to complete the previous text that missed th=
e<br>
&gt;&gt; offline use case. The current version just point to 4279, without =
having the<br>
&gt;&gt; above text. If you think the text above is clarifying I can add it=
 as well.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ------------------------------<wbr>-------------------=
-----------<wbr>----------<br>
&gt;&gt;&gt;&gt;&gt; COMMENT:<br>
&gt;&gt;&gt;&gt;&gt; ------------------------------<wbr>-------------------=
-----------<wbr>----------<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The citations to TLS 1.3 still seem pretty muddled. I =
think you<br>
&gt;&gt;&gt;&gt;&gt; should just stop referencing and discussing 1.3.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; My understanding of your comment is that mentioning TLS 1.=
3 to further<br>
&gt;&gt;&gt;&gt; insisting that the code point are not valid for TLS 1.3 is=
 confusing. I<br>
&gt;&gt;&gt;&gt; propose to:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Explicitly mention the TLS version in the title:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD title:<br>
&gt;&gt;&gt;&gt; ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Trans=
port Layer<br>
&gt;&gt;&gt;&gt; Security (TLS)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW title:<br>
&gt;&gt;&gt;&gt; ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Trans=
port Layer<br>
&gt;&gt;&gt;&gt; Security (TLS)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD Introduction:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0The cipher<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 suites are defined for version 1.2 of the Tra=
nsport Layer Security<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 (TLS) [RFC5246] protocol, version 1.2 of the =
Datagram Transport Layer<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 Security (DTLS) protocol [RFC6347], as well a=
s version 1.3 of TLS<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 [I-D.ietf-tls-tls13].<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW introduction<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The cipher<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 suites are defined for version 1.2 of the Tra=
nsport Layer Security<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 (TLS) [RFC5246] protocol, version 1.2 of the =
Datagram Transport Layer<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 Security (DTLS) protocol [RFC6347].<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I suggest to keep the following text of the introduction:<=
br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; AEAD algorithms that combine encryption and integrity prot=
ection are<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 strongly recommended for (D)TLS [RFC7525] and=
 non-AEAD algorithms are<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 forbidden to use in TLS 1.3 [I-D.ietf-tls-tls=
13].=C2=A0 The AEAD<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 algorithms considered in this document are AE=
S-GCM and AES-CCM.=C2=A0 The<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 use of AES-GCM in TLS is defined in [RFC5288]=
 and the use of AES-CCM<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 is defined in [RFC6655].<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Yes, this seems fine.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I suggest to keep the following text of the Applicable ver=
sions<br>
&gt;&gt;&gt;&gt; sections, as I believe the section discusses the cipher su=
ites against all<br>
&gt;&gt;&gt;&gt; existing TLS versions. In addition, it also justifies some=
what that we only<br>
&gt;&gt;&gt;&gt; defined cipher suites that are compatible with TLS1.3.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS version 1.3 and later negotiate these fea=
tures in a different<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 manner.=C2=A0 Unlike TLS 1.2, TLS 1.3 separat=
es authentication and cipher<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 suite negotiation [I-D.ietf-tls-tls13] Sectio=
n 1.2.=C2=A0 TLS 1.3 supports<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 PSK with ECDHE key exchange and the cipher su=
ites<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA38=
4,<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_=
SHA256 are part of the<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 specification.=C2=A0 As a result, TLS 1.3 and=
 higher versions, negotiate<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 and support these cipher suites in a differen=
t way.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; OK.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I suggest to remove the reference to TLS1.3 in the securit=
y<br>
&gt;&gt;&gt;&gt; considerations<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 The security considerations in TLS 1.2 [RFC5246], DT=
LS 1.2 [RFC6347],<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS 1.3 [I-D.ietf-tls-tls13], ECDHE_PSK [RFC5=
489], AES-GCM [RFC5288],<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 and AES-CCM [RFC6655] apply to this document =
as well.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 The security considerations in TLS 1.2 [RFC5246], DT=
LS 1.2 [RFC6347],<br>
&gt;&gt;&gt;&gt;=C2=A0 ECDHE_PSK [RFC5489], AES-GCM [RFC5288],and AES-CCM [=
RFC6655] apply<br>
&gt;&gt;&gt;&gt;=C2=A0 to this document as well.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; S 2.<br>
&gt;&gt;&gt;&gt;&gt; I&#39;m not sure that the discussion of the PRF is hel=
pful here in<br>
&gt;&gt;&gt;&gt;&gt; mandating the non-use of these cipher suites with TLS =
1.1 and<br>
&gt;&gt;&gt;&gt;&gt; below.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I find the text useful as it gives an idea why even introd=
ucing AEAD in<br>
&gt;&gt;&gt;&gt; TLS version lower than 1.2 is a bad idea, so I would prefe=
r to keep it. The<br>
&gt;&gt;&gt;&gt; text has been changed to<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD:<br>
&gt;&gt;&gt;&gt; As such TLS 1.0 and TLS 1.1 should not be used with ECDHE_=
PSK.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW:<br>
&gt;&gt;&gt;&gt; As such,=C2=A0 all ECDHE_PSK<br>
&gt;&gt;&gt;&gt; ciphers, including those defined outside this document, SH=
OULD NOT be<br>
&gt;&gt;&gt;&gt; negotiated in TLS versions prior to 1.2.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I don&#39;t think you should be levying a new normative requir=
ement like this<br>
&gt;&gt;&gt; for other ciphers<br>
&gt;&gt;&gt; i this document<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Consideration for other ciphers has been removed. The requirement =
is<br>
&gt;&gt; limited to the ciphers of the document. The new text is:<br>
&gt;&gt;<br>
&gt;&gt; As such, all ECDHE_PSK ciphers, including those defined in this do=
cument,<br>
&gt;&gt; SHOULD NOT be<br>
&gt;&gt; negotiated in TLS versions prior to 1.2.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -Ek<br>
&gt;&gt;&gt; r<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; TLS mailing list<br>
&gt; <a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferre=
r" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
&gt;<br>
</blockquote></div><br></div></div></div></div></div>

--94eb2c1cdb3c7f5ccb055045958f--


From nobody Wed May 24 07:30:50 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 68D1E129B46 for <tls@ietfa.amsl.com>; Wed, 24 May 2017 07:30:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 O6kAa6uf885W for <tls@ietfa.amsl.com>; Wed, 24 May 2017 07:30:47 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2.welho.com [83.102.41.24]) by ietfa.amsl.com (Postfix) with ESMTP id C1927129B64 for <tls@ietf.org>; Wed, 24 May 2017 07:30:46 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 1E1D621775; Wed, 24 May 2017 17:30:45 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id Dam_-_yBxJEr; Wed, 24 May 2017 17:30:44 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id BCEBB21C; Wed, 24 May 2017 17:30:44 +0300 (EEST)
Date: Wed, 24 May 2017 17:30:42 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170524143042.GA31858@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <071fb4df-56e6-d82a-87de-3db084235021@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <071fb4df-56e6-d82a-87de-3db084235021@akamai.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/MOr5p1COOQYpq8RPYAOfswx1oyw>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 14:30:49 -0000

On Wed, May 24, 2017 at 08:50:07AM -0500, Benjamin Kaduk wrote:
> On 05/21/2017 05:47 PM, Eric Rescorla wrote:
> >
> >
> > On Sat, May 20, 2017 at 6:16 AM, Ilari Liusvaara
> > <ilariliusvaara@welho.com <mailto:ilariliusvaara@welho.com>> wrote:
> >
> >     On Fri, May 19, 2017 at 09:59:57AM -0700, Colm MacCÃ¡rthaigh wrote:
> >      
> >
> >     - Clients MUST NOT use the same ticket multiple times for 0-RTT.
> >
> >
> > I don't understand the purpose of this requirement. As you note below,
> > servers are ultimately responsible for enforcing it, and it's not clear to
> > me why clients obeying it makes life easier for the server.
> >
> 
> I think it's just an attempt to make clear what the client behavior
> should be.  It's like when we say that implementations MUST NOT put more
> than one extension of the same type in a given extension block.  The
> peer has to validate received messages, but the local implementation has
> to know to not generate them, either.

There's also quite a bit of difference between:

- MUST NOT do X
- MUST NOT do X, MUST abort with Y if X is done.

As the second requires receiver to detect X, which can be hard. E.g.,
detecting arbitrary duplicated extension is definitely not trivial.
 
E.g., for duplicate extensions, my implementation only validates the
known extensions. As consequence, unknown extensions in offers can
appear multiple times without detection (e.g., two copies of extension
35 in ClientHello). It is done that way to limit resource usage:
Checking a small list of extensions is easy, checking 64k of those is
less so.

> >
> >     - Servers MUST NOT accept the same ticket with the same binder
> >     multiple
> >       times for 0-RTT (if any part of ClientHello covered by binder is
> >       different, one can assume binders are different). This holds even
> >       across servers (i.e., if server1 accepts 0-RTT with ticket X and
> >       binder Y, then server2 can not accept 0-RTT with ticket X and binder
> >       Y).
> >
> >
> > I assume that what you have in mind here is that the server would know
> > which tickets it was authoritative for anti-replay and would simply reject
> > 0-RTT if it wasn't authoritative? This seems like it would
> > significantly cut
> > down on mass replays, though it would of course still make
> > application-level
> > replay a problem.
> >
> 
> Right, this would bring replays down from the millions hypothesized for
> the weak time-based thing to more like tens, which is kind of in the
> regime that we are currently in with (at least some) application behavior.

Actually, even tens of replays at TLS level is quite dangerous,
especially if to different servers (bad information leaks via cache
attacks).

> > I'm happy to write this up as part of the first two techniques. I'd be 
> > interested in hearing from others in the WG what they think about:
> >
> 
> I think it's worth writing up the most-secure scheme(s) we know of, to
> give us some concrete text to digest and decide if we can live with.

However, every scheme that isn't the most-secure (tied 1st place) that
has been proposed so far is too insecure.

> > 1. Requiring it.
> > 2. Whether they still want to retain the stateless technique.
> >
> 
> If we think we can require it and have it actually stick, that seems
> like the safest plan.  The results of this discussion leave me uneasy
> with a scheme that permits millions of replays, even if there is not
> something concrete that I definitely object to.  As DKG (almost) said,
> "we're designing a security protocol, not an easy-to-implement
> protocol". 

There is major difference about how hard TLS 1.3 is to _implement_, and
how hard it is to _use_.

Most serious TLS 1.3 implementations will be written by experts.
Additionally, the protocol avoids using constructs that are almost
impossible to implement properly (e.g., good riddance TLS blockmode).

Whereas most applications using TLS will not be written by security
experts. And the protocols they implement are not designed for side-
channel resistance in implementations.

> Another crazy idea would be to just say that servers MUST limit the use
> of a single binder to at most 100 times, with the usual case being just
> once, to allow for alternative designs that have weaker distributed
> consensus requirements (but still describe these current two methods as
> examples of ways to do so).

You actually need strong distributed consensus about all accepted
0-RTT here.


-Ilari


From nobody Wed May 24 08:04:06 2017
Return-Path: <joe@salowey.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 21C3D128B37 for <tls@ietfa.amsl.com>; Wed, 24 May 2017 08:03:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=salowey-net.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 Llz22jDLQcP2 for <tls@ietfa.amsl.com>; Wed, 24 May 2017 08:03:53 -0700 (PDT)
Received: from mail-pf0-x233.google.com (mail-pf0-x233.google.com [IPv6:2607:f8b0:400e:c00::233]) (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 65B3F1293D6 for <tls@ietf.org>; Wed, 24 May 2017 08:03:53 -0700 (PDT)
Received: by mail-pf0-x233.google.com with SMTP id m17so140676196pfg.3 for <tls@ietf.org>; Wed, 24 May 2017 08:03:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salowey-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=GjvWcvqKNcG8G12aCKaSiP+Trcj9IfD2lSxKVcsn5eU=; b=G6tI+os0oP94fk1F9awDmqJcwLBlKezwmYzHSsveyTGUixoxvhqqxErOUvRkNi0etr 2Rqv1bYWx+N/LxbcGRHIHkDqUdOzqShAhJNBJaIWYaRjoHHDHt/VCwiT8swo6dLtDGNG GtJvR2g99zDfN+aTD68mMyGpJBYfLWKECfDEKGSDtHxndMFKiRa/RoB32nmhlXwdbQgS ObZmG3HfvHLZZDfaUkt1MqGLL9eSmKm8EMUdywcHoscum7g3onrh9+FOi6c4DkafSe9g yLdYLtvovRjmi8W6FNdr73VfPUvmEnaNeqJrTOxEr6XSzUM0KiZBuH3vys1RIzBSlrhp aouw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GjvWcvqKNcG8G12aCKaSiP+Trcj9IfD2lSxKVcsn5eU=; b=i/1BGZStO/ic0ESE2nL827MnOhXACY2p+sJHYJS5n3kDXR6Vr8fLWH7Yy/6OtOyzXp MwWkbanxLcpxWJVMlBfaacIF1tq4TvvLI01s2Upjrkx/fFMJsUEQMNDZpbkm4KDKc2gy 4/fOOVcLGIw75Rc1G1wWSRnYyDsY/p4I4IPo5+TV/HMpE1oE2rC5hafzastkpDOf1rJe 5WwvIdGwD3L1jiOYnKHtrCZuxSdTG6eTF1/jqNaHamfDacFx16orhPH25rJcnFMHsnz5 WX3AXU2AIDlobyILle975TxCRx6urSgGiF8RId+znB46DBzolLdDayTeSbpgXephmKSf WWrA==
X-Gm-Message-State: AODbwcDogmwX7qjiQLKkBIH4GOOuoX1azo2zHOcbs3n89KyMCuF+JGsR n5lFVcB4bbPvxUFdItHVf/IVm67UdMWO
X-Received: by 10.84.162.204 with SMTP id o12mr43425730plg.23.1495638232791; Wed, 24 May 2017 08:03:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.177.204 with HTTP; Wed, 24 May 2017 08:03:32 -0700 (PDT)
In-Reply-To: <CADZyTknBzV6Z_wwBtPw-=9VOw1Z0X8UQPRorwvg_cRQuRNFQLw@mail.gmail.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com> <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com> <CADZyTknmXE6UW5e9SbSwwSUZWU-wHw_+9sTB_xnYUmo8KBOJxg@mail.gmail.com> <CADZyTk=K8dzYaEL3TBjHMzsHnF+X52RvZiUsSBJQmNi0CkH=CA@mail.gmail.com> <CABkgnnVq8N+vEXZ-=yU+EWR9GYTh9K64D8MP0Yu7Pn0enE=iRQ@mail.gmail.com> <CADZyTknBzV6Z_wwBtPw-=9VOw1Z0X8UQPRorwvg_cRQuRNFQLw@mail.gmail.com>
From: Joseph Salowey <joe@salowey.net>
Date: Wed, 24 May 2017 08:03:32 -0700
Message-ID: <CAOgPGoBzZ9e4amR0q2tHMqjErqWZFd17noqtUkmYHQg3a1Cm7g@mail.gmail.com>
To: Daniel Migault <daniel.migault@ericsson.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, Eric Rescorla <ekr@rtfm.com>,  tls-chairs <tls-chairs@ietf.org>, The IESG <iesg@ietf.org>, tls <tls@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c1483a0941ad805504669a0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/LVvWtNzNJo04ZORDfeCQFqgnYHw>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 15:03:58 -0000

--94eb2c1483a0941ad805504669a0
Content-Type: text/plain; charset="UTF-8"

Hi Daniel,

Thanks for putting this revision together.  The original text in draft 4
went beyond the scope of what should be in the document (I was too hasty in
my review of the document and discussion on the list).   Your current
proposal is an improvement, but it still discusses behavior that could
either conflict with other documents or discusses behavior that is not in
scope.

My suggestion is to replace section 4 with the following paragraph (I think
this is similar to what Martin suggests):

"The cipher suites defined in this document MUST NOT be negotiated for any
version of (D)TLS other than TLS 1.2.  Servers MUST NOT select one of these
cipher suites when selecting TLS version other than TLS 1.2.  A client MUST
treat the selection of these cipher suites in combination with a different
version of TLS as an error and generate a fatal 'illegal_parameter' TLS
alert."

I think it would also be OK to add the following to point readers to
equivalent ciphers in 1.3.  Here is some suggested text that could go in
the revised section 4:

"Cipher suites TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are used to support
equivalent functionality in TLS 1.3 [TLS 1.3]."

Thanks,

Joe


On Wed, May 24, 2017 at 7:04 AM, Daniel Migault <daniel.migault@ericsson.com
> wrote:

> Hi Martin,
>
> Thank you for your review. Some comment were about text in the
> applicability section. I think I agree with you that this section details
> and clarifies  the following sentence of the previous section:  """ The
> assigned code points can only be used for TLS 1.2.""". Most of the text of
> this section has been added in order to address comments, thus in order to
> make this section helpful for many readers, I prefer to keep most of the
> text you mentioned as not useful.
>
> Please see inline for more detail responses and let me know if that
> address your comments.
>
> Yours,
> Daniel
>
> On Wed, May 24, 2017 at 12:09 AM, Martin Thomson <martin.thomson@gmail.com
> > wrote:
>
>> Hi Daniel,
>>
>> This removes the offending text.
>>
>> This is incorrect:
>>
>> > Clients MUST NOT offer one of these cipher suites with a (D)TLS version
>> that differs from TLS 1.2.
>>
>> It should be possible to offer these when attempting to negotiate TLS
>> 1.3.  The server simply cannot negotiate these cipher suites if it
>> chooses to use 1.3.  I'd remove that sentence (and the one following
>> it, since it's redundant with the first sentence of the paragraph).
>>
>> My understanding is that you suggest to remove "Clients MUST NOT offer
> one ..." for the following reasons:
>
> A) it is redundant with the first sentence of the paragraph: "The cipher
> suites defined in this document MUST NOT be negotiated ...".  This sentence
> clarifies on the client side what "MUST NOT be negotiated" means, and the
> same is done for the server side. If we provide clarification for the
> server side, I would prefer to keep a clarification for the client side as
> well.
>
> B) It is not true as TLS1.3 enables these cipher suites to be negotiated
> with TLS1.3. In the text cipher suites stands for the cipher suites code
> points of the IANA registry.  Maybe we can have a better wording. However I
> believe the next paragraph clarifies that TLS1.3 negotiates these ciphers
> suites in a different way. Would the following wording address your
> comment. If so I will update the section to remove the confusion.
>
> "Clients MUST NOT offer one of the cipher suites code points defined in
> the document with a (D)TLS version that differs from TLS 1.2."
>
> The text in question is:
> """
>    The cipher suites defined in this document MUST NOT be negotiated for
>    any version of (D)TLS other than TLS 1.2.  Clients MUST NOT offer one
>    of these cipher suites with a (D)TLS version that differs from TLS
>    1.2.  Servers MUST NOT select one of these cipher suites with a TLS
>    version that differs from TLS 1.2.  A client MUST treat the selection
>    of these cipher suites in combination with a version of TLS as an
>    error and generate a fatal 'illegal_parameter' TLS alert.
>
> """
>
>
>> As others have noted, the paragraph about TLS 1.3 isn't helpful and
>> should be removed.
>>
>>
> Suggestion to remove TLS1.3 related text was to clarify that the cipher
> suites were only defined for TLS1.2. Unless I missed something we have
> removed most of the text that could cause confusion. On the other hand,
> TLS1.3 has been designed, and we also have received comments to position
> the defined cipher suites toward TLS1.3 as we do fro TLS1.0 and TLS1.1.
> This is the intent of the remaining text mentioning TLS1.3.
>
> In the applicable version section, the text for TLS1.3 is intended to
> clarify why the cipher suites are restricted to TLS1.2. I believe this is
> useful for readers not so familiar with TLS1.3 that may not be aware of how
> TLS1.3 negotiate ciphers. My personal opinion is that it might be better to
> have it explicit rather than implicit, and I would prefer to keep the text
> below:
>
> """
>    TLS version 1.3 and later negotiate these features in a different
>    manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and cipher
>    suite negotiation [I-D.ietf-tls-tls13] Section 1.2.  TLS 1.3 supports
>    PSK with ECDHE key exchange and the cipher suites
>    TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
>    TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
>    specification.  As a result, TLS 1.3 and higher versions, negotiate
>    and support these cipher suites in a different way.
>
> """
>
>
>
>
>> This:
>>
>> > In addition, it is worth noting that TLS 1.0 [RFC2246] and TLS 1.2
>> [RFC4346] split the pre-master into two  parts.  The PRF results from
>> mixing the two pseudorandom streams with distinct hash functions (MD5 and
>> SHA-1) by exclusive-ORing them together.
>>
>> You mean TLS 1.1 rather than 1.2.  But as with the former paragraph,
>> talking about the limitations of TLS versions that you explicitly
>> don't support isn't useful.  Remove this paragraph also.
>>
>>
> Yes that is TLS1.1. I updated it. I believe the text is useful as it
> provides a clear justification on why it should not be used on TLS version
> lower than 1.2. More specifically, previous version do not support AEAD,
> but this may not prevent someone using AEAD with these versions. The reason
> provided is not AEAD related but PSK related. I believe it is useful to
> explicitly justify why the cipher suites defined in the document should not
> be used with previous TLS versions. The text has bee suggested by the
> secdir and I would prefer to keep it, unless there is a strong willingness
> to remove it.
>
>
>> Nits:
>> s/pre-master(| secret)/premaster secret/g
>>
>
> Corrected: The text only have premaster secret.
>
>
>> You don't anywhere state that TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256
>> means to use AEAD_AES_128_GCM (and the same for the other
>> ciphersuites).  I mention this because the order in which the AEAD
>> algorithms are mentioned is different to the order of the ciphersuites
>> in the list.
>>
>>
> Unless I miss your comment, I believe the section 3 already addresses it.
> If not please let me knoe what text you would like to see.
>
> """
> 3.  ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites
>
>    The cipher suites defined in this document are based on the AES-GCM
>    and AES-CCM Authenticated Encryption with Associated Data (AEAD)
>    algorithms AEAD_AES_128_GCM, AEAD_AES_256_GCM and AEAD_AES_128_CCM
>    defined in [RFC5116], and AEAD_AES_128_CCM_8 defined in [RFC6655].
>
> """
>
>>
>> On 24 May 2017 at 12:37, Daniel Migault <daniel.migault@ericsson.com>
>> wrote:
>> > re-sending with the version 05 but removing the diff to be under the
>> 100 KB
>> > limit.
>> > Yours,
>> > Daniel
>> >
>> > On Tue, May 23, 2017 at 9:28 PM, Daniel Migault
>> > <daniel.migault@ericsson.com> wrote:
>> >>
>> >> Hi Eric,
>> >>
>> >> Thank you for the feed backs. The version 05 contains all text changes
>> you
>> >> agreed. In addition, the text explaining dictionary/brute force has
>> been
>> >> removed and replace by a reference to 4279. The recommendation
>> regarding to
>> >> all PSK ciphers has been limited to the one of the document.  Please
>> see
>> >> inline for more details.
>> >>
>> >> For some reasons I am not able to validate the submission of version
>> 05. I
>> >> have attached the diff with version 04 as well as the locally generated
>> >> version 05.
>> >>
>> >> Yours,
>> >> Daniel
>> >>
>> >> On Tue, May 23, 2017 at 7:40 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>> >>>
>> >>>
>> >>>
>> >>> On Wed, May 24, 2017 at 6:00 AM, Daniel Migault
>> >>> <daniel.migault@ericsson.com> wrote:
>> >>>>
>> >>>> Hi Eric,
>> >>>>
>> >>>> Thank you for your reviews. Please see my responses inline. If you
>> agree
>> >>>> with the text I will update the draft.
>> >>>>
>> >>>> Yours,
>> >>>> Daniel
>> >>>>
>> >>>> On Mon, May 22, 2017 at 10:11 PM, Eric Rescorla <ekr@rtfm.com>
>> wrote:
>> >>>>>
>> >>>>> Eric Rescorla has entered the following ballot position for
>> >>>>> draft-ietf-tls-ecdhe-psk-aead-04: Discuss
>> >>>>>
>> >>>>> When responding, please keep the subject line intact and reply to
>> all
>> >>>>> email addresses included in the To and CC lines. (Feel free to cut
>> this
>> >>>>> introductory paragraph, however.)
>> >>>>>
>> >>>>>
>> >>>>> Please refer to
>> >>>>> https://www.ietf.org/iesg/statement/discuss-criteria.html
>> >>>>> for more information about IESG DISCUSS and COMMENT positions.
>> >>>>>
>> >>>>>
>> >>>>> The document, along with other ballot positions, can be found here:
>> >>>>> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> ------------------------------------------------------------
>> ----------
>> >>>>> DISCUSS:
>> >>>>> ------------------------------------------------------------
>> ----------
>> >>>>>
>> >>>>> The following text appears to have been added in -04
>> >>>>>
>> >>>>>    A server receiving a ClientHello and a client_version indicating
>> >>>>>    (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites
>> from
>> >>>>>    this document in ClientHello.cipher_suites can safely assume that
>> >>>>> the
>> >>>>>    client supports TLS 1.2 and is willing to use it.  The server
>> MUST
>> >>>>>    NOT negotiate these cipher suites with TLS protocol versions
>> earlier
>> >>>>>    than TLS 1.2.  Not requiring clients to indicate their support
>> for
>> >>>>>    TLS 1.2 cipher suites exclusively through
>> ClientHello.client_hello
>> >>>>>    improves the interoperability in the installed base and use of
>> TLS
>> >>>>>    1.2 AEAD cipher suites without upsetting the installed base of
>> >>>>>    version-intolerant TLS servers, results in more TLS handshakes
>> >>>>>    succeeding and obviates fallback mechanisms.
>> >>>>>
>> >>>>> This is a major technical change from -03, which, AFAIK, prohibited
>> >>>>> the server from negotiating these algorithms with TLS 1.1 and below
>> >>>>> and maintained the usual TLS version 1.2 negotiation rules.
>> >>>>>
>> >>>>> This is a very material technical change. I don't consider it wise,
>> >>>>> but in any case it would absolutely need WG consensus, which I
>> >>>>> don't believe that it has given the recent introduction.
>> >>>>
>> >>>>
>> >>>> I agree that the text is a technical change, and that it may not be
>> >>>> appropriated to do so now. The reason I included it was that it was
>> conform
>> >>>> to the previous text, but I agree that implicit assumption of
>> version 1.2
>> >>>> may need some additional discussion especially regarding RFC5246
>> Appendix E.
>> >>>> Unless you prefer further discussion I assume the text below address
>> your
>> >>>> concern.
>> >>>>
>> >>>> <t>The cipher suites defined in this document MUST NOT be negotiated
>> for
>> >>>> any version of (D)TLS other than TLS 1.2. Clients MUST NOT offer one
>> of
>> >>>> these cipher suites with a (D)TLS version that differs from TLS 1.2.
>> Servers
>> >>>> MUST NOT select one of these cipher suites with a TLS version that
>> differs
>> >>>> from TLS 1.2. A client MUST treat the selection of these cipher
>> suites in
>> >>>> combination with a version of TLS as an error and generate a fatal
>> >>>> 'illegal_parameter' TLS alert. </t>
>> >>>
>> >>>
>> >>> Yes, this seems fine
>> >>>
>> >>>
>> >>>>> The discussion of dictionary attacks here seems inferior to that
>> >>>>> in 4279. In particular, you only need to actively attack one
>> >>>>> connection to capture the data you need for a brute force attack
>> >>>>> despite the text there referring to trying "different keys".
>> >>>>> Please correct that.
>> >>>>>
>> >>>> I believe the text below address your concern:
>> >>>>
>> >>>> OLD:
>> >>>> <t>Use of Pre-Shared Keys of limited entropy may allow an active
>> >>>> attacker attempts to connect to the server and try different keys.
>> >>>> For example, limited entropy may be provided by using a short PSK in
>> >>>> which
>> >>>> case an attacker may perform a brute-force attack. Another example
>> >>>> includes the use of a PSK  chosen by a human which thus may be
>> exposed
>> >>>> to
>> >>>> dictionary attacks.</t>
>> >>>>
>> >>>> NEW:
>> >>>> <t>Pre-Shared Keys security relies on its associated entropy, and it
>> is
>> >>>> RECOMMENDED to follow <xref target="4086"/> to ensure the PSK has
>> enough
>> >>>> entropy. Possible reasons for low entropy includes PSK chosen by
>> humans or
>> >>>> PSK of small length as well as using random generators with limited
>> entropy.
>> >>>> </t>
>> >>>>
>> >>>> <t>PSK of limited entropy may allow an attacker to test different PSK
>> >>>> values against a valid output such as master secret or any output
>> derived
>> >>>> from it. In this document, the master secret is generated using the
>> PSK as
>> >>>> well as the ECDHE shared secret. The use of ECDHE limits the
>> possibilities
>> >>>> of passive eavesdropping attackers, as the ECDHE shared secret is not
>> >>>> expected to be derived from the observed ECDH parameters. As a
>> result,
>> >>>> passive eavesdropping is unlikely to happen, and the collection of
>> all
>> >>>> necessary material relies on an active attack.
>> >>>> An active attacker may collect the necessary material by setting a
>> TLS
>> >>>> session as a client with the legitimate server. One PSK is tested
>> for each
>> >>>> session, and a match occurs when key exchange succeeds. On the other
>> hand,
>> >>>> an active attacker may also consider gathering the necessary
>> information for
>> >>>> offline computation. One way consists in getting a legitimate client
>> to
>> >>>> establish a connection with the attacker. It is also assumed that
>> the client
>> >>>> will accept the ECDH parameters authenticated by the attacker's
>> private key
>> >>>> and finally returns the Finished message authenticating the
>> exchange. The
>> >>>> attacker will be then in possession of all the necessary information
>> to
>> >>>> perform a brute force attack.</t>
>> >>>
>> >>>
>> >>> Is there a reason to not just point directly to the 4279 security
>> >>> considerations?
>> >>
>> >>
>> >> No, basically I tried to complete the previous text that missed the
>> >> offline use case. The current version just point to 4279, without
>> having the
>> >> above text. If you think the text above is clarifying I can add it as
>> well.
>> >>>
>> >>> -
>> >>>>
>> >>>>
>> >>>>>
>> >>>>>
>> >>>>> ------------------------------------------------------------
>> ----------
>> >>>>> COMMENT:
>> >>>>> ------------------------------------------------------------
>> ----------
>> >>>>>
>> >>>>> The citations to TLS 1.3 still seem pretty muddled. I think you
>> >>>>> should just stop referencing and discussing 1.3.
>> >>>>
>> >>>>
>> >>>> My understanding of your comment is that mentioning TLS 1.3 to
>> further
>> >>>> insisting that the code point are not valid for TLS 1.3 is
>> confusing. I
>> >>>> propose to:
>> >>>>
>> >>>> Explicitly mention the TLS version in the title:
>> >>>>
>> >>>> OLD title:
>> >>>> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
>> >>>> Security (TLS)
>> >>>>
>> >>>> NEW title:
>> >>>> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
>> >>>> Security (TLS)
>> >>>>
>> >>>> OLD Introduction:
>> >>>>
>> >>>>     The cipher
>> >>>>    suites are defined for version 1.2 of the Transport Layer Security
>> >>>>    (TLS) [RFC5246] protocol, version 1.2 of the Datagram Transport
>> Layer
>> >>>>    Security (DTLS) protocol [RFC6347], as well as version 1.3 of TLS
>> >>>>    [I-D.ietf-tls-tls13].
>> >>>>
>> >>>> NEW introduction
>> >>>>
>> >>>> The cipher
>> >>>>    suites are defined for version 1.2 of the Transport Layer Security
>> >>>>    (TLS) [RFC5246] protocol, version 1.2 of the Datagram Transport
>> Layer
>> >>>>    Security (DTLS) protocol [RFC6347].
>> >>>>
>> >>>>
>> >>>> I suggest to keep the following text of the introduction:
>> >>>>
>> >>>>
>> >>>> AEAD algorithms that combine encryption and integrity protection are
>> >>>>    strongly recommended for (D)TLS [RFC7525] and non-AEAD algorithms
>> are
>> >>>>    forbidden to use in TLS 1.3 [I-D.ietf-tls-tls13].  The AEAD
>> >>>>    algorithms considered in this document are AES-GCM and AES-CCM.
>> The
>> >>>>    use of AES-GCM in TLS is defined in [RFC5288] and the use of
>> AES-CCM
>> >>>>    is defined in [RFC6655].
>> >>>
>> >>>
>> >>> Yes, this seems fine.
>> >>>
>> >>>
>> >>>>
>> >>>> I suggest to keep the following text of the Applicable versions
>> >>>> sections, as I believe the section discusses the cipher suites
>> against all
>> >>>> existing TLS versions. In addition, it also justifies somewhat that
>> we only
>> >>>> defined cipher suites that are compatible with TLS1.3.
>> >>>>
>> >>>>    TLS version 1.3 and later negotiate these features in a different
>> >>>>    manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and
>> cipher
>> >>>>    suite negotiation [I-D.ietf-tls-tls13] Section 1.2.  TLS 1.3
>> supports
>> >>>>    PSK with ECDHE key exchange and the cipher suites
>> >>>>    TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
>> >>>>    TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of
>> the
>> >>>>    specification.  As a result, TLS 1.3 and higher versions,
>> negotiate
>> >>>>    and support these cipher suites in a different way.
>> >>>
>> >>>
>> >>> OK.
>> >>>
>> >>>>
>> >>>> I suggest to remove the reference to TLS1.3 in the security
>> >>>> considerations
>> >>>>
>> >>>> OLD
>> >>>>
>> >>>>  The security considerations in TLS 1.2 [RFC5246], DTLS 1.2
>> [RFC6347],
>> >>>>    TLS 1.3 [I-D.ietf-tls-tls13], ECDHE_PSK [RFC5489], AES-GCM
>> [RFC5288],
>> >>>>    and AES-CCM [RFC6655] apply to this document as well.
>> >>>>
>> >>>> NEW
>> >>>>
>> >>>>  The security considerations in TLS 1.2 [RFC5246], DTLS 1.2
>> [RFC6347],
>> >>>>  ECDHE_PSK [RFC5489], AES-GCM [RFC5288],and AES-CCM [RFC6655] apply
>> >>>>  to this document as well.
>> >>>>>
>> >>>>>
>> >>>>> S 2.
>> >>>>> I'm not sure that the discussion of the PRF is helpful here in
>> >>>>> mandating the non-use of these cipher suites with TLS 1.1 and
>> >>>>> below.
>> >>>>
>> >>>>
>> >>>> I find the text useful as it gives an idea why even introducing AEAD
>> in
>> >>>> TLS version lower than 1.2 is a bad idea, so I would prefer to keep
>> it. The
>> >>>> text has been changed to
>> >>>>
>> >>>> OLD:
>> >>>> As such TLS 1.0 and TLS 1.1 should not be used with ECDHE_PSK.
>> >>>>
>> >>>> NEW:
>> >>>> As such,  all ECDHE_PSK
>> >>>> ciphers, including those defined outside this document, SHOULD NOT be
>> >>>> negotiated in TLS versions prior to 1.2.
>> >>>
>> >>>
>> >>> I don't think you should be levying a new normative requirement like
>> this
>> >>> for other ciphers
>> >>> i this document
>> >>
>> >>
>> >> Consideration for other ciphers has been removed. The requirement is
>> >> limited to the ciphers of the document. The new text is:
>> >>
>> >> As such, all ECDHE_PSK ciphers, including those defined in this
>> document,
>> >> SHOULD NOT be
>> >> negotiated in TLS versions prior to 1.2.
>> >>>
>> >>>
>> >>> -Ek
>> >>> r
>> >>>
>> >>
>> >
>> >
>> > _______________________________________________
>> > TLS mailing list
>> > TLS@ietf.org
>> > https://www.ietf.org/mailman/listinfo/tls
>> >
>>
>
>

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

<div dir=3D"ltr"><div class=3D"gmail_extra">Hi Daniel,</div><div class=3D"g=
mail_extra"><br></div><div class=3D"gmail_extra">Thanks for putting this re=
vision together.=C2=A0 The original text in draft 4 went beyond the scope o=
f what should be in the document (I was too hasty in my review of the docum=
ent and discussion on the list). =C2=A0 Your current proposal is an improve=
ment, but it still discusses behavior that could either conflict with other=
 documents or discusses behavior that is not in scope.=C2=A0=C2=A0</div><di=
v class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">My suggestion =
is to replace section 4 with the following paragraph (I think this is simil=
ar to what Martin suggests):<br></div><div class=3D"gmail_extra"><br></div>=
<font face=3D"monospace, monospace">&quot;The cipher suites defined in this=
 document MUST NOT be negotiated for any version of (D)TLS other than TLS 1=
.2.=C2=A0 Servers MUST NOT select one of these cipher suites when selecting=
 TLS version other than TLS 1.2.=C2=A0 A client MUST treat the selection of=
 these cipher suites in combination with a different version of TLS as an e=
rror and generate a fatal &#39;illegal_parameter&#39; TLS alert.&quot;=C2=
=A0</font><div><br></div><div>I think it would also be OK to add the follow=
ing to point readers to equivalent ciphers in 1.3.=C2=A0 Here is some sugge=
sted text that could go in the revised section 4:</div><div><br></div><font=
 face=3D"monospace, monospace">&quot;Cipher suites TLS_AES_128_GCM_SHA256, =
TLS_AES_256_GCM_SHA384, TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256=
 are used to support equivalent functionality in TLS 1.3 [TLS 1.3].&quot;</=
font><div><font face=3D"monospace, monospace"><br></font></div><div><font f=
ace=3D"arial, helvetica, sans-serif">Thanks,</font></div><div><font face=3D=
"arial, helvetica, sans-serif"><br></font></div><div><font face=3D"arial, h=
elvetica, sans-serif">Joe</font></div><div><font face=3D"monospace, monospa=
ce"><br></font><div><div class=3D"gmail_extra"><br><div class=3D"gmail_quot=
e">On Wed, May 24, 2017 at 7:04 AM, Daniel Migault <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:daniel.migault@ericsson.com" target=3D"_blank">daniel.migau=
lt@ericsson.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa=
dding-left:1ex"><div dir=3D"ltr"><div><div><div>Hi Martin, <br><br></div>Th=
ank you for your review. Some comment were about text in the applicability =
section. I think I agree with you that this section details and clarifies=
=C2=A0 the following sentence of the previous section:=C2=A0 &quot;&quot;&q=
uot;   The assigned code points can only be used for TLS 1.2.&quot;&quot;&q=
uot;. Most of the text of this section has been added in order to address c=
omments, thus in order to make this section helpful for many readers, I pre=
fer to keep most of the text you mentioned as not useful. <br><br>Please se=
e inline for more detail responses and let me know if that address your com=
ments.<br><br></div>Yours, <br></div>Daniel<br><div><div><br><div><div clas=
s=3D"gmail_extra"><div class=3D"gmail_quote"><span class=3D"m_8333218958734=
637850m_1573899747296649915gmail-">On Wed, May 24, 2017 at 12:09 AM, Martin=
 Thomson <span dir=3D"ltr">&lt;<a href=3D"mailto:martin.thomson@gmail.com" =
target=3D"_blank">martin.thomson@gmail.com</a>&gt;</span> wrote:<br><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex">Hi Daniel,<br>
<br>
This removes the offending text.<br>
<br>
This is incorrect:<br>
<span class=3D"m_8333218958734637850m_1573899747296649915gmail-m_-654276746=
4740083122gmail-"><br>
&gt; Clients MUST NOT offer one of these cipher suites with a (D)TLS versio=
n that differs from TLS 1.2.<br>
<br>
</span>It should be possible to offer these when attempting to negotiate TL=
S<br>
1.3.=C2=A0 The server simply cannot negotiate these cipher suites if it<br>
chooses to use 1.3.=C2=A0 I&#39;d remove that sentence (and the one followi=
ng<br>
it, since it&#39;s redundant with the first sentence of the paragraph).<br>
<br></blockquote></span><div>My understanding is that you suggest to remove=
 &quot;Clients MUST NOT offer one ...&quot; for the following reasons:<br><=
br>A)
 it is redundant with the first sentence of the paragraph: &quot;The cipher=
=20
suites defined in this document MUST NOT be negotiated ...&quot;.=C2=A0 Thi=
s=20
sentence clarifies on the client side what &quot;MUST NOT be negotiated&quo=
t;=20
means, and the same is done for the server side. If we provide=20
clarification for the server side, I would prefer to keep a=20
clarification for the client side as well.=C2=A0 <br><br><div class=3D"gmai=
l_quote">B)
 It is not true as TLS1.3 enables these cipher suites to be negotiated=20
with TLS1.3. In the text cipher suites stands for the cipher suites code
 points of the IANA registry.=C2=A0 Maybe we can have a better wording.=20
However I believe the next paragraph clarifies that TLS1.3 negotiates=20
these ciphers suites in a different way. Would the following wording addres=
s your comment. If so I will update the section to remove the confusion.<br=
><br>&quot;<span class=3D"m_8333218958734637850m_1573899747296649915gmail-m=
_-6542767464740083122gmail-">Clients MUST NOT offer one of the cipher suite=
s code points defined in the document with a (D)TLS version that differs fr=
om TLS 1.2.&quot;</span></div><br>The text in question is:<span class=3D"m_=
8333218958734637850m_1573899747296649915gmail-"><br>&quot;&quot;&quot;<br>=
=C2=A0=C2=A0 The cipher suites defined in this document MUST NOT be negotia=
ted for<br>=C2=A0=C2=A0 any version of (D)TLS other than TLS 1.2.=C2=A0 Cli=
ents MUST NOT offer one<br>=C2=A0=C2=A0 of these cipher suites with a (D)TL=
S version that differs from TLS<br>=C2=A0=C2=A0 1.2.=C2=A0 Servers MUST NOT=
 select one of these cipher suites with a TLS<br>=C2=A0=C2=A0 version that =
differs from TLS 1.2.=C2=A0 A client MUST treat the selection<br>=C2=A0=C2=
=A0 of these cipher suites in combination with a version of TLS as an<br>=
=C2=A0=C2=A0 error and generate a fatal &#39;illegal_parameter&#39; TLS ale=
rt.<br><br>&quot;&quot;&quot;<br>=C2=A0</span></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex">
As others have noted, the paragraph about TLS 1.3 isn&#39;t helpful and<br>
should be removed.<br>
<br></blockquote><div><br></div><div>Suggestion to remove TLS1.3 related te=
xt was to clarify that the cipher suites were only defined for TLS1.2. Unle=
ss I missed something we have removed most of the text that could cause con=
fusion. On the other hand, TLS1.3 has been designed, and we also have recei=
ved comments to position the defined cipher suites toward TLS1.3 as we do f=
ro TLS1.0 and TLS1.1. This is the intent of the remaining text mentioning T=
LS1.3. <br></div><br></div><div class=3D"gmail_quote">In the applicable ver=
sion section, the text for TLS1.3 is intended to clarify why the cipher sui=
tes are restricted to TLS1.2. I believe this is useful for  readers not so =
familiar with TLS1.3 that may not be aware of how TLS1.3=20
negotiate ciphers. My personal opinion is that it might be better to have i=
t explicit rather than implicit, and I would prefer to keep the text below:=
<br><br></div><span class=3D"m_8333218958734637850m_1573899747296649915gmai=
l-"><div class=3D"gmail_quote">&quot;&quot;&quot;<br>=C2=A0=C2=A0 TLS versi=
on 1.3 and later negotiate these features in a different<br>=C2=A0=C2=A0 ma=
nner.=C2=A0 Unlike TLS 1.2, TLS 1.3 separates authentication and cipher<br>=
=C2=A0=C2=A0 suite negotiation [I-D.ietf-tls-tls13] Section 1.2.=C2=A0 TLS =
1.3 supports<br>=C2=A0=C2=A0 PSK with ECDHE key exchange and the cipher sui=
tes<br>=C2=A0=C2=A0 TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,<br>=C2=
=A0=C2=A0 TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of t=
he<br>=C2=A0=C2=A0 specification.=C2=A0 As a result, TLS 1.3 and higher ver=
sions, negotiate<br>=C2=A0=C2=A0 and support these cipher suites in a diffe=
rent way.<br><br>&quot;&quot;&quot; <br>=C2=A0</div><br>=C2=A0</span><div c=
lass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
This:<span class=3D"m_8333218958734637850m_1573899747296649915gmail-"><br>
<br>
&gt; In addition, it is worth noting that TLS 1.0 [RFC2246] and TLS 1.2 [RF=
C4346] split the pre-master into two=C2=A0 parts.=C2=A0 The PRF results fro=
m mixing the two pseudorandom streams with distinct hash functions (MD5 and=
 SHA-1) by exclusive-ORing them together.<br>
<br>
You mean TLS 1.1 rather than 1.2.=C2=A0 But as with the former paragraph,<b=
r>
talking about the limitations of TLS versions that you explicitly<br>
don&#39;t support isn&#39;t useful.=C2=A0 Remove this paragraph also.<br>
<br></span></blockquote><div><br>Yes that is TLS1.1. I updated it. I believ=
e the text is useful as it provides a clear justification on why it should =
not be used on TLS version lower than 1.2. More specifically, previous vers=
ion do not support AEAD, but this may not prevent someone using AEAD with t=
hese versions. The reason provided is not AEAD related but PSK related. I b=
elieve it is useful to explicitly justify why the cipher suites defined in =
the document should not be used with previous TLS versions. The text has be=
e suggested by the secdir and I would prefer to keep it, unless there is a =
strong willingness to remove it. =C2=A0 =C2=A0 <br>=C2=A0 <br></div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex">
Nits:<br>
s/pre-master(| secret)/premaster secret/g<br></blockquote><div><br></div><d=
iv>Corrected: The text only have premaster secret. =C2=A0 <br></div><span c=
lass=3D"m_8333218958734637850m_1573899747296649915gmail-"><div>=C2=A0</div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
You don&#39;t anywhere state that TLS_ECDHE_PSK_WITH_AES_128_GCM<wbr>_SHA25=
6<br>
means to use AEAD_AES_128_GCM (and the same for the other<br>
ciphersuites).=C2=A0 I mention this because the order in which the AEAD<br>
algorithms are mentioned is different to the order of the ciphersuites<br>
in the list.<br>
<div><div class=3D"m_8333218958734637850m_1573899747296649915gmail-m_-65427=
67464740083122gmail-h5"><br></div></div></blockquote><div><br></div></span>=
<div>Unless I miss your comment, I believe the section 3 already addresses =
it. If not please let me knoe what text you would like to see. <br>=C2=A0<b=
r></div><div>&quot;&quot;&quot;<br>3.=C2=A0 ECDHE_PSK with AES-GCM and AES-=
CCM Cipher Suites<br><br>=C2=A0=C2=A0 The cipher suites defined in this doc=
ument are based on the AES-GCM<br>=C2=A0=C2=A0 and AES-CCM Authenticated En=
cryption with Associated Data (AEAD)<br>=C2=A0=C2=A0 algorithms AEAD_AES_12=
8_GCM, AEAD_AES_256_GCM and AEAD_AES_128_CCM<br>=C2=A0=C2=A0 defined in [RF=
C5116], and AEAD_AES_128_CCM_8 defined in [RFC6655].<br><br>&quot;&quot;&qu=
ot;=C2=A0 <br></div><div><div class=3D"m_8333218958734637850m_1573899747296=
649915gmail-h5"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div=
 class=3D"m_8333218958734637850m_1573899747296649915gmail-m_-65427674647400=
83122gmail-h5">
<br>
On 24 May 2017 at 12:37, Daniel Migault &lt;<a href=3D"mailto:daniel.migaul=
t@ericsson.com" target=3D"_blank">daniel.migault@ericsson.com</a>&gt; wrote=
:<br>
&gt; re-sending with the version 05 but removing the diff to be under the 1=
00 KB<br>
&gt; limit.<br>
&gt; Yours,<br>
&gt; Daniel<br>
&gt;<br>
&gt; On Tue, May 23, 2017 at 9:28 PM, Daniel Migault<br>
&gt; &lt;<a href=3D"mailto:daniel.migault@ericsson.com" target=3D"_blank">d=
aniel.migault@ericsson.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Eric,<br>
&gt;&gt;<br>
&gt;&gt; Thank you for the feed backs. The version 05 contains all text cha=
nges you<br>
&gt;&gt; agreed. In addition, the text explaining dictionary/brute force ha=
s been<br>
&gt;&gt; removed and replace by a reference to 4279. The recommendation reg=
arding to<br>
&gt;&gt; all PSK ciphers has been limited to the one of the document.=C2=A0=
 Please see<br>
&gt;&gt; inline for more details.<br>
&gt;&gt;<br>
&gt;&gt; For some reasons I am not able to validate the submission of versi=
on 05. I<br>
&gt;&gt; have attached the diff with version 04 as well as the locally gene=
rated<br>
&gt;&gt; version 05.<br>
&gt;&gt;<br>
&gt;&gt; Yours,<br>
&gt;&gt; Daniel<br>
&gt;&gt;<br>
&gt;&gt; On Tue, May 23, 2017 at 7:40 PM, Eric Rescorla &lt;<a href=3D"mail=
to:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, May 24, 2017 at 6:00 AM, Daniel Migault<br>
&gt;&gt;&gt; &lt;<a href=3D"mailto:daniel.migault@ericsson.com" target=3D"_=
blank">daniel.migault@ericsson.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi Eric,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thank you for your reviews. Please see my responses inline=
. If you agree<br>
&gt;&gt;&gt;&gt; with the text I will update the draft.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Yours,<br>
&gt;&gt;&gt;&gt; Daniel<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Mon, May 22, 2017 at 10:11 PM, Eric Rescorla &lt;<a hre=
f=3D"mailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Eric Rescorla has entered the following ballot positio=
n for<br>
&gt;&gt;&gt;&gt;&gt; draft-ietf-tls-ecdhe-psk-aead-<wbr>04: Discuss<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; When responding, please keep the subject line intact a=
nd reply to all<br>
&gt;&gt;&gt;&gt;&gt; email addresses included in the To and CC lines. (Feel=
 free to cut this<br>
&gt;&gt;&gt;&gt;&gt; introductory paragraph, however.)<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Please refer to<br>
&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/iesg/statement/discuss=
-criteria.html" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/i=
esg/stat<wbr>ement/discuss-criteria.html</a><br>
&gt;&gt;&gt;&gt;&gt; for more information about IESG DISCUSS and COMMENT po=
sitions.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The document, along with other ballot positions, can b=
e found here:<br>
&gt;&gt;&gt;&gt;&gt; <a href=3D"https://datatracker.ietf.org/doc/draft-ietf=
-tls-ecdhe-psk-aead/" rel=3D"noreferrer" target=3D"_blank">https://datatrac=
ker.ietf.org/d<wbr>oc/draft-ietf-tls-ecdhe-psk-ae<wbr>ad/</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ------------------------------<wbr>-------------------=
-----------<wbr>----------<br>
&gt;&gt;&gt;&gt;&gt; DISCUSS:<br>
&gt;&gt;&gt;&gt;&gt; ------------------------------<wbr>-------------------=
-----------<wbr>----------<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The following text appears to have been added in -04<b=
r>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 A server receiving a ClientHello and a cl=
ient_version indicating<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 (3,1) &quot;TLS 1.0&quot; or (3,2) &quot;=
TLS 1.1&quot; and any of the cipher suites from<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 this document in ClientHello.cipher_suite=
s can safely assume that<br>
&gt;&gt;&gt;&gt;&gt; the<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 client supports TLS 1.2 and is willing to=
 use it.=C2=A0 The server MUST<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 NOT negotiate these cipher suites with TL=
S protocol versions earlier<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 than TLS 1.2.=C2=A0 Not requiring clients=
 to indicate their support for<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS 1.2 cipher suites exclusively through=
 ClientHello.client_hello<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 improves the interoperability in the inst=
alled base and use of TLS<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 1.2 AEAD cipher suites without upsetting =
the installed base of<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 version-intolerant TLS servers, results i=
n more TLS handshakes<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 succeeding and obviates fallback mechanis=
ms.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; This is a major technical change from -03, which, AFAI=
K, prohibited<br>
&gt;&gt;&gt;&gt;&gt; the server from negotiating these algorithms with TLS =
1.1 and below<br>
&gt;&gt;&gt;&gt;&gt; and maintained the usual TLS version 1.2 negotiation r=
ules.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; This is a very material technical change. I don&#39;t =
consider it wise,<br>
&gt;&gt;&gt;&gt;&gt; but in any case it would absolutely need WG consensus,=
 which I<br>
&gt;&gt;&gt;&gt;&gt; don&#39;t believe that it has given the recent introdu=
ction.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I agree that the text is a technical change, and that it m=
ay not be<br>
&gt;&gt;&gt;&gt; appropriated to do so now. The reason I included it was th=
at it was conform<br>
&gt;&gt;&gt;&gt; to the previous text, but I agree that implicit assumption=
 of version 1.2<br>
&gt;&gt;&gt;&gt; may need some additional discussion especially regarding R=
FC5246 Appendix E.<br>
&gt;&gt;&gt;&gt; Unless you prefer further discussion I assume the text bel=
ow address your<br>
&gt;&gt;&gt;&gt; concern.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &lt;t&gt;The cipher suites defined in this document MUST N=
OT be negotiated for<br>
&gt;&gt;&gt;&gt; any version of (D)TLS other than TLS 1.2. Clients MUST NOT=
 offer one of<br>
&gt;&gt;&gt;&gt; these cipher suites with a (D)TLS version that differs fro=
m TLS 1.2. Servers<br>
&gt;&gt;&gt;&gt; MUST NOT select one of these cipher suites with a TLS vers=
ion that differs<br>
&gt;&gt;&gt;&gt; from TLS 1.2. A client MUST treat the selection of these c=
ipher suites in<br>
&gt;&gt;&gt;&gt; combination with a version of TLS as an error and generate=
 a fatal<br>
&gt;&gt;&gt;&gt; &#39;illegal_parameter&#39; TLS alert. &lt;/t&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Yes, this seems fine<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The discussion of dictionary attacks here seems inferi=
or to that<br>
&gt;&gt;&gt;&gt;&gt; in 4279. In particular, you only need to actively atta=
ck one<br>
&gt;&gt;&gt;&gt;&gt; connection to capture the data you need for a brute fo=
rce attack<br>
&gt;&gt;&gt;&gt;&gt; despite the text there referring to trying &quot;diffe=
rent keys&quot;.<br>
&gt;&gt;&gt;&gt;&gt; Please correct that.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I believe the text below address your concern:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD:<br>
&gt;&gt;&gt;&gt; &lt;t&gt;Use of Pre-Shared Keys of limited entropy may all=
ow an active<br>
&gt;&gt;&gt;&gt; attacker attempts to connect to the server and try differe=
nt keys.<br>
&gt;&gt;&gt;&gt; For example, limited entropy may be provided by using a sh=
ort PSK in<br>
&gt;&gt;&gt;&gt; which<br>
&gt;&gt;&gt;&gt; case an attacker may perform a brute-force attack. Another=
 example<br>
&gt;&gt;&gt;&gt; includes the use of a PSK=C2=A0 chosen by a human which th=
us may be exposed<br>
&gt;&gt;&gt;&gt; to<br>
&gt;&gt;&gt;&gt; dictionary attacks.&lt;/t&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW:<br>
&gt;&gt;&gt;&gt; &lt;t&gt;Pre-Shared Keys security relies on its associated=
 entropy, and it is<br>
&gt;&gt;&gt;&gt; RECOMMENDED to follow &lt;xref target=3D&quot;4086&quot;/&=
gt; to ensure the PSK has enough<br>
&gt;&gt;&gt;&gt; entropy. Possible reasons for low entropy includes PSK cho=
sen by humans or<br>
&gt;&gt;&gt;&gt; PSK of small length as well as using random generators wit=
h limited entropy.<br>
&gt;&gt;&gt;&gt; &lt;/t&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &lt;t&gt;PSK of limited entropy may allow an attacker to t=
est different PSK<br>
&gt;&gt;&gt;&gt; values against a valid output such as master secret or any=
 output derived<br>
&gt;&gt;&gt;&gt; from it. In this document, the master secret is generated =
using the PSK as<br>
&gt;&gt;&gt;&gt; well as the ECDHE shared secret. The use of ECDHE limits t=
he possibilities<br>
&gt;&gt;&gt;&gt; of passive eavesdropping attackers, as the ECDHE shared se=
cret is not<br>
&gt;&gt;&gt;&gt; expected to be derived from the observed ECDH parameters. =
As a result,<br>
&gt;&gt;&gt;&gt; passive eavesdropping is unlikely to happen, and the colle=
ction of all<br>
&gt;&gt;&gt;&gt; necessary material relies on an active attack.<br>
&gt;&gt;&gt;&gt; An active attacker may collect the necessary material by s=
etting a TLS<br>
&gt;&gt;&gt;&gt; session as a client with the legitimate server. One PSK is=
 tested for each<br>
&gt;&gt;&gt;&gt; session, and a match occurs when key exchange succeeds. On=
 the other hand,<br>
&gt;&gt;&gt;&gt; an active attacker may also consider gathering the necessa=
ry information for<br>
&gt;&gt;&gt;&gt; offline computation. One way consists in getting a legitim=
ate client to<br>
&gt;&gt;&gt;&gt; establish a connection with the attacker. It is also assum=
ed that the client<br>
&gt;&gt;&gt;&gt; will accept the ECDH parameters authenticated by the attac=
ker&#39;s private key<br>
&gt;&gt;&gt;&gt; and finally returns the Finished message authenticating th=
e exchange. The<br>
&gt;&gt;&gt;&gt; attacker will be then in possession of all the necessary i=
nformation to<br>
&gt;&gt;&gt;&gt; perform a brute force attack.&lt;/t&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Is there a reason to not just point directly to the 4279 secur=
ity<br>
&gt;&gt;&gt; considerations?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; No, basically I tried to complete the previous text that missed th=
e<br>
&gt;&gt; offline use case. The current version just point to 4279, without =
having the<br>
&gt;&gt; above text. If you think the text above is clarifying I can add it=
 as well.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ------------------------------<wbr>-------------------=
-----------<wbr>----------<br>
&gt;&gt;&gt;&gt;&gt; COMMENT:<br>
&gt;&gt;&gt;&gt;&gt; ------------------------------<wbr>-------------------=
-----------<wbr>----------<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The citations to TLS 1.3 still seem pretty muddled. I =
think you<br>
&gt;&gt;&gt;&gt;&gt; should just stop referencing and discussing 1.3.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; My understanding of your comment is that mentioning TLS 1.=
3 to further<br>
&gt;&gt;&gt;&gt; insisting that the code point are not valid for TLS 1.3 is=
 confusing. I<br>
&gt;&gt;&gt;&gt; propose to:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Explicitly mention the TLS version in the title:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD title:<br>
&gt;&gt;&gt;&gt; ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Trans=
port Layer<br>
&gt;&gt;&gt;&gt; Security (TLS)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW title:<br>
&gt;&gt;&gt;&gt; ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Trans=
port Layer<br>
&gt;&gt;&gt;&gt; Security (TLS)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD Introduction:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0The cipher<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 suites are defined for version 1.2 of the Tra=
nsport Layer Security<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 (TLS) [RFC5246] protocol, version 1.2 of the =
Datagram Transport Layer<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 Security (DTLS) protocol [RFC6347], as well a=
s version 1.3 of TLS<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 [I-D.ietf-tls-tls13].<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW introduction<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The cipher<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 suites are defined for version 1.2 of the Tra=
nsport Layer Security<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 (TLS) [RFC5246] protocol, version 1.2 of the =
Datagram Transport Layer<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 Security (DTLS) protocol [RFC6347].<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I suggest to keep the following text of the introduction:<=
br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; AEAD algorithms that combine encryption and integrity prot=
ection are<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 strongly recommended for (D)TLS [RFC7525] and=
 non-AEAD algorithms are<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 forbidden to use in TLS 1.3 [I-D.ietf-tls-tls=
13].=C2=A0 The AEAD<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 algorithms considered in this document are AE=
S-GCM and AES-CCM.=C2=A0 The<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 use of AES-GCM in TLS is defined in [RFC5288]=
 and the use of AES-CCM<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 is defined in [RFC6655].<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Yes, this seems fine.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I suggest to keep the following text of the Applicable ver=
sions<br>
&gt;&gt;&gt;&gt; sections, as I believe the section discusses the cipher su=
ites against all<br>
&gt;&gt;&gt;&gt; existing TLS versions. In addition, it also justifies some=
what that we only<br>
&gt;&gt;&gt;&gt; defined cipher suites that are compatible with TLS1.3.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS version 1.3 and later negotiate these fea=
tures in a different<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 manner.=C2=A0 Unlike TLS 1.2, TLS 1.3 separat=
es authentication and cipher<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 suite negotiation [I-D.ietf-tls-tls13] Sectio=
n 1.2.=C2=A0 TLS 1.3 supports<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 PSK with ECDHE key exchange and the cipher su=
ites<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA38=
4,<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_=
SHA256 are part of the<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 specification.=C2=A0 As a result, TLS 1.3 and=
 higher versions, negotiate<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 and support these cipher suites in a differen=
t way.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; OK.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I suggest to remove the reference to TLS1.3 in the securit=
y<br>
&gt;&gt;&gt;&gt; considerations<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 The security considerations in TLS 1.2 [RFC5246], DT=
LS 1.2 [RFC6347],<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS 1.3 [I-D.ietf-tls-tls13], ECDHE_PSK [RFC5=
489], AES-GCM [RFC5288],<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 and AES-CCM [RFC6655] apply to this document =
as well.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 The security considerations in TLS 1.2 [RFC5246], DT=
LS 1.2 [RFC6347],<br>
&gt;&gt;&gt;&gt;=C2=A0 ECDHE_PSK [RFC5489], AES-GCM [RFC5288],and AES-CCM [=
RFC6655] apply<br>
&gt;&gt;&gt;&gt;=C2=A0 to this document as well.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; S 2.<br>
&gt;&gt;&gt;&gt;&gt; I&#39;m not sure that the discussion of the PRF is hel=
pful here in<br>
&gt;&gt;&gt;&gt;&gt; mandating the non-use of these cipher suites with TLS =
1.1 and<br>
&gt;&gt;&gt;&gt;&gt; below.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I find the text useful as it gives an idea why even introd=
ucing AEAD in<br>
&gt;&gt;&gt;&gt; TLS version lower than 1.2 is a bad idea, so I would prefe=
r to keep it. The<br>
&gt;&gt;&gt;&gt; text has been changed to<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD:<br>
&gt;&gt;&gt;&gt; As such TLS 1.0 and TLS 1.1 should not be used with ECDHE_=
PSK.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW:<br>
&gt;&gt;&gt;&gt; As such,=C2=A0 all ECDHE_PSK<br>
&gt;&gt;&gt;&gt; ciphers, including those defined outside this document, SH=
OULD NOT be<br>
&gt;&gt;&gt;&gt; negotiated in TLS versions prior to 1.2.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I don&#39;t think you should be levying a new normative requir=
ement like this<br>
&gt;&gt;&gt; for other ciphers<br>
&gt;&gt;&gt; i this document<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Consideration for other ciphers has been removed. The requirement =
is<br>
&gt;&gt; limited to the ciphers of the document. The new text is:<br>
&gt;&gt;<br>
&gt;&gt; As such, all ECDHE_PSK ciphers, including those defined in this do=
cument,<br>
&gt;&gt; SHOULD NOT be<br>
&gt;&gt; negotiated in TLS versions prior to 1.2.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -Ek<br>
&gt;&gt;&gt; r<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; TLS mailing list<br>
&gt; <a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferre=
r" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/tls</a><br>
&gt;<br>
</blockquote></div></div></div><br></div></div></div></div></div>
</blockquote></div><br></div></div></div></div>

--94eb2c1483a0941ad805504669a0--


From nobody Wed May 24 08:16:09 2017
Return-Path: <alissa@cooperw.in>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 840EC1293E8; Wed, 24 May 2017 08:16:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.72
X-Spam-Level: 
X-Spam-Status: No, score=-2.72 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=cooperw.in header.b=eZyZpoQn; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=OG7HUFVv
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 f9ML4novpkcW; Wed, 24 May 2017 08:16:00 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0D760128ACA; Wed, 24 May 2017 08:16:00 -0700 (PDT)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 092F020B7E; Wed, 24 May 2017 11:15:59 -0400 (EDT)
Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Wed, 24 May 2017 11:15:59 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cooperw.in; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=FACxpPwPJEeI64eihl 4Q9cHDtuPyuRsBYhS/nAj6UOk=; b=eZyZpoQnX+qw5WCLguJ5vbJMRNynL1q4Fl 3/9ITBsodhclOk0Ugx7T/aenrxq4eaugadQo8w3sZPh1DHHMAqE0fFOd+1udAXk1 yIgGE5dOP7PmvPL7L/yUZZWc7JsPuBRSXY55uObPc4U7HTICEmBiTqYyimsyjBmC zws7DifB+BEwqqFPgmvl5wi9QsgYdW/JeC5pq6DcQwfdijq4rzzxxpQq7ssUEwzI zOSuXAcBQp+7hm5NBKDKRMpshViWzjPCUFpZlEadIFHKIUw4VhuY1hK4mKLEzbWb bcQRvsJfj5mmKoGPjUvneApwOnA7I3dKcLZqQj52LbSZ2kZTbgZQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=FACxpPwPJEeI64eihl4Q9cHDtuPyuRsBYhS/nAj6UOk=; b=OG7HUFVv PxXmUBSMuaDUGwHE/VCUe6VGFSxbXgZAze6FYsR5CM/uq9e1SrYpB1nX9cpltiNu UWKRH3CO46/IDzO2jolt9FqGkWcqsM2MfB+lA7oXWybfY+8Zy1jG54jumM2G03kX DpBMynr0KdUlhGLY4ST6/6geaDcMMVWjCqWZB8Qzynyiaithv2AkJCD+Vokv+8rI XQLC+ALm6TQVwUILj1+Fbwv+Ol6gQNXuPWAkeWfPGoWM6z/2lgyn7tkjyeOMCBLc myhA6WkFZBqAS2LIWVEhvOZv63jYUofgRDeLO0/QiWsVLY8E5vEXVPsXV8nGiXjt BbG6c2IkaLePaA==
X-ME-Sender: <xms:rqMlWZggS1DriT-0ps0_PVuyq1ZSNbFuPHvjHyJrANIUZVWR2Ob9cw>
X-Sasl-enc: pVLsqN0P8qQ14/rns7nTGWzSqIEfBg2Nllbw2EOHSsn9 1495638958
Received: from sjc-alcoop-8813.cisco.com (unknown [128.107.241.165]) by mail.messagingengine.com (Postfix) with ESMTPA id 16BED7E808; Wed, 24 May 2017 11:15:57 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Alissa Cooper <alissa@cooperw.in>
In-Reply-To: <149523380739.28567.9584998643479497589@ietfa.amsl.com>
Date: Wed, 24 May 2017 11:15:56 -0400
Cc: "gen-art >> General area reviewing team" <gen-art@ietf.org>, draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, tls@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <34EDA6D1-71BA-4E4C-BB9F-5E8FD05786D9@cooperw.in>
References: <149523380739.28567.9584998643479497589@ietfa.amsl.com>
To: Dan Romascanu <dromasca@gmail.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/XloqZ4Fl9eAhWlLkQT6803sVn7c>
Subject: Re: [TLS] [Gen-art] Genart telechat review of draft-ietf-tls-ecdhe-psk-aead-04
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 15:16:02 -0000

Dan, thank you for your reviews of this document and thanks to the =
authors for providing clarifications. I have balloted No Objection.

Alissa

> On May 19, 2017, at 6:43 PM, Dan Romascanu <dromasca@gmail.com> wrote:
>=20
> Reviewer: Dan Romascanu
> Review result: Ready
>=20
> I am the assigned Gen-ART reviewer for this draft. The General Area
> Review Team (Gen-ART) reviews all IETF documents being processed
> by the IESG for the IETF Chair. Please wait for direction from your
> document shepherd or AD before posting a new version of the draft.
>=20
> For more information, please see the FAQ at
>=20
> <https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.
>=20
> Document: draft-ietf-tls-ecdhe-psk-aead-??
> Reviewer: Dan Romascanu
> Review Date: 2017-05-19
> IETF LC End Date: 2017-05-18
> IESG Telechat date: 2017-05-25
>=20
> Summary:
>=20
> This is a straight-forward and clear document that defines several new
> cipher suites for the Transport Layer Security (TLS) protocol version
> 1.2 and higher, based on the Ephemeral Elliptic Curve Diffie-Hellman
> with Pre-Shared Key (ECDHE_PSK) key exchange together with the
> Authenticated Encryption with Associated Data (AEAD) algorithms
> AES-GCM and AES-CCM. The document is well written and I appreciate the
> effort to clarify in the Introduction the context, what was missing,
> and why the document is necessary. One issue raised in my initial
> review for draft-03 was addressed, discussed and draft-04 includes
> useful clarification text.=20
>=20
> The document is Ready
>=20
> Major issues:
>=20
> Minor issues:
>=20
> Nits/editorial comments:=20
>=20
>=20
> _______________________________________________
> Gen-art mailing list
> Gen-art@ietf.org
> https://www.ietf.org/mailman/listinfo/gen-art


From nobody Wed May 24 08:32:49 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 574C812EB0D for <tls@ietfa.amsl.com>; Wed, 24 May 2017 08:32:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.198
X-Spam-Level: 
X-Spam-Status: No, score=-1.198 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 qKiPuO_O060z for <tls@ietfa.amsl.com>; Wed, 24 May 2017 08:32:36 -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 0940612EB0A for <tls@ietf.org>; Wed, 24 May 2017 08:32:36 -0700 (PDT)
Received: by mail-yw0-x22e.google.com with SMTP id l74so91022235ywe.2 for <tls@ietf.org>; Wed, 24 May 2017 08:32:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=mWnk5ZJewVfH/xTJBc8jDV0vGTDP0KnRHMjJXRg7EJY=; b=XBHav5/B5thILCWJbpTmuvHVAmW1ueEAL5dkCKd40AqcCAf08NdXPQ8tDyyTgnMp7e vP+5FhDLYQnK+bJEr15+hjZ6Q/C6QEmUfZ6fhb56o7fgSmzSoBAuAMQ74HWtrPNQXiDy XvtZqk+DmVhfFYs/hRkOkjTExYF2PdnX6q0h0ky98OGb9H54gp3LcdWRk4X/X+fmFxtJ Q1aTfJ2nUXKgf21b3PVFNgA3DK4tl643GevVs5+yZzA+fUKdD0ym6WxtFFoDTcqxTXrV LSxMgydCAQ3+UBTuBSW420UQ90cjrkEvGM7Q53+rvLTyNoBvZhrbFJMXJYKHUBe3QsK+ 2UFg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=mWnk5ZJewVfH/xTJBc8jDV0vGTDP0KnRHMjJXRg7EJY=; b=d965y8DvOw+mD47PrH3ekNmXYT+Rr+fIgt03JnLLlbkq0UPxMnS00eSSIE2GWPcDDp 46WPPTGKYk+i3pp1Xd2wOqMYRkkKTcN3pK9qdh7hiLa+P5VKz8tLDKWUSbqksS24M3m/ 0Uo3hF7MlXQAaOMMyQ6CTX/t2oba8LjK1jh3X9sMEYLlgImNY32pGNdZAiEgS2wVR38k qFD4Jjyc8vBknt7XNq1wKIXMLCzQADyvzOKc9JdtsmGdwbQkpUbWxkl+UPrOw9kC60tA qGWQnWr2d7x39R15tgNThzsTxMrsWhVw8gPPs5g+9WHmXQw42+2KePoYDKj56XPV3sjk S+cA==
X-Gm-Message-State: AODbwcA+XynmoF1fGcoDamN/wLP8CQOxJYyWqvOMZD7w5nRUSD8l4aXI f4htSYqeArEOUD8UCk/u6qSWALjy8Ldp
X-Received: by 10.129.96.69 with SMTP id u66mr30648341ywb.241.1495639955134; Wed, 24 May 2017 08:32:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.93.70 with HTTP; Wed, 24 May 2017 08:32:34 -0700 (PDT)
In-Reply-To: <20170524143042.GA31858@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <071fb4df-56e6-d82a-87de-3db084235021@akamai.com> <20170524143042.GA31858@LK-Perkele-V2.elisa-laajakaista.fi>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 24 May 2017 08:32:34 -0700
Message-ID: <CAAF6GDf5MtnX+45BPyFDGcE+QW5a3-cEZ-6CDPSDWD+8HZ5J=g@mail.gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: Benjamin Kaduk <bkaduk@akamai.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a11471c003d533b055046d096"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Bc-qoFKeeHUm9AYmeGaFB-qC8Ws>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 15:32:41 -0000

--001a11471c003d533b055046d096
Content-Type: text/plain; charset="UTF-8"

On Wed, May 24, 2017 at 7:30 AM, Ilari Liusvaara <ilariliusvaara@welho.com>
wrote:
>
> > Right, this would bring replays down from the millions hypothesized for
> > the weak time-based thing to more like tens, which is kind of in the
> > regime that we are currently in with (at least some) application
> behavior.
>
> Actually, even tens of replays at TLS level is quite dangerous,
> especially if to different servers (bad information leaks via cache
> attacks).
>

It hard stops replays, but does nothing about retries, and I think that's
ok. The client is in much more control of retries, and it's similar (if not
identical) to what can happen today with an interrupted TCP or TLS
connection. If a client permits hundreds, or millions of forced retries, I
think that's more appropriately handled at the client/application level,
but keep in mind there are typically seconds between the retries and the
rate of attack is slow.

Replays are when an attacker can send the same data at-will and it's
completely unknown to the client, it can happen out of band over different
network connectivity, in a very short and sharp interval of time, possibly
even to different server endpoints, and can be used by attackers to gather
information. These I think need to be mitigated at the TLS level; and
should be hard-stopped.

> Another crazy idea would be to just say that servers MUST limit the use
> > of a single binder to at most 100 times, with the usual case being just
> > once, to allow for alternative designs that have weaker distributed
> > consensus requirements (but still describe these current two methods as
> > examples of ways to do so).
>
> You actually need strong distributed consensus about all accepted
> 0-RTT here.
>

This pattern doesn't need strong consensus. If you have 10 servers, you
could give each 10 goes at the ticket, and let each exhaust its 10 attempts
without any coordination or consensus. You likely won't get to "exactly
100", but you will get to "at most 100 times".

But the inner critical section would be inherently more complicated.  For
the at most once case we need to a critical section that performs an
exclusive-read-and-delete atomically. It's a mutex lock or a clever
construction of atomic instructions.  For "at most N" we now need to
perform a decrement and write in the critical section, and it becomes more
like a semaphore.

It's probably not a pattern that's worth the trade-offs.

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 24, 2017 at 7:30 AM, Ilari Liusvaara <span dir=3D"ltr">&lt;=
<a href=3D"mailto:ilariliusvaara@welho.com" target=3D"_blank">ilariliusvaar=
a@welho.com</a>&gt;</span> wrote:<blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=
=3D"">
&gt; Right, this would bring replays down from the millions hypothesized fo=
r<br>
&gt; the weak time-based thing to more like tens, which is kind of in the<b=
r>
&gt; regime that we are currently in with (at least some) application behav=
ior.<br>
<br>
</span>Actually, even tens of replays at TLS level is quite dangerous,<br>
especially if to different servers (bad information leaks via cache<br>
attacks).<br></blockquote><div><br></div><div>It hard stops replays, but do=
es nothing about retries, and I think that&#39;s ok. The client is in much =
more control of retries, and it&#39;s similar (if not identical) to what ca=
n happen today with an interrupted TCP or TLS connection. If a client permi=
ts hundreds, or millions of forced retries, I think that&#39;s more appropr=
iately handled at the client/application level, but keep in mind there are =
typically seconds between the retries and the rate of attack is slow.=C2=A0=
</div><div><br></div><div>Replays are when an attacker can send the same da=
ta at-will and it&#39;s completely unknown to the client, it can happen out=
 of band over different network connectivity, in a very short and sharp int=
erval of time, possibly even to different server endpoints, and can be used=
 by attackers to gather information. These I think need to be mitigated at =
the TLS level; and should be hard-stopped.=C2=A0</div><div><br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex"><span class=3D"">
&gt; Another crazy idea would be to just say that servers MUST limit the us=
e<br>
&gt; of a single binder to at most 100 times, with the usual case being jus=
t<br>
&gt; once, to allow for alternative designs that have weaker distributed<br=
>
&gt; consensus requirements (but still describe these current two methods a=
s<br>
&gt; examples of ways to do so).<br>
<br>
</span>You actually need strong distributed consensus about all accepted<br=
>
0-RTT here.<br></blockquote><div><br></div><div>This pattern doesn&#39;t ne=
ed strong consensus. If you have 10 servers, you could give each 10 goes at=
 the ticket, and let each exhaust its 10 attempts without any coordination =
or consensus. You likely won&#39;t get to &quot;exactly 100&quot;, but you =
will get to &quot;at most 100 times&quot;.=C2=A0</div><div><br></div><div>B=
ut the inner critical section would be inherently more complicated.=C2=A0 F=
or the at most once case we need to a critical section that performs an exc=
lusive-read-and-delete atomically. It&#39;s a mutex lock or a clever constr=
uction of atomic instructions.=C2=A0 For &quot;at most N&quot; we now need =
to perform a decrement and write in the critical section, and it becomes mo=
re like a semaphore.=C2=A0</div><div><br></div><div>It&#39;s probably not a=
 pattern that&#39;s worth the trade-offs.=C2=A0</div></div><div><br></div>-=
- <br><div class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Col=
m</div>
</div></div>

--001a11471c003d533b055046d096--


From nobody Wed May 24 08:59:36 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B03812946F; Wed, 24 May 2017 08:59:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.398
X-Spam-Level: 
X-Spam-Status: No, score=-2.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 hee5lj4vdXFc; Wed, 24 May 2017 08:59:30 -0700 (PDT)
Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (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 D5506127011; Wed, 24 May 2017 08:59:29 -0700 (PDT)
Received: by mail-lf0-x234.google.com with SMTP id a5so56604373lfh.2; Wed, 24 May 2017 08:59:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=AKkUKPlHlY+7TkGn1QAcx87IKnM88ueIDY2AsVtXLYA=; b=CAESolledilAfjh7iUxgpXcOGg0utlfGsfeI/FrAcUgcUL8y+OEgcLt7toJ/9oZg+r qhactRLqSMwNU23u92s0eGzh0GogmBlpx0G17gnwObT5BBoEGuCteJQ3Jqrrin07wFyp uFenrwirv2liDsQh54oorDkpFy/dvVuEWAtfQywaV2HXO+4KQndCUTj1/PQXTD4a7Hnq 9rhRWYn6QCS9JhsEYC3S7KjerJ8e7Z/hep0UQD1hjt71UGB38mPnBGheiLi2WSBhWzJ2 OObYVLj9oxy8b13ej4OSAtBHmCByoqcDYsIKMlyYYv3jIowo7oh9FOSCN39M3OkDG5mH Wycg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=AKkUKPlHlY+7TkGn1QAcx87IKnM88ueIDY2AsVtXLYA=; b=t8X8iTD9p5s//omzsC/qL7f2kIMPvRLvbRejPeFrqigp/le+XtlSflxQSbKu+DSNHL aqjXP+YGlZ8c9y3g1GwdL8/v0Z+b74NP2yzXf/xVcUzTfG3lrY9OiqEcnVbnr2f6jCDr 0EIjjoSodqlzAVUA06gcRA4SGBoWmk6KWnRMTkv5nofBwxgPXZ85ewtFAeYWTdPL6roi AVc/D5qNlVI8QNK1v6fm2N4NM3kGdAL6tXtJYSycO0u3dX4QSkz+xOaCk00bebuHEbZw GQh6QGIj2uYWEiu09a9nZP1td5fI6oWIGndlpWpbuhZNQ6EJgcufgXMOSmyZ4dPlUqyv UFYQ==
X-Gm-Message-State: AODbwcDBugyEiAB9eEOPSDEr+M6usOaqg1C3TQyZsmfM8a01ljADh8xr yGv0BXPNtve7dz9D301efzegVC+Py4Og
X-Received: by 10.25.104.5 with SMTP id d5mr10652566lfc.147.1495641567966; Wed, 24 May 2017 08:59:27 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Wed, 24 May 2017 08:59:27 -0700 (PDT)
In-Reply-To: <CAOgPGoBzZ9e4amR0q2tHMqjErqWZFd17noqtUkmYHQg3a1Cm7g@mail.gmail.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com> <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com> <CADZyTknmXE6UW5e9SbSwwSUZWU-wHw_+9sTB_xnYUmo8KBOJxg@mail.gmail.com> <CADZyTk=K8dzYaEL3TBjHMzsHnF+X52RvZiUsSBJQmNi0CkH=CA@mail.gmail.com> <CABkgnnVq8N+vEXZ-=yU+EWR9GYTh9K64D8MP0Yu7Pn0enE=iRQ@mail.gmail.com> <CADZyTknBzV6Z_wwBtPw-=9VOw1Z0X8UQPRorwvg_cRQuRNFQLw@mail.gmail.com> <CAOgPGoBzZ9e4amR0q2tHMqjErqWZFd17noqtUkmYHQg3a1Cm7g@mail.gmail.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Wed, 24 May 2017 11:59:27 -0400
X-Google-Sender-Auth: w-cxFBOs2QAfmhlSBIvkDTqoNgI
Message-ID: <CADZyTkkpBRSKQLP7GK9k9Zz5sd3Fp3B039WXnfQQRPu9dcvaDQ@mail.gmail.com>
To: Joseph Salowey <joe@salowey.net>
Cc: Martin Thomson <martin.thomson@gmail.com>, Eric Rescorla <ekr@rtfm.com>,  tls-chairs <tls-chairs@ietf.org>, The IESG <iesg@ietf.org>, tls <tls@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: multipart/alternative; boundary="f403045e589c5ec17b0550473008"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/YGTw6qw4y6NUT1zfYGbOX01zhLI>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 15:59:35 -0000

--f403045e589c5ec17b0550473008
Content-Type: text/plain; charset="UTF-8"

Hi,

Thank Joe for the clarification. I removed section 4 and instead have the
following section 3. This is the version 06.

I will post it as soon as the datatracker allows me to submit a new
version, so please let me know if that address all concerns.

Yours,
Daniel

3.  ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites

   The cipher suites defined in this document are based on the AES-GCM
   and AES-CCM Authenticated Encryption with Associated Data (AEAD)
   algorithms AEAD_AES_128_GCM, AEAD_AES_256_GCM and AEAD_AES_128_CCM
   defined in [RFC5116], and AEAD_AES_128_CCM_8 defined in [RFC6655].

   Messages and premaster secret construction in this document are
   defined in [RFC5489].  The ServerKeyExchange and ClientKeyExchange
   messages are used and the premaster secret is computed as for the
   ECDHE_PSK key exchange.  The elliptic curve parameters used in in the
   Diffie-Hellman parameters are negotiated using extensions defined in
   [I-D.ietf-tls-rfc4492bis].

   For TLS 1.2, the following cipher suites are defined:

   TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256   = {0xTBD,0xTBD};
   TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384   = {0xTBD,0xTBD};
   TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256 = {0xTBD,0xTBD};
   TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256   = {0xTBD,0xTBD};

   The assigned code points can only be used for TLS 1.2.

   The cipher suites defined in this document MUST NOT be negotiated for
   any version of (D)TLS other than TLS 1.2.  Servers MUST NOT select
   one of these cipher suites when selecting TLS version other than TLS
   1.2.  A client MUST treat the selection of these cipher suites in
   combination with a different version of TLS as an error and generate
   a fatal 'illegal_parameter' TLS alert.

   Cipher suites TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
   TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are used to
   support equivalent functionality in TLS 1.3 [I-D.ietf-tls-tls13].



On Wed, May 24, 2017 at 11:03 AM, Joseph Salowey <joe@salowey.net> wrote:

> Hi Daniel,
>
> Thanks for putting this revision together.  The original text in draft 4
> went beyond the scope of what should be in the document (I was too hasty in
> my review of the document and discussion on the list).   Your current
> proposal is an improvement, but it still discusses behavior that could
> either conflict with other documents or discusses behavior that is not in
> scope.
>
> My suggestion is to replace section 4 with the following paragraph (I
> think this is similar to what Martin suggests):
>
> "The cipher suites defined in this document MUST NOT be negotiated for any
> version of (D)TLS other than TLS 1.2.  Servers MUST NOT select one of these
> cipher suites when selecting TLS version other than TLS 1.2.  A client MUST
> treat the selection of these cipher suites in combination with a different
> version of TLS as an error and generate a fatal 'illegal_parameter' TLS
> alert."
>
> I think it would also be OK to add the following to point readers to
> equivalent ciphers in 1.3.  Here is some suggested text that could go in
> the revised section 4:
>
> "Cipher suites TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
> TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are used to support
> equivalent functionality in TLS 1.3 [TLS 1.3]."
>
> Thanks,
>
> Joe
>
>
> On Wed, May 24, 2017 at 7:04 AM, Daniel Migault <
> daniel.migault@ericsson.com> wrote:
>
>> Hi Martin,
>>
>> Thank you for your review. Some comment were about text in the
>> applicability section. I think I agree with you that this section details
>> and clarifies  the following sentence of the previous section:  """ The
>> assigned code points can only be used for TLS 1.2.""". Most of the text of
>> this section has been added in order to address comments, thus in order to
>> make this section helpful for many readers, I prefer to keep most of the
>> text you mentioned as not useful.
>>
>> Please see inline for more detail responses and let me know if that
>> address your comments.
>>
>> Yours,
>> Daniel
>>
>> On Wed, May 24, 2017 at 12:09 AM, Martin Thomson <
>> martin.thomson@gmail.com> wrote:
>>
>>> Hi Daniel,
>>>
>>> This removes the offending text.
>>>
>>> This is incorrect:
>>>
>>> > Clients MUST NOT offer one of these cipher suites with a (D)TLS
>>> version that differs from TLS 1.2.
>>>
>>> It should be possible to offer these when attempting to negotiate TLS
>>> 1.3.  The server simply cannot negotiate these cipher suites if it
>>> chooses to use 1.3.  I'd remove that sentence (and the one following
>>> it, since it's redundant with the first sentence of the paragraph).
>>>
>>> My understanding is that you suggest to remove "Clients MUST NOT offer
>> one ..." for the following reasons:
>>
>> A) it is redundant with the first sentence of the paragraph: "The cipher
>> suites defined in this document MUST NOT be negotiated ...".  This sentence
>> clarifies on the client side what "MUST NOT be negotiated" means, and the
>> same is done for the server side. If we provide clarification for the
>> server side, I would prefer to keep a clarification for the client side as
>> well.
>>
>> B) It is not true as TLS1.3 enables these cipher suites to be negotiated
>> with TLS1.3. In the text cipher suites stands for the cipher suites code
>> points of the IANA registry.  Maybe we can have a better wording. However I
>> believe the next paragraph clarifies that TLS1.3 negotiates these ciphers
>> suites in a different way. Would the following wording address your
>> comment. If so I will update the section to remove the confusion.
>>
>> "Clients MUST NOT offer one of the cipher suites code points defined in
>> the document with a (D)TLS version that differs from TLS 1.2."
>>
>> The text in question is:
>> """
>>    The cipher suites defined in this document MUST NOT be negotiated for
>>    any version of (D)TLS other than TLS 1.2.  Clients MUST NOT offer one
>>    of these cipher suites with a (D)TLS version that differs from TLS
>>    1.2.  Servers MUST NOT select one of these cipher suites with a TLS
>>    version that differs from TLS 1.2.  A client MUST treat the selection
>>    of these cipher suites in combination with a version of TLS as an
>>    error and generate a fatal 'illegal_parameter' TLS alert.
>>
>> """
>>
>>
>>> As others have noted, the paragraph about TLS 1.3 isn't helpful and
>>> should be removed.
>>>
>>>
>> Suggestion to remove TLS1.3 related text was to clarify that the cipher
>> suites were only defined for TLS1.2. Unless I missed something we have
>> removed most of the text that could cause confusion. On the other hand,
>> TLS1.3 has been designed, and we also have received comments to position
>> the defined cipher suites toward TLS1.3 as we do fro TLS1.0 and TLS1.1.
>> This is the intent of the remaining text mentioning TLS1.3.
>>
>> In the applicable version section, the text for TLS1.3 is intended to
>> clarify why the cipher suites are restricted to TLS1.2. I believe this is
>> useful for readers not so familiar with TLS1.3 that may not be aware of how
>> TLS1.3 negotiate ciphers. My personal opinion is that it might be better to
>> have it explicit rather than implicit, and I would prefer to keep the text
>> below:
>>
>> """
>>    TLS version 1.3 and later negotiate these features in a different
>>    manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and cipher
>>    suite negotiation [I-D.ietf-tls-tls13] Section 1.2.  TLS 1.3 supports
>>    PSK with ECDHE key exchange and the cipher suites
>>    TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
>>    TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
>>    specification.  As a result, TLS 1.3 and higher versions, negotiate
>>    and support these cipher suites in a different way.
>>
>> """
>>
>>
>>
>>
>>> This:
>>>
>>> > In addition, it is worth noting that TLS 1.0 [RFC2246] and TLS 1.2
>>> [RFC4346] split the pre-master into two  parts.  The PRF results from
>>> mixing the two pseudorandom streams with distinct hash functions (MD5 and
>>> SHA-1) by exclusive-ORing them together.
>>>
>>> You mean TLS 1.1 rather than 1.2.  But as with the former paragraph,
>>> talking about the limitations of TLS versions that you explicitly
>>> don't support isn't useful.  Remove this paragraph also.
>>>
>>>
>> Yes that is TLS1.1. I updated it. I believe the text is useful as it
>> provides a clear justification on why it should not be used on TLS version
>> lower than 1.2. More specifically, previous version do not support AEAD,
>> but this may not prevent someone using AEAD with these versions. The reason
>> provided is not AEAD related but PSK related. I believe it is useful to
>> explicitly justify why the cipher suites defined in the document should not
>> be used with previous TLS versions. The text has bee suggested by the
>> secdir and I would prefer to keep it, unless there is a strong willingness
>> to remove it.
>>
>>
>>> Nits:
>>> s/pre-master(| secret)/premaster secret/g
>>>
>>
>> Corrected: The text only have premaster secret.
>>
>>
>>> You don't anywhere state that TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256
>>> means to use AEAD_AES_128_GCM (and the same for the other
>>> ciphersuites).  I mention this because the order in which the AEAD
>>> algorithms are mentioned is different to the order of the ciphersuites
>>> in the list.
>>>
>>>
>> Unless I miss your comment, I believe the section 3 already addresses it.
>> If not please let me knoe what text you would like to see.
>>
>> """
>> 3.  ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites
>>
>>    The cipher suites defined in this document are based on the AES-GCM
>>    and AES-CCM Authenticated Encryption with Associated Data (AEAD)
>>    algorithms AEAD_AES_128_GCM, AEAD_AES_256_GCM and AEAD_AES_128_CCM
>>    defined in [RFC5116], and AEAD_AES_128_CCM_8 defined in [RFC6655].
>>
>> """
>>
>>>
>>> On 24 May 2017 at 12:37, Daniel Migault <daniel.migault@ericsson.com>
>>> wrote:
>>> > re-sending with the version 05 but removing the diff to be under the
>>> 100 KB
>>> > limit.
>>> > Yours,
>>> > Daniel
>>> >
>>> > On Tue, May 23, 2017 at 9:28 PM, Daniel Migault
>>> > <daniel.migault@ericsson.com> wrote:
>>> >>
>>> >> Hi Eric,
>>> >>
>>> >> Thank you for the feed backs. The version 05 contains all text
>>> changes you
>>> >> agreed. In addition, the text explaining dictionary/brute force has
>>> been
>>> >> removed and replace by a reference to 4279. The recommendation
>>> regarding to
>>> >> all PSK ciphers has been limited to the one of the document.  Please
>>> see
>>> >> inline for more details.
>>> >>
>>> >> For some reasons I am not able to validate the submission of version
>>> 05. I
>>> >> have attached the diff with version 04 as well as the locally
>>> generated
>>> >> version 05.
>>> >>
>>> >> Yours,
>>> >> Daniel
>>> >>
>>> >> On Tue, May 23, 2017 at 7:40 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Wed, May 24, 2017 at 6:00 AM, Daniel Migault
>>> >>> <daniel.migault@ericsson.com> wrote:
>>> >>>>
>>> >>>> Hi Eric,
>>> >>>>
>>> >>>> Thank you for your reviews. Please see my responses inline. If you
>>> agree
>>> >>>> with the text I will update the draft.
>>> >>>>
>>> >>>> Yours,
>>> >>>> Daniel
>>> >>>>
>>> >>>> On Mon, May 22, 2017 at 10:11 PM, Eric Rescorla <ekr@rtfm.com>
>>> wrote:
>>> >>>>>
>>> >>>>> Eric Rescorla has entered the following ballot position for
>>> >>>>> draft-ietf-tls-ecdhe-psk-aead-04: Discuss
>>> >>>>>
>>> >>>>> When responding, please keep the subject line intact and reply to
>>> all
>>> >>>>> email addresses included in the To and CC lines. (Feel free to cut
>>> this
>>> >>>>> introductory paragraph, however.)
>>> >>>>>
>>> >>>>>
>>> >>>>> Please refer to
>>> >>>>> https://www.ietf.org/iesg/statement/discuss-criteria.html
>>> >>>>> for more information about IESG DISCUSS and COMMENT positions.
>>> >>>>>
>>> >>>>>
>>> >>>>> The document, along with other ballot positions, can be found here:
>>> >>>>> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> ------------------------------------------------------------
>>> ----------
>>> >>>>> DISCUSS:
>>> >>>>> ------------------------------------------------------------
>>> ----------
>>> >>>>>
>>> >>>>> The following text appears to have been added in -04
>>> >>>>>
>>> >>>>>    A server receiving a ClientHello and a client_version indicating
>>> >>>>>    (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites
>>> from
>>> >>>>>    this document in ClientHello.cipher_suites can safely assume
>>> that
>>> >>>>> the
>>> >>>>>    client supports TLS 1.2 and is willing to use it.  The server
>>> MUST
>>> >>>>>    NOT negotiate these cipher suites with TLS protocol versions
>>> earlier
>>> >>>>>    than TLS 1.2.  Not requiring clients to indicate their support
>>> for
>>> >>>>>    TLS 1.2 cipher suites exclusively through
>>> ClientHello.client_hello
>>> >>>>>    improves the interoperability in the installed base and use of
>>> TLS
>>> >>>>>    1.2 AEAD cipher suites without upsetting the installed base of
>>> >>>>>    version-intolerant TLS servers, results in more TLS handshakes
>>> >>>>>    succeeding and obviates fallback mechanisms.
>>> >>>>>
>>> >>>>> This is a major technical change from -03, which, AFAIK, prohibited
>>> >>>>> the server from negotiating these algorithms with TLS 1.1 and below
>>> >>>>> and maintained the usual TLS version 1.2 negotiation rules.
>>> >>>>>
>>> >>>>> This is a very material technical change. I don't consider it wise,
>>> >>>>> but in any case it would absolutely need WG consensus, which I
>>> >>>>> don't believe that it has given the recent introduction.
>>> >>>>
>>> >>>>
>>> >>>> I agree that the text is a technical change, and that it may not be
>>> >>>> appropriated to do so now. The reason I included it was that it was
>>> conform
>>> >>>> to the previous text, but I agree that implicit assumption of
>>> version 1.2
>>> >>>> may need some additional discussion especially regarding RFC5246
>>> Appendix E.
>>> >>>> Unless you prefer further discussion I assume the text below
>>> address your
>>> >>>> concern.
>>> >>>>
>>> >>>> <t>The cipher suites defined in this document MUST NOT be
>>> negotiated for
>>> >>>> any version of (D)TLS other than TLS 1.2. Clients MUST NOT offer
>>> one of
>>> >>>> these cipher suites with a (D)TLS version that differs from TLS
>>> 1.2. Servers
>>> >>>> MUST NOT select one of these cipher suites with a TLS version that
>>> differs
>>> >>>> from TLS 1.2. A client MUST treat the selection of these cipher
>>> suites in
>>> >>>> combination with a version of TLS as an error and generate a fatal
>>> >>>> 'illegal_parameter' TLS alert. </t>
>>> >>>
>>> >>>
>>> >>> Yes, this seems fine
>>> >>>
>>> >>>
>>> >>>>> The discussion of dictionary attacks here seems inferior to that
>>> >>>>> in 4279. In particular, you only need to actively attack one
>>> >>>>> connection to capture the data you need for a brute force attack
>>> >>>>> despite the text there referring to trying "different keys".
>>> >>>>> Please correct that.
>>> >>>>>
>>> >>>> I believe the text below address your concern:
>>> >>>>
>>> >>>> OLD:
>>> >>>> <t>Use of Pre-Shared Keys of limited entropy may allow an active
>>> >>>> attacker attempts to connect to the server and try different keys.
>>> >>>> For example, limited entropy may be provided by using a short PSK in
>>> >>>> which
>>> >>>> case an attacker may perform a brute-force attack. Another example
>>> >>>> includes the use of a PSK  chosen by a human which thus may be
>>> exposed
>>> >>>> to
>>> >>>> dictionary attacks.</t>
>>> >>>>
>>> >>>> NEW:
>>> >>>> <t>Pre-Shared Keys security relies on its associated entropy, and
>>> it is
>>> >>>> RECOMMENDED to follow <xref target="4086"/> to ensure the PSK has
>>> enough
>>> >>>> entropy. Possible reasons for low entropy includes PSK chosen by
>>> humans or
>>> >>>> PSK of small length as well as using random generators with limited
>>> entropy.
>>> >>>> </t>
>>> >>>>
>>> >>>> <t>PSK of limited entropy may allow an attacker to test different
>>> PSK
>>> >>>> values against a valid output such as master secret or any output
>>> derived
>>> >>>> from it. In this document, the master secret is generated using the
>>> PSK as
>>> >>>> well as the ECDHE shared secret. The use of ECDHE limits the
>>> possibilities
>>> >>>> of passive eavesdropping attackers, as the ECDHE shared secret is
>>> not
>>> >>>> expected to be derived from the observed ECDH parameters. As a
>>> result,
>>> >>>> passive eavesdropping is unlikely to happen, and the collection of
>>> all
>>> >>>> necessary material relies on an active attack.
>>> >>>> An active attacker may collect the necessary material by setting a
>>> TLS
>>> >>>> session as a client with the legitimate server. One PSK is tested
>>> for each
>>> >>>> session, and a match occurs when key exchange succeeds. On the
>>> other hand,
>>> >>>> an active attacker may also consider gathering the necessary
>>> information for
>>> >>>> offline computation. One way consists in getting a legitimate
>>> client to
>>> >>>> establish a connection with the attacker. It is also assumed that
>>> the client
>>> >>>> will accept the ECDH parameters authenticated by the attacker's
>>> private key
>>> >>>> and finally returns the Finished message authenticating the
>>> exchange. The
>>> >>>> attacker will be then in possession of all the necessary
>>> information to
>>> >>>> perform a brute force attack.</t>
>>> >>>
>>> >>>
>>> >>> Is there a reason to not just point directly to the 4279 security
>>> >>> considerations?
>>> >>
>>> >>
>>> >> No, basically I tried to complete the previous text that missed the
>>> >> offline use case. The current version just point to 4279, without
>>> having the
>>> >> above text. If you think the text above is clarifying I can add it as
>>> well.
>>> >>>
>>> >>> -
>>> >>>>
>>> >>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> ------------------------------------------------------------
>>> ----------
>>> >>>>> COMMENT:
>>> >>>>> ------------------------------------------------------------
>>> ----------
>>> >>>>>
>>> >>>>> The citations to TLS 1.3 still seem pretty muddled. I think you
>>> >>>>> should just stop referencing and discussing 1.3.
>>> >>>>
>>> >>>>
>>> >>>> My understanding of your comment is that mentioning TLS 1.3 to
>>> further
>>> >>>> insisting that the code point are not valid for TLS 1.3 is
>>> confusing. I
>>> >>>> propose to:
>>> >>>>
>>> >>>> Explicitly mention the TLS version in the title:
>>> >>>>
>>> >>>> OLD title:
>>> >>>> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
>>> >>>> Security (TLS)
>>> >>>>
>>> >>>> NEW title:
>>> >>>> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
>>> >>>> Security (TLS)
>>> >>>>
>>> >>>> OLD Introduction:
>>> >>>>
>>> >>>>     The cipher
>>> >>>>    suites are defined for version 1.2 of the Transport Layer
>>> Security
>>> >>>>    (TLS) [RFC5246] protocol, version 1.2 of the Datagram Transport
>>> Layer
>>> >>>>    Security (DTLS) protocol [RFC6347], as well as version 1.3 of TLS
>>> >>>>    [I-D.ietf-tls-tls13].
>>> >>>>
>>> >>>> NEW introduction
>>> >>>>
>>> >>>> The cipher
>>> >>>>    suites are defined for version 1.2 of the Transport Layer
>>> Security
>>> >>>>    (TLS) [RFC5246] protocol, version 1.2 of the Datagram Transport
>>> Layer
>>> >>>>    Security (DTLS) protocol [RFC6347].
>>> >>>>
>>> >>>>
>>> >>>> I suggest to keep the following text of the introduction:
>>> >>>>
>>> >>>>
>>> >>>> AEAD algorithms that combine encryption and integrity protection are
>>> >>>>    strongly recommended for (D)TLS [RFC7525] and non-AEAD
>>> algorithms are
>>> >>>>    forbidden to use in TLS 1.3 [I-D.ietf-tls-tls13].  The AEAD
>>> >>>>    algorithms considered in this document are AES-GCM and AES-CCM.
>>> The
>>> >>>>    use of AES-GCM in TLS is defined in [RFC5288] and the use of
>>> AES-CCM
>>> >>>>    is defined in [RFC6655].
>>> >>>
>>> >>>
>>> >>> Yes, this seems fine.
>>> >>>
>>> >>>
>>> >>>>
>>> >>>> I suggest to keep the following text of the Applicable versions
>>> >>>> sections, as I believe the section discusses the cipher suites
>>> against all
>>> >>>> existing TLS versions. In addition, it also justifies somewhat that
>>> we only
>>> >>>> defined cipher suites that are compatible with TLS1.3.
>>> >>>>
>>> >>>>    TLS version 1.3 and later negotiate these features in a different
>>> >>>>    manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and
>>> cipher
>>> >>>>    suite negotiation [I-D.ietf-tls-tls13] Section 1.2.  TLS 1.3
>>> supports
>>> >>>>    PSK with ECDHE key exchange and the cipher suites
>>> >>>>    TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
>>> >>>>    TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of
>>> the
>>> >>>>    specification.  As a result, TLS 1.3 and higher versions,
>>> negotiate
>>> >>>>    and support these cipher suites in a different way.
>>> >>>
>>> >>>
>>> >>> OK.
>>> >>>
>>> >>>>
>>> >>>> I suggest to remove the reference to TLS1.3 in the security
>>> >>>> considerations
>>> >>>>
>>> >>>> OLD
>>> >>>>
>>> >>>>  The security considerations in TLS 1.2 [RFC5246], DTLS 1.2
>>> [RFC6347],
>>> >>>>    TLS 1.3 [I-D.ietf-tls-tls13], ECDHE_PSK [RFC5489], AES-GCM
>>> [RFC5288],
>>> >>>>    and AES-CCM [RFC6655] apply to this document as well.
>>> >>>>
>>> >>>> NEW
>>> >>>>
>>> >>>>  The security considerations in TLS 1.2 [RFC5246], DTLS 1.2
>>> [RFC6347],
>>> >>>>  ECDHE_PSK [RFC5489], AES-GCM [RFC5288],and AES-CCM [RFC6655] apply
>>> >>>>  to this document as well.
>>> >>>>>
>>> >>>>>
>>> >>>>> S 2.
>>> >>>>> I'm not sure that the discussion of the PRF is helpful here in
>>> >>>>> mandating the non-use of these cipher suites with TLS 1.1 and
>>> >>>>> below.
>>> >>>>
>>> >>>>
>>> >>>> I find the text useful as it gives an idea why even introducing
>>> AEAD in
>>> >>>> TLS version lower than 1.2 is a bad idea, so I would prefer to keep
>>> it. The
>>> >>>> text has been changed to
>>> >>>>
>>> >>>> OLD:
>>> >>>> As such TLS 1.0 and TLS 1.1 should not be used with ECDHE_PSK.
>>> >>>>
>>> >>>> NEW:
>>> >>>> As such,  all ECDHE_PSK
>>> >>>> ciphers, including those defined outside this document, SHOULD NOT
>>> be
>>> >>>> negotiated in TLS versions prior to 1.2.
>>> >>>
>>> >>>
>>> >>> I don't think you should be levying a new normative requirement like
>>> this
>>> >>> for other ciphers
>>> >>> i this document
>>> >>
>>> >>
>>> >> Consideration for other ciphers has been removed. The requirement is
>>> >> limited to the ciphers of the document. The new text is:
>>> >>
>>> >> As such, all ECDHE_PSK ciphers, including those defined in this
>>> document,
>>> >> SHOULD NOT be
>>> >> negotiated in TLS versions prior to 1.2.
>>> >>>
>>> >>>
>>> >>> -Ek
>>> >>> r
>>> >>>
>>> >>
>>> >
>>> >
>>> > _______________________________________________
>>> > TLS mailing list
>>> > TLS@ietf.org
>>> > https://www.ietf.org/mailman/listinfo/tls
>>> >
>>>
>>
>>
>

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

<div dir=3D"ltr"><div><div><div>Hi, <br><br></div>Thank Joe for the clarifi=
cation. I removed section 4 and instead have the following section 3. This =
is the version 06. <br><br>I will post it as soon as the datatracker allows=
 me to submit a new version, so please let me know if that address all conc=
erns. <br><br></div>Yours, <br></div>Daniel<br><div><div><div><div><br>3.=
=C2=A0 ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites<br><br>=C2=A0=C2=A0=
 The cipher suites defined in this document are based on the AES-GCM<br>=C2=
=A0=C2=A0 and AES-CCM Authenticated Encryption with Associated Data (AEAD)<=
br>=C2=A0=C2=A0 algorithms AEAD_AES_128_GCM, AEAD_AES_256_GCM and AEAD_AES_=
128_CCM<br>=C2=A0=C2=A0 defined in [RFC5116], and AEAD_AES_128_CCM_8 define=
d in [RFC6655].<br><br>=C2=A0=C2=A0 Messages and premaster secret construct=
ion in this document are<br>=C2=A0=C2=A0 defined in [RFC5489].=C2=A0 The Se=
rverKeyExchange and ClientKeyExchange<br>=C2=A0=C2=A0 messages are used and=
 the premaster secret is computed as for the<br>=C2=A0=C2=A0 ECDHE_PSK key =
exchange.=C2=A0 The elliptic curve parameters used in in the<br>=C2=A0=C2=
=A0 Diffie-Hellman parameters are negotiated using extensions defined in<br=
>=C2=A0=C2=A0 [I-D.ietf-tls-rfc4492bis].<br><br>=C2=A0=C2=A0 For TLS 1.2, t=
he following cipher suites are defined:<br><br>=C2=A0=C2=A0 TLS_ECDHE_PSK_W=
ITH_AES_128_GCM_SHA256=C2=A0=C2=A0 =3D {0xTBD,0xTBD};<br>=C2=A0=C2=A0 TLS_E=
CDHE_PSK_WITH_AES_256_GCM_SHA384=C2=A0=C2=A0 =3D {0xTBD,0xTBD};<br>=C2=A0=
=C2=A0 TLS_ECDHE_PSK_WITH_AES_128_CCM_8_SHA256 =3D {0xTBD,0xTBD};<br>=C2=A0=
=C2=A0 TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256=C2=A0=C2=A0 =3D {0xTBD,0xTBD};=
<br><br>=C2=A0=C2=A0 The assigned code points can only be used for TLS 1.2.=
<br><br>=C2=A0=C2=A0 The cipher suites defined in this document MUST NOT be=
 negotiated for<br>=C2=A0=C2=A0 any version of (D)TLS other than TLS 1.2.=
=C2=A0 Servers MUST NOT select<br>=C2=A0=C2=A0 one of these cipher suites w=
hen selecting TLS version other than TLS<br>=C2=A0=C2=A0 1.2.=C2=A0 A clien=
t MUST treat the selection of these cipher suites in<br>=C2=A0=C2=A0 combin=
ation with a different version of TLS as an error and generate<br>=C2=A0=C2=
=A0 a fatal &#39;illegal_parameter&#39; TLS alert.<br><br>=C2=A0=C2=A0 Ciph=
er suites TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,<br>=C2=A0=C2=A0 T=
LS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are used to<br>=C2=A0=C2=
=A0 support equivalent functionality in TLS 1.3 [I-D.ietf-tls-tls13].<br><b=
r><br></div></div></div></div></div><div class=3D"gmail_extra"><br><div cla=
ss=3D"gmail_quote">On Wed, May 24, 2017 at 11:03 AM, Joseph Salowey <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:joe@salowey.net" target=3D"_blank">joe@sal=
owey.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=
=3D"ltr"><div class=3D"gmail_extra">Hi Daniel,</div><div class=3D"gmail_ext=
ra"><br></div><div class=3D"gmail_extra">Thanks for putting this revision t=
ogether.=C2=A0 The original text in draft 4 went beyond the scope of what s=
hould be in the document (I was too hasty in my review of the document and =
discussion on the list). =C2=A0 Your current proposal is an improvement, bu=
t it still discusses behavior that could either conflict with other documen=
ts or discusses behavior that is not in scope.=C2=A0=C2=A0</div><div class=
=3D"gmail_extra"><br></div><div class=3D"gmail_extra">My suggestion is to r=
eplace section 4 with the following paragraph (I think this is similar to w=
hat Martin suggests):<br></div><div class=3D"gmail_extra"><br></div><font f=
ace=3D"monospace, monospace">&quot;The cipher suites defined in this docume=
nt MUST NOT be negotiated for any version of (D)TLS other than TLS 1.2.=C2=
=A0 Servers MUST NOT select one of these cipher suites when selecting TLS v=
ersion other than TLS 1.2.=C2=A0 A client MUST treat the selection of these=
 cipher suites in combination with a different version of TLS as an error a=
nd generate a fatal &#39;illegal_parameter&#39; TLS alert.&quot;=C2=A0</fon=
t><div><br></div><div>I think it would also be OK to add the following to p=
oint readers to equivalent ciphers in 1.3.=C2=A0 Here is some suggested tex=
t that could go in the revised section 4:</div><div><br></div><font face=3D=
"monospace, monospace">&quot;Cipher suites TLS_AES_128_GCM_SHA256, TLS_AES_=
256_GCM_SHA384, TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are use=
d to support equivalent functionality in TLS 1.3 [TLS 1.3].&quot;</font><di=
v><font face=3D"monospace, monospace"><br></font></div><div><font face=3D"a=
rial, helvetica, sans-serif">Thanks,</font></div><div><font face=3D"arial, =
helvetica, sans-serif"><br></font></div><div><font face=3D"arial, helvetica=
, sans-serif">Joe</font></div><div><div class=3D"h5"><div><font face=3D"mon=
ospace, monospace"><br></font><div><div class=3D"gmail_extra"><br><div clas=
s=3D"gmail_quote">On Wed, May 24, 2017 at 7:04 AM, Daniel Migault <span dir=
=3D"ltr">&lt;<a href=3D"mailto:daniel.migault@ericsson.com" target=3D"_blan=
k">daniel.migault@ericsson.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div><div><div>Hi Martin,=
 <br><br></div>Thank you for your review. Some comment were about text in t=
he applicability section. I think I agree with you that this section detail=
s and clarifies=C2=A0 the following sentence of the previous section:=C2=A0=
 &quot;&quot;&quot;   The assigned code points can only be used for TLS 1.2=
.&quot;&quot;&quot;. Most of the text of this section has been added in ord=
er to address comments, thus in order to make this section helpful for many=
 readers, I prefer to keep most of the text you mentioned as not useful. <b=
r><br>Please see inline for more detail responses and let me know if that a=
ddress your comments.<br><br></div>Yours, <br></div>Daniel<br><div><div><br=
><div><div class=3D"gmail_extra"><div class=3D"gmail_quote"><span class=3D"=
m_5396126050544189909m_8333218958734637850m_1573899747296649915gmail-">On W=
ed, May 24, 2017 at 12:09 AM, Martin Thomson <span dir=3D"ltr">&lt;<a href=
=3D"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.thomson@gmail=
.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex">Hi Daniel,<br>
<br>
This removes the offending text.<br>
<br>
This is incorrect:<br>
<span class=3D"m_5396126050544189909m_8333218958734637850m_1573899747296649=
915gmail-m_-6542767464740083122gmail-"><br>
&gt; Clients MUST NOT offer one of these cipher suites with a (D)TLS versio=
n that differs from TLS 1.2.<br>
<br>
</span>It should be possible to offer these when attempting to negotiate TL=
S<br>
1.3.=C2=A0 The server simply cannot negotiate these cipher suites if it<br>
chooses to use 1.3.=C2=A0 I&#39;d remove that sentence (and the one followi=
ng<br>
it, since it&#39;s redundant with the first sentence of the paragraph).<br>
<br></blockquote></span><div>My understanding is that you suggest to remove=
 &quot;Clients MUST NOT offer one ...&quot; for the following reasons:<br><=
br>A)
 it is redundant with the first sentence of the paragraph: &quot;The cipher=
=20
suites defined in this document MUST NOT be negotiated ...&quot;.=C2=A0 Thi=
s=20
sentence clarifies on the client side what &quot;MUST NOT be negotiated&quo=
t;=20
means, and the same is done for the server side. If we provide=20
clarification for the server side, I would prefer to keep a=20
clarification for the client side as well.=C2=A0 <br><br><div class=3D"gmai=
l_quote">B)
 It is not true as TLS1.3 enables these cipher suites to be negotiated=20
with TLS1.3. In the text cipher suites stands for the cipher suites code
 points of the IANA registry.=C2=A0 Maybe we can have a better wording.=20
However I believe the next paragraph clarifies that TLS1.3 negotiates=20
these ciphers suites in a different way. Would the following wording addres=
s your comment. If so I will update the section to remove the confusion.<br=
><br>&quot;<span class=3D"m_5396126050544189909m_8333218958734637850m_15738=
99747296649915gmail-m_-6542767464740083122gmail-">Clients MUST NOT offer on=
e of the cipher suites code points defined in the document with a (D)TLS ve=
rsion that differs from TLS 1.2.&quot;</span></div><br>The text in question=
 is:<span class=3D"m_5396126050544189909m_8333218958734637850m_157389974729=
6649915gmail-"><br>&quot;&quot;&quot;<br>=C2=A0=C2=A0 The cipher suites def=
ined in this document MUST NOT be negotiated for<br>=C2=A0=C2=A0 any versio=
n of (D)TLS other than TLS 1.2.=C2=A0 Clients MUST NOT offer one<br>=C2=A0=
=C2=A0 of these cipher suites with a (D)TLS version that differs from TLS<b=
r>=C2=A0=C2=A0 1.2.=C2=A0 Servers MUST NOT select one of these cipher suite=
s with a TLS<br>=C2=A0=C2=A0 version that differs from TLS 1.2.=C2=A0 A cli=
ent MUST treat the selection<br>=C2=A0=C2=A0 of these cipher suites in comb=
ination with a version of TLS as an<br>=C2=A0=C2=A0 error and generate a fa=
tal &#39;illegal_parameter&#39; TLS alert.<br><br>&quot;&quot;&quot;<br>=C2=
=A0</span></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
As others have noted, the paragraph about TLS 1.3 isn&#39;t helpful and<br>
should be removed.<br>
<br></blockquote><div><br></div><div>Suggestion to remove TLS1.3 related te=
xt was to clarify that the cipher suites were only defined for TLS1.2. Unle=
ss I missed something we have removed most of the text that could cause con=
fusion. On the other hand, TLS1.3 has been designed, and we also have recei=
ved comments to position the defined cipher suites toward TLS1.3 as we do f=
ro TLS1.0 and TLS1.1. This is the intent of the remaining text mentioning T=
LS1.3. <br></div><br></div><div class=3D"gmail_quote">In the applicable ver=
sion section, the text for TLS1.3 is intended to clarify why the cipher sui=
tes are restricted to TLS1.2. I believe this is useful for  readers not so =
familiar with TLS1.3 that may not be aware of how TLS1.3=20
negotiate ciphers. My personal opinion is that it might be better to have i=
t explicit rather than implicit, and I would prefer to keep the text below:=
<br><br></div><span class=3D"m_5396126050544189909m_8333218958734637850m_15=
73899747296649915gmail-"><div class=3D"gmail_quote">&quot;&quot;&quot;<br>=
=C2=A0=C2=A0 TLS version 1.3 and later negotiate these features in a differ=
ent<br>=C2=A0=C2=A0 manner.=C2=A0 Unlike TLS 1.2, TLS 1.3 separates authent=
ication and cipher<br>=C2=A0=C2=A0 suite negotiation [I-D.ietf-tls-tls13] S=
ection 1.2.=C2=A0 TLS 1.3 supports<br>=C2=A0=C2=A0 PSK with ECDHE key excha=
nge and the cipher suites<br>=C2=A0=C2=A0 TLS_AES_128_GCM_SHA256, TLS_AES_2=
56_GCM_SHA384,<br>=C2=A0=C2=A0 TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM=
_SHA256 are part of the<br>=C2=A0=C2=A0 specification.=C2=A0 As a result, T=
LS 1.3 and higher versions, negotiate<br>=C2=A0=C2=A0 and support these cip=
her suites in a different way.<br><br>&quot;&quot;&quot; <br>=C2=A0</div><b=
r>=C2=A0</span><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote"=
 style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p=
adding-left:1ex">
This:<span class=3D"m_5396126050544189909m_8333218958734637850m_15738997472=
96649915gmail-"><br>
<br>
&gt; In addition, it is worth noting that TLS 1.0 [RFC2246] and TLS 1.2 [RF=
C4346] split the pre-master into two=C2=A0 parts.=C2=A0 The PRF results fro=
m mixing the two pseudorandom streams with distinct hash functions (MD5 and=
 SHA-1) by exclusive-ORing them together.<br>
<br>
You mean TLS 1.1 rather than 1.2.=C2=A0 But as with the former paragraph,<b=
r>
talking about the limitations of TLS versions that you explicitly<br>
don&#39;t support isn&#39;t useful.=C2=A0 Remove this paragraph also.<br>
<br></span></blockquote><div><br>Yes that is TLS1.1. I updated it. I believ=
e the text is useful as it provides a clear justification on why it should =
not be used on TLS version lower than 1.2. More specifically, previous vers=
ion do not support AEAD, but this may not prevent someone using AEAD with t=
hese versions. The reason provided is not AEAD related but PSK related. I b=
elieve it is useful to explicitly justify why the cipher suites defined in =
the document should not be used with previous TLS versions. The text has be=
e suggested by the secdir and I would prefer to keep it, unless there is a =
strong willingness to remove it. =C2=A0 =C2=A0 <br>=C2=A0 <br></div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex">
Nits:<br>
s/pre-master(| secret)/premaster secret/g<br></blockquote><div><br></div><d=
iv>Corrected: The text only have premaster secret. =C2=A0 <br></div><span c=
lass=3D"m_5396126050544189909m_8333218958734637850m_1573899747296649915gmai=
l-"><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
You don&#39;t anywhere state that TLS_ECDHE_PSK_WITH_AES_128_GCM<wbr>_SHA25=
6<br>
means to use AEAD_AES_128_GCM (and the same for the other<br>
ciphersuites).=C2=A0 I mention this because the order in which the AEAD<br>
algorithms are mentioned is different to the order of the ciphersuites<br>
in the list.<br>
<div><div class=3D"m_5396126050544189909m_8333218958734637850m_157389974729=
6649915gmail-m_-6542767464740083122gmail-h5"><br></div></div></blockquote><=
div><br></div></span><div>Unless I miss your comment, I believe the section=
 3 already addresses it. If not please let me knoe what text you would like=
 to see. <br>=C2=A0<br></div><div>&quot;&quot;&quot;<br>3.=C2=A0 ECDHE_PSK =
with AES-GCM and AES-CCM Cipher Suites<br><br>=C2=A0=C2=A0 The cipher suite=
s defined in this document are based on the AES-GCM<br>=C2=A0=C2=A0 and AES=
-CCM Authenticated Encryption with Associated Data (AEAD)<br>=C2=A0=C2=A0 a=
lgorithms AEAD_AES_128_GCM, AEAD_AES_256_GCM and AEAD_AES_128_CCM<br>=C2=A0=
=C2=A0 defined in [RFC5116], and AEAD_AES_128_CCM_8 defined in [RFC6655].<b=
r><br>&quot;&quot;&quot;=C2=A0 <br></div><div><div class=3D"m_5396126050544=
189909m_8333218958734637850m_1573899747296649915gmail-h5"><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><div><div class=3D"m_5396126050544189909m_=
8333218958734637850m_1573899747296649915gmail-m_-6542767464740083122gmail-h=
5">
<br>
On 24 May 2017 at 12:37, Daniel Migault &lt;<a href=3D"mailto:daniel.migaul=
t@ericsson.com" target=3D"_blank">daniel.migault@ericsson.com</a>&gt; wrote=
:<br>
&gt; re-sending with the version 05 but removing the diff to be under the 1=
00 KB<br>
&gt; limit.<br>
&gt; Yours,<br>
&gt; Daniel<br>
&gt;<br>
&gt; On Tue, May 23, 2017 at 9:28 PM, Daniel Migault<br>
&gt; &lt;<a href=3D"mailto:daniel.migault@ericsson.com" target=3D"_blank">d=
aniel.migault@ericsson.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Eric,<br>
&gt;&gt;<br>
&gt;&gt; Thank you for the feed backs. The version 05 contains all text cha=
nges you<br>
&gt;&gt; agreed. In addition, the text explaining dictionary/brute force ha=
s been<br>
&gt;&gt; removed and replace by a reference to 4279. The recommendation reg=
arding to<br>
&gt;&gt; all PSK ciphers has been limited to the one of the document.=C2=A0=
 Please see<br>
&gt;&gt; inline for more details.<br>
&gt;&gt;<br>
&gt;&gt; For some reasons I am not able to validate the submission of versi=
on 05. I<br>
&gt;&gt; have attached the diff with version 04 as well as the locally gene=
rated<br>
&gt;&gt; version 05.<br>
&gt;&gt;<br>
&gt;&gt; Yours,<br>
&gt;&gt; Daniel<br>
&gt;&gt;<br>
&gt;&gt; On Tue, May 23, 2017 at 7:40 PM, Eric Rescorla &lt;<a href=3D"mail=
to:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, May 24, 2017 at 6:00 AM, Daniel Migault<br>
&gt;&gt;&gt; &lt;<a href=3D"mailto:daniel.migault@ericsson.com" target=3D"_=
blank">daniel.migault@ericsson.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi Eric,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thank you for your reviews. Please see my responses inline=
. If you agree<br>
&gt;&gt;&gt;&gt; with the text I will update the draft.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Yours,<br>
&gt;&gt;&gt;&gt; Daniel<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Mon, May 22, 2017 at 10:11 PM, Eric Rescorla &lt;<a hre=
f=3D"mailto:ekr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Eric Rescorla has entered the following ballot positio=
n for<br>
&gt;&gt;&gt;&gt;&gt; draft-ietf-tls-ecdhe-psk-aead-<wbr>04: Discuss<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; When responding, please keep the subject line intact a=
nd reply to all<br>
&gt;&gt;&gt;&gt;&gt; email addresses included in the To and CC lines. (Feel=
 free to cut this<br>
&gt;&gt;&gt;&gt;&gt; introductory paragraph, however.)<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Please refer to<br>
&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/iesg/statement/discuss=
-criteria.html" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/i=
esg/stat<wbr>ement/discuss-criteria.html</a><br>
&gt;&gt;&gt;&gt;&gt; for more information about IESG DISCUSS and COMMENT po=
sitions.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The document, along with other ballot positions, can b=
e found here:<br>
&gt;&gt;&gt;&gt;&gt; <a href=3D"https://datatracker.ietf.org/doc/draft-ietf=
-tls-ecdhe-psk-aead/" rel=3D"noreferrer" target=3D"_blank">https://datatrac=
ker.ietf.org/d<wbr>oc/draft-ietf-tls-ecdhe-psk-ae<wbr>ad/</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ------------------------------<wbr>-------------------=
-----------<wbr>----------<br>
&gt;&gt;&gt;&gt;&gt; DISCUSS:<br>
&gt;&gt;&gt;&gt;&gt; ------------------------------<wbr>-------------------=
-----------<wbr>----------<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The following text appears to have been added in -04<b=
r>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 A server receiving a ClientHello and a cl=
ient_version indicating<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 (3,1) &quot;TLS 1.0&quot; or (3,2) &quot;=
TLS 1.1&quot; and any of the cipher suites from<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 this document in ClientHello.cipher_suite=
s can safely assume that<br>
&gt;&gt;&gt;&gt;&gt; the<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 client supports TLS 1.2 and is willing to=
 use it.=C2=A0 The server MUST<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 NOT negotiate these cipher suites with TL=
S protocol versions earlier<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 than TLS 1.2.=C2=A0 Not requiring clients=
 to indicate their support for<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS 1.2 cipher suites exclusively through=
 ClientHello.client_hello<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 improves the interoperability in the inst=
alled base and use of TLS<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 1.2 AEAD cipher suites without upsetting =
the installed base of<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 version-intolerant TLS servers, results i=
n more TLS handshakes<br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 succeeding and obviates fallback mechanis=
ms.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; This is a major technical change from -03, which, AFAI=
K, prohibited<br>
&gt;&gt;&gt;&gt;&gt; the server from negotiating these algorithms with TLS =
1.1 and below<br>
&gt;&gt;&gt;&gt;&gt; and maintained the usual TLS version 1.2 negotiation r=
ules.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; This is a very material technical change. I don&#39;t =
consider it wise,<br>
&gt;&gt;&gt;&gt;&gt; but in any case it would absolutely need WG consensus,=
 which I<br>
&gt;&gt;&gt;&gt;&gt; don&#39;t believe that it has given the recent introdu=
ction.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I agree that the text is a technical change, and that it m=
ay not be<br>
&gt;&gt;&gt;&gt; appropriated to do so now. The reason I included it was th=
at it was conform<br>
&gt;&gt;&gt;&gt; to the previous text, but I agree that implicit assumption=
 of version 1.2<br>
&gt;&gt;&gt;&gt; may need some additional discussion especially regarding R=
FC5246 Appendix E.<br>
&gt;&gt;&gt;&gt; Unless you prefer further discussion I assume the text bel=
ow address your<br>
&gt;&gt;&gt;&gt; concern.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &lt;t&gt;The cipher suites defined in this document MUST N=
OT be negotiated for<br>
&gt;&gt;&gt;&gt; any version of (D)TLS other than TLS 1.2. Clients MUST NOT=
 offer one of<br>
&gt;&gt;&gt;&gt; these cipher suites with a (D)TLS version that differs fro=
m TLS 1.2. Servers<br>
&gt;&gt;&gt;&gt; MUST NOT select one of these cipher suites with a TLS vers=
ion that differs<br>
&gt;&gt;&gt;&gt; from TLS 1.2. A client MUST treat the selection of these c=
ipher suites in<br>
&gt;&gt;&gt;&gt; combination with a version of TLS as an error and generate=
 a fatal<br>
&gt;&gt;&gt;&gt; &#39;illegal_parameter&#39; TLS alert. &lt;/t&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Yes, this seems fine<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The discussion of dictionary attacks here seems inferi=
or to that<br>
&gt;&gt;&gt;&gt;&gt; in 4279. In particular, you only need to actively atta=
ck one<br>
&gt;&gt;&gt;&gt;&gt; connection to capture the data you need for a brute fo=
rce attack<br>
&gt;&gt;&gt;&gt;&gt; despite the text there referring to trying &quot;diffe=
rent keys&quot;.<br>
&gt;&gt;&gt;&gt;&gt; Please correct that.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I believe the text below address your concern:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD:<br>
&gt;&gt;&gt;&gt; &lt;t&gt;Use of Pre-Shared Keys of limited entropy may all=
ow an active<br>
&gt;&gt;&gt;&gt; attacker attempts to connect to the server and try differe=
nt keys.<br>
&gt;&gt;&gt;&gt; For example, limited entropy may be provided by using a sh=
ort PSK in<br>
&gt;&gt;&gt;&gt; which<br>
&gt;&gt;&gt;&gt; case an attacker may perform a brute-force attack. Another=
 example<br>
&gt;&gt;&gt;&gt; includes the use of a PSK=C2=A0 chosen by a human which th=
us may be exposed<br>
&gt;&gt;&gt;&gt; to<br>
&gt;&gt;&gt;&gt; dictionary attacks.&lt;/t&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW:<br>
&gt;&gt;&gt;&gt; &lt;t&gt;Pre-Shared Keys security relies on its associated=
 entropy, and it is<br>
&gt;&gt;&gt;&gt; RECOMMENDED to follow &lt;xref target=3D&quot;4086&quot;/&=
gt; to ensure the PSK has enough<br>
&gt;&gt;&gt;&gt; entropy. Possible reasons for low entropy includes PSK cho=
sen by humans or<br>
&gt;&gt;&gt;&gt; PSK of small length as well as using random generators wit=
h limited entropy.<br>
&gt;&gt;&gt;&gt; &lt;/t&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &lt;t&gt;PSK of limited entropy may allow an attacker to t=
est different PSK<br>
&gt;&gt;&gt;&gt; values against a valid output such as master secret or any=
 output derived<br>
&gt;&gt;&gt;&gt; from it. In this document, the master secret is generated =
using the PSK as<br>
&gt;&gt;&gt;&gt; well as the ECDHE shared secret. The use of ECDHE limits t=
he possibilities<br>
&gt;&gt;&gt;&gt; of passive eavesdropping attackers, as the ECDHE shared se=
cret is not<br>
&gt;&gt;&gt;&gt; expected to be derived from the observed ECDH parameters. =
As a result,<br>
&gt;&gt;&gt;&gt; passive eavesdropping is unlikely to happen, and the colle=
ction of all<br>
&gt;&gt;&gt;&gt; necessary material relies on an active attack.<br>
&gt;&gt;&gt;&gt; An active attacker may collect the necessary material by s=
etting a TLS<br>
&gt;&gt;&gt;&gt; session as a client with the legitimate server. One PSK is=
 tested for each<br>
&gt;&gt;&gt;&gt; session, and a match occurs when key exchange succeeds. On=
 the other hand,<br>
&gt;&gt;&gt;&gt; an active attacker may also consider gathering the necessa=
ry information for<br>
&gt;&gt;&gt;&gt; offline computation. One way consists in getting a legitim=
ate client to<br>
&gt;&gt;&gt;&gt; establish a connection with the attacker. It is also assum=
ed that the client<br>
&gt;&gt;&gt;&gt; will accept the ECDH parameters authenticated by the attac=
ker&#39;s private key<br>
&gt;&gt;&gt;&gt; and finally returns the Finished message authenticating th=
e exchange. The<br>
&gt;&gt;&gt;&gt; attacker will be then in possession of all the necessary i=
nformation to<br>
&gt;&gt;&gt;&gt; perform a brute force attack.&lt;/t&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Is there a reason to not just point directly to the 4279 secur=
ity<br>
&gt;&gt;&gt; considerations?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; No, basically I tried to complete the previous text that missed th=
e<br>
&gt;&gt; offline use case. The current version just point to 4279, without =
having the<br>
&gt;&gt; above text. If you think the text above is clarifying I can add it=
 as well.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ------------------------------<wbr>-------------------=
-----------<wbr>----------<br>
&gt;&gt;&gt;&gt;&gt; COMMENT:<br>
&gt;&gt;&gt;&gt;&gt; ------------------------------<wbr>-------------------=
-----------<wbr>----------<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The citations to TLS 1.3 still seem pretty muddled. I =
think you<br>
&gt;&gt;&gt;&gt;&gt; should just stop referencing and discussing 1.3.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; My understanding of your comment is that mentioning TLS 1.=
3 to further<br>
&gt;&gt;&gt;&gt; insisting that the code point are not valid for TLS 1.3 is=
 confusing. I<br>
&gt;&gt;&gt;&gt; propose to:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Explicitly mention the TLS version in the title:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD title:<br>
&gt;&gt;&gt;&gt; ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Trans=
port Layer<br>
&gt;&gt;&gt;&gt; Security (TLS)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW title:<br>
&gt;&gt;&gt;&gt; ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Trans=
port Layer<br>
&gt;&gt;&gt;&gt; Security (TLS)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD Introduction:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0The cipher<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 suites are defined for version 1.2 of the Tra=
nsport Layer Security<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 (TLS) [RFC5246] protocol, version 1.2 of the =
Datagram Transport Layer<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 Security (DTLS) protocol [RFC6347], as well a=
s version 1.3 of TLS<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 [I-D.ietf-tls-tls13].<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW introduction<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The cipher<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 suites are defined for version 1.2 of the Tra=
nsport Layer Security<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 (TLS) [RFC5246] protocol, version 1.2 of the =
Datagram Transport Layer<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 Security (DTLS) protocol [RFC6347].<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I suggest to keep the following text of the introduction:<=
br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; AEAD algorithms that combine encryption and integrity prot=
ection are<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 strongly recommended for (D)TLS [RFC7525] and=
 non-AEAD algorithms are<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 forbidden to use in TLS 1.3 [I-D.ietf-tls-tls=
13].=C2=A0 The AEAD<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 algorithms considered in this document are AE=
S-GCM and AES-CCM.=C2=A0 The<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 use of AES-GCM in TLS is defined in [RFC5288]=
 and the use of AES-CCM<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 is defined in [RFC6655].<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Yes, this seems fine.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I suggest to keep the following text of the Applicable ver=
sions<br>
&gt;&gt;&gt;&gt; sections, as I believe the section discusses the cipher su=
ites against all<br>
&gt;&gt;&gt;&gt; existing TLS versions. In addition, it also justifies some=
what that we only<br>
&gt;&gt;&gt;&gt; defined cipher suites that are compatible with TLS1.3.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS version 1.3 and later negotiate these fea=
tures in a different<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 manner.=C2=A0 Unlike TLS 1.2, TLS 1.3 separat=
es authentication and cipher<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 suite negotiation [I-D.ietf-tls-tls13] Sectio=
n 1.2.=C2=A0 TLS 1.3 supports<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 PSK with ECDHE key exchange and the cipher su=
ites<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA38=
4,<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_=
SHA256 are part of the<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 specification.=C2=A0 As a result, TLS 1.3 and=
 higher versions, negotiate<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 and support these cipher suites in a differen=
t way.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; OK.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I suggest to remove the reference to TLS1.3 in the securit=
y<br>
&gt;&gt;&gt;&gt; considerations<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 The security considerations in TLS 1.2 [RFC5246], DT=
LS 1.2 [RFC6347],<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 TLS 1.3 [I-D.ietf-tls-tls13], ECDHE_PSK [RFC5=
489], AES-GCM [RFC5288],<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 and AES-CCM [RFC6655] apply to this document =
as well.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 The security considerations in TLS 1.2 [RFC5246], DT=
LS 1.2 [RFC6347],<br>
&gt;&gt;&gt;&gt;=C2=A0 ECDHE_PSK [RFC5489], AES-GCM [RFC5288],and AES-CCM [=
RFC6655] apply<br>
&gt;&gt;&gt;&gt;=C2=A0 to this document as well.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; S 2.<br>
&gt;&gt;&gt;&gt;&gt; I&#39;m not sure that the discussion of the PRF is hel=
pful here in<br>
&gt;&gt;&gt;&gt;&gt; mandating the non-use of these cipher suites with TLS =
1.1 and<br>
&gt;&gt;&gt;&gt;&gt; below.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I find the text useful as it gives an idea why even introd=
ucing AEAD in<br>
&gt;&gt;&gt;&gt; TLS version lower than 1.2 is a bad idea, so I would prefe=
r to keep it. The<br>
&gt;&gt;&gt;&gt; text has been changed to<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; OLD:<br>
&gt;&gt;&gt;&gt; As such TLS 1.0 and TLS 1.1 should not be used with ECDHE_=
PSK.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; NEW:<br>
&gt;&gt;&gt;&gt; As such,=C2=A0 all ECDHE_PSK<br>
&gt;&gt;&gt;&gt; ciphers, including those defined outside this document, SH=
OULD NOT be<br>
&gt;&gt;&gt;&gt; negotiated in TLS versions prior to 1.2.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I don&#39;t think you should be levying a new normative requir=
ement like this<br>
&gt;&gt;&gt; for other ciphers<br>
&gt;&gt;&gt; i this document<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Consideration for other ciphers has been removed. The requirement =
is<br>
&gt;&gt; limited to the ciphers of the document. The new text is:<br>
&gt;&gt;<br>
&gt;&gt; As such, all ECDHE_PSK ciphers, including those defined in this do=
cument,<br>
&gt;&gt; SHOULD NOT be<br>
&gt;&gt; negotiated in TLS versions prior to 1.2.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -Ek<br>
&gt;&gt;&gt; r<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; TLS mailing list<br>
&gt; <a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferre=
r" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/tls</a><br>
&gt;<br>
</blockquote></div></div></div><br></div></div></div></div></div>
</blockquote></div><br></div></div></div></div></div></div>
</blockquote></div><br></div>

--f403045e589c5ec17b0550473008--


From nobody Wed May 24 10:04:46 2017
Return-Path: <bkaduk@akamai.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 67414126BFD for <tls@ietfa.amsl.com>; Wed, 24 May 2017 10:04:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 2QcXre9ejiUz for <tls@ietfa.amsl.com>; Wed, 24 May 2017 10:04:43 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 33C651200CF for <tls@ietf.org>; Wed, 24 May 2017 10:04:43 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4OGksOX010521; Wed, 24 May 2017 18:04:41 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=jOKrhVRP1ex2khmXlhpSqpFjjbtI70/uoJREc6V5DoM=; b=FYMRcFeccJAJGCi6xseybe7nvNg1zbiXuT2nkXJ+EZAB2GCzq1zpcXpc33R6B4Hue3VM k4o5AVB3prHhmbqBsQXfl+1Q7zxtvvTk453Prf0T1bkZmpb9fj+QWP/hsT/i6jzb83KA TMnpiDWt97yLh9B3+6OZOxFMmrVnfGSiVSTiwj9UbeieDWzzxYl6MEy4jOUwCSmDczIv wYeUM2UuwTkOMnnoNShqnWSx8d9sTtJTk7GRHoUB7BmTWBPZARitovISLXn7mobYSWx4 4jQZh5LL5sRH2dEdw+MzPTl1GrfWM75nTB5E3wT0R5f+q8ZVa78Mr8guj8hThA6Pk2tk qg== 
Received: from prod-mail-ppoint3 ([96.6.114.86]) by m0050096.ppops.net-00190b01. with ESMTP id 2anbc892a4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 May 2017 18:04:40 +0100
Received: from pps.filterd (prod-mail-ppoint3.akamai.com [127.0.0.1]) by prod-mail-ppoint3.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4OGkEOo016522; Wed, 24 May 2017 13:04:39 -0400
Received: from prod-mail-relay14.akamai.com ([172.27.17.39]) by prod-mail-ppoint3.akamai.com with ESMTP id 2ajh4vgpw0-1; Wed, 24 May 2017 13:04:39 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay14.akamai.com (Postfix) with ESMTP id 2B0DA80052; Wed, 24 May 2017 11:04:39 -0600 (MDT)
To: =?UTF-8?Q?Colm_MacC=c3=a1rthaigh?= <colm@allcosts.net>, Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: "tls@ietf.org" <tls@ietf.org>
References: <CABcZeBNcnW9zEPZ4mEje1_ejR3npNFz65rw-6qUPn7cQt1Nz9w@mail.gmail.com> <CAAF6GDe1_ih1aUShrzAHUuTzbLx6+0BdVexpGnq90RZsST8GvA@mail.gmail.com> <CABcZeBOX5NXuhgfap2S0naO9PFXv+K-+fZVPbgck6yciVnrYbQ@mail.gmail.com> <CABcZeBPuOupLTNKOtuCgOjYNdiuw571HM-pq1vNZz_8x-XX5mg@mail.gmail.com> <CABcZeBMqALJ10cU7FMUhv8k5Q=tw3yu1-5pdrKzOBM3=g5PHJw@mail.gmail.com> <20170519095316.GA30080@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDeuRMZx9MRynrxMp1fCvRS2jjr0vcqt0R89cJEkD6u=rQ@mail.gmail.com> <20170520101616.GC32428@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBNj_X4qbXrH4732kQiAHrBpPZhW1nmn4Xnp-pm0gv1Psg@mail.gmail.com> <071fb4df-56e6-d82a-87de-3db084235021@akamai.com> <20170524143042.GA31858@LK-Perkele-V2.elisa-laajakaista.fi> <CAAF6GDf5MtnX+45BPyFDGcE+QW5a3-cEZ-6CDPSDWD+8HZ5J=g@mail.gmail.com>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <c9898b96-7b76-287a-d235-b1fb9e612811@akamai.com>
Date: Wed, 24 May 2017 12:04:38 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <CAAF6GDf5MtnX+45BPyFDGcE+QW5a3-cEZ-6CDPSDWD+8HZ5J=g@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------853C99B0D8B95E6ECB8DD4F7"
Content-Language: en-US
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-24_12:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705240081
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-24_12:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705240081
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/dwAa068FjACOp2QifRASFP-jPTY>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 17:04:44 -0000

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

On 05/24/2017 10:32 AM, Colm MacCÃ¡rthaigh wrote:
>
>     > Another crazy idea would be to just say that servers MUST limit
>     the use
>     > of a single binder to at most 100 times, with the usual case
>     being just
>     > once, to allow for alternative designs that have weaker distributed
>     > consensus requirements (but still describe these current two
>     methods as
>     > examples of ways to do so).
>
>     You actually need strong distributed consensus about all accepted
>     0-RTT here.
>
>
> This pattern doesn't need strong consensus. If you have 10 servers,
> you could give each 10 goes at the ticket, and let each exhaust its 10
> attempts without any coordination or consensus. You likely won't get
> to "exactly 100", but you will get to "at most 100 times". 
>

Or (up to) 100 servers and give each server just one crack at the
ticket, which is perhaps more plausible to implement sanely.

> But the inner critical section would be inherently more complicated. 
> For the at most once case we need to a critical section that performs
> an exclusive-read-and-delete atomically. It's a mutex lock or a clever
> construction of atomic instructions.  For "at most N" we now need to
> perform a decrement and write in the critical section, and it becomes
> more like a semaphore. 
>
> It's probably not a pattern that's worth the trade-offs. 
>

That particular decrement-based design is not worth the trade-off,
definitely, but I doubt it's the only scheme that could meet the stated
requirement.  Something that attempts to access a global single-use data
structure but has some failure tolerance for that operation, and some
plausible story for bounding how often that can happen, say (like
stopping accepting 0-RTT at all on that server for 10 seconds once a
threshold level of errors occurs).

But, as indicated by the "crazy idea" prefix, I am not actually pushing
for this scheme.

-Ben

--------------853C99B0D8B95E6ECB8DD4F7
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">
    On 05/24/2017 10:32 AM, Colm MacCÃ¡rthaigh wrote:<br>
    <blockquote type="cite"
cite="mid:CAAF6GDf5MtnX+45BPyFDGcE+QW5a3-cEZ-6CDPSDWD+8HZ5J=g@mail.gmail.com">
      <div class="gmail_quote">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
            class="">
            &gt; Another crazy idea would be to just say that servers
            MUST limit the use<br>
            &gt; of a single binder to at most 100 times, with the usual
            case being just<br>
            &gt; once, to allow for alternative designs that have weaker
            distributed<br>
            &gt; consensus requirements (but still describe these
            current two methods as<br>
            &gt; examples of ways to do so).<br>
            <br>
          </span>You actually need strong distributed consensus about
          all accepted<br>
          0-RTT here.<br>
        </blockquote>
        <div><br>
        </div>
        <div>This pattern doesn't need strong consensus. If you have 10
          servers, you could give each 10 goes at the ticket, and let
          each exhaust its 10 attempts without any coordination or
          consensus. You likely won't get to "exactly 100", but you will
          get to "at most 100 times".Â </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    Or (up to) 100 servers and give each server just one crack at the
    ticket, which is perhaps more plausible to implement sanely.<br>
    <br>
    <blockquote type="cite"
cite="mid:CAAF6GDf5MtnX+45BPyFDGcE+QW5a3-cEZ-6CDPSDWD+8HZ5J=g@mail.gmail.com">
      <div class="gmail_quote">
        <div>But the inner critical section would be inherently more
          complicated.Â  For the at most once case we need to a critical
          section that performs an exclusive-read-and-delete atomically.
          It's a mutex lock or a clever construction of atomic
          instructions.Â  For "at most N" we now need to perform a
          decrement and write in the critical section, and it becomes
          more like a semaphore.Â </div>
        <div><br>
        </div>
        <div>It's probably not a pattern that's worth the trade-offs.Â </div>
      </div>
      <div><br>
      </div>
    </blockquote>
    <br>
    That particular decrement-based design is not worth the trade-off,
    definitely, but I doubt it's the only scheme that could meet the
    stated requirement.Â  Something that attempts to access a global
    single-use data structure but has some failure tolerance for that
    operation, and some plausible story for bounding how often that can
    happen, say (like stopping accepting 0-RTT at all on that server for
    10 seconds once a threshold level of errors occurs).<br>
    <br>
    But, as indicated by the "crazy idea" prefix, I am not actually
    pushing for this scheme.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------853C99B0D8B95E6ECB8DD4F7--


From nobody Wed May 24 10:24:36 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A52BD1286AB; Tue, 23 May 2017 19:28:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.388
X-Spam-Level: 
X-Spam-Status: No, score=-2.388 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_HTML_ATTACH=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 d5UDz4APBIz7; Tue, 23 May 2017 19:28:23 -0700 (PDT)
Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (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 C9442129421; Tue, 23 May 2017 19:28:19 -0700 (PDT)
Received: by mail-lf0-x22d.google.com with SMTP id m18so59604008lfj.0; Tue, 23 May 2017 19:28:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=55oL7xsTTNiQyWrvt4+Uw/+XV0yUi1hgzFP+qhC0ElE=; b=VboTdfb4p47I9xMdfjstTNT651VVTaOuag+UhAj5766Z4HpR2jo/OiAsl7mBz3sLbk 2vTZc/srODePnTz5PzkpWtkCk4pxLUYaCkmuUfntKJRk4SGEOLCbxqg8rfKa9S9ioDnI Y3qpoGAD6jAhOvIDwYuWFfTn5eJ1DY6OBSkXw2QRjY/KHTvkWcpo6S1SHRR0fWw9tv21 Smqsvd4El/bH7btfVtfgz9T0bhhJMNfvvwCAE01I6Wygixy8lJrSIcEoPvbj5D6LlSK0 3MDydfV68d7Jz/3Mhu22qaoheaxfe7xMVeNRx+pk7iI7lIhhY5Vr+bO9Yw9A4Up+Xplh dyOw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=55oL7xsTTNiQyWrvt4+Uw/+XV0yUi1hgzFP+qhC0ElE=; b=Zovh44g4vBCyh8qbk1TRwmzAj46b1dD9KkfEzzK71mCRwCybLJXABWdu+B7AxbsbzX H77Li5Z/BRmEpCOsQ/HZ2PQQbztVqCRHEB2KXpV3z/CC6JzL/+B1HBf2YGR0OOLnjdzB ZfREEBRFYhn+l1vUsOE2nsagVoexzDRvu7euF1rUI7gGbtJ8DDAvH8NWf7kWniAQjHeS mDDmZ1MDj5FPtBmQRW7yVFWoyamEbGr3hw7v+TrcSV1ZXOKSs4Q/d0Wpebo78zzTpe7c 7Ri0rCiwRNaSpnABHj8zFumTbDnsggTnVfB183lkTW/eT3QV1wG3FEE+AE7F8HBN09tL Mjyg==
X-Gm-Message-State: AODbwcCFaygumDnJY+ZV6CumtLPLJ8q2JtiHMfQuRwcxPTWj8hiaT9Nh iNhP+pThPP7ySdHtVfnkickZvJa7eQ==
X-Received: by 10.25.208.14 with SMTP id h14mr7217363lfg.174.1495592897992; Tue, 23 May 2017 19:28:17 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Tue, 23 May 2017 19:28:16 -0700 (PDT)
In-Reply-To: <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com> <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Tue, 23 May 2017 21:28:16 -0500
X-Google-Sender-Auth: Dcp-CV-SR387m-2xLtb7OEexjes
Message-ID: <CADZyTknmXE6UW5e9SbSwwSUZWU-wHw_+9sTB_xnYUmo8KBOJxg@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org,  Joseph Salowey <joe@salowey.net>, tls-chairs <tls-chairs@ietf.org>, tls <tls@ietf.org>
Content-Type: multipart/mixed; boundary="001a11412d3c6a2d4705503bdba6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/he7JvU_5U65fLD6VLYRnQx54M3g>
X-Mailman-Approved-At: Wed, 24 May 2017 10:24:35 -0700
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 02:28:28 -0000

--001a11412d3c6a2d4705503bdba6
Content-Type: multipart/alternative; boundary="001a11412d3c6a2d4205503bdba4"

--001a11412d3c6a2d4205503bdba4
Content-Type: text/plain; charset="UTF-8"

Hi Eric,

Thank you for the feed backs. The version 05 contains all text changes you
agreed. In addition, the text explaining dictionary/brute force has been
removed and replace by a reference to 4279. The recommendation regarding to
all PSK ciphers has been limited to the one of the document.  Please see
inline for more details.

For some reasons I am not able to validate the submission of version 05. I
have attached the diff with version 04 as well as the locally generated
version 05.

Yours,
Daniel

On Tue, May 23, 2017 at 7:40 PM, Eric Rescorla <ekr@rtfm.com> wrote:

>
>
> On Wed, May 24, 2017 at 6:00 AM, Daniel Migault <
> daniel.migault@ericsson.com> wrote:
>
>> Hi Eric,
>>
>> Thank you for your reviews. Please see my responses inline. If you agree
>> with the text I will update the draft.
>>
>> Yours,
>> Daniel
>>
>> On Mon, May 22, 2017 at 10:11 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>>
>>> Eric Rescorla has entered the following ballot position for
>>> draft-ietf-tls-ecdhe-psk-aead-04: Discuss
>>>
>>> When responding, please keep the subject line intact and reply to all
>>> email addresses included in the To and CC lines. (Feel free to cut this
>>> introductory paragraph, however.)
>>>
>>>
>>> Please refer to https://www.ietf.org/iesg/stat
>>> ement/discuss-criteria.html
>>> for more information about IESG DISCUSS and COMMENT positions.
>>>
>>>
>>> The document, along with other ballot positions, can be found here:
>>> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
>>>
>>>
>>>
>>> ----------------------------------------------------------------------
>>> DISCUSS:
>>> ----------------------------------------------------------------------
>>>
>>> The following text appears to have been added in -04
>>>
>>>    A server receiving a ClientHello and a client_version indicating
>>>    (3,1) "TLS 1.0" or (3,2) "TLS 1.1" and any of the cipher suites from
>>>    this document in ClientHello.cipher_suites can safely assume that
>>> the
>>>    client supports TLS 1.2 and is willing to use it.  The server MUST
>>>    NOT negotiate these cipher suites with TLS protocol versions earlier
>>>    than TLS 1.2.  Not requiring clients to indicate their support for
>>>    TLS 1.2 cipher suites exclusively through ClientHello.client_hello
>>>    improves the interoperability in the installed base and use of TLS
>>>    1.2 AEAD cipher suites without upsetting the installed base of
>>>    version-intolerant TLS servers, results in more TLS handshakes
>>>    succeeding and obviates fallback mechanisms.
>>>
>>> This is a major technical change from -03, which, AFAIK, prohibited
>>> the server from negotiating these algorithms with TLS 1.1 and below
>>> and maintained the usual TLS version 1.2 negotiation rules.
>>>
>>> This is a very material technical change. I don't consider it wise,
>>> but in any case it would absolutely need WG consensus, which I
>>> don't believe that it has given the recent introduction.
>>>
>>
>> I agree that the text is a technical change, and that it may not be
>> appropriated to do so now. The reason I included it was that it was conform
>> to the previous text, but I agree that implicit assumption of version 1.2
>> may need some additional discussion especially regarding RFC5246 Appendix
>> E. Unless you prefer further discussion I assume the text below address
>> your concern.
>>
>> <t>The cipher suites defined in this document MUST NOT be negotiated for
>> any version of (D)TLS other than TLS 1.2. Clients MUST NOT offer one of
>> these cipher suites with a (D)TLS version that differs from TLS 1.2.
>> Servers MUST NOT select one of these cipher suites with a TLS version that
>> differs from TLS 1.2. A client MUST treat the selection of these cipher
>> suites in combination with a version of TLS as an error and generate a
>> fatal 'illegal_parameter' TLS alert. </t>
>>
>
> Yes, this seems fine
>
>
> The discussion of dictionary attacks here seems inferior to that
>>> in 4279. In particular, you only need to actively attack one
>>> connection to capture the data you need for a brute force attack
>>> despite the text there referring to trying "different keys".
>>> Please correct that.
>>>
>>> I believe the text below address your concern:
>>
>> OLD:
>> <t>Use of Pre-Shared Keys of limited entropy may allow an active
>> attacker attempts to connect to the server and try different keys.
>> For example, limited entropy may be provided by using a short PSK in which
>> case an attacker may perform a brute-force attack. Another example
>> includes the use of a PSK  chosen by a human which thus may be exposed to
>> dictionary attacks.</t>
>>
>> NEW:
>> <t>Pre-Shared Keys security relies on its associated entropy, and it is
>> RECOMMENDED to follow <xref target="4086"/> to ensure the PSK has enough
>> entropy. Possible reasons for low entropy includes PSK chosen by humans or
>> PSK of small length as well as using random generators with limited
>> entropy. </t>
>>
>> <t>PSK of limited entropy may allow an attacker to test different PSK
>> values against a valid output such as master secret or any output derived
>> from it. In this document, the master secret is generated using the PSK as
>> well as the ECDHE shared secret. The use of ECDHE limits the possibilities
>> of passive eavesdropping attackers, as the ECDHE shared secret is not
>> expected to be derived from the observed ECDH parameters. As a result,
>> passive eavesdropping is unlikely to happen, and the collection of all
>> necessary material relies on an active attack.
>> An active attacker may collect the necessary material by setting a TLS
>> session as a client with the legitimate server. One PSK is tested for each
>> session, and a match occurs when key exchange succeeds. On the other hand,
>> an active attacker may also consider gathering the necessary information
>> for offline computation. One way consists in getting a legitimate client to
>> establish a connection with the attacker. It is also assumed that the
>> client will accept the ECDH parameters authenticated by the attacker's
>> private key and finally returns the Finished message authenticating the
>> exchange. The attacker will be then in possession of all the necessary
>> information to perform a brute force attack.</t>
>>
>
> Is there a reason to not just point directly to the 4279 security
> considerations?
>

No, basically I tried to complete the previous text that missed the offline
use case. The current version just point to 4279, without having the above
text. If you think the text above is clarifying I can add it as well.

> -
>
>>
>>
>>>
>>> ----------------------------------------------------------------------
>>> COMMENT:
>>> ----------------------------------------------------------------------
>>>
>>> The citations to TLS 1.3 still seem pretty muddled. I think you
>>> should just stop referencing and discussing 1.3.
>>>
>>
>> My understanding of your comment is that mentioning TLS 1.3 to further
>> insisting that the code point are not valid for TLS 1.3 is confusing. I
>> propose to:
>>
>> Explicitly mention the TLS version in the title:
>>
>> OLD title:
>> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
>> Security (TLS)
>>
>> NEW title:
>> ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer
>> Security (TLS)
>>
>> OLD Introduction:
>>
>>     The cipher
>>    suites are defined for version 1.2 of the Transport Layer Security
>>    (TLS) [RFC5246 <https://tools.ietf.org/html/rfc5246>] protocol, version 1.2 of the Datagram Transport Layer
>>    Security (DTLS) protocol [RFC6347 <https://tools.ietf.org/html/rfc6347>], as well as version 1.3 of TLS
>>    [I-D.ietf-tls-tls13 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>].
>>
>> NEW introduction
>>
>> The cipher
>>    suites are defined for version 1.2 of the Transport Layer Security
>>    (TLS) [RFC5246 <https://tools.ietf.org/html/rfc5246>] protocol, version 1.2 of the Datagram Transport Layer
>>    Security (DTLS) protocol [RFC6347 <https://tools.ietf.org/html/rfc6347>].
>>
>>
>> I suggest to keep the following text of the introduction:
>>
>>
>> AEAD algorithms that combine encryption and integrity protection are
>>    strongly recommended for (D)TLS [RFC7525 <https://tools.ietf.org/html/rfc7525>] and non-AEAD algorithms are
>>    forbidden to use in TLS 1.3 [I-D.ietf-tls-tls13 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>].  The AEAD
>>    algorithms considered in this document are AES-GCM and AES-CCM.  The
>>    use of AES-GCM in TLS is defined in [RFC5288 <https://tools.ietf.org/html/rfc5288>] and the use of AES-CCM
>>    is defined in [RFC6655 <https://tools.ietf.org/html/rfc6655>].
>>
>>
> Yes, this seems fine.
>
>
>
>> I suggest to keep the following text of the Applicable versions sections,
>> as I believe the section discusses the cipher suites against all existing
>> TLS versions. In addition, it also justifies somewhat that we only defined
>> cipher suites that are compatible with TLS1.3.
>>
>>    TLS version 1.3 and later negotiate these features in a different
>>    manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and cipher
>>    suite negotiation [I-D.ietf-tls-tls13 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>] Section 1.2 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#section-1.2>.  TLS 1.3 supports
>>    PSK with ECDHE key exchange and the cipher suites
>>    TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
>>    TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
>>    specification.  As a result, TLS 1.3 and higher versions, negotiate
>>    and support these cipher suites in a different way.
>>
>>
> OK.
>
>
>> I suggest to remove the reference to TLS1.3 in the security considerations
>>
>> OLD
>>
>>  The security considerations in TLS 1.2 [RFC5246 <https://tools.ietf.org/html/rfc5246>], DTLS 1.2 [RFC6347 <https://tools.ietf.org/html/rfc6347>],
>>    TLS 1.3 [I-D.ietf-tls-tls13 <https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13>], ECDHE_PSK [RFC5489 <https://tools.ietf.org/html/rfc5489>], AES-GCM [RFC5288 <https://tools.ietf.org/html/rfc5288>],
>>    and AES-CCM [RFC6655 <https://tools.ietf.org/html/rfc6655>] apply to this document as well.
>>
>> NEW
>>
>>  The security considerations in TLS 1.2 [RFC5246 <https://tools.ietf.org/html/rfc5246>], DTLS 1.2 [RFC6347 <https://tools.ietf.org/html/rfc6347>],
>>  ECDHE_PSK [RFC5489 <https://tools.ietf.org/html/rfc5489>], AES-GCM [RFC5288 <https://tools.ietf.org/html/rfc5288>],and AES-CCM [RFC6655 <https://tools.ietf.org/html/rfc6655>] apply
>>  to this document as well.
>>
>>
>>> S 2.
>>> I'm not sure that the discussion of the PRF is helpful here in
>>> mandating the non-use of these cipher suites with TLS 1.1 and
>>> below.
>>>
>>
>> I find the text useful as it gives an idea why even introducing AEAD in
>> TLS version lower than 1.2 is a bad idea, so I would prefer to keep it. The
>> text has been changed to
>>
>> OLD:
>> As such TLS 1.0 and TLS 1.1 should not be used with ECDHE_PSK.
>>
>> NEW:
>> As such,  all ECDHE_PSK
>> ciphers, including those defined outside this document, SHOULD NOT be
>> negotiated in TLS versions prior to 1.2.
>>
>
> I don't think you should be levying a new normative requirement like this
> for other ciphers
> i this document
>

Consideration for other ciphers has been removed. The requirement is
limited to the ciphers of the document. The new text is:

As such, all ECDHE_PSK ciphers, including those defined in this document,
SHOULD NOT be
negotiated in TLS versions prior to 1.2.

>
> -Ek
> r
>
>

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

<div dir=3D"ltr"><div><div>Hi Eric, <br><br></div>Thank you for the feed ba=
cks. The version 05 contains all text changes you agreed. In addition, the =
text explaining dictionary/brute force has been removed and replace by a re=
ference to 4279. The recommendation regarding to all PSK ciphers has been l=
imited to the one of the document.=C2=A0 Please see=C2=A0 inline for more d=
etails.<br><span class=3D"m_5356331867454488272gmail-im"><br></span></div><=
div><span class=3D"m_5356331867454488272gmail-im">For some reasons I am not=
 able to validate the submission of version 05. I have attached the diff wi=
th version 04 as well as the locally generated version 05. <br><br></span><=
/div><span class=3D"m_5356331867454488272gmail-im">Yours, <br>Daniel<br></s=
pan><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, May 2=
3, 2017 at 7:40 PM, Eric Rescorla <span dir=3D"ltr">&lt;<a href=3D"mailto:e=
kr@rtfm.com" target=3D"_blank">ekr@rtfm.com</a>&gt;</span> wrote:<br><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><br><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote"><div><div class=3D"m_535633=
1867454488272gmail-h5">On Wed, May 24, 2017 at 6:00 AM, Daniel Migault <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:daniel.migault@ericsson.com" target=3D"=
_blank">daniel.migault@ericsson.com</a>&gt;</span> wrote:<br><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div><div><div>Hi Eric=
, <br><br></div>Thank you for your reviews. Please see my responses inline.=
 If you agree with the text I will update the draft.<br><br></div>Yours, <b=
r></div>Daniel<br><div><div><div><div><div class=3D"gmail_extra"><br><div c=
lass=3D"gmail_quote"><div><div class=3D"m_5356331867454488272gmail-m_499715=
3826884106269m_4429336679413947623h5">On Mon, May 22, 2017 at 10:11 PM, Eri=
c Rescorla <span dir=3D"ltr">&lt;<a href=3D"mailto:ekr@rtfm.com" target=3D"=
_blank">ekr@rtfm.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20=
4);padding-left:1ex">Eric Rescorla has entered the following ballot positio=
n for<br>
draft-ietf-tls-ecdhe-psk-aead-<wbr>04: Discuss<br>
<br>
When responding, please keep the subject line intact and reply to all<br>
email addresses included in the To and CC lines. (Feel free to cut this<br>
introductory paragraph, however.)<br>
<br>
<br>
Please refer to <a href=3D"https://www.ietf.org/iesg/statement/discuss-crit=
eria.html" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/iesg/s=
tat<wbr>ement/discuss-criteria.html</a><br>
for more information about IESG DISCUSS and COMMENT positions.<br>
<br>
<br>
The document, along with other ballot positions, can be found here:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/"=
 rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/d<wbr>oc=
/draft-ietf-tls-ecdhe-psk-ae<wbr>ad/</a><br>
<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
DISCUSS:<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
<br>
The following text appears to have been added in -04<br>
<br>
=C2=A0 =C2=A0A server receiving a ClientHello and a client_version indicati=
ng<br>
=C2=A0 =C2=A0(3,1) &quot;TLS 1.0&quot; or (3,2) &quot;TLS 1.1&quot; and any=
 of the cipher suites from<br>
=C2=A0 =C2=A0this document in ClientHello.cipher_suites can safely assume t=
hat<br>
the<br>
=C2=A0 =C2=A0client supports TLS 1.2 and is willing to use it.=C2=A0 The se=
rver MUST<br>
=C2=A0 =C2=A0NOT negotiate these cipher suites with TLS protocol versions e=
arlier<br>
=C2=A0 =C2=A0than TLS 1.2.=C2=A0 Not requiring clients to indicate their su=
pport for<br>
=C2=A0 =C2=A0TLS 1.2 cipher suites exclusively through ClientHello.client_h=
ello<br>
=C2=A0 =C2=A0improves the interoperability in the installed base and use of=
 TLS<br>
=C2=A0 =C2=A01.2 AEAD cipher suites without upsetting the installed base of=
<br>
=C2=A0 =C2=A0version-intolerant TLS servers, results in more TLS handshakes=
<br>
=C2=A0 =C2=A0succeeding and obviates fallback mechanisms.<br>
<br>
This is a major technical change from -03, which, AFAIK, prohibited<br>
the server from negotiating these algorithms with TLS 1.1 and below<br>
and maintained the usual TLS version 1.2 negotiation rules.<br>
<br>
This is a very material technical change. I don&#39;t consider it wise,<br>
but in any case it would absolutely need WG consensus, which I<br>
don&#39;t believe that it has given the recent introduction.<br></blockquot=
e><div><br></div></div></div><div>I agree that the text is a technical chan=
ge, and that it may not be appropriated to do so now. The reason I included=
 it was that it was conform to the previous text, but I agree that implicit=
 assumption of version 1.2 may need some additional discussion especially r=
egarding RFC5246 Appendix E. Unless you prefer further discussion I assume =
the text below address your concern. =C2=A0 <br><br>&lt;t&gt;The cipher sui=
tes defined in this document MUST NOT be negotiated for any version of (D)T=
LS other than TLS 1.2. Clients MUST NOT offer one of these cipher suites wi=
th a (D)TLS version that differs from TLS 1.2. Servers MUST NOT select one =
of these cipher suites with a TLS version that differs from TLS 1.2. A clie=
nt MUST treat the selection of these cipher suites in combination with a ve=
rsion of TLS as an error and generate a fatal &#39;illegal_parameter&#39; T=
LS alert. &lt;/t&gt; <br></div></div></div></div></div></div></div></div></=
blockquote><div><br></div></div></div><div>Yes, this seems fine</div><span =
class=3D"m_5356331867454488272gmail-"><div><br></div><div><br></div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div><div><div>=
<div><div class=3D"gmail_extra"><div class=3D"gmail_quote"><span><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex">
The discussion of dictionary attacks here seems inferior to that<br>
in 4279. In particular, you only need to actively attack one<br>
connection to capture the data you need for a brute force attack<br>
despite the text there referring to trying &quot;different keys&quot;.<br>
Please correct that.<br>
<br></blockquote></span><div>I believe the text below address your concern:=
<br><br>OLD:<br>&lt;t&gt;Use of Pre-Shared Keys of limited entropy may allo=
w an active<br>attacker attempts to connect to the server and try different=
 keys.<br>For example, limited entropy may be provided by using a short PSK=
 in which<br>case an attacker may perform a brute-force attack. Another exa=
mple<br>includes the use of a PSK=C2=A0 chosen by a human which thus may be=
 exposed to<br>dictionary attacks.&lt;/t&gt;<br><br>NEW:<br>&lt;t&gt;Pre-Sh=
ared Keys security relies on its associated entropy, and it is RECOMMENDED =
to follow &lt;xref target=3D&quot;4086&quot;/&gt; to ensure the PSK has eno=
ugh entropy. Possible reasons for low entropy includes PSK chosen by humans=
 or PSK of small length as well as using random generators with limited ent=
ropy. &lt;/t&gt;<br><br>&lt;t&gt;PSK of limited entropy may allow an attack=
er to test different PSK values against a valid output such as master secre=
t or any output derived from it. In this document, the master secret is gen=
erated using the PSK as well as the ECDHE shared secret. The use of ECDHE l=
imits the possibilities of passive eavesdropping attackers, as the ECDHE sh=
ared secret is not expected to be derived from the observed ECDH parameters=
. As a result, passive eavesdropping is unlikely to happen, and the collect=
ion of all necessary material relies on an active attack. <br>An active att=
acker may collect the necessary material by setting a TLS session as a clie=
nt with the legitimate server. One PSK is tested for each session, and a ma=
tch occurs when key exchange succeeds. On the other hand, an active attacke=
r may also consider gathering the necessary information for offline computa=
tion. One way consists in getting a legitimate client to establish a connec=
tion with the attacker. It is also assumed that the client will accept the =
ECDH parameters authenticated by the attacker&#39;s private key and finally=
 returns the Finished message authenticating the exchange. The attacker wil=
l be then in possession of all the necessary information to perform a brute=
 force attack.&lt;/t&gt;=C2=A0=C2=A0 <br></div></div></div></div></div></di=
v></div></div></blockquote><div><br></div></span><div>Is there a reason to =
not just point directly to the 4279 security considerations?</div></div></d=
iv></div></blockquote><div><br></div><div>No, basically I tried to complete=
 the previous text that missed the offline use case. The current version ju=
st point to 4279, without having the above text. If you think the text abov=
e is clarifying I can add it as well.=C2=A0 =C2=A0 =C2=A0 <br></div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"g=
mail_extra"><div class=3D"gmail_quote"><div>-</div><div><div class=3D"m_535=
6331867454488272gmail-h5"><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
><div dir=3D"ltr"><div><div><div><div><div class=3D"gmail_extra"><div class=
=3D"gmail_quote"><div>=C2=A0 <br></div><span><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex">
<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
COMMENT:<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
<br>
The citations to TLS 1.3 still seem pretty muddled. I think you<br>
should just stop referencing and discussing 1.3.<br></blockquote><div><br><=
/div></span><div>My understanding of your comment is that mentioning TLS 1.=
3 to further insisting that the code point are not valid for TLS 1.3 is con=
fusing. I propose to:<br><br></div><div>Explicitly mention the TLS version =
in the title:<br><br></div><div>OLD title:<br>ECDHE_PSK with AES-GCM and AE=
S-CCM Cipher Suites for Transport Layer Security (TLS)<br><br></div><div>NE=
W title:<br>ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport =
Layer Security (TLS)<br></div><div><pre><span class=3D"m_535633186745448827=
2gmail-m_4997153826884106269m_4429336679413947623m_-101311485245468505m_-65=
00030207053047939gmail-h1"></span><span class=3D"m_5356331867454488272gmail=
-m_4997153826884106269m_4429336679413947623m_-101311485245468505m_-65000302=
07053047939gmail-h1"></span></pre>OLD Introduction:<br><pre class=3D"m_5356=
331867454488272gmail-m_4997153826884106269m_4429336679413947623m_-101311485=
245468505m_-6500030207053047939gmail-newpage">    The cipher
   suites are defined for version 1.2 of the Transport Layer Security
   (TLS) [<a href=3D"https://tools.ietf.org/html/rfc5246" title=3D"&quot;Th=
e Transport Layer Security (TLS) Protocol Version 1.2&quot;" target=3D"_bla=
nk">RFC5246</a>] protocol, version 1.2 of the Datagram Transport Layer
   Security (DTLS) protocol [<a href=3D"https://tools.ietf.org/html/rfc6347=
" title=3D"&quot;Datagram Transport Layer Security Version 1.2&quot;" targe=
t=3D"_blank">RFC6347</a>], as well as version 1.3 of TLS
   [<a href=3D"https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-04=
#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.ietf-tls-tls13</a>].</pre>NE=
W introduction<br><br><pre class=3D"m_5356331867454488272gmail-m_4997153826=
884106269m_4429336679413947623m_-101311485245468505m_-6500030207053047939gm=
ail-newpage">The cipher
   suites are defined for version 1.2 of the Transport Layer Security
   (TLS) [<a href=3D"https://tools.ietf.org/html/rfc5246" title=3D"&quot;Th=
e Transport Layer Security (TLS) Protocol Version 1.2&quot;" target=3D"_bla=
nk">RFC5246</a>] protocol, version 1.2 of the Datagram Transport Layer
   Security (DTLS) protocol [<a href=3D"https://tools.ietf.org/html/rfc6347=
" title=3D"&quot;Datagram Transport Layer Security Version 1.2&quot;" targe=
t=3D"_blank">RFC6347</a>]. <br><br><br>I suggest to keep the following text=
 of the introduction:<br></pre></div><div><br><pre class=3D"m_5356331867454=
488272gmail-m_4997153826884106269m_4429336679413947623m_-101311485245468505=
m_-6500030207053047939gmail-newpage">AEAD algorithms that combine encryptio=
n and integrity protection are
   strongly recommended for (D)TLS [<a href=3D"https://tools.ietf.org/html/=
rfc7525" title=3D"&quot;Recommendations for Secure Use of Transport Layer S=
ecurity (TLS) and Datagram Transport Layer Security (DTLS)&quot;" target=3D=
"_blank">RFC7525</a>] and non-AEAD algorithms are
   forbidden to use in TLS 1.3 [<a href=3D"https://tools.ietf.org/html/draf=
t-ietf-tls-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.=
ietf-tls-tls13</a>].  The AEAD
   algorithms considered in this document are AES-GCM and AES-CCM.  The
   use of AES-GCM in TLS is defined in [<a href=3D"https://tools.ietf.org/h=
tml/rfc5288" title=3D"&quot;AES Galois Counter Mode (GCM) Cipher Suites for=
 TLS&quot;" target=3D"_blank">RFC5288</a>] and the use of AES-CCM
   is defined in [<a href=3D"https://tools.ietf.org/html/rfc6655" title=3D"=
&quot;AES-CCM Cipher Suites for Transport Layer Security (TLS)&quot;" targe=
t=3D"_blank">RFC6655</a>].</pre></div></div></div></div></div></div></div><=
/div></blockquote><div><br></div></div></div><div>Yes, this seems fine.</di=
v><span class=3D"m_5356331867454488272gmail-"><div><br></div><div>=C2=A0</d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div =
class=3D"gmail_extra"><div class=3D"gmail_quote"><div>I suggest to keep the=
 following text of the Applicable versions sections, as I believe the secti=
on discusses the cipher suites against all existing TLS versions. In additi=
on, it also justifies somewhat that we only defined cipher suites that are =
compatible with TLS1.3.=C2=A0 <br><pre class=3D"m_5356331867454488272gmail-=
m_4997153826884106269m_4429336679413947623m_-101311485245468505m_-650003020=
7053047939gmail-newpage">   TLS version 1.3 and later negotiate these featu=
res in a different
   manner.  Unlike TLS 1.2, TLS 1.3 separates authentication and cipher
   suite negotiation [<a href=3D"https://tools.ietf.org/html/draft-ietf-tls=
-ecdhe-psk-aead-04#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.ietf-tls-t=
ls13</a>] <a href=3D"https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-a=
ead-04#section-1.2" target=3D"_blank">Section 1.2</a>.  TLS 1.3 supports
   PSK with ECDHE key exchange and the cipher suites
   TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
   TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are part of the
   specification.  As a result, TLS 1.3 and higher versions, negotiate
   and support these cipher suites in a different way.</pre></div></div></d=
iv></div></blockquote><div><br></div></span><div>OK.</div><span class=3D"m_=
5356331867454488272gmail-"><div>=C2=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=
=3D"gmail_quote"><div>I suggest to remove the reference to TLS1.3 in the se=
curity considerations<br><br></div>OLD<br><pre class=3D"m_53563318674544882=
72gmail-m_4997153826884106269m_4429336679413947623m_-101311485245468505m_-6=
500030207053047939gmail-newpage"> The security considerations in TLS 1.2 [<=
a href=3D"https://tools.ietf.org/html/rfc5246" title=3D"&quot;The Transport=
 Layer Security (TLS) Protocol Version 1.2&quot;" target=3D"_blank">RFC5246=
</a>], DTLS 1.2 [<a href=3D"https://tools.ietf.org/html/rfc6347" title=3D"&=
quot;Datagram Transport Layer Security Version 1.2&quot;" target=3D"_blank"=
>RFC6347</a>],
   TLS 1.3 [<a href=3D"https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk=
-aead-04#ref-I-D.ietf-tls-tls13" target=3D"_blank">I-D.ietf-tls-tls13</a>],=
 ECDHE_PSK [<a href=3D"https://tools.ietf.org/html/rfc5489" title=3D"&quot;=
ECDHE_PSK Cipher Suites for Transport Layer Security (TLS)&quot;" target=3D=
"_blank">RFC5489</a>], AES-GCM [<a href=3D"https://tools.ietf.org/html/rfc5=
288" title=3D"&quot;AES Galois Counter Mode (GCM) Cipher Suites for TLS&quo=
t;" target=3D"_blank">RFC5288</a>],
   and AES-CCM [<a href=3D"https://tools.ietf.org/html/rfc6655" title=3D"&q=
uot;AES-CCM Cipher Suites for Transport Layer Security (TLS)&quot;" target=
=3D"_blank">RFC6655</a>] apply to this document as well.<br><br></pre></div=
><div class=3D"gmail_quote">NEW <br></div><div class=3D"gmail_quote"><div><=
pre class=3D"m_5356331867454488272gmail-m_4997153826884106269m_442933667941=
3947623m_-101311485245468505m_-6500030207053047939gmail-newpage"> The secur=
ity considerations in TLS 1.2 [<a href=3D"https://tools.ietf.org/html/rfc52=
46" title=3D"&quot;The Transport Layer Security (TLS) Protocol Version 1.2&=
quot;" target=3D"_blank">RFC5246</a>], DTLS 1.2 [<a href=3D"https://tools.i=
etf.org/html/rfc6347" title=3D"&quot;Datagram Transport Layer Security Vers=
ion 1.2&quot;" target=3D"_blank">RFC6347</a>],<br> ECDHE_PSK [<a href=3D"ht=
tps://tools.ietf.org/html/rfc5489" title=3D"&quot;ECDHE_PSK Cipher Suites f=
or Transport Layer Security (TLS)&quot;" target=3D"_blank">RFC5489</a>], AE=
S-GCM [<a href=3D"https://tools.ietf.org/html/rfc5288" title=3D"&quot;AES G=
alois Counter Mode (GCM) Cipher Suites for TLS&quot;" target=3D"_blank">RFC=
5288</a>],and AES-CCM [<a href=3D"https://tools.ietf.org/html/rfc6655" titl=
e=3D"&quot;AES-CCM Cipher Suites for Transport Layer Security (TLS)&quot;" =
target=3D"_blank">RFC6655</a>] apply <br> to this document as well.</pre></=
div><span><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
S 2.<br>
I&#39;m not sure that the discussion of the PRF is helpful here in<br>
mandating the non-use of these cipher suites with TLS 1.1 and<br>
below.<br></blockquote><div><br></div></span><div>I find the text useful as=
 it gives an idea why even introducing AEAD in TLS version lower than 1.2 i=
s a bad idea, so I would prefer to keep it. The text has been changed to <b=
r><br></div><div>OLD:<br>As such TLS 1.0 and TLS 1.1 should not be used wit=
h ECDHE_PSK.</div><div><br>NEW:<br></div></div>As such,=C2=A0 all ECDHE_PSK=
<br>ciphers, including those defined outside this document, SHOULD NOT be<b=
r>negotiated in TLS versions prior to 1.2.<br></div></div></blockquote><div=
><br></div></span><div>I don&#39;t think you should be levying a new normat=
ive requirement like this for other ciphers</div><div>i this document</div>=
</div></div></div></blockquote><div><br></div><div>Consideration for other =
ciphers has been removed. The requirement is limited to the ciphers of the =
document. The new text is:<br><br>As such, all ECDHE_PSK ciphers, including=
 those defined in this document, SHOULD NOT be<br>negotiated in TLS version=
s prior to 1.2.<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div=
><br></div><div>-Ek</div><span class=3D"m_5356331867454488272gmail-HOEnZb">=
<font color=3D"#888888"><div>r</div></font></span></div><br></div></div>
</blockquote></div><br></div></div>

--001a11412d3c6a2d4205503bdba4--

--001a11412d3c6a2d4705503bdba6
Content-Type: text/plain; charset="US-ASCII"; name="draft-ietf-tls-ecdhe-psk-aead-05.txt"
Content-Disposition: attachment; 
	filename="draft-ietf-tls-ecdhe-psk-aead-05.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_j32d8whl1

CgoKCk5ldHdvcmsgV29ya2luZyBHcm91cCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICBKLiBNYXR0c3NvbgpJbnRlcm5ldC1EcmFmdCAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgIEQuIE1pZ2F1bHQKSW50ZW5kZWQgc3RhdHVzOiBTdGFu
ZGFyZHMgVHJhY2sgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEVyaWNzc29uCkV4cGly
ZXM6IE5vdmVtYmVyIDI0LCAyMDE3ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIE1h
eSAyMywgMjAxNwoKCiAgRUNESEVfUFNLIHdpdGggQUVTLUdDTSBhbmQgQUVTLUNDTSBDaXBoZXIg
U3VpdGVzIGZvciBUcmFuc3BvcnQgTGF5ZXIKICAgICAgICAgICAgICAgICAgU2VjdXJpdHkgKFRM
UykgUHJvdG9jb2wgdmVyc2lvbiAxLjIKICAgICAgICAgICAgICAgICAgICBkcmFmdC1pZXRmLXRs
cy1lY2RoZS1wc2stYWVhZC0wNQoKQWJzdHJhY3QKCiAgIFRoaXMgZG9jdW1lbnQgZGVmaW5lcyBz
ZXZlcmFsIG5ldyBjaXBoZXIgc3VpdGVzIGZvciB0aGUgVHJhbnNwb3J0CiAgIExheWVyIFNlY3Vy
aXR5IChUTFMpIHByb3RvY29sIHZlcnNpb24gMS4yLiAgVGhlIGNpcGhlciBzdWl0ZXMgYXJlIGFs
bAogICBiYXNlZCBvbiB0aGUgRXBoZW1lcmFsIEVsbGlwdGljIEN1cnZlIERpZmZpZS1IZWx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wOi8vd3d3LnJmYy1lZGl0b3Iub3JnL2luZm8vcmZjNzU0MD4uCgpBdXRob3JzJyBB
ZGRyZXNzZXMKCiAgIEpvaG4gTWF0dHNzb24KICAgRXJpY3Nzb24gQUIKICAgU0UtMTY0IDgwIFN0
b2NraG9sbQogICBTd2VkZW4KCiAgIFBob25lOiArNDYgNzYgMTE1IDM1IDAxCiAgIEVtYWlsOiBq
b2huLm1hdHRzc29uQGVyaWNzc29uLmNvbQoKCiAgIERhbmllbCBNaWdhdWx0CiAgIEVyaWNzc29u
CiAgIDg0MDAgYm91bGV2YXJkIERlY2FyaWUKICAgTW9udHJlYWwsIFFDICAgSDRQIDJOMgogICBD
YW5hZGEKCiAgIFBob25lOiArMSA1MTQtNDUyLTIxNjAKICAgRW1haWw6IGRhbmllbC5taWdhdWx0
QGVyaWNzc29uLmNvbQoKCgoKCgoKCgoKCk1hdHRzc29uICYgTWlnYXVsdCAgICAgIEV4cGlyZXMg
Tm92ZW1iZXIgMjQsIDIwMTcgICAgICAgICAgICAgICBbUGFnZSA3XQo=
--001a11412d3c6a2d4705503bdba6
Content-Type: text/html; charset="US-ASCII"; 
	name="Diff: draft-ietf-tls-ecdhe-psk-aead-05.txt - draft-ietf-tls-ecdhe-psk-aead-04.txt.html"
Content-Disposition: attachment; 
	filename="Diff: draft-ietf-tls-ecdhe-psk-aead-05.txt - draft-ietf-tls-ecdhe-psk-aead-04.txt.html"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_j32d8wfj0

CjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgWEhUTUwgMS4wIFRyYW5zaXRpb25h
bC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi94aHRtbDEvRFREL3hodG1sMS10cmFuc2l0aW9u
YWwuZHRkIj4gCjwhLS0gR2VuZXJhdGVkIGJ5IHJmY2RpZmYgMS40NTogcmZjZGlmZiAgLS0+IAo8
IS0tIDwhRE9DVFlQRSBodG1sIFBVQkxJQy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mLyIgPmh0dHA6Ly90b29scy5pZXRm
Lm9yZy90b29scy9yZmNkaWZmLzwvYT4gPC90ZD48L3RyPgogICA8L3RhYmxlPgogICA8L2JvZHk+
CiAgIDwvaHRtbD4K
--001a11412d3c6a2d4705503bdba6--


From nobody Wed May 24 13:13:34 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 605FA127B52; Wed, 24 May 2017 13:13:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 wBs26BcO8OtJ; Wed, 24 May 2017 13:13:26 -0700 (PDT)
Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com [IPv6:2a00:1450:4010:c07::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 9B710127419; Wed, 24 May 2017 13:13:25 -0700 (PDT)
Received: by mail-lf0-x22e.google.com with SMTP id a5so60104669lfh.2; Wed, 24 May 2017 13:13:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zp1eUfJVsE6CUyxmP97ocD/AKZ8W9acSn41sZy5nRc8=; b=JF6V58o0/Jo7+fPTgmqmBGWvENBxJ3wAPHPzmcugYM1uTDGS7wUVjOdIZIOwja60uO EV7DQChpmSpdEnvCjtzzryIj3rvHHSsXtH0d9VAsbRu1fcA4QZfOjC7LfscoqEPQz50D GuHIfALdcz+Qeg5wQnrFdPP/ucRW3pCerU9Bodx1LB/63q6RJmrPw80itKWRihuAICQF kpE5o1LHdnQAikvuJ+G8kBxWHbj8GuHrJNWuRIUfU5zCMYaL0qjwf90pSc9jl7bZW6PF 8hGyHZZ1zb0tv2vT5v1U1CJw8k0CuoXywBiORPc7VPzjkWKssMdU1k4cGKa9URbb5OI0 Rh1g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zp1eUfJVsE6CUyxmP97ocD/AKZ8W9acSn41sZy5nRc8=; b=K1vEVFP6PM+oOlOj/a5tXwW8wu+qfb+kVlfnarCl4A2r+/qBFaIkFDq09GbrlN4diR O/GWAW9o/vYuzWDBQWotWveP3YWeA4j7NH05umCEtQjZFdIsBqAYoP+bBCFPkSz9Eqml rKMXXJO5vhwYT2m4Ur/qnaCTmdaaUap7tS8N4VtWXrvrL4AV7QCO7bkZ87cFuqE6jlRK 5tj6+Exf+AV6jNpk0KJ1FPv6wqI1RhaW3yYSFoB34HtZTgv3SALT6/C8u9IhbyMCXlwg Pky8LN/vbZoMn/X6KtoSaYwveUVZ16jdTK7++kOLfCRQQKhGJczQpe6mLr1yFZWW9t1Z Q9NQ==
X-Gm-Message-State: AODbwcD4jGfJbFFWd5DRXO0bpQieEsVMAihOnkAuL5Iru1NOwH51HcCn 3o37/yA8iC7rVVW7GtHT1ZFs2Z/nmg==
X-Received: by 10.25.215.198 with SMTP id q67mr8964367lfi.76.1495656803706; Wed, 24 May 2017 13:13:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.22.73 with HTTP; Wed, 24 May 2017 13:13:23 -0700 (PDT)
In-Reply-To: <CADZyTknBzV6Z_wwBtPw-=9VOw1Z0X8UQPRorwvg_cRQuRNFQLw@mail.gmail.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com> <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com> <CADZyTknmXE6UW5e9SbSwwSUZWU-wHw_+9sTB_xnYUmo8KBOJxg@mail.gmail.com> <CADZyTk=K8dzYaEL3TBjHMzsHnF+X52RvZiUsSBJQmNi0CkH=CA@mail.gmail.com> <CABkgnnVq8N+vEXZ-=yU+EWR9GYTh9K64D8MP0Yu7Pn0enE=iRQ@mail.gmail.com> <CADZyTknBzV6Z_wwBtPw-=9VOw1Z0X8UQPRorwvg_cRQuRNFQLw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 25 May 2017 06:13:23 +1000
Message-ID: <CABkgnnX_U7DW-+Pq+32-Z3eQB-ZR_C8GM6XUBDDeSAxJqkZ8ng@mail.gmail.com>
To: Daniel Migault <daniel.migault@ericsson.com>
Cc: Eric Rescorla <ekr@rtfm.com>, tls-chairs <tls-chairs@ietf.org>, The IESG <iesg@ietf.org>,  tls <tls@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/iJjevzdtH0YH5pmYsz-8uguwcQE>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 20:13:27 -0000

On 25 May 2017 at 00:04, Daniel Migault <daniel.migault@ericsson.com> wrote:

> B) It is not true as TLS1.3 enables these cipher suites to be negotiated
> with TLS1.3.

You can't negotiate the new suites with 1.3, but you can offer them in
case the server picks 1.2.

Joe's proposal fixes this and other errors.


>> You don't anywhere state that TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256
>> means to use AEAD_AES_128_GCM (and the same for the other
>> ciphersuites).  I mention this because the order in which the AEAD
>> algorithms are mentioned is different to the order of the ciphersuites
>> in the list.
>>
>
> Unless I miss your comment, I believe the section 3 already addresses it. If
> not please let me knoe what text you would like to see.
>
> """
> 3.  ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites
>
>    The cipher suites defined in this document are based on the AES-GCM
>    and AES-CCM Authenticated Encryption with Associated Data (AEAD)
>    algorithms AEAD_AES_128_GCM, AEAD_AES_256_GCM and AEAD_AES_128_CCM
>    defined in [RFC5116], and AEAD_AES_128_CCM_8 defined in [RFC6655].
>
> """

You miss my comment.  This does not prevent someone from deciding that
TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256 should use AEAD_AES_128_CCM_8.


From nobody Wed May 24 13:50:03 2017
Return-Path: <spencerdawkins.ietf@gmail.com>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 90F7D127B52; Wed, 24 May 2017 13:49:55 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Spencer Dawkins <spencerdawkins.ietf@gmail.com>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-tls-ecdhe-psk-aead@ietf.org, Joseph Salowey <joe@salowey.net>,  tls-chairs@ietf.org, joe@salowey.net, tls@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.51.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149565899558.8677.16612425338646271478.idtracker@ietfa.amsl.com>
Date: Wed, 24 May 2017 13:49:55 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/PP_rI28b_J1WAg9kmrXCYc08IR8>
Subject: [TLS] Spencer Dawkins' No Objection on draft-ietf-tls-ecdhe-psk-aead-04: (with COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 20:49:56 -0000

Spencer Dawkins has entered the following ballot position for
draft-ietf-tls-ecdhe-psk-aead-04: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about IESG DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Ciphersuite drafts for TLS are usually above my pay grade, but I
understand most of EKR's Discuss, and agree with Adam's suggestion to
change the document title to "ECDHE_PSK with AES-GCM and AES-CCM Cipher
Suites for Transport Layer Security Version 1.2 (TLS 1.2)" at an absolute
minimum.



From nobody Wed May 24 14:04:03 2017
Return-Path: <kathleen.moriarty.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 26037129BBD; Wed, 24 May 2017 14:03:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 ihDx9xlU5S6q; Wed, 24 May 2017 14:03:52 -0700 (PDT)
Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com [IPv6:2607:f8b0:400e:c00::231]) (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 47FF7128854; Wed, 24 May 2017 14:03:52 -0700 (PDT)
Received: by mail-pf0-x231.google.com with SMTP id m17so146669358pfg.3; Wed, 24 May 2017 14:03:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vziskLflKXcg7kHgF+tbm1oRoyl8H6HPrudVF5wDbG0=; b=C8T1KNlq1pOwnN4G4gF+ugH/fDpesByHAbTcBtW9XY4dMoL6M7/1Hycybamh3fyeC4 xCNQWPEgtT/Qsv10Y5aB+BAicG+eqEUbTuxS7S4z7ziI/u2xLSs2tgyZ3blFfHvnSGe0 e4o0Y6r8XoyM30DBlLcUlBsimZPygTsXzkFGNvtVQiiHqzq8YuBx8oQBrhK6dKr5J0Ka 29Mi027Pqxb1HhVboy1rPL3YopgaYT1bhLGNhdq9Qb7OTh+RKnoR6kie6OhcnycyDYAh jYlZ486vqRCB9RgONZ9jxNCBV6M4NLtRctdX43JnFBweaSvx5LhAnV5ex1f2eOUpuqD9 uV8Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vziskLflKXcg7kHgF+tbm1oRoyl8H6HPrudVF5wDbG0=; b=jGYoAhlXmglqf89qta/Stnc9wRjc4Dk4YXMyds0Aaqkmxtkdz0YK2CZ9qnvt5i8Fmh MJr6H814ZSAzVab0k2CQmEqg2+FU4IptXtVl4tWlWDa7d1QE3rScENrIBqx0bTtevhoL riyXE4slfljrnpzcnKIb/lTJMruXYeyL018MJwP7UL0GXG09i/tmM/yZRwql4gJYb1OI Yzu9M7QAbfM8H1hmop5+M6TuhgSny7T6JLr0Asvdo3Ydct4RtNPnaXiDnhw7u0l0IWS9 1oKr0yVCTl3FJQuJGNa62xDuwbxrhWL9uxMaJkDKVmvvyxCDJ5g7w7eOfMqbUIIsX7wz PMaA==
X-Gm-Message-State: AODbwcDjd/ZRcGOPyuXuI+1Hv7sL2R/GIiB7UuVwzQJ434AQ2LPW7+jv Tj+yt0/CHIEzk8TVHpY9p4ufGmBkuQ==
X-Received: by 10.98.86.207 with SMTP id h76mr39764784pfj.205.1495659831893; Wed, 24 May 2017 14:03:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.186.135 with HTTP; Wed, 24 May 2017 14:03:11 -0700 (PDT)
In-Reply-To: <149565899558.8677.16612425338646271478.idtracker@ietfa.amsl.com>
References: <149565899558.8677.16612425338646271478.idtracker@ietfa.amsl.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Date: Wed, 24 May 2017 17:03:11 -0400
Message-ID: <CAHbuEH7gz-ohp5S45XqSM1tDGE46qya332R5oNFBGJKyki1qGw@mail.gmail.com>
To: Spencer Dawkins <spencerdawkins.ietf@gmail.com>
Cc: The IESG <iesg@ietf.org>, "<tls@ietf.org>" <tls@ietf.org>, "joe@salowey.net" <joe@salowey.net>,  tls-chairs <tls-chairs@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/HdZAY9Ng3H2FF9m7-5ttGdg4ZPk>
Subject: Re: [TLS] Spencer Dawkins' No Objection on draft-ietf-tls-ecdhe-psk-aead-04: (with COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 21:03:54 -0000

On Wed, May 24, 2017 at 4:49 PM, Spencer Dawkins
<spencerdawkins.ietf@gmail.com> wrote:
> Spencer Dawkins has entered the following ballot position for
> draft-ietf-tls-ecdhe-psk-aead-04: No Objection
>
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
>
>
> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
>
>
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
>
>
>
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>
> Ciphersuite drafts for TLS are usually above my pay grade, but I
> understand most of EKR's Discuss, and agree with Adam's suggestion to
> change the document title to "ECDHE_PSK with AES-GCM and AES-CCM Cipher
> Suites for Transport Layer Security Version 1.2 (TLS 1.2)" at an absolute
> minimum.

The shepherd proposed a resolution that should clear up the discuss points.
>
>



-- 

Best regards,
Kathleen


From nobody Wed May 24 14:15:29 2017
Return-Path: <joe@salowey.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6693C129BC5 for <tls@ietfa.amsl.com>; Wed, 24 May 2017 14:15:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=salowey-net.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 kJ8MssChY-bu for <tls@ietfa.amsl.com>; Wed, 24 May 2017 14:15:26 -0700 (PDT)
Received: from mail-pf0-x233.google.com (mail-pf0-x233.google.com [IPv6:2607:f8b0:400e:c00::233]) (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 4D009129BF5 for <tls@ietf.org>; Wed, 24 May 2017 14:14:47 -0700 (PDT)
Received: by mail-pf0-x233.google.com with SMTP id m17so146886357pfg.3 for <tls@ietf.org>; Wed, 24 May 2017 14:14:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salowey-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=z6399RzuEoikphWuuRPk9dFRuP8cJ/5C0bKIR3vPf4c=; b=13zApcBIRHL4xfJJXVavT43R0UAg6HHoX0EDQXViD4+8Xc/LROYugb2n2Yt633xaTg y4lPPr7cFUa5uNmOHAgQ0+dYvcaOsjbMIKsRRUM9eGoTWZ1xp50CAwQ/Cwk56mG8dxGg NuKysXHqHjOGsUlTIb+/8w1/tbd7hxW5i43vdqmd8syREMzKc9wExjrqALNoE+nVD4ZG ZCoXsngAfcrf5qTYwUxizk0VVhmdxpdXXLb40B0ohUIeHIdn0JNhs9Jcr93jVsKXXYpp dep8pbwniXjXSxZaOBuELGH+0AkxLhg8pyUoXO78InCd2v7Cr8QLLfff4rHBwrX+Hx6h IUjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=z6399RzuEoikphWuuRPk9dFRuP8cJ/5C0bKIR3vPf4c=; b=YPi1igU2cK1bdQJR/c/oIzCOJ04PnK7IONUJRE7dbIdMRHhdQwN6DL5+e8N6HvZBwa sdxlB5pPU5TrdNfZ8Bh5B7Nu0/YU2vxUZOBPK5hlc/1U/zMIe1mNci7zaVAYD1piz2Ao Li3iDLVFyvghFcuWtpX2A5auw1J63RymKc+CBvsTHH8OoLdLB+NesBFK5V2GTHkvXFvC LZVzjyV2oM2ThZwdB3XqXEfVTUVeu8WPkrdqEKcrXBGdNLERVp8MUNG2eBG0vxNWxOon CmVo5R+psRw3qKwTE6HKkDbBBaailknW0kR0s2F+gzw0TGr+CTgQrm4YXXz7gvMtaid/ RaVA==
X-Gm-Message-State: AODbwcAcOtirxtES+UqjVcPWTD44tSYz90QX53QaElJumjBBx0qZHHFd LOk9JYuLfDLGqspL6K0RC3B4NqPDCUu4
X-Received: by 10.84.229.79 with SMTP id d15mr45861443pln.93.1495660486893; Wed, 24 May 2017 14:14:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.177.204 with HTTP; Wed, 24 May 2017 14:14:26 -0700 (PDT)
In-Reply-To: <CABkgnnX_U7DW-+Pq+32-Z3eQB-ZR_C8GM6XUBDDeSAxJqkZ8ng@mail.gmail.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com> <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com> <CADZyTknmXE6UW5e9SbSwwSUZWU-wHw_+9sTB_xnYUmo8KBOJxg@mail.gmail.com> <CADZyTk=K8dzYaEL3TBjHMzsHnF+X52RvZiUsSBJQmNi0CkH=CA@mail.gmail.com> <CABkgnnVq8N+vEXZ-=yU+EWR9GYTh9K64D8MP0Yu7Pn0enE=iRQ@mail.gmail.com> <CADZyTknBzV6Z_wwBtPw-=9VOw1Z0X8UQPRorwvg_cRQuRNFQLw@mail.gmail.com> <CABkgnnX_U7DW-+Pq+32-Z3eQB-ZR_C8GM6XUBDDeSAxJqkZ8ng@mail.gmail.com>
From: Joseph Salowey <joe@salowey.net>
Date: Wed, 24 May 2017 14:14:26 -0700
Message-ID: <CAOgPGoAwn5kfS8GTHw3a5Hgwerrnd735vO-ReGQQBXJtKsf=dQ@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Daniel Migault <daniel.migault@ericsson.com>, Eric Rescorla <ekr@rtfm.com>, tls-chairs <tls-chairs@ietf.org>, The IESG <iesg@ietf.org>, tls <tls@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c19ecb406b2a705504b980e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/PQ-La1eWQHvkRx38w5V0u_fu68A>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 21:15:28 -0000

--94eb2c19ecb406b2a705504b980e
Content-Type: text/plain; charset="UTF-8"

On Wed, May 24, 2017 at 1:13 PM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> On 25 May 2017 at 00:04, Daniel Migault <daniel.migault@ericsson.com>
> wrote:
>
> > B) It is not true as TLS1.3 enables these cipher suites to be negotiated
> > with TLS1.3.
>
> You can't negotiate the new suites with 1.3, but you can offer them in
> case the server picks 1.2.
>
> Joe's proposal fixes this and other errors.
>
>
> >> You don't anywhere state that TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256
> >> means to use AEAD_AES_128_GCM (and the same for the other
> >> ciphersuites).  I mention this because the order in which the AEAD
> >> algorithms are mentioned is different to the order of the ciphersuites
> >> in the list.
> >>
> >
> > Unless I miss your comment, I believe the section 3 already addresses
> it. If
> > not please let me knoe what text you would like to see.
> >
> > """
> > 3.  ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites
> >
> >    The cipher suites defined in this document are based on the AES-GCM
> >    and AES-CCM Authenticated Encryption with Associated Data (AEAD)
> >    algorithms AEAD_AES_128_GCM, AEAD_AES_256_GCM and AEAD_AES_128_CCM
> >    defined in [RFC5116], and AEAD_AES_128_CCM_8 defined in [RFC6655].
> >
> > """
>
> You miss my comment.  This does not prevent someone from deciding that
> TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256 should use AEAD_AES_128_CCM_8.
>

[Joe] It seems that a reasonable interpretation of the text is that the
AEAD constructs will pair with the cipher suite that share the same name.
Do you still think we need to provide an explicit mapping between the two?

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 24, 2017 at 1:13 PM, Martin Thomson <span dir=3D"ltr">&lt;<=
a href=3D"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.thomson=
@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span cl=
ass=3D"">On 25 May 2017 at 00:04, Daniel Migault &lt;<a href=3D"mailto:dani=
el.migault@ericsson.com">daniel.migault@ericsson.com</a>&gt; wrote:<br>
<br>
&gt; B) It is not true as TLS1.3 enables these cipher suites to be negotiat=
ed<br>
&gt; with TLS1.3.<br>
<br>
</span>You can&#39;t negotiate the new suites with 1.3, but you can offer t=
hem in<br>
case the server picks 1.2.<br>
<br>
Joe&#39;s proposal fixes this and other errors.<br>
<span class=3D""><br>
<br>
&gt;&gt; You don&#39;t anywhere state that TLS_ECDHE_PSK_WITH_AES_128_<wbr>=
GCM_SHA256<br>
&gt;&gt; means to use AEAD_AES_128_GCM (and the same for the other<br>
&gt;&gt; ciphersuites).=C2=A0 I mention this because the order in which the=
 AEAD<br>
&gt;&gt; algorithms are mentioned is different to the order of the ciphersu=
ites<br>
&gt;&gt; in the list.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Unless I miss your comment, I believe the section 3 already addresses =
it. If<br>
&gt; not please let me knoe what text you would like to see.<br>
&gt;<br>
&gt; &quot;&quot;&quot;<br>
&gt; 3.=C2=A0 ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 The cipher suites defined in this document are based on t=
he AES-GCM<br>
&gt;=C2=A0 =C2=A0 and AES-CCM Authenticated Encryption with Associated Data=
 (AEAD)<br>
&gt;=C2=A0 =C2=A0 algorithms AEAD_AES_128_GCM, AEAD_AES_256_GCM and AEAD_AE=
S_128_CCM<br>
&gt;=C2=A0 =C2=A0 defined in [RFC5116], and AEAD_AES_128_CCM_8 defined in [=
RFC6655].<br>
&gt;<br>
&gt; &quot;&quot;&quot;<br>
<br>
</span>You miss my comment.=C2=A0 This does not prevent someone from decidi=
ng that<br>
TLS_ECDHE_PSK_WITH_AES_128_<wbr>GCM_SHA256 should use AEAD_AES_128_CCM_8.<b=
r>
</blockquote></div><br></div><div class=3D"gmail_extra">[Joe] It seems that=
 a reasonable interpretation of the text is that the AEAD constructs will p=
air with the cipher suite that share the same name.=C2=A0 Do you still thin=
k we need to provide an explicit mapping between the two?=C2=A0</div><div c=
lass=3D"gmail_extra"><br></div></div>

--94eb2c19ecb406b2a705504b980e--


From nobody Wed May 24 14:24:23 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8FF0B128792; Wed, 24 May 2017 14:24:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 1SxQjbTnFvaF; Wed, 24 May 2017 14:24:21 -0700 (PDT)
Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (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 1903412778E; Wed, 24 May 2017 14:24:21 -0700 (PDT)
Received: by mail-lf0-x22c.google.com with SMTP id h4so74452785lfj.3; Wed, 24 May 2017 14:24:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=iMJfI+wIghYuiUcY/I4Ce2l8JXSLHzv6f0r1YFb3Lps=; b=CvWD7iIOqk3QxAxRt8UFCLCWfMU307cC2L2+QmYEyZRYNlgrq5LL2s/joptPNErgAT ZgMava6UlnuBcEy97BB78zXLA1vAW3Yb5HhVul1S0zff/MwBcl6JdKo4Wrg63hPHaUd2 OYANAnBIye5E65Ok0fwpmT1qREFx2NvUQBFCwIKs1m1r7vg2urkEjpyZWlVFtph+nE3Z ge/b40/VBYgofPpmFruSKUS2efykVjZqmTQxae6a1qdMjFqFRqvOkg4KaizxZF3gkg+u srgkYE4us0T/dmpKng4XBA/JJiYvtsPFBaokqgHOVJU6ZL9umeTRpPauGCFZEW+1nOAy InKA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=iMJfI+wIghYuiUcY/I4Ce2l8JXSLHzv6f0r1YFb3Lps=; b=mZtH58nV25P5Hgji27GTZRHS7not8Utczv4vkzZULdncA3+l2nfa5lBJZIjw1wQvwf 30+Ym97HMM15e8e1fiVF4VESfhuczIch69PNcqs5A8l5YldXjtvdwkZDp6gvCMsOwoKu TjaQ7/bEr0maoy6J4SW8cooENSYWabeBp3gwGyOdFM9Ida8YtDeN9QD2viNvFl7wkf0s GkUqfNaD2ijdkmNRI4K8/daDG4ggbi0Hjgc4DNQgJio4V1ZgwQQz2EAw3c2HZ76GYmCm 7GSVsD/CNmtu4sHkRGIZPdqhtOxqlCO3FGMqmnOlxrhrrcrPro0uDTI/oK0udIXBhxgX r/7g==
X-Gm-Message-State: AODbwcCasMJjOEUlsnPQiR2pD67fZIXDfzh7ztjI3+69Y4iFLvuvMFAV OLnTPR1gU1ilXb2aXiK+DxNJCwwC0Q==
X-Received: by 10.25.148.20 with SMTP id w20mr9957011lfd.169.1495661059159; Wed, 24 May 2017 14:24:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.22.73 with HTTP; Wed, 24 May 2017 14:24:18 -0700 (PDT)
In-Reply-To: <CAOgPGoAwn5kfS8GTHw3a5Hgwerrnd735vO-ReGQQBXJtKsf=dQ@mail.gmail.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com> <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com> <CADZyTknmXE6UW5e9SbSwwSUZWU-wHw_+9sTB_xnYUmo8KBOJxg@mail.gmail.com> <CADZyTk=K8dzYaEL3TBjHMzsHnF+X52RvZiUsSBJQmNi0CkH=CA@mail.gmail.com> <CABkgnnVq8N+vEXZ-=yU+EWR9GYTh9K64D8MP0Yu7Pn0enE=iRQ@mail.gmail.com> <CADZyTknBzV6Z_wwBtPw-=9VOw1Z0X8UQPRorwvg_cRQuRNFQLw@mail.gmail.com> <CABkgnnX_U7DW-+Pq+32-Z3eQB-ZR_C8GM6XUBDDeSAxJqkZ8ng@mail.gmail.com> <CAOgPGoAwn5kfS8GTHw3a5Hgwerrnd735vO-ReGQQBXJtKsf=dQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 25 May 2017 07:24:18 +1000
Message-ID: <CABkgnnV1csycfd4QDnwcHwFOEGU1n1YfoWiDQyPZtZryT==GMQ@mail.gmail.com>
To: Joseph Salowey <joe@salowey.net>
Cc: Daniel Migault <daniel.migault@ericsson.com>, Eric Rescorla <ekr@rtfm.com>, tls-chairs <tls-chairs@ietf.org>, The IESG <iesg@ietf.org>, tls <tls@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/icP_v_3rmQt2LYwGmzjAmyTy0yE>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 21:24:22 -0000

On 25 May 2017 at 07:14, Joseph Salowey <joe@salowey.net> wrote:
> [Joe] It seems that a reasonable interpretation of the text is that the AEAD
> constructs will pair with the cipher suite that share the same name.  Do you
> still think we need to provide an explicit mapping between the two?


Reasonable, sure, even obvious.  I've learned that reasonable doesn't
work always.  Note that the order that the AEADs are listed doesn't
match the order of the cipher suites.


From nobody Wed May 24 14:29:57 2017
Return-Path: <joe@salowey.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 301DD129BC6 for <tls@ietfa.amsl.com>; Wed, 24 May 2017 14:29:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=salowey-net.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 OJ_rxOCsBrON for <tls@ietfa.amsl.com>; Wed, 24 May 2017 14:29:54 -0700 (PDT)
Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com [IPv6:2607:f8b0:400e:c00::231]) (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 12B02129BE8 for <tls@ietf.org>; Wed, 24 May 2017 14:29:54 -0700 (PDT)
Received: by mail-pf0-x231.google.com with SMTP id 9so147121440pfj.1 for <tls@ietf.org>; Wed, 24 May 2017 14:29:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salowey-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=OByUJjmambhY4FaX9+dd+LdXW9Wee+F+eutB8WdeKm8=; b=f/N2IpNstluv+IFGqvRakdXcHUjJmH265khUY1ctLziolpaL8kI5I6SUuWqemZNIRf njMAsW97Vh6buqBJtRIgiPWXoopOAjktCnKdAcH9OEAuxA624KT2hbQApGThgd1EcvNb ZCBXKCRcloath+eAPYTkgJn7VjEARaEIkyFvjY47s07LmKYRRMaZTJzJsfsA07gJphHC gsbf2y7u7wdGUGHvgGwkxUe0kQxlQrQxfu276UpkoUJcArHlOOwEMsytJ9nl++8KFfBK YYqF6XHFarBKn6XY59Mq4XTMnoo0aQls1WIbfo69vcG7WBaf3whXte1RWQDKs4J+aiWJ wq0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=OByUJjmambhY4FaX9+dd+LdXW9Wee+F+eutB8WdeKm8=; b=cFB3mixWL40LkXkM+mWxfWXnsJRusgavNv8Ut8EaDDHwSyiJWtBXeJEZbZDypgccPV CIe7DkWyBvc8yfg7qUXUHz0egV7IeHpIBVBbxkVidhP2m47qdSs7RciFtbo0XxvL/T6y YFeOZ58GT6AY9+Pogpw5qmFfCippNJd9LHIHxM/4LanpDKieWLQiwPeAsW5+c1/gVm/E ymedBgi1pLw6580ihfIGwfCp1SJHdMBCu3KRLc1L3KedB/49gQU4NLqE2Ku5KHI8FJEb 3+XjlpIV9sb68G5839s2rA+WzTFOH+gB8MwjApHOcCx5GaOz0+IyasodGSv5bbJQB6+h zFMA==
X-Gm-Message-State: AODbwcBlStl9DGHKpbwJOYkw8VGlVdMS9z/UjILf4kYAA7UOc68CaIPC OoAVFEw4fOb4I4ffmFdWuCSiCztMG63G
X-Received: by 10.98.216.198 with SMTP id e189mr40511431pfg.61.1495661393681;  Wed, 24 May 2017 14:29:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.177.204 with HTTP; Wed, 24 May 2017 14:29:33 -0700 (PDT)
In-Reply-To: <34EDA6D1-71BA-4E4C-BB9F-5E8FD05786D9@cooperw.in>
References: <149523380739.28567.9584998643479497589@ietfa.amsl.com> <34EDA6D1-71BA-4E4C-BB9F-5E8FD05786D9@cooperw.in>
From: Joseph Salowey <joe@salowey.net>
Date: Wed, 24 May 2017 14:29:33 -0700
Message-ID: <CAOgPGoAJnvX3-ZWL73Og0qPnKwozf5yB772ZBs3oyxAG_Z6HiQ@mail.gmail.com>
To: Alissa Cooper <alissa@cooperw.in>
Cc: Dan Romascanu <dromasca@gmail.com>,  "gen-art >> General area reviewing team" <gen-art@ietf.org>, draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a1149494a13323c05504bcecb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/DdX1jHRkxK5e99U290BrXDhc828>
Subject: Re: [TLS] [Gen-art] Genart telechat review of draft-ietf-tls-ecdhe-psk-aead-04
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 21:29:56 -0000

--001a1149494a13323c05504bcecb
Content-Type: text/plain; charset="UTF-8"

Hi Dan and Alissa,

There has been some churn in the text of the document due to my oversight
when sending the document to the IESG.   The proposed new text provided
below show should also resolve your comment.  Please let me know if you see
any issues with this approach.

Thanks,

Joe

Replacing section 4:


   The cipher suites defined in this document MUST NOT be negotiated for
   any version of (D)TLS other than TLS 1.2.  Servers MUST NOT select
   one of these cipher suites when selecting TLS version other than TLS
   1.2.  A client MUST treat the selection of these cipher suites in
   combination with a different version of TLS as an error and generate
   a fatal 'illegal_parameter' TLS alert.

   Cipher suites TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
   TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are used to
   support equivalent functionality in TLS 1.3 [I-D.ietf-tls-tls13].




On Wed, May 24, 2017 at 8:15 AM, Alissa Cooper <alissa@cooperw.in> wrote:

> Dan, thank you for your reviews of this document and thanks to the authors
> for providing clarifications. I have balloted No Objection.
>
> Alissa
>
> > On May 19, 2017, at 6:43 PM, Dan Romascanu <dromasca@gmail.com> wrote:
> >
> > Reviewer: Dan Romascanu
> > Review result: Ready
> >
> > I am the assigned Gen-ART reviewer for this draft. The General Area
> > Review Team (Gen-ART) reviews all IETF documents being processed
> > by the IESG for the IETF Chair. Please wait for direction from your
> > document shepherd or AD before posting a new version of the draft.
> >
> > For more information, please see the FAQ at
> >
> > <https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.
> >
> > Document: draft-ietf-tls-ecdhe-psk-aead-??
> > Reviewer: Dan Romascanu
> > Review Date: 2017-05-19
> > IETF LC End Date: 2017-05-18
> > IESG Telechat date: 2017-05-25
> >
> > Summary:
> >
> > This is a straight-forward and clear document that defines several new
> > cipher suites for the Transport Layer Security (TLS) protocol version
> > 1.2 and higher, based on the Ephemeral Elliptic Curve Diffie-Hellman
> > with Pre-Shared Key (ECDHE_PSK) key exchange together with the
> > Authenticated Encryption with Associated Data (AEAD) algorithms
> > AES-GCM and AES-CCM. The document is well written and I appreciate the
> > effort to clarify in the Introduction the context, what was missing,
> > and why the document is necessary. One issue raised in my initial
> > review for draft-03 was addressed, discussed and draft-04 includes
> > useful clarification text.
> >
> > The document is Ready
> >
> > Major issues:
> >
> > Minor issues:
> >
> > Nits/editorial comments:
> >
> >
> > _______________________________________________
> > Gen-art mailing list
> > Gen-art@ietf.org
> > https://www.ietf.org/mailman/listinfo/gen-art
>
>

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

<div dir=3D"ltr">Hi Dan and Alissa,<div><br></div><div>There has been some =
churn in the text of the document due to my oversight when sending the docu=
ment to the IESG. =C2=A0 The proposed new text provided below show should a=
lso resolve your comment.=C2=A0 Please let me know if you see any issues wi=
th this approach. =C2=A0</div><div><br></div><div>Thanks,</div><div><br></d=
iv><div>Joe</div><div><br></div><div><div style=3D"font-size:12.8px">Replac=
ing section 4:</div><div style=3D"font-size:12.8px"><pre class=3D"gmail-m_-=
7284541284508334339gmail-aLF-aPX-K0-aPE gmail-m_-7284541284508334339gmail-a=
LF-aPX-aLK-ayr-auR" style=3D"white-space:pre-wrap"> =20
   The cipher suites defined in this document MUST NOT be negotiated for
   any version of (D)TLS other than TLS 1.2.  Servers MUST NOT select
   one of these cipher suites when selecting TLS version other than TLS
   1.2.  A client MUST treat the selection of these cipher suites in
   combination with a different version of TLS as an error and generate
   a fatal &#39;illegal_parameter&#39; TLS alert.

   Cipher suites TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
   TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are used to
   support equivalent functionality in TLS 1.3 [I-D.ietf-tls-tls13].</pre><=
/div></div><div><br></div><div><br></div></div><div class=3D"gmail_extra"><=
br><div class=3D"gmail_quote">On Wed, May 24, 2017 at 8:15 AM, Alissa Coope=
r <span dir=3D"ltr">&lt;<a href=3D"mailto:alissa@cooperw.in" target=3D"_bla=
nk">alissa@cooperw.in</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x">Dan, thank you for your reviews of this document and thanks to the autho=
rs for providing clarifications. I have balloted No Objection.<br>
<br>
Alissa<br>
<div><div class=3D"h5"><br>
&gt; On May 19, 2017, at 6:43 PM, Dan Romascanu &lt;<a href=3D"mailto:droma=
sca@gmail.com">dromasca@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Reviewer: Dan Romascanu<br>
&gt; Review result: Ready<br>
&gt;<br>
&gt; I am the assigned Gen-ART reviewer for this draft. The General Area<br=
>
&gt; Review Team (Gen-ART) reviews all IETF documents being processed<br>
&gt; by the IESG for the IETF Chair. Please wait for direction from your<br=
>
&gt; document shepherd or AD before posting a new version of the draft.<br>
&gt;<br>
&gt; For more information, please see the FAQ at<br>
&gt;<br>
&gt; &lt;<a href=3D"https://trac.ietf.org/trac/gen/wiki/GenArtfaq" rel=3D"n=
oreferrer" target=3D"_blank">https://trac.ietf.org/trac/<wbr>gen/wiki/GenAr=
tfaq</a>&gt;.<br>
&gt;<br>
&gt; Document: draft-ietf-tls-ecdhe-psk-aead-<wbr>??<br>
&gt; Reviewer: Dan Romascanu<br>
&gt; Review Date: 2017-05-19<br>
&gt; IETF LC End Date: 2017-05-18<br>
&gt; IESG Telechat date: 2017-05-25<br>
&gt;<br>
&gt; Summary:<br>
&gt;<br>
&gt; This is a straight-forward and clear document that defines several new=
<br>
&gt; cipher suites for the Transport Layer Security (TLS) protocol version<=
br>
&gt; 1.2 and higher, based on the Ephemeral Elliptic Curve Diffie-Hellman<b=
r>
&gt; with Pre-Shared Key (ECDHE_PSK) key exchange together with the<br>
&gt; Authenticated Encryption with Associated Data (AEAD) algorithms<br>
&gt; AES-GCM and AES-CCM. The document is well written and I appreciate the=
<br>
&gt; effort to clarify in the Introduction the context, what was missing,<b=
r>
&gt; and why the document is necessary. One issue raised in my initial<br>
&gt; review for draft-03 was addressed, discussed and draft-04 includes<br>
&gt; useful clarification text.<br>
&gt;<br>
&gt; The document is Ready<br>
&gt;<br>
&gt; Major issues:<br>
&gt;<br>
&gt; Minor issues:<br>
&gt;<br>
&gt; Nits/editorial comments:<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; Gen-art mailing list<br>
&gt; <a href=3D"mailto:Gen-art@ietf.org">Gen-art@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/gen-art" rel=3D"noref=
errer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/gen-art=
</a><br>
<br>
</blockquote></div><br></div>

--001a1149494a13323c05504bcecb--


From nobody Wed May 24 14:43:19 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED4BB129BF2; Wed, 24 May 2017 14:43:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.398
X-Spam-Level: 
X-Spam-Status: No, score=-2.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 1rSzhkuQcWlB; Wed, 24 May 2017 14:43:08 -0700 (PDT)
Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::231]) (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 45BA3129BC6; Wed, 24 May 2017 14:43:08 -0700 (PDT)
Received: by mail-lf0-x231.google.com with SMTP id a5so61122791lfh.2; Wed, 24 May 2017 14:43:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=WF2P3cM/JNWkRljBu2JhCSVCjFUVxmOUBGWGaT8uXMA=; b=vHiSU7IwDZmm70+WbM0vJqFeCSOR5RGBpfxzYEJbzwsqXcWiq64HdeXy9mdtz/Apo/ FAOkIDE+3yZl52Tyhe2n/eqG4qzDLs4bqBdR7DdAfABY9tvo8GoJ/l0XH+FhpFMqbkDD jYhFmFKsZ2j0i8vJ9BSIlWVByrGXSuGAAEVG6aCFH3TbTyFWhnPQbk7DJg9WBo83XcFS 8682QbTeE4Up7n5MEgfT89FoTALmLvD1XGNfilUhG2dcolZPmZ6CxPKE72KBi+DYPYrS FliVsoxu1x6uPBei2HcEcKdPy3R93eKhGG90iCVSeFOu/9ej9sG9wGg2nKLdtzHtQntc R9HA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=WF2P3cM/JNWkRljBu2JhCSVCjFUVxmOUBGWGaT8uXMA=; b=HF4a9XV+RR/DCdLuwu2XikSTQcUIWiUOMYRsfnR3+/2FcOonZFZh6zGTATQejcAPxm 9QTBOovyVtyqV8eChExkWOsZyjR5+4bCfG0SpAvqWxL6BQzxN7yZuuylMVtCKM/n+uMr QRo+nAyeme0BfZNFyXny/usYYWfDyHPVr2gfS9G5vwR5Tpfl1v0iZPNMTk6+hPlcEI0l b4P70i+28Yy2Na8MWjrbRrOs7VRmlknVyqrZZZkwivIYa9QJpMyXr1sgbQ8a/n9n6nSS Qno+4Dl8H13l+3m3VMxot4n6gk1M5WxzojJqTlCOysPyHc+kqj31sezAvdhCOrDekRuX O2hw==
X-Gm-Message-State: AODbwcD8dUrDM3gxv5KzuWZVrgN9KIwvUpKMr3q7FTpdJUBAgkl/YYZL dgfm7vR69IS9u7VLIVkrs6sE3qKe3Q==
X-Received: by 10.25.104.5 with SMTP id d5mr11066049lfc.147.1495662186573; Wed, 24 May 2017 14:43:06 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Wed, 24 May 2017 14:43:05 -0700 (PDT)
In-Reply-To: <CABkgnnV1csycfd4QDnwcHwFOEGU1n1YfoWiDQyPZtZryT==GMQ@mail.gmail.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com> <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com> <CADZyTknmXE6UW5e9SbSwwSUZWU-wHw_+9sTB_xnYUmo8KBOJxg@mail.gmail.com> <CADZyTk=K8dzYaEL3TBjHMzsHnF+X52RvZiUsSBJQmNi0CkH=CA@mail.gmail.com> <CABkgnnVq8N+vEXZ-=yU+EWR9GYTh9K64D8MP0Yu7Pn0enE=iRQ@mail.gmail.com> <CADZyTknBzV6Z_wwBtPw-=9VOw1Z0X8UQPRorwvg_cRQuRNFQLw@mail.gmail.com> <CABkgnnX_U7DW-+Pq+32-Z3eQB-ZR_C8GM6XUBDDeSAxJqkZ8ng@mail.gmail.com> <CAOgPGoAwn5kfS8GTHw3a5Hgwerrnd735vO-ReGQQBXJtKsf=dQ@mail.gmail.com> <CABkgnnV1csycfd4QDnwcHwFOEGU1n1YfoWiDQyPZtZryT==GMQ@mail.gmail.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Wed, 24 May 2017 16:43:05 -0500
X-Google-Sender-Auth: Vno7-A--hyFZ7_nx_0PMQQoDAXE
Message-ID: <CADZyTkkzJbmSbGB8yzbqCpvMKovk4gnpnZ44apaNAc2WJLwNCw@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Joseph Salowey <joe@salowey.net>, Eric Rescorla <ekr@rtfm.com>, tls-chairs <tls-chairs@ietf.org>,  The IESG <iesg@ietf.org>, tls <tls@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: multipart/alternative; boundary="f403045e589c55b28c05504bfdd0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/YGbdrD-GZWARHircwgXVEkh1_2c>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 21:43:10 -0000

--f403045e589c55b28c05504bfdd0
Content-Type: text/plain; charset="UTF-8"

>From your response I understand you do not request changes.
Yours,
Daniel

On Wed, May 24, 2017 at 4:24 PM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> On 25 May 2017 at 07:14, Joseph Salowey <joe@salowey.net> wrote:
> > [Joe] It seems that a reasonable interpretation of the text is that the
> AEAD
> > constructs will pair with the cipher suite that share the same name.  Do
> you
> > still think we need to provide an explicit mapping between the two?
>
>
> Reasonable, sure, even obvious.  I've learned that reasonable doesn't
> work always.  Note that the order that the AEADs are listed doesn't
> match the order of the cipher suites.
>

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

<div dir=3D"ltr"><div><div>From your response I understand you do not reque=
st changes. <br></div>Yours, <br></div>Daniel <br></div><div class=3D"gmail=
_extra"><br><div class=3D"gmail_quote">On Wed, May 24, 2017 at 4:24 PM, Mar=
tin Thomson <span dir=3D"ltr">&lt;<a href=3D"mailto:martin.thomson@gmail.co=
m" target=3D"_blank">martin.thomson@gmail.com</a>&gt;</span> wrote:<br><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex"><span class=3D"">On 25 May 2017 at 07:14, Joseph=
 Salowey &lt;<a href=3D"mailto:joe@salowey.net">joe@salowey.net</a>&gt; wro=
te:<br>
&gt; [Joe] It seems that a reasonable interpretation of the text is that th=
e AEAD<br>
&gt; constructs will pair with the cipher suite that share the same name.=
=C2=A0 Do you<br>
&gt; still think we need to provide an explicit mapping between the two?<br=
>
<br>
<br>
</span>Reasonable, sure, even obvious.=C2=A0 I&#39;ve learned that reasonab=
le doesn&#39;t<br>
work always.=C2=A0 Note that the order that the AEADs are listed doesn&#39;=
t<br>
match the order of the cipher suites.<br>
</blockquote></div><br></div>

--f403045e589c55b28c05504bfdd0--


From nobody Wed May 24 14:55:13 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A423129B9C; Wed, 24 May 2017 14:55:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.398
X-Spam-Level: 
X-Spam-Status: No, score=-2.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 m1axPg2-ONuc; Wed, 24 May 2017 14:55:02 -0700 (PDT)
Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (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 2ABA2128CFF; Wed, 24 May 2017 14:55:02 -0700 (PDT)
Received: by mail-lf0-x235.google.com with SMTP id 99so74562412lfu.1; Wed, 24 May 2017 14:55:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=4xeegoPaUqlKzclUd3Aha2fIOP/uvmB7FGY2SKCQOwY=; b=no5aj0k5Xy37JgLmGKMQGTP9ANYZC78mF6N46xOW1FoDuF3/k5WKcUCRQ8Vz9cQfhI i/QR2wtxPzueGqjIr1NmqOV1j9qtgEtn/q6hsLs7TiWJ+cgke9rIld2FAMaCsTeHOGos zayAM3lGmHq6NnwpsvBC6im4KWvGaRcc9gHI9W/q6eOJDF8EovUIM3ygJSdtWhaFt+SF 30OrjG45XHJsK9zmKxaJ+1URI88BZFC0JgYtoUOtl1pEdwcYHnx/20HSgqFUun6zhq9W 27XMpXe4TdfJRxBCwZqN6nvG50AVAH7Dwhcwsn3WBagewAiQjay4DDSGO/g4KALjWcNH ktDw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=4xeegoPaUqlKzclUd3Aha2fIOP/uvmB7FGY2SKCQOwY=; b=r9BfgF8sEbzhXkDuWdQ9NC7z7AoBpYo7BBrO2u6i4RlVVeRNKOkxMJ8JI6xZHKq17R TjkrrXdFloOpuhlRLSKsApd9KTMv09oL8lx9CO3l/XHPABi+kUwDJ7jdN8Zy8K5UH9Zp 2sauw4bHvSsrgNuoatWA9cp7pivZxS7fT1pEWXJnGRsHStR/SmdA13udrZ1DxFj0WJ1z o7wyqAnZHuoNoCfJSg9YDaoK8EV+bvTvp8KuWgrI78UeYElLQ19QlsparnvAd9Nr9Slx AIM6tPGNBmLpQtbZLH323i+Zu2xpHdH+TESQvnycc1+TdemIXo0FUXAAbh4wj54Pwpze cQ5g==
X-Gm-Message-State: AODbwcAvA3p74vGcj0bnNrThlbZWdG0116IRCBz5veVgfcPN6hVqLATr T6QqdplyrZZa8bu+CNoLCYWyq4xg2w==
X-Received: by 10.46.76.1 with SMTP id z1mr9311014lja.128.1495662900462; Wed, 24 May 2017 14:55:00 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Wed, 24 May 2017 14:54:59 -0700 (PDT)
In-Reply-To: <CAHbuEH7gz-ohp5S45XqSM1tDGE46qya332R5oNFBGJKyki1qGw@mail.gmail.com>
References: <149565899558.8677.16612425338646271478.idtracker@ietfa.amsl.com> <CAHbuEH7gz-ohp5S45XqSM1tDGE46qya332R5oNFBGJKyki1qGw@mail.gmail.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Wed, 24 May 2017 16:54:59 -0500
X-Google-Sender-Auth: BbZAkHMqXmNmZhIdNPFXhy4Y6uw
Message-ID: <CADZyTk=fgtA01z5Kr8h=RaRN8eh3g2j4JSqtHxpsvg11gO02Dg@mail.gmail.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Cc: Spencer Dawkins <spencerdawkins.ietf@gmail.com>, The IESG <iesg@ietf.org>,  "<tls@ietf.org>" <tls@ietf.org>, "joe@salowey.net" <joe@salowey.net>, tls-chairs <tls-chairs@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: multipart/alternative; boundary="f403045ea6dae2ca8205504c276c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/UFnxRJDUudEZcs1RZGIIatDIsdM>
Subject: Re: [TLS] Spencer Dawkins' No Objection on draft-ietf-tls-ecdhe-psk-aead-04: (with COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 21:55:04 -0000

--f403045ea6dae2ca8205504c276c
Content-Type: text/plain; charset="UTF-8"

Thanks Spencer for your review. Actually the scope has always been TLS1.2
only. I confirm version 05 have addressed Erik's comments.
Yours,
Daniel

On Wed, May 24, 2017 at 4:03 PM, Kathleen Moriarty <
kathleen.moriarty.ietf@gmail.com> wrote:

> On Wed, May 24, 2017 at 4:49 PM, Spencer Dawkins
> <spencerdawkins.ietf@gmail.com> wrote:
> > Spencer Dawkins has entered the following ballot position for
> > draft-ietf-tls-ecdhe-psk-aead-04: No Objection
> >
> > When responding, please keep the subject line intact and reply to all
> > email addresses included in the To and CC lines. (Feel free to cut this
> > introductory paragraph, however.)
> >
> >
> > Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.
> html
> > for more information about IESG DISCUSS and COMMENT positions.
> >
> >
> > The document, along with other ballot positions, can be found here:
> > https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/
> >
> >
> >
> > ----------------------------------------------------------------------
> > COMMENT:
> > ----------------------------------------------------------------------
> >
> > Ciphersuite drafts for TLS are usually above my pay grade, but I
> > understand most of EKR's Discuss, and agree with Adam's suggestion to
> > change the document title to "ECDHE_PSK with AES-GCM and AES-CCM Cipher
> > Suites for Transport Layer Security Version 1.2 (TLS 1.2)" at an absolute
> > minimum.
>
> The shepherd proposed a resolution that should clear up the discuss points.
> >
> >
>
>
>
> --
>
> Best regards,
> Kathleen
>

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

<div dir=3D"ltr"><div><div>Thanks Spencer for your review. Actually the sco=
pe has always been TLS1.2 only. I confirm version 05 have addressed Erik&#3=
9;s comments. <br></div>Yours, <br></div>Daniel=C2=A0 <br></div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, May 24, 2017 at 4:0=
3 PM, Kathleen Moriarty <span dir=3D"ltr">&lt;<a href=3D"mailto:kathleen.mo=
riarty.ietf@gmail.com" target=3D"_blank">kathleen.moriarty.ietf@gmail.com</=
a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"HOEnZb=
"><div class=3D"h5">On Wed, May 24, 2017 at 4:49 PM, Spencer Dawkins<br>
&lt;<a href=3D"mailto:spencerdawkins.ietf@gmail.com">spencerdawkins.ietf@gm=
ail.com</a><wbr>&gt; wrote:<br>
&gt; Spencer Dawkins has entered the following ballot position for<br>
&gt; draft-ietf-tls-ecdhe-psk-aead-<wbr>04: No Objection<br>
&gt;<br>
&gt; When responding, please keep the subject line intact and reply to all<=
br>
&gt; email addresses included in the To and CC lines. (Feel free to cut thi=
s<br>
&gt; introductory paragraph, however.)<br>
&gt;<br>
&gt;<br>
&gt; Please refer to <a href=3D"https://www.ietf.org/iesg/statement/discuss=
-criteria.html" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/i=
esg/<wbr>statement/discuss-criteria.<wbr>html</a><br>
&gt; for more information about IESG DISCUSS and COMMENT positions.<br>
&gt;<br>
&gt;<br>
&gt; The document, along with other ballot positions, can be found here:<br=
>
&gt; <a href=3D"https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-a=
ead/" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/<wb=
r>doc/draft-ietf-tls-ecdhe-psk-<wbr>aead/</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------<wbr>------------------------------<wbr>=
----------<br>
&gt; COMMENT:<br>
&gt; ------------------------------<wbr>------------------------------<wbr>=
----------<br>
&gt;<br>
&gt; Ciphersuite drafts for TLS are usually above my pay grade, but I<br>
&gt; understand most of EKR&#39;s Discuss, and agree with Adam&#39;s sugges=
tion to<br>
&gt; change the document title to &quot;ECDHE_PSK with AES-GCM and AES-CCM =
Cipher<br>
&gt; Suites for Transport Layer Security Version 1.2 (TLS 1.2)&quot; at an =
absolute<br>
&gt; minimum.<br>
<br>
</div></div>The shepherd proposed a resolution that should clear up the dis=
cuss points.<br>
&gt;<br>
&gt;<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
<br>
--<br>
<br>
Best regards,<br>
Kathleen<br>
</font></span></blockquote></div><br></div>

--f403045ea6dae2ca8205504c276c--


From nobody Wed May 24 15:06:06 2017
Return-Path: <dromasca@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E5DA1287A7; Wed, 24 May 2017 15:05:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level: 
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 HE_5z2MVLzqk; Wed, 24 May 2017 15:05:55 -0700 (PDT)
Received: from mail-qk0-x22d.google.com (mail-qk0-x22d.google.com [IPv6:2607:f8b0:400d:c09::22d]) (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 66825126CF9; Wed, 24 May 2017 15:05:55 -0700 (PDT)
Received: by mail-qk0-x22d.google.com with SMTP id k74so165410023qke.1; Wed, 24 May 2017 15:05:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=V3bEJVmTghW+X6rgS+l/oQtoc9hbwKmIv0x1WHMkA9g=; b=f0XEM30GQLjMHLS1ZhBcVI2KA/sEiIQbxkfLWpxGQ0Sbj7kzxAOzWKNLyMyO9MKgQ9 llwrg0X52bwC8uKIbedyqWAnn3DS3ZagRzvSmBtKSfPRA93GaTUsmsxTKq+l1/4vSah+ sJahUIC1bQpQkhiLUqne5P3scVKwuMagUcpI2/2touj7BJHzf2nd5+RMyKne6RFBL/Hv L/Xzg8aP1W+h52hR9tWstpwyrtEjbiwi9hu0heFgE0jtQ7p8fKIbdKsLW/yHRcMuni+h J8dXzJNq/63TZkpBZPhB64RdNfOufJa/OVsVwZqk5z/04R4YLhrYfrNs/S9mf8lRa3oM YzJw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=V3bEJVmTghW+X6rgS+l/oQtoc9hbwKmIv0x1WHMkA9g=; b=JdrtUcoWlhRr8hKRgOhK6uFu28Bj3M3Tu2BsExabQVIgi0Jq9josV5sji5qZXg6cUe eCP0aA1p+vp5mygPkeHST2H6eGDdSTqqgTcSXs2Fu/OhTC6js7sphMDL1FqNWeOHuKB0 gPXIf5PxjTPOsrb49ilrYtf9GavVEgZm9lSE1mdUup+nkQUoVkf1zXdmKoMgaCKHSBxW +xAIYDIXLM+9rDbJMJFDCuGjUt8LSEGJUlH3CVSDRWAdmnCYE2q3Qph1tl4l/nWazWeg bU9D7Byh8LvJmQhNZuXhNoAnNkvPHfSqcIZJ+RkT7iOGw7a/MjXCqLZTPZKDFSLpOINC FbyQ==
X-Gm-Message-State: AODbwcAJIkCX+wMquHgcfzTWrXnE9kisFqsDcoKtOGAv8pEYQJzrrUlY d8b7xlkNz7McFueZx2BQcQzRcrk7PyOO
X-Received: by 10.55.157.74 with SMTP id g71mr36468864qke.92.1495663554495; Wed, 24 May 2017 15:05:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.31.101 with HTTP; Wed, 24 May 2017 15:05:53 -0700 (PDT)
In-Reply-To: <CAOgPGoAJnvX3-ZWL73Og0qPnKwozf5yB772ZBs3oyxAG_Z6HiQ@mail.gmail.com>
References: <149523380739.28567.9584998643479497589@ietfa.amsl.com> <34EDA6D1-71BA-4E4C-BB9F-5E8FD05786D9@cooperw.in> <CAOgPGoAJnvX3-ZWL73Og0qPnKwozf5yB772ZBs3oyxAG_Z6HiQ@mail.gmail.com>
From: Dan Romascanu <dromasca@gmail.com>
Date: Thu, 25 May 2017 01:05:53 +0300
Message-ID: <CAFgnS4WhkXWpTs4h4TUzw9vbpif428-njgXMmEzer1oE5Q-YUw@mail.gmail.com>
To: Joseph Salowey <joe@salowey.net>
Cc: Alissa Cooper <alissa@cooperw.in>,  "gen-art >> General area reviewing team" <gen-art@ietf.org>, draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0556ecde8d8f05504c4e81"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/PAuwi6rrMnC3BLNHeJq6ZQ87GwY>
Subject: Re: [TLS] [Gen-art] Genart telechat review of draft-ietf-tls-ecdhe-psk-aead-04
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 22:05:58 -0000

--94eb2c0556ecde8d8f05504c4e81
Content-Type: text/plain; charset="UTF-8"

Hi Joe,

Looks OK, but don't you need to also drop 'as well as version 1.3 of TLS'
from the first paragraph in the Introduction?

Regards,

Dan

On Thu, May 25, 2017 at 12:29 AM, Joseph Salowey <joe@salowey.net> wrote:

> Hi Dan and Alissa,
>
> There has been some churn in the text of the document due to my oversight
> when sending the document to the IESG.   The proposed new text provided
> below show should also resolve your comment.  Please let me know if you see
> any issues with this approach.
>
> Thanks,
>
> Joe
>
> Replacing section 4:
>
>
>    The cipher suites defined in this document MUST NOT be negotiated for
>    any version of (D)TLS other than TLS 1.2.  Servers MUST NOT select
>    one of these cipher suites when selecting TLS version other than TLS
>    1.2.  A client MUST treat the selection of these cipher suites in
>    combination with a different version of TLS as an error and generate
>    a fatal 'illegal_parameter' TLS alert.
>
>    Cipher suites TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
>    TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are used to
>    support equivalent functionality in TLS 1.3 [I-D.ietf-tls-tls13].
>
>
>
>
> On Wed, May 24, 2017 at 8:15 AM, Alissa Cooper <alissa@cooperw.in> wrote:
>
>> Dan, thank you for your reviews of this document and thanks to the
>> authors for providing clarifications. I have balloted No Objection.
>>
>> Alissa
>>
>> > On May 19, 2017, at 6:43 PM, Dan Romascanu <dromasca@gmail.com> wrote:
>> >
>> > Reviewer: Dan Romascanu
>> > Review result: Ready
>> >
>> > I am the assigned Gen-ART reviewer for this draft. The General Area
>> > Review Team (Gen-ART) reviews all IETF documents being processed
>> > by the IESG for the IETF Chair. Please wait for direction from your
>> > document shepherd or AD before posting a new version of the draft.
>> >
>> > For more information, please see the FAQ at
>> >
>> > <https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.
>> >
>> > Document: draft-ietf-tls-ecdhe-psk-aead-??
>> > Reviewer: Dan Romascanu
>> > Review Date: 2017-05-19
>> > IETF LC End Date: 2017-05-18
>> > IESG Telechat date: 2017-05-25
>> >
>> > Summary:
>> >
>> > This is a straight-forward and clear document that defines several new
>> > cipher suites for the Transport Layer Security (TLS) protocol version
>> > 1.2 and higher, based on the Ephemeral Elliptic Curve Diffie-Hellman
>> > with Pre-Shared Key (ECDHE_PSK) key exchange together with the
>> > Authenticated Encryption with Associated Data (AEAD) algorithms
>> > AES-GCM and AES-CCM. The document is well written and I appreciate the
>> > effort to clarify in the Introduction the context, what was missing,
>> > and why the document is necessary. One issue raised in my initial
>> > review for draft-03 was addressed, discussed and draft-04 includes
>> > useful clarification text.
>> >
>> > The document is Ready
>> >
>> > Major issues:
>> >
>> > Minor issues:
>> >
>> > Nits/editorial comments:
>> >
>> >
>> > _______________________________________________
>> > Gen-art mailing list
>> > Gen-art@ietf.org
>> > https://www.ietf.org/mailman/listinfo/gen-art
>>
>>
>

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

<div dir=3D"ltr">Hi Joe,<br><br>Looks OK, but don&#39;t you need to also dr=
op &#39;as well as version 1.3 of TLS&#39;=C2=A0 from the first paragraph i=
n the Introduction? <br><br>Regards,<br><br>Dan<br></div><div class=3D"gmai=
l_extra"><br><div class=3D"gmail_quote">On Thu, May 25, 2017 at 12:29 AM, J=
oseph Salowey <span dir=3D"ltr">&lt;<a href=3D"mailto:joe@salowey.net" targ=
et=3D"_blank">joe@salowey.net</a>&gt;</span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex"><div dir=3D"ltr">Hi Dan and Alissa,<div><br></div><div>There has=
 been some churn in the text of the document due to my oversight when sendi=
ng the document to the IESG. =C2=A0 The proposed new text provided below sh=
ow should also resolve your comment.=C2=A0 Please let me know if you see an=
y issues with this approach. =C2=A0</div><div><br></div><div>Thanks,</div><=
div><br></div><div>Joe</div><div><br></div><div><div style=3D"font-size:12.=
8px">Replacing section 4:</div><div style=3D"font-size:12.8px"><pre class=
=3D"m_4236951703566273053gmail-m_-7284541284508334339gmail-aLF-aPX-K0-aPE m=
_4236951703566273053gmail-m_-7284541284508334339gmail-aLF-aPX-aLK-ayr-auR" =
style=3D"white-space:pre-wrap"> =20
   The cipher suites defined in this document MUST NOT be negotiated for
   any version of (D)TLS other than TLS 1.2.  Servers MUST NOT select
   one of these cipher suites when selecting TLS version other than TLS
   1.2.  A client MUST treat the selection of these cipher suites in
   combination with a different version of TLS as an error and generate
   a fatal &#39;illegal_parameter&#39; TLS alert.

   Cipher suites TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
   TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are used to
   support equivalent functionality in TLS 1.3 [I-D.ietf-tls-tls13].</pre><=
/div></div><div><br></div><div><br></div></div><div class=3D"HOEnZb"><div c=
lass=3D"h5"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On We=
d, May 24, 2017 at 8:15 AM, Alissa Cooper <span dir=3D"ltr">&lt;<a href=3D"=
mailto:alissa@cooperw.in" target=3D"_blank">alissa@cooperw.in</a>&gt;</span=
> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">Dan, thank you for your reviews =
of this document and thanks to the authors for providing clarifications. I =
have balloted No Objection.<br>
<br>
Alissa<br>
<div><div class=3D"m_4236951703566273053h5"><br>
&gt; On May 19, 2017, at 6:43 PM, Dan Romascanu &lt;<a href=3D"mailto:droma=
sca@gmail.com" target=3D"_blank">dromasca@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Reviewer: Dan Romascanu<br>
&gt; Review result: Ready<br>
&gt;<br>
&gt; I am the assigned Gen-ART reviewer for this draft. The General Area<br=
>
&gt; Review Team (Gen-ART) reviews all IETF documents being processed<br>
&gt; by the IESG for the IETF Chair. Please wait for direction from your<br=
>
&gt; document shepherd or AD before posting a new version of the draft.<br>
&gt;<br>
&gt; For more information, please see the FAQ at<br>
&gt;<br>
&gt; &lt;<a href=3D"https://trac.ietf.org/trac/gen/wiki/GenArtfaq" rel=3D"n=
oreferrer" target=3D"_blank">https://trac.ietf.org/trac/ge<wbr>n/wiki/GenAr=
tfaq</a>&gt;.<br>
&gt;<br>
&gt; Document: draft-ietf-tls-ecdhe-psk-aead-<wbr>??<br>
&gt; Reviewer: Dan Romascanu<br>
&gt; Review Date: 2017-05-19<br>
&gt; IETF LC End Date: 2017-05-18<br>
&gt; IESG Telechat date: 2017-05-25<br>
&gt;<br>
&gt; Summary:<br>
&gt;<br>
&gt; This is a straight-forward and clear document that defines several new=
<br>
&gt; cipher suites for the Transport Layer Security (TLS) protocol version<=
br>
&gt; 1.2 and higher, based on the Ephemeral Elliptic Curve Diffie-Hellman<b=
r>
&gt; with Pre-Shared Key (ECDHE_PSK) key exchange together with the<br>
&gt; Authenticated Encryption with Associated Data (AEAD) algorithms<br>
&gt; AES-GCM and AES-CCM. The document is well written and I appreciate the=
<br>
&gt; effort to clarify in the Introduction the context, what was missing,<b=
r>
&gt; and why the document is necessary. One issue raised in my initial<br>
&gt; review for draft-03 was addressed, discussed and draft-04 includes<br>
&gt; useful clarification text.<br>
&gt;<br>
&gt; The document is Ready<br>
&gt;<br>
&gt; Major issues:<br>
&gt;<br>
&gt; Minor issues:<br>
&gt;<br>
&gt; Nits/editorial comments:<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; Gen-art mailing list<br>
&gt; <a href=3D"mailto:Gen-art@ietf.org" target=3D"_blank">Gen-art@ietf.org=
</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/gen-art" rel=3D"noref=
errer" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/gen-art=
</a><br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>

--94eb2c0556ecde8d8f05504c4e81--


From nobody Wed May 24 15:29:33 2017
Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C46F129B41; Wed, 24 May 2017 15:29:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 vXcJOyd3tdjf; Wed, 24 May 2017 15:29:28 -0700 (PDT)
Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::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 C165D129C00; Wed, 24 May 2017 15:29:27 -0700 (PDT)
Received: by mail-lf0-x22f.google.com with SMTP id h4so75077837lfj.3; Wed, 24 May 2017 15:29:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FOdG42rChCzBH0jcHYrlbb88YkgZEs7aF4JexBxxcEo=; b=DT4kFjQ0+Aj5PDK18QdzN1bstfRcSsbVAz3jjTA9ZoIfJWw14wyDXslPvCxVuCiO79 tBNz9ZJwGjJtbSAo7KIGMKg2su9H1KsAp9up1NzifDu21Nzne29A8OMV7DETC79lFDO1 idx68YepWaIzSAQDjPcwPHLlejNiBZEmm6UyLs4DvmEUO/HhT5YYpd004m/NPKUaDSN7 g0tHkYA4rI8ZX0waxjKNPFwnGRElw+zplFsVZ4b1HhYSZq94xAO3n/3c2r9abzGQ3egs EzsGf/UoRIY7YIyOIHzntQHSgpBBoKsIMxx0gOre5LwSHYwjh8XclmYjeUMxhDD5Mzcc h18w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FOdG42rChCzBH0jcHYrlbb88YkgZEs7aF4JexBxxcEo=; b=beXlZEhfpsKED/bM5c8ZvnMKmBaKczWPxEE/0XshN/T5y4ep9GLZ9pfv+Msr/uBNJ4 bzADZWtE6k3ylNbQDWhFgSqWEFzu3LGt5EbdgHmKIpexLqLT/AjTJ4RkLrhUj+Ag7oPl qDQ/r0mQJ4yQ4kLMe0XCMseUDCvsG2wcA45zGQK00COgZkfLFTEZA+8X1Xf0Ibed5NDl cJs76ZTwsUoHDCdSybRNjYPvRtXLSu+GVXJwNkczhjRbNrlcmQeNx0uCRmbUxDRaXqrz IEn8lPMsSRPNVjruu06S7zbkg7UkusoL265e/2lZ/v1OVqMSVLs8y0Do1jMnRT7LeMhI ApSA==
X-Gm-Message-State: AODbwcB0laeYIq0cpSWyIYw0ehSvHULYw5H3h4Qy0NBLOVia/wUOEr2W BZkAUz+HZDRjsEzupbIFioURMFnu0A==
X-Received: by 10.46.7.10 with SMTP id 10mr10716113ljh.113.1495664965930; Wed, 24 May 2017 15:29:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.22.73 with HTTP; Wed, 24 May 2017 15:29:25 -0700 (PDT)
In-Reply-To: <CADZyTkkzJbmSbGB8yzbqCpvMKovk4gnpnZ44apaNAc2WJLwNCw@mail.gmail.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com> <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com> <CADZyTknmXE6UW5e9SbSwwSUZWU-wHw_+9sTB_xnYUmo8KBOJxg@mail.gmail.com> <CADZyTk=K8dzYaEL3TBjHMzsHnF+X52RvZiUsSBJQmNi0CkH=CA@mail.gmail.com> <CABkgnnVq8N+vEXZ-=yU+EWR9GYTh9K64D8MP0Yu7Pn0enE=iRQ@mail.gmail.com> <CADZyTknBzV6Z_wwBtPw-=9VOw1Z0X8UQPRorwvg_cRQuRNFQLw@mail.gmail.com> <CABkgnnX_U7DW-+Pq+32-Z3eQB-ZR_C8GM6XUBDDeSAxJqkZ8ng@mail.gmail.com> <CAOgPGoAwn5kfS8GTHw3a5Hgwerrnd735vO-ReGQQBXJtKsf=dQ@mail.gmail.com> <CABkgnnV1csycfd4QDnwcHwFOEGU1n1YfoWiDQyPZtZryT==GMQ@mail.gmail.com> <CADZyTkkzJbmSbGB8yzbqCpvMKovk4gnpnZ44apaNAc2WJLwNCw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 25 May 2017 08:29:25 +1000
Message-ID: <CABkgnnUudVk5O4T-fVpMgNeRC=NW1W+YvOXPFyWDPkyH9X0sXw@mail.gmail.com>
To: Daniel Migault <daniel.migault@ericsson.com>
Cc: Joseph Salowey <joe@salowey.net>, Eric Rescorla <ekr@rtfm.com>, tls-chairs <tls-chairs@ietf.org>,  The IESG <iesg@ietf.org>, tls <tls@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/jahUL-OjgweoZENMZJaulfH6KaQ>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 22:29:29 -0000

On 25 May 2017 at 07:43, Daniel Migault <daniel.migault@ericsson.com> wrote:
> From your response I understand you do not request changes.


I am requesting changes. Just say that
TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256 uses AEAD_AES_128_GCM, and so
forth.  It's not hard to be explicit.


From nobody Wed May 24 15:49:17 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 49163126C0F; Wed, 24 May 2017 15:49:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.698
X-Spam-Level: 
X-Spam-Status: No, score=-1.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 fPnxfAajvUqx; Wed, 24 May 2017 15:49:05 -0700 (PDT)
Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (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 86B0E127077; Wed, 24 May 2017 15:49:04 -0700 (PDT)
Received: by mail-lf0-x229.google.com with SMTP id m18so75205859lfj.0; Wed, 24 May 2017 15:49:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=CJm+XsCdi0G6OjNaWzXItfy8Mur7Nh8IW9/XMo0fBao=; b=gngTnTFdh4ivYFG1HVCyOlvY2KDJZsc0VJZsBg/SrFjQO8UFMBYkQeXPZBVoN5K+/2 qbojsPPu/Any+8AJPaNrwcPjqXIfueRsfKFFXGIKFVOsLbbvPU6kDMvdNZEeMTuP2fTS TGXLD/HjLwvCrCUVtKh4A1DW0ya1x8OzO8mgLr6IcDJ+lPQeaSLF/GvlgcrFbUa2/PS2 yu0CqnqdKAkZdvpdb2kEl9ElOL9JD0ROF8YNGdY2YHEqHPPoTOB2ejC82OMJ27mCHzNO XV+hwazErVfHtt+4MEwVAsUbG/qT2Ae5S7ze03VOMEL95kq/6Jo5fHOC56wAeIUzhhLJ Ch9Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=CJm+XsCdi0G6OjNaWzXItfy8Mur7Nh8IW9/XMo0fBao=; b=EShcUnubp+yJmy5qmNyGv7H61u4HWrP4T1OwS9lklQIaHe14MAZOulcZZe7M6UdYpl nXPydu9cxVOq4Ysfafs/DHp1yGqcURmxdHpmUuBdZjPuQJsHkgJ9wGmBh07ksAvcZQqi IOd7x/KG12KoEitTpWWcVhPJawLjAhBEwMlDmp8pS6oTmPXpHNxY7wNl7tDg1MgIXsnC f80JxsgsD9Y1qT4JvWMmk8tephyE4qjrd5i6NXXBCjAoib7Jq0WAHs4dkB+wy6jv0drQ oXeyFN8E29VofAsgUHEC00klr3yMAJ8KqpQAE6Nn+kyyeHIK6BU+EMq5YWOEYbXLA3J8 Kwnw==
X-Gm-Message-State: AODbwcCXRReTOAMQsPL6q0iQ+5KmrayCDbUrlJcL6WvZczjeoacUMu/G /tvscXIixYckD+URWwIyfPimSE+DOg==
X-Received: by 10.46.88.17 with SMTP id m17mr9819328ljb.26.1495666142791; Wed, 24 May 2017 15:49:02 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Wed, 24 May 2017 15:49:02 -0700 (PDT)
In-Reply-To: <CAFgnS4WhkXWpTs4h4TUzw9vbpif428-njgXMmEzer1oE5Q-YUw@mail.gmail.com>
References: <149523380739.28567.9584998643479497589@ietfa.amsl.com> <34EDA6D1-71BA-4E4C-BB9F-5E8FD05786D9@cooperw.in> <CAOgPGoAJnvX3-ZWL73Og0qPnKwozf5yB772ZBs3oyxAG_Z6HiQ@mail.gmail.com> <CAFgnS4WhkXWpTs4h4TUzw9vbpif428-njgXMmEzer1oE5Q-YUw@mail.gmail.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Wed, 24 May 2017 17:49:02 -0500
X-Google-Sender-Auth: vt0RFHDF2_mJVRPkAP20GmnSFbw
Message-ID: <CADZyTknoiTg4g3Brw6Dg7EBTwznZoKKuBTqs3=P1-YonypOVyg@mail.gmail.com>
To: Dan Romascanu <dromasca@gmail.com>
Cc: Joseph Salowey <joe@salowey.net>, Alissa Cooper <alissa@cooperw.in>,  "gen-art >> General area reviewing team" <gen-art@ietf.org>, draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="f403043882e024d05c05504ce936"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ojFiT-NwvGBXIXT33n-WHmmofKE>
Subject: Re: [TLS] [Gen-art] Genart telechat review of draft-ietf-tls-ecdhe-psk-aead-04
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 22:49:07 -0000

--f403043882e024d05c05504ce936
Content-Type: text/plain; charset="UTF-8"

Hi Dan,

The major concern we have is that as a response to your comment I detailed
how the defined cipher suites are agreed with TLS1.3. The text we agreed on
has been updated, but I guess it still provides enough details.

In addition, you are right, we have also clarified the text and make sure
there is not misunderstanding that the code points assigned are only valid
for TLS1.2. This includes specification of the version in the title, as
well as removal of most reference to TLS1.3 in the introduction. The only
remaining reference to TLS1.3 in the introduction is used to motivate the
use of AEAD algorithms.

The current text for the introduction is as quoted below.

Again thank you all for your reviews,

Yours,
Daniel



2.  Introduction

   This document defines new cipher suites that provide Pre-Shared Key
   (PSK) authentication, Perfect Forward Secrecy (PFS), and
   Authenticated Encryption with Associated Data (AEAD).  The cipher
   suites are defined for version 1.2 of the Transport Layer Security
   (TLS) [RFC5246] protocol and version 1.2 of the Datagram Transport
   Layer Security (DTLS) protocol [RFC6347].

   Pre-Shared Key (PSK) Authentication is widely used in many scenarios.
   One deployment is 3GPP networks where pre-shared keys are used to
   authenticate both subscriber and network.  Another deployment is
   Internet of Things where PSK authentication is often preferred for
   performance and energy efficiency reasons.  In both scenarios the
   endpoints are owned/controlled by a party that provisions the pre-
   shared keys and makes sure that they provide a high level of entropy.

   Perfect Forward Secrecy (PFS) is a strongly recommended feature in
   security protocol design and can be accomplished by using an
   ephemeral Diffie-Hellman key exchange method.  Ephemeral Elliptic
   Curve Diffie-Hellman (ECDHE) provides PFS with excellent performance
   and small key sizes.  ECDHE is mandatory to implement in both HTTP/2
   [RFC7540] and CoAP [RFC7252].

  AEAD algorithms that combine encryption and integrity protection are
   strongly recommended for (D)TLS [RFC7525] and non-AEAD algorithms are
   forbidden to use in TLS 1.3 [I-D.ietf-tls-tls13].  The AEAD
   algorithms considered in this document are AES-GCM and AES-CCM.  The
   use of AES-GCM in TLS is defined in [RFC5288] and the use of AES-CCM
   is defined in [RFC6655].

   [RFC4279] defines Pre-Shared Key (PSK) cipher suites for TLS but does
   not consider Elliptic Curve Cryptography.  [RFC4492] introduces
   Elliptic Curve Cryptography for TLS but does not consider PSK
   authentication.  [RFC5487] describes the use of AES-GCM in
   combination with PSK authentication, but does not consider ECDHE.
   [RFC5489] describes the use of PSK in combination with ECDHE but does
   not consider AES-GCM or AES-CCM.


On Wed, May 24, 2017 at 5:05 PM, Dan Romascanu <dromasca@gmail.com> wrote:

> Hi Joe,
>
> Looks OK, but don't you need to also drop 'as well as version 1.3 of TLS'
> from the first paragraph in the Introduction?
>
> Regards,
>
> Dan
>
> On Thu, May 25, 2017 at 12:29 AM, Joseph Salowey <joe@salowey.net> wrote:
>
>> Hi Dan and Alissa,
>>
>> There has been some churn in the text of the document due to my oversight
>> when sending the document to the IESG.   The proposed new text provided
>> below show should also resolve your comment.  Please let me know if you see
>> any issues with this approach.
>>
>> Thanks,
>>
>> Joe
>>
>> Replacing section 4:
>>
>>
>>    The cipher suites defined in this document MUST NOT be negotiated for
>>    any version of (D)TLS other than TLS 1.2.  Servers MUST NOT select
>>    one of these cipher suites when selecting TLS version other than TLS
>>    1.2.  A client MUST treat the selection of these cipher suites in
>>    combination with a different version of TLS as an error and generate
>>    a fatal 'illegal_parameter' TLS alert.
>>
>>    Cipher suites TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
>>    TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are used to
>>    support equivalent functionality in TLS 1.3 [I-D.ietf-tls-tls13].
>>
>>
>>
>>
>> On Wed, May 24, 2017 at 8:15 AM, Alissa Cooper <alissa@cooperw.in> wrote:
>>
>>> Dan, thank you for your reviews of this document and thanks to the
>>> authors for providing clarifications. I have balloted No Objection.
>>>
>>> Alissa
>>>
>>> > On May 19, 2017, at 6:43 PM, Dan Romascanu <dromasca@gmail.com> wrote:
>>> >
>>> > Reviewer: Dan Romascanu
>>> > Review result: Ready
>>> >
>>> > I am the assigned Gen-ART reviewer for this draft. The General Area
>>> > Review Team (Gen-ART) reviews all IETF documents being processed
>>> > by the IESG for the IETF Chair. Please wait for direction from your
>>> > document shepherd or AD before posting a new version of the draft.
>>> >
>>> > For more information, please see the FAQ at
>>> >
>>> > <https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.
>>> >
>>> > Document: draft-ietf-tls-ecdhe-psk-aead-??
>>> > Reviewer: Dan Romascanu
>>> > Review Date: 2017-05-19
>>> > IETF LC End Date: 2017-05-18
>>> > IESG Telechat date: 2017-05-25
>>> >
>>> > Summary:
>>> >
>>> > This is a straight-forward and clear document that defines several new
>>> > cipher suites for the Transport Layer Security (TLS) protocol version
>>> > 1.2 and higher, based on the Ephemeral Elliptic Curve Diffie-Hellman
>>> > with Pre-Shared Key (ECDHE_PSK) key exchange together with the
>>> > Authenticated Encryption with Associated Data (AEAD) algorithms
>>> > AES-GCM and AES-CCM. The document is well written and I appreciate the
>>> > effort to clarify in the Introduction the context, what was missing,
>>> > and why the document is necessary. One issue raised in my initial
>>> > review for draft-03 was addressed, discussed and draft-04 includes
>>> > useful clarification text.
>>> >
>>> > The document is Ready
>>> >
>>> > Major issues:
>>> >
>>> > Minor issues:
>>> >
>>> > Nits/editorial comments:
>>> >
>>> >
>>> > _______________________________________________
>>> > Gen-art mailing list
>>> > Gen-art@ietf.org
>>> > https://www.ietf.org/mailman/listinfo/gen-art
>>>
>>>
>>
>

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

<div dir=3D"ltr"><div>Hi Dan, <br><br></div><div>The major concern we have =
is that as a response to your comment I detailed how the defined cipher sui=
tes are agreed with TLS1.3. The text we agreed on has been updated, but I g=
uess it still provides enough details. <br><br></div><div>In addition, you =
are right, we have also clarified the text and make sure there is not misun=
derstanding that the code points assigned are only valid for TLS1.2. This i=
ncludes specification of the version in the title, as well as removal of mo=
st reference to TLS1.3 in the introduction. The only remaining reference to=
 TLS1.3 in the introduction is used to motivate the use of AEAD algorithms.=
 <br><br><div>The current text for the introduction is as quoted below.<br>=
</div><br></div><div>Again thank you all for your reviews, <br><br></div><d=
iv>Yours, <br></div><div>Daniel<br><br></div><br><div><div><div><br>2.=C2=
=A0 Introduction<br><br>=C2=A0=C2=A0 This document defines new cipher suite=
s that provide Pre-Shared Key<br>=C2=A0=C2=A0 (PSK) authentication, Perfect=
 Forward Secrecy (PFS), and<br>=C2=A0=C2=A0 Authenticated Encryption with A=
ssociated Data (AEAD).=C2=A0 The cipher<br>=C2=A0=C2=A0 suites are defined =
for version 1.2 of the Transport Layer Security<br>=C2=A0=C2=A0 (TLS) [RFC5=
246] protocol and version 1.2 of the Datagram Transport<br>=C2=A0=C2=A0 Lay=
er Security (DTLS) protocol [RFC6347].<br><br>=C2=A0=C2=A0 Pre-Shared Key (=
PSK) Authentication is widely used in many scenarios.<br>=C2=A0=C2=A0 One d=
eployment is 3GPP networks where pre-shared keys are used to<br>=C2=A0=C2=
=A0 authenticate both subscriber and network.=C2=A0 Another deployment is<b=
r>=C2=A0=C2=A0 Internet of Things where PSK authentication is often preferr=
ed for<br>=C2=A0=C2=A0 performance and energy efficiency reasons.=C2=A0 In =
both scenarios the<br>=C2=A0=C2=A0 endpoints are owned/controlled by a part=
y that provisions the pre-<br>=C2=A0=C2=A0 shared keys and makes sure that =
they provide a high level of entropy.<br><br>=C2=A0=C2=A0 Perfect Forward S=
ecrecy (PFS) is a strongly recommended feature in<br>=C2=A0=C2=A0 security =
protocol design and can be accomplished by using an<br>=C2=A0=C2=A0 ephemer=
al Diffie-Hellman key exchange method.=C2=A0 Ephemeral Elliptic<br>=C2=A0=
=C2=A0 Curve Diffie-Hellman (ECDHE) provides PFS with excellent performance=
<br>=C2=A0=C2=A0 and small key sizes.=C2=A0 ECDHE is mandatory to implement=
 in both HTTP/2<br>=C2=A0=C2=A0 [RFC7540] and CoAP [RFC7252].<br><br>=C2=A0=
 AEAD algorithms that combine encryption and integrity protection are<br>=
=C2=A0=C2=A0 strongly recommended for (D)TLS [RFC7525] and non-AEAD algorit=
hms are<br>=C2=A0=C2=A0 forbidden to use in TLS 1.3 [I-D.ietf-tls-tls13].=
=C2=A0 The AEAD<br>=C2=A0=C2=A0 algorithms considered in this document are =
AES-GCM and AES-CCM.=C2=A0 The<br>=C2=A0=C2=A0 use of AES-GCM in TLS is def=
ined in [RFC5288] and the use of AES-CCM<br>=C2=A0=C2=A0 is defined in [RFC=
6655].<br><br>=C2=A0=C2=A0 [RFC4279] defines Pre-Shared Key (PSK) cipher su=
ites for TLS but does<br>=C2=A0=C2=A0 not consider Elliptic Curve Cryptogra=
phy.=C2=A0 [RFC4492] introduces<br>=C2=A0=C2=A0 Elliptic Curve Cryptography=
 for TLS but does not consider PSK<br>=C2=A0=C2=A0 authentication.=C2=A0 [R=
FC5487] describes the use of AES-GCM in<br>=C2=A0=C2=A0 combination with PS=
K authentication, but does not consider ECDHE.<br>=C2=A0=C2=A0 [RFC5489] de=
scribes the use of PSK in combination with ECDHE but does<br>=C2=A0=C2=A0 n=
ot consider AES-GCM or AES-CCM.<br><br></div></div></div></div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, May 24, 2017 at 5:0=
5 PM, Dan Romascanu <span dir=3D"ltr">&lt;<a href=3D"mailto:dromasca@gmail.=
com" target=3D"_blank">dromasca@gmail.com</a>&gt;</span> wrote:<br><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex"><div dir=3D"ltr">Hi Joe,<br><br>Looks OK, but don&#3=
9;t you need to also drop &#39;as well as version 1.3 of TLS&#39;=C2=A0 fro=
m the first paragraph in the Introduction? <br><br>Regards,<br><br>Dan<br><=
/div><div class=3D"HOEnZb"><div class=3D"h5"><div class=3D"gmail_extra"><br=
><div class=3D"gmail_quote">On Thu, May 25, 2017 at 12:29 AM, Joseph Salowe=
y <span dir=3D"ltr">&lt;<a href=3D"mailto:joe@salowey.net" target=3D"_blank=
">joe@salowey.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><=
div dir=3D"ltr">Hi Dan and Alissa,<div><br></div><div>There has been some c=
hurn in the text of the document due to my oversight when sending the docum=
ent to the IESG. =C2=A0 The proposed new text provided below show should al=
so resolve your comment.=C2=A0 Please let me know if you see any issues wit=
h this approach. =C2=A0</div><div><br></div><div>Thanks,</div><div><br></di=
v><div>Joe</div><div><br></div><div><div style=3D"font-size:12.8px">Replaci=
ng section 4:</div><div style=3D"font-size:12.8px"><pre class=3D"m_10392306=
30936680272m_4236951703566273053gmail-m_-7284541284508334339gmail-aLF-aPX-K=
0-aPE m_1039230630936680272m_4236951703566273053gmail-m_-728454128450833433=
9gmail-aLF-aPX-aLK-ayr-auR" style=3D"white-space:pre-wrap"> =20
   The cipher suites defined in this document MUST NOT be negotiated for
   any version of (D)TLS other than TLS 1.2.  Servers MUST NOT select
   one of these cipher suites when selecting TLS version other than TLS
   1.2.  A client MUST treat the selection of these cipher suites in
   combination with a different version of TLS as an error and generate
   a fatal &#39;illegal_parameter&#39; TLS alert.

   Cipher suites TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
   TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are used to
   support equivalent functionality in TLS 1.3 [I-D.ietf-tls-tls13].</pre><=
/div></div><div><br></div><div><br></div></div><div class=3D"m_103923063093=
6680272HOEnZb"><div class=3D"m_1039230630936680272h5"><div class=3D"gmail_e=
xtra"><br><div class=3D"gmail_quote">On Wed, May 24, 2017 at 8:15 AM, Aliss=
a Cooper <span dir=3D"ltr">&lt;<a href=3D"mailto:alissa@cooperw.in" target=
=3D"_blank">alissa@cooperw.in</a>&gt;</span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">Dan, thank you for your reviews of this document and thanks to t=
he authors for providing clarifications. I have balloted No Objection.<br>
<br>
Alissa<br>
<div><div class=3D"m_1039230630936680272m_4236951703566273053h5"><br>
&gt; On May 19, 2017, at 6:43 PM, Dan Romascanu &lt;<a href=3D"mailto:droma=
sca@gmail.com" target=3D"_blank">dromasca@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Reviewer: Dan Romascanu<br>
&gt; Review result: Ready<br>
&gt;<br>
&gt; I am the assigned Gen-ART reviewer for this draft. The General Area<br=
>
&gt; Review Team (Gen-ART) reviews all IETF documents being processed<br>
&gt; by the IESG for the IETF Chair. Please wait for direction from your<br=
>
&gt; document shepherd or AD before posting a new version of the draft.<br>
&gt;<br>
&gt; For more information, please see the FAQ at<br>
&gt;<br>
&gt; &lt;<a href=3D"https://trac.ietf.org/trac/gen/wiki/GenArtfaq" rel=3D"n=
oreferrer" target=3D"_blank">https://trac.ietf.org/trac/ge<wbr>n/wiki/GenAr=
tfaq</a>&gt;.<br>
&gt;<br>
&gt; Document: draft-ietf-tls-ecdhe-psk-aead-<wbr>??<br>
&gt; Reviewer: Dan Romascanu<br>
&gt; Review Date: 2017-05-19<br>
&gt; IETF LC End Date: 2017-05-18<br>
&gt; IESG Telechat date: 2017-05-25<br>
&gt;<br>
&gt; Summary:<br>
&gt;<br>
&gt; This is a straight-forward and clear document that defines several new=
<br>
&gt; cipher suites for the Transport Layer Security (TLS) protocol version<=
br>
&gt; 1.2 and higher, based on the Ephemeral Elliptic Curve Diffie-Hellman<b=
r>
&gt; with Pre-Shared Key (ECDHE_PSK) key exchange together with the<br>
&gt; Authenticated Encryption with Associated Data (AEAD) algorithms<br>
&gt; AES-GCM and AES-CCM. The document is well written and I appreciate the=
<br>
&gt; effort to clarify in the Introduction the context, what was missing,<b=
r>
&gt; and why the document is necessary. One issue raised in my initial<br>
&gt; review for draft-03 was addressed, discussed and draft-04 includes<br>
&gt; useful clarification text.<br>
&gt;<br>
&gt; The document is Ready<br>
&gt;<br>
&gt; Major issues:<br>
&gt;<br>
&gt; Minor issues:<br>
&gt;<br>
&gt; Nits/editorial comments:<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; Gen-art mailing list<br>
&gt; <a href=3D"mailto:Gen-art@ietf.org" target=3D"_blank">Gen-art@ietf.org=
</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/gen-art" rel=3D"noref=
errer" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/gen-art=
</a><br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>

--f403043882e024d05c05504ce936--


From nobody Wed May 24 19:27:51 2017
Return-Path: <dromasca@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F1E8812704B; Wed, 24 May 2017 19:27:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 YWAurgjiNSRJ; Wed, 24 May 2017 19:27:47 -0700 (PDT)
Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (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 BE7971200B9; Wed, 24 May 2017 19:27:46 -0700 (PDT)
Received: by mail-wm0-x243.google.com with SMTP id b84so34457741wmh.0; Wed, 24 May 2017 19:27:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=hU70Opv3ubXNYT9u411JEuaFuMZehs32p+ChUdZ4pz0=; b=L93cgORs+JNrc3kD8AR5z6KO2aRnHWHlldm84lStVmECsEClBCG8XpeW4IEd2sL6Vh vsUwYeRgtIEj8f/Ar8fD2i0ILl92aCfdw0lYvoclUn2gOip3KJfLPVDobRepxi8lVwAI OiBBtvaBmSbMHMR5TP/Ud58zgSVRlOQYcYhajsiHLHBYoZ7dcqOjlCt++WFUI9lYB7BM bbKfArG/Hfi1UKLQXl0jwv7KvnjN0DPv08a2ubpsf6qasNsoSXTxEbE7fsNfqKfdBT/e xUFA0VZi62IjxymuzBwyb86w83aLYQIhe7p0QMEQu4Le3dGgtAI/0jxXDTppzBU2Q05y 50RA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=hU70Opv3ubXNYT9u411JEuaFuMZehs32p+ChUdZ4pz0=; b=cnIQsXMGxYDD3ZI+WoACDkfQ3fB5m3whPDjBY3+WXTua5TeV38SQa1BTowdLIJJTzq HAU/9l53lL32E1Fj1Zo2OhSrDiYjWfLmT3LXmUgQYBYpBWkXRoKbUMbJMLkDBYDRjjGH 3HKq7yI5YQgNxMrh0zQc+/9ZuCrrcu9TMnKBK/gRI8g5HwLgqKb9LDidE385ZVE5afF7 Lp+N4TveCTG5KqwbbALdu72CmWmRlSVTgbSynxyZnQ1qJqKCskQ13jFyCVXs/yY5Qj5K orB1fL4tGU6RZp5ek7lTE2GeeGwhay0ELXjZaAh4e61YrFe6thDfzd3h+AIqn7cRVP3d Up6w==
X-Gm-Message-State: AODbwcBXXkbBhopyYLVT0HfSLCy0rE4KB+KXoY2AjUf7oU23hkwCHemm Smci/HmY1DyIZAEVm3c=
X-Received: by 10.28.209.131 with SMTP id i125mr7778267wmg.57.1495679265263; Wed, 24 May 2017 19:27:45 -0700 (PDT)
Received: from [10.0.0.4] (bzq-109-64-80-239.red.bezeqint.net. [109.64.80.239]) by smtp.gmail.com with ESMTPSA id w18sm5226682wmw.26.2017.05.24.19.27.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 May 2017 19:27:44 -0700 (PDT)
Content-Type: multipart/alternative; boundary=Apple-Mail-7AE317D5-E72E-4B21-90D3-35F853CFCA48
Mime-Version: 1.0 (1.0)
From: Dan Romascanu <dromasca@gmail.com>
X-Mailer: iPhone Mail (14E304)
In-Reply-To: <CADZyTknoiTg4g3Brw6Dg7EBTwznZoKKuBTqs3=P1-YonypOVyg@mail.gmail.com>
Date: Thu, 25 May 2017 05:27:39 +0300
Cc: Joseph Salowey <joe@salowey.net>, Alissa Cooper <alissa@cooperw.in>, "gen-art >> General area reviewing team" <gen-art@ietf.org>, draft-ietf-tls-ecdhe-psk-aead.all@ietf.org, "tls@ietf.org" <tls@ietf.org>
Content-Transfer-Encoding: 7bit
Message-Id: <93ACAA0C-8E1F-4F58-BF98-1179B141FF05@gmail.com>
References: <149523380739.28567.9584998643479497589@ietfa.amsl.com> <34EDA6D1-71BA-4E4C-BB9F-5E8FD05786D9@cooperw.in> <CAOgPGoAJnvX3-ZWL73Og0qPnKwozf5yB772ZBs3oyxAG_Z6HiQ@mail.gmail.com> <CAFgnS4WhkXWpTs4h4TUzw9vbpif428-njgXMmEzer1oE5Q-YUw@mail.gmail.com> <CADZyTknoiTg4g3Brw6Dg7EBTwznZoKKuBTqs3=P1-YonypOVyg@mail.gmail.com>
To: Daniel Migault <daniel.migault@ericsson.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/lYV37diIv7PHniaMWGSMAWsbzMY>
Subject: Re: [TLS] [Gen-art] Genart telechat review of draft-ietf-tls-ecdhe-psk-aead-04
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 May 2017 02:27:50 -0000

--Apple-Mail-7AE317D5-E72E-4B21-90D3-35F853CFCA48
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Thanks. This clarifies now.

Regards,

Dan

Sent from my iPhone

> On 25 May 2017, at 1:49, Daniel Migault <daniel.migault@ericsson.com> wrot=
e:
>=20
> Hi Dan,=20
>=20
> The major concern we have is that as a response to your comment I detailed=
 how the defined cipher suites are agreed with TLS1.3. The text we agreed on=
 has been updated, but I guess it still provides enough details.=20
>=20
> In addition, you are right, we have also clarified the text and make sure t=
here is not misunderstanding that the code points assigned are only valid fo=
r TLS1.2. This includes specification of the version in the title, as well a=
s removal of most reference to TLS1.3 in the introduction. The only remainin=
g reference to TLS1.3 in the introduction is used to motivate the use of AEA=
D algorithms.=20
>=20
> The current text for the introduction is as quoted below.
>=20
> Again thank you all for your reviews,=20
>=20
> Yours,=20
> Daniel
>=20
>=20
>=20
> 2.  Introduction
>=20
>    This document defines new cipher suites that provide Pre-Shared Key
>    (PSK) authentication, Perfect Forward Secrecy (PFS), and
>    Authenticated Encryption with Associated Data (AEAD).  The cipher
>    suites are defined for version 1.2 of the Transport Layer Security
>    (TLS) [RFC5246] protocol and version 1.2 of the Datagram Transport
>    Layer Security (DTLS) protocol [RFC6347].
>=20
>    Pre-Shared Key (PSK) Authentication is widely used in many scenarios.
>    One deployment is 3GPP networks where pre-shared keys are used to
>    authenticate both subscriber and network.  Another deployment is
>    Internet of Things where PSK authentication is often preferred for
>    performance and energy efficiency reasons.  In both scenarios the
>    endpoints are owned/controlled by a party that provisions the pre-
>    shared keys and makes sure that they provide a high level of entropy.
>=20
>    Perfect Forward Secrecy (PFS) is a strongly recommended feature in
>    security protocol design and can be accomplished by using an
>    ephemeral Diffie-Hellman key exchange method.  Ephemeral Elliptic
>    Curve Diffie-Hellman (ECDHE) provides PFS with excellent performance
>    and small key sizes.  ECDHE is mandatory to implement in both HTTP/2
>    [RFC7540] and CoAP [RFC7252].
>=20
>   AEAD algorithms that combine encryption and integrity protection are
>    strongly recommended for (D)TLS [RFC7525] and non-AEAD algorithms are
>    forbidden to use in TLS 1.3 [I-D.ietf-tls-tls13].  The AEAD
>    algorithms considered in this document are AES-GCM and AES-CCM.  The
>    use of AES-GCM in TLS is defined in [RFC5288] and the use of AES-CCM
>    is defined in [RFC6655].
>=20
>    [RFC4279] defines Pre-Shared Key (PSK) cipher suites for TLS but does
>    not consider Elliptic Curve Cryptography.  [RFC4492] introduces
>    Elliptic Curve Cryptography for TLS but does not consider PSK
>    authentication.  [RFC5487] describes the use of AES-GCM in
>    combination with PSK authentication, but does not consider ECDHE.
>    [RFC5489] describes the use of PSK in combination with ECDHE but does
>    not consider AES-GCM or AES-CCM.
>=20
>=20
>> On Wed, May 24, 2017 at 5:05 PM, Dan Romascanu <dromasca@gmail.com> wrote=
:
>> Hi Joe,
>>=20
>> Looks OK, but don't you need to also drop 'as well as version 1.3 of TLS'=
  from the first paragraph in the Introduction?=20
>>=20
>> Regards,
>>=20
>> Dan
>>=20
>>> On Thu, May 25, 2017 at 12:29 AM, Joseph Salowey <joe@salowey.net> wrote=
:
>>> Hi Dan and Alissa,
>>>=20
>>> There has been some churn in the text of the document due to my oversigh=
t when sending the document to the IESG.   The proposed new text provided be=
low show should also resolve your comment.  Please let me know if you see an=
y issues with this approach. =20
>>>=20
>>> Thanks,
>>>=20
>>> Joe
>>>=20
>>> Replacing section 4:
>>>  =20
>>>    The cipher suites defined in this document MUST NOT be negotiated for=

>>>    any version of (D)TLS other than TLS 1.2.  Servers MUST NOT select
>>>    one of these cipher suites when selecting TLS version other than TLS
>>>    1.2.  A client MUST treat the selection of these cipher suites in
>>>    combination with a different version of TLS as an error and generate
>>>    a fatal 'illegal_parameter' TLS alert.
>>>=20
>>>    Cipher suites TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
>>>    TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are used to
>>>    support equivalent functionality in TLS 1.3 [I-D.ietf-tls-tls13].
>>>=20
>>>=20
>>>=20
>>>> On Wed, May 24, 2017 at 8:15 AM, Alissa Cooper <alissa@cooperw.in> wrot=
e:
>>>> Dan, thank you for your reviews of this document and thanks to the auth=
ors for providing clarifications. I have balloted No Objection.
>>>>=20
>>>> Alissa
>>>>=20
>>>> > On May 19, 2017, at 6:43 PM, Dan Romascanu <dromasca@gmail.com> wrote=
:
>>>> >
>>>> > Reviewer: Dan Romascanu
>>>> > Review result: Ready
>>>> >
>>>> > I am the assigned Gen-ART reviewer for this draft. The General Area
>>>> > Review Team (Gen-ART) reviews all IETF documents being processed
>>>> > by the IESG for the IETF Chair. Please wait for direction from your
>>>> > document shepherd or AD before posting a new version of the draft.
>>>> >
>>>> > For more information, please see the FAQ at
>>>> >
>>>> > <https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.
>>>> >
>>>> > Document: draft-ietf-tls-ecdhe-psk-aead-??
>>>> > Reviewer: Dan Romascanu
>>>> > Review Date: 2017-05-19
>>>> > IETF LC End Date: 2017-05-18
>>>> > IESG Telechat date: 2017-05-25
>>>> >
>>>> > Summary:
>>>> >
>>>> > This is a straight-forward and clear document that defines several ne=
w
>>>> > cipher suites for the Transport Layer Security (TLS) protocol version=

>>>> > 1.2 and higher, based on the Ephemeral Elliptic Curve Diffie-Hellman
>>>> > with Pre-Shared Key (ECDHE_PSK) key exchange together with the
>>>> > Authenticated Encryption with Associated Data (AEAD) algorithms
>>>> > AES-GCM and AES-CCM. The document is well written and I appreciate th=
e
>>>> > effort to clarify in the Introduction the context, what was missing,
>>>> > and why the document is necessary. One issue raised in my initial
>>>> > review for draft-03 was addressed, discussed and draft-04 includes
>>>> > useful clarification text.
>>>> >
>>>> > The document is Ready
>>>> >
>>>> > Major issues:
>>>> >
>>>> > Minor issues:
>>>> >
>>>> > Nits/editorial comments:
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > Gen-art mailing list
>>>> > Gen-art@ietf.org
>>>> > https://www.ietf.org/mailman/listinfo/gen-art
>>>>=20
>>>=20
>>=20
>=20

--Apple-Mail-7AE317D5-E72E-4B21-90D3-35F853CFCA48
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div>Thanks. This clarifies now.</div><div i=
d=3D"AppleMailSignature"><br></div><div id=3D"AppleMailSignature">Regards,</=
div><div id=3D"AppleMailSignature"><br></div><div id=3D"AppleMailSignature">=
Dan<br><br>Sent from my iPhone</div><div><br>On 25 May 2017, at 1:49, Daniel=
 Migault &lt;<a href=3D"mailto:daniel.migault@ericsson.com">daniel.migault@e=
ricsson.com</a>&gt; wrote:<br><br></div><blockquote type=3D"cite"><div><div d=
ir=3D"ltr"><div>Hi Dan, <br><br></div><div>The major concern we have is that=
 as a response to your comment I detailed how the defined cipher suites are a=
greed with TLS1.3. The text we agreed on has been updated, but I guess it st=
ill provides enough details. <br><br></div><div>In addition, you are right, w=
e have also clarified the text and make sure there is not misunderstanding t=
hat the code points assigned are only valid for TLS1.2. This includes specif=
ication of the version in the title, as well as removal of most reference to=
 TLS1.3 in the introduction. The only remaining reference to TLS1.3 in the i=
ntroduction is used to motivate the use of AEAD algorithms. <br><br><div>The=
 current text for the introduction is as quoted below.<br></div><br></div><d=
iv>Again thank you all for your reviews, <br><br></div><div>Yours, <br></div=
><div>Daniel<br><br></div><br><div><div><div><br>2.&nbsp; Introduction<br><b=
r>&nbsp;&nbsp; This document defines new cipher suites that provide Pre-Shar=
ed Key<br>&nbsp;&nbsp; (PSK) authentication, Perfect Forward Secrecy (PFS), a=
nd<br>&nbsp;&nbsp; Authenticated Encryption with Associated Data (AEAD).&nbs=
p; The cipher<br>&nbsp;&nbsp; suites are defined for version 1.2 of the Tran=
sport Layer Security<br>&nbsp;&nbsp; (TLS) [RFC5246] protocol and version 1.=
2 of the Datagram Transport<br>&nbsp;&nbsp; Layer Security (DTLS) protocol [=
RFC6347].<br><br>&nbsp;&nbsp; Pre-Shared Key (PSK) Authentication is widely u=
sed in many scenarios.<br>&nbsp;&nbsp; One deployment is 3GPP networks where=
 pre-shared keys are used to<br>&nbsp;&nbsp; authenticate both subscriber an=
d network.&nbsp; Another deployment is<br>&nbsp;&nbsp; Internet of Things wh=
ere PSK authentication is often preferred for<br>&nbsp;&nbsp; performance an=
d energy efficiency reasons.&nbsp; In both scenarios the<br>&nbsp;&nbsp; end=
points are owned/controlled by a party that provisions the pre-<br>&nbsp;&nb=
sp; shared keys and makes sure that they provide a high level of entropy.<br=
><br>&nbsp;&nbsp; Perfect Forward Secrecy (PFS) is a strongly recommended fe=
ature in<br>&nbsp;&nbsp; security protocol design and can be accomplished by=
 using an<br>&nbsp;&nbsp; ephemeral Diffie-Hellman key exchange method.&nbsp=
; Ephemeral Elliptic<br>&nbsp;&nbsp; Curve Diffie-Hellman (ECDHE) provides P=
FS with excellent performance<br>&nbsp;&nbsp; and small key sizes.&nbsp; ECD=
HE is mandatory to implement in both HTTP/2<br>&nbsp;&nbsp; [RFC7540] and Co=
AP [RFC7252].<br><br>&nbsp; AEAD algorithms that combine encryption and inte=
grity protection are<br>&nbsp;&nbsp; strongly recommended for (D)TLS [RFC752=
5] and non-AEAD algorithms are<br>&nbsp;&nbsp; forbidden to use in TLS 1.3 [=
I-D.ietf-tls-tls13].&nbsp; The AEAD<br>&nbsp;&nbsp; algorithms considered in=
 this document are AES-GCM and AES-CCM.&nbsp; The<br>&nbsp;&nbsp; use of AES=
-GCM in TLS is defined in [RFC5288] and the use of AES-CCM<br>&nbsp;&nbsp; i=
s defined in [RFC6655].<br><br>&nbsp;&nbsp; [RFC4279] defines Pre-Shared Key=
 (PSK) cipher suites for TLS but does<br>&nbsp;&nbsp; not consider Elliptic C=
urve Cryptography.&nbsp; [RFC4492] introduces<br>&nbsp;&nbsp; Elliptic Curve=
 Cryptography for TLS but does not consider PSK<br>&nbsp;&nbsp; authenticati=
on.&nbsp; [RFC5487] describes the use of AES-GCM in<br>&nbsp;&nbsp; combinat=
ion with PSK authentication, but does not consider ECDHE.<br>&nbsp;&nbsp; [R=
FC5489] describes the use of PSK in combination with ECDHE but does<br>&nbsp=
;&nbsp; not consider AES-GCM or AES-CCM.<br><br></div></div></div></div><div=
 class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, May 24, 2017 a=
t 5:05 PM, Dan Romascanu <span dir=3D"ltr">&lt;<a href=3D"mailto:dromasca@gm=
ail.com" target=3D"_blank">dromasca@gmail.com</a>&gt;</span> wrote:<br><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex"><div dir=3D"ltr">Hi Joe,<br><br>Looks OK, but don't=
 you need to also drop 'as well as version 1.3 of TLS'&nbsp; from the first p=
aragraph in the Introduction? <br><br>Regards,<br><br>Dan<br></div><div clas=
s=3D"HOEnZb"><div class=3D"h5"><div class=3D"gmail_extra"><br><div class=3D"=
gmail_quote">On Thu, May 25, 2017 at 12:29 AM, Joseph Salowey <span dir=3D"l=
tr">&lt;<a href=3D"mailto:joe@salowey.net" target=3D"_blank">joe@salowey.net=
</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hi D=
an and Alissa,<div><br></div><div>There has been some churn in the text of t=
he document due to my oversight when sending the document to the IESG. &nbsp=
; The proposed new text provided below show should also resolve your comment=
.&nbsp; Please let me know if you see any issues with this approach. &nbsp;<=
/div><div><br></div><div>Thanks,</div><div><br></div><div>Joe</div><div><br>=
</div><div><div style=3D"font-size:12.8px">Replacing section 4:</div><div st=
yle=3D"font-size:12.8px"><pre class=3D"m_1039230630936680272m_42369517035662=
73053gmail-m_-7284541284508334339gmail-aLF-aPX-K0-aPE m_1039230630936680272m=
_4236951703566273053gmail-m_-7284541284508334339gmail-aLF-aPX-aLK-ayr-auR" s=
tyle=3D"white-space:pre-wrap"> =20
   The cipher suites defined in this document MUST NOT be negotiated for
   any version of (D)TLS other than TLS 1.2.  Servers MUST NOT select
   one of these cipher suites when selecting TLS version other than TLS
   1.2.  A client MUST treat the selection of these cipher suites in
   combination with a different version of TLS as an error and generate
   a fatal 'illegal_parameter' TLS alert.

   Cipher suites TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384,
   TLS_AES_128_CCM_8_SHA256 and TLS_AES_128_CCM_SHA256 are used to
   support equivalent functionality in TLS 1.3 [I-D.ietf-tls-tls13].</pre></=
div></div><div><br></div><div><br></div></div><div class=3D"m_10392306309366=
80272HOEnZb"><div class=3D"m_1039230630936680272h5"><div class=3D"gmail_extr=
a"><br><div class=3D"gmail_quote">On Wed, May 24, 2017 at 8:15 AM, Alissa Co=
oper <span dir=3D"ltr">&lt;<a href=3D"mailto:alissa@cooperw.in" target=3D"_b=
lank">alissa@cooperw.in</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x">Dan, thank you for your reviews of this document and thanks to the author=
s for providing clarifications. I have balloted No Objection.<br>
<br>
Alissa<br>
<div><div class=3D"m_1039230630936680272m_4236951703566273053h5"><br>
&gt; On May 19, 2017, at 6:43 PM, Dan Romascanu &lt;<a href=3D"mailto:dromas=
ca@gmail.com" target=3D"_blank">dromasca@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Reviewer: Dan Romascanu<br>
&gt; Review result: Ready<br>
&gt;<br>
&gt; I am the assigned Gen-ART reviewer for this draft. The General Area<br>=

&gt; Review Team (Gen-ART) reviews all IETF documents being processed<br>
&gt; by the IESG for the IETF Chair. Please wait for direction from your<br>=

&gt; document shepherd or AD before posting a new version of the draft.<br>
&gt;<br>
&gt; For more information, please see the FAQ at<br>
&gt;<br>
&gt; &lt;<a href=3D"https://trac.ietf.org/trac/gen/wiki/GenArtfaq" rel=3D"no=
referrer" target=3D"_blank">https://trac.ietf.org/trac/ge<wbr>n/wiki/GenArtf=
aq</a>&gt;.<br>
&gt;<br>
&gt; Document: draft-ietf-tls-ecdhe-psk-aead-<wbr>??<br>
&gt; Reviewer: Dan Romascanu<br>
&gt; Review Date: 2017-05-19<br>
&gt; IETF LC End Date: 2017-05-18<br>
&gt; IESG Telechat date: 2017-05-25<br>
&gt;<br>
&gt; Summary:<br>
&gt;<br>
&gt; This is a straight-forward and clear document that defines several new<=
br>
&gt; cipher suites for the Transport Layer Security (TLS) protocol version<b=
r>
&gt; 1.2 and higher, based on the Ephemeral Elliptic Curve Diffie-Hellman<br=
>
&gt; with Pre-Shared Key (ECDHE_PSK) key exchange together with the<br>
&gt; Authenticated Encryption with Associated Data (AEAD) algorithms<br>
&gt; AES-GCM and AES-CCM. The document is well written and I appreciate the<=
br>
&gt; effort to clarify in the Introduction the context, what was missing,<br=
>
&gt; and why the document is necessary. One issue raised in my initial<br>
&gt; review for draft-03 was addressed, discussed and draft-04 includes<br>
&gt; useful clarification text.<br>
&gt;<br>
&gt; The document is Ready<br>
&gt;<br>
&gt; Major issues:<br>
&gt;<br>
&gt; Minor issues:<br>
&gt;<br>
&gt; Nits/editorial comments:<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; Gen-art mailing list<br>
&gt; <a href=3D"mailto:Gen-art@ietf.org" target=3D"_blank">Gen-art@ietf.org<=
/a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/gen-art" rel=3D"norefe=
rrer" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/gen-art</=
a><br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></blockquote></body></html>=

--Apple-Mail-7AE317D5-E72E-4B21-90D3-35F853CFCA48--


From nobody Thu May 25 06:32:21 2017
Return-Path: <internet-drafts@ietf.org>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id E6D09129A96; Thu, 25 May 2017 06:32:03 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: tls@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.51.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149571912389.8608.7864221512808308039@ietfa.amsl.com>
Date: Thu, 25 May 2017 06:32:03 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/UDpYLDMVDnd1C4oklPh2zhJZlSw>
Subject: [TLS] I-D Action: draft-ietf-tls-ecdhe-psk-aead-05.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 May 2017 13:32:04 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Transport Layer Security of the IETF.

        Title           : ECDHE_PSK with AES-GCM and AES-CCM Cipher Suites for Transport Layer Security (TLS) Protocol version 1.2
        Authors         : John Mattsson
                          Daniel Migault
	Filename        : draft-ietf-tls-ecdhe-psk-aead-05.txt
	Pages           : 7
	Date            : 2017-05-25

Abstract:
   This document defines several new cipher suites for the Transport
   Layer Security (TLS) protocol version 1.2.  The cipher suites are all
   based on the Ephemeral Elliptic Curve Diffie-Hellman with Pre-Shared
   Key (ECDHE_PSK) key exchange together with the Authenticated
   Encryption with Associated Data (AEAD) algorithms AES-GCM and AES-
   CCM.  PSK provides light and efficient authentication, ECDHE provides
   forward secrecy, and AES-GCM and AES-CCM provides encryption and
   integrity protection.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-05
https://datatracker.ietf.org/doc/html/draft-ietf-tls-ecdhe-psk-aead-05

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-tls-ecdhe-psk-aead-05


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Thu May 25 06:37:36 2017
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 35B0D12944A; Thu, 25 May 2017 06:37:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.389
X-Spam-Level: 
X-Spam-Status: No, score=-2.389 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 LOF7676mjb1b; Thu, 25 May 2017 06:37:25 -0700 (PDT)
Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (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 AF9E9128B90; Thu, 25 May 2017 06:37:24 -0700 (PDT)
Received: by mail-lf0-x234.google.com with SMTP id 99so83658633lfu.1; Thu, 25 May 2017 06:37:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=P8kPHP21WBgAslSOk7RK+DxNYRp86Krm5CMaS0NhS8M=; b=ROK9zmKHRCdrbPGgdp184fkNs7REQ8y2hEWSWuOxmMcsQJNwcH9iMbdleDdOElkVXb iKPGdWwxGqlfdT+mJQ8ewauY22Ci21tDYNp2fXC2Kd1XZmGdu15QEdJifqXz1JpnpG3p RULcvx23OpUZq6n70BiTDxqZOvCYUIndRDtQ38+faAgdRV/vP4XUWV4kn2PH4u+q99hs 4rvo7eJPwRhHSrBqgvZSUR+vzAPX/LvuwxXP35y+J4ZCU1JwS07YKKqq0nzm9Z2PVKVN JK6N7EjDJEle4El7tOE5czOgKHyh2N67ACquq9/ZW7R0l4kMM0bsmnkiHCgxvK2vShxs vIXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=P8kPHP21WBgAslSOk7RK+DxNYRp86Krm5CMaS0NhS8M=; b=IAalsH+M6mFZk4QOjlv4ZHztR6047qMLU5bkJNVcecf7Elfarulb8c0XjWGeLEFBUj SA7EOzpep+bYjXtUtSIy9rvDqQXK7WNxOwg1CJcKmj/hacujHb/kMr0qgFSV84H+SjaW rq9jXqDjhk8EYQUrlWCMYaN0knXLpd2kdQzeJGzAEqUdGfM7FPcNdzaqCwKdY52DSZYj g6Yi5ByAuetPw/rMj0GWHhRZi+JqDaTKHWxfU5WmfwQMqH4VBaNR718+4x4sMmWDCS8B RMfVp+7yZvOTljfKOV2yUqNtDcJXxETf3RCwji2bLtlwx21x8Rj3tZgQccMD5UaXqh+H l7cg==
X-Gm-Message-State: AODbwcCW1tbksSfF/ckDkv3sKymwpDit6EDXqVXwbrHfYUDfPiXyAY89 323F0A8UVZYarp5ppfZMQrM5cZbStg==
X-Received: by 10.46.88.17 with SMTP id m17mr10759812ljb.26.1495719442894; Thu, 25 May 2017 06:37:22 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.0.14 with HTTP; Thu, 25 May 2017 06:37:21 -0700 (PDT)
In-Reply-To: <CABkgnnUudVk5O4T-fVpMgNeRC=NW1W+YvOXPFyWDPkyH9X0sXw@mail.gmail.com>
References: <149550551972.4974.3201248950751611020.idtracker@ietfa.amsl.com> <CADZyTknOk=skkKXFtrvVWuKVU_PLV3tecaeo9kdLe77a9YxkNQ@mail.gmail.com> <CABcZeBM-4_xqBOum3vCd2Sb5327CYpU08kxadqYwW+qh0W3eJw@mail.gmail.com> <CADZyTknmXE6UW5e9SbSwwSUZWU-wHw_+9sTB_xnYUmo8KBOJxg@mail.gmail.com> <CADZyTk=K8dzYaEL3TBjHMzsHnF+X52RvZiUsSBJQmNi0CkH=CA@mail.gmail.com> <CABkgnnVq8N+vEXZ-=yU+EWR9GYTh9K64D8MP0Yu7Pn0enE=iRQ@mail.gmail.com> <CADZyTknBzV6Z_wwBtPw-=9VOw1Z0X8UQPRorwvg_cRQuRNFQLw@mail.gmail.com> <CABkgnnX_U7DW-+Pq+32-Z3eQB-ZR_C8GM6XUBDDeSAxJqkZ8ng@mail.gmail.com> <CAOgPGoAwn5kfS8GTHw3a5Hgwerrnd735vO-ReGQQBXJtKsf=dQ@mail.gmail.com> <CABkgnnV1csycfd4QDnwcHwFOEGU1n1YfoWiDQyPZtZryT==GMQ@mail.gmail.com> <CADZyTkkzJbmSbGB8yzbqCpvMKovk4gnpnZ44apaNAc2WJLwNCw@mail.gmail.com> <CABkgnnUudVk5O4T-fVpMgNeRC=NW1W+YvOXPFyWDPkyH9X0sXw@mail.gmail.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Thu, 25 May 2017 09:37:21 -0400
X-Google-Sender-Auth: cNHJUXlR2x4rVwHaUaeBzltlzWA
Message-ID: <CADZyTkm_U=2R9sPifZfFJW0tvDh5jvnv3MH+RhSZ3i2FjjNxog@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Joseph Salowey <joe@salowey.net>, Eric Rescorla <ekr@rtfm.com>, tls-chairs <tls-chairs@ietf.org>,  The IESG <iesg@ietf.org>, tls <tls@ietf.org>, draft-ietf-tls-ecdhe-psk-aead@ietf.org
Content-Type: multipart/alternative; boundary="f403043882e013d91105505952c1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/C_yeX8zQUaO4Y-HN2Ia0FflmOGc>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 May 2017 13:37:27 -0000

--f403043882e013d91105505952c1
Content-Type: text/plain; charset="UTF-8"

 Hi,

Please find the version the secretariat just published. I believe all
comments have been addressed. Thank you all for the reviews!

Yours,

Daniel



-----Original Message-----
From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
Sent: Thursday, May 25, 2017 9:32 AM
To: John Mattsson <john.mattsson@ericsson.com>; Daniel Migault
<daniel.migault@ericsson.com>
Subject: New Version Notification for draft-ietf-tls-ecdhe-psk-aead-05.txt





A new version of I-D, draft-ietf-tls-ecdhe-psk-aead-05.txt

has been successfully submitted by Daniel Migault and posted to the IETF
repository.



Name:                  draft-ietf-tls-ecdhe-psk-aead

Revision:              05

Title:                      ECDHE_PSK with AES-GCM and AES-CCM Cipher
Suites for Transport Layer Security (TLS) Protocol version 1.2

Document date:               2017-05-24

Group:                  tls

Pages:                   7

URL:
https://www.ietf.org/internet-drafts/draft-ietf-tls-ecdhe-psk-aead-05.txt

Status:
https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-psk-aead/

Htmlized:       https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-05

Htmlized:
https://datatracker.ietf.org/doc/html/draft-ietf-tls-ecdhe-psk-aead-05

Diff:
https://www.ietf.org/rfcdiff?url2=draft-ietf-tls-ecdhe-psk-aead-05



Abstract:

   This document defines several new cipher suites for the Transport

   Layer Security (TLS) protocol version 1.2.  The cipher suites are all

   based on the Ephemeral Elliptic Curve Diffie-Hellman with Pre-Shared

   Key (ECDHE_PSK) key exchange together with the Authenticated

   Encryption with Associated Data (AEAD) algorithms AES-GCM and AES-

   CCM.  PSK provides light and efficient authentication, ECDHE provides

   forward secrecy, and AES-GCM and AES-CCM provides encryption and

   integrity protection.










Please note that it may take a couple of minutes from the time of
submission until the htmlized version and diff are available at
tools.ietf.org.



The IETF Secretariat

On Wed, May 24, 2017 at 6:29 PM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> On 25 May 2017 at 07:43, Daniel Migault <daniel.migault@ericsson.com>
> wrote:
> > From your response I understand you do not request changes.
>
>
> I am requesting changes. Just say that
> TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256 uses AEAD_AES_128_GCM, and so
> forth.  It's not hard to be explicit.
>

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

<div dir=3D"ltr">

<p class=3D"gmail-MsoPlainText">=C2=A0Hi, <br></p><p class=3D"gmail-MsoPlai=
nText">Please find the version the secretariat just published. I believe al=
l comments have been addressed. Thank you all for the reviews!<br></p><p cl=
ass=3D"gmail-MsoPlainText">Yours, <br></p><p class=3D"gmail-MsoPlainText">D=
aniel<br></p>

<p class=3D"gmail-MsoPlainText">=C2=A0</p>

<p class=3D"gmail-MsoPlainText"><a name=3D"_MailOriginal">-----Original Mes=
sage-----<br>
From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org] <br>
Sent: Thursday, May 25, 2017 9:32 AM<br>
To: John Mattsson &lt;john.mattsson@ericsson.com&gt;; Daniel Migault
&lt;daniel.migault@ericsson.com&gt;<br>
Subject: New Version Notification for draft-ietf-tls-ecdhe-psk-aead-05.txt<=
/a></p>

<p class=3D"gmail-MsoPlainText"><span>=C2=A0</span></p>

<p class=3D"gmail-MsoPlainText"><span>=C2=A0</span></p>

<p class=3D"gmail-MsoPlainText"><span>A new version of
I-D, draft-ietf-tls-ecdhe-psk-aead-05.txt</span></p>

<p class=3D"gmail-MsoPlainText"><span>has been
successfully submitted by Daniel Migault and posted to the IETF repository.=
</span></p>

<p class=3D"gmail-MsoPlainText"><span>=C2=A0</span></p>

<p class=3D"gmail-MsoPlainText"><span>Name:<span>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 </span>draft-ietf-tls-ecdhe-psk-aead</span></p>

<p class=3D"gmail-MsoPlainText"><span>Revision:<span>=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </span>05</span><=
/p>

<p class=3D"gmail-MsoPlainText"><span>Title:<span>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 </span>ECDHE_PSK with AES-GCM and
AES-CCM Cipher Suites for Transport Layer Security (TLS) Protocol version 1=
.2</span></p>

<p class=3D"gmail-MsoPlainText"><span>Document date:<span>=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </spa=
n>2017-05-24</span></p>

<p class=3D"gmail-MsoPlainText"><span>Group:<span>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 </span>tls</span></p>

<p class=3D"gmail-MsoPlainText"><span>Pages:<span>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 </span>7</span></p>

<p class=3D"gmail-MsoPlainText"><span>URL:<span>=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </span></span><a href=3D"https://ww=
w.ietf.org/internet-drafts/draft-ietf-tls-ecdhe-psk-aead-05.txt"><span><spa=
n style=3D"color:windowtext;text-decoration:none">https://www.ietf.org/inte=
rnet-drafts/draft-ietf-tls-ecdhe-psk-aead-05.txt</span></span></a><span></s=
pan></p>

<p class=3D"gmail-MsoPlainText"><span>Status:<span>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 </span></span><a href=3D"https://datatracker.ietf.=
org/doc/draft-ietf-tls-ecdhe-psk-aead/"><span><span style=3D"color:windowte=
xt;text-decoration:none">https://datatracker.ietf.org/doc/draft-ietf-tls-ec=
dhe-psk-aead/</span></span></a><span></span></p>

<p class=3D"gmail-MsoPlainText"><span>Htmlized:<span>=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 </span></span><a href=3D"https://tools.ietf.org/html/draft-=
ietf-tls-ecdhe-psk-aead-05"><span><span style=3D"color:windowtext;text-deco=
ration:none">https://tools.ietf.org/html/draft-ietf-tls-ecdhe-psk-aead-05</=
span></span></a><span></span></p>

<p class=3D"gmail-MsoPlainText"><span>Htmlized:<span>=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 </span></span><a href=3D"https://datatracker.ietf.org/doc/h=
tml/draft-ietf-tls-ecdhe-psk-aead-05"><span><span style=3D"color:windowtext=
;text-decoration:none">https://datatracker.ietf.org/doc/html/draft-ietf-tls=
-ecdhe-psk-aead-05</span></span></a><span></span></p>

<p class=3D"gmail-MsoPlainText"><span>Diff:<span>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </span></span><a href=3D"https://www.i=
etf.org/rfcdiff?url2=3Ddraft-ietf-tls-ecdhe-psk-aead-05"><span><span style=
=3D"color:windowtext;text-decoration:none">https://www.ietf.org/rfcdiff?url=
2=3Ddraft-ietf-tls-ecdhe-psk-aead-05</span></span></a><span></span></p>

<p class=3D"gmail-MsoPlainText"><span>=C2=A0</span></p>

<p class=3D"gmail-MsoPlainText"><span>Abstract:</span></p>

<p class=3D"gmail-MsoPlainText"><span><span>=C2=A0=C2=A0 </span>This docume=
nt defines several new cipher
suites for the Transport</span></p>

<p class=3D"gmail-MsoPlainText"><span><span>=C2=A0=C2=A0 </span>Layer Secur=
ity (TLS) protocol version
1.2.<span>=C2=A0 </span>The cipher suites are all</span></p>

<p class=3D"gmail-MsoPlainText"><span><span>=C2=A0=C2=A0 </span>based on th=
e Ephemeral Elliptic Curve
Diffie-Hellman with Pre-Shared</span></p>

<p class=3D"gmail-MsoPlainText"><span><span>=C2=A0=C2=A0 </span>Key (ECDHE_=
PSK) key exchange together with
the Authenticated</span></p>

<p class=3D"gmail-MsoPlainText"><span><span>=C2=A0=C2=A0 </span>Encryption =
with Associated Data (AEAD)
algorithms AES-GCM and AES-</span></p>

<p class=3D"gmail-MsoPlainText"><span><span>=C2=A0=C2=A0 </span>CCM.<span>=
=C2=A0
</span>PSK provides light and efficient authentication, ECDHE provides</spa=
n></p>

<p class=3D"gmail-MsoPlainText"><span><span>=C2=A0=C2=A0 </span>forward sec=
recy, and AES-GCM and AES-CCM
provides encryption and</span></p>

<p class=3D"gmail-MsoPlainText"><span><span>=C2=A0=C2=A0 </span>integrity p=
rotection.</span></p>

<p class=3D"gmail-MsoPlainText"><span>=C2=A0</span></p>

<p class=3D"gmail-MsoPlainText"><span><span>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0
</span></span></p>

<p class=3D"gmail-MsoPlainText"><span>=C2=A0</span></p>

<p class=3D"gmail-MsoPlainText"><span>=C2=A0</span></p>

<p class=3D"gmail-MsoPlainText"><span>Please note that
it may take a couple of minutes from the time of submission until the htmli=
zed
version and diff are available at <a href=3D"http://tools.ietf.org">tools.i=
etf.org</a>.</span></p>

<p class=3D"gmail-MsoPlainText"><span>=C2=A0</span></p>

<p class=3D"gmail-MsoPlainText"><span>The IETF
Secretariat</span></p>

</div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, May=
 24, 2017 at 6:29 PM, Martin Thomson <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:martin.thomson@gmail.com" target=3D"_blank">martin.thomson@gmail.com</a>&=
gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On 25 =
May 2017 at 07:43, Daniel Migault &lt;<a href=3D"mailto:daniel.migault@eric=
sson.com">daniel.migault@ericsson.com</a>&gt; wrote:<br>
&gt; From your response I understand you do not request changes.<br>
<br>
<br>
</span>I am requesting changes. Just say that<br>
TLS_ECDHE_PSK_WITH_AES_128_<wbr>GCM_SHA256 uses AEAD_AES_128_GCM, and so<br=
>
forth.=C2=A0 It&#39;s not hard to be explicit.<br>
</blockquote></div><br></div>

--f403043882e013d91105505952c1--


From nobody Thu May 25 22:16:10 2017
Return-Path: <sankalp.nitt@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A2011241FC for <tls@ietfa.amsl.com>; Thu, 25 May 2017 22:16:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.799
X-Spam-Level: 
X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 s_xay3pqANBj for <tls@ietfa.amsl.com>; Thu, 25 May 2017 22:16:06 -0700 (PDT)
Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) (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 CA7A3126CBF for <tls@ietf.org>; Thu, 25 May 2017 22:16:06 -0700 (PDT)
Received: by mail-oi0-x230.google.com with SMTP id b204so695380oii.1 for <tls@ietf.org>; Thu, 25 May 2017 22:16:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to:cc; bh=3a22t06/qUkM4rrXbI74rmIjmEG5cnLy/6trVJUMfUc=; b=qFNXxOaZifBGW7q77wE0VhCV/t/7oKrgGVoZW8Dfg3LCasoFhB/wTy/dwkx8Gbst9d KmmUq46fOgVwt8E+00rim98pgLO3UayYnSDIEeEUld38ynUQ9CpYreeEPpz9p7UzCf8n WOENXQ9WFdRzkS8YHL1OYBNKoe8SzjwuA4OVDaxIpukleZVNxrK6m9FZ6xaC/csmIx6s 6arvCQoey2mKb/JomHDUJUwQ8jEaB2mnW211QZrKaXJ8mVCGYqgajSnBw8WY+EMD/DsZ Z9h4fpHMItInIpQnxGta3yzz53nRs0TFev7cLYf6ny9pjr6duNCKO3pWUBDXFOa3SkOH r+CQ==
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:cc; bh=3a22t06/qUkM4rrXbI74rmIjmEG5cnLy/6trVJUMfUc=; b=GiK0BttF3ofp0gOGFZhdq8Jt+wLqfRX88LXY8TXKi8Ji4oGLLlskz3OYORykNMaY5N OsJt+SQWpzYJ/QS8erbbJKLCGGtEN4krM7E01wlm52fWyyRdIad51yGk7WuqvmUh1/bQ 4LEAXPSU8j7Ps4Aug0a2DRR8RAudnhMmqMy+BB6dPOyLavysRzN4l7zcEDl0EhLh8BEE LfCG6MEX0/fLoeK5x52IItCi0ARgeSZufF0C5EfNPJffEbeJjOxWBxoGAyHt7E5zcJRb 8RLqDpatxjFeZdngWIEN/T1uuB6BdfacARervniGbvxEbjIb9wNjlhPprRQWv+0i/3yW /4CA==
X-Gm-Message-State: AODbwcC6Ppm4V0CzslHWrv+gFOQHXi/zU05yu0ubqvAjKHSa5o0avb5l pDHsJvXvivd/QGWNdoGABmaD2VO5dw==
X-Received: by 10.157.16.55 with SMTP id h52mr55027ote.218.1495775766161; Thu, 25 May 2017 22:16:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.56.24 with HTTP; Thu, 25 May 2017 22:16:05 -0700 (PDT)
From: Sankalp Bagaria <sankalp.nitt@gmail.com>
Date: Fri, 26 May 2017 10:46:05 +0530
Message-ID: <CAPZZOTgfu9K3umjuCb=4DeRWOEKGvOJ4xBAeefudpdE=NJo9sQ@mail.gmail.com>
To: tls@ietf.org
Cc: sankalp <sankalp@cdac.in>, Balaji Rajendran <balajirajendran@gmail.com>
Content-Type: multipart/alternative; boundary="001a113d034234b1cc0550666ff8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Ai5a2Q9kXi5zLteXoYR0v4pEk5A>
Subject: [TLS] HTTPS Phishing sites
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 May 2017 05:16:08 -0000

--001a113d034234b1cc0550666ff8
Content-Type: text/plain; charset="UTF-8"

Hello,

http://securityaffairs.co/wordpress/59238/cyber-crime/
https-phishing-sites.html claims
that phishing websites using HTTPS are increasing in number. If malicious
sites can
get certificates, it defeats the purpose of TLS. In my opinion, tougher
measures are
required to prevent malicious sites getting legitimate certificates. What
can we do
about it ?

Regards,
Sankalp.

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

<div dir=3D"ltr"><div>Hello,</div><div><br></div><a href=3D"http://security=
affairs.co/wordpress/59238/cyber-crime/https-phishing-sites.html" target=3D=
"_blank">http://securityaffairs.co/<wbr>wordpress/59238/cyber-crime/<wbr>ht=
tps-phishing-sites.html</a> claims<br><div>that phishing websites using HTT=
PS are increasing in number. If malicious sites can</div><div>get certifica=
tes, it defeats the purpose of TLS. In my opinion, tougher measures are</di=
v><div>required to prevent malicious sites getting legitimate certificates.=
 What can we do</div><div>about it ?</div><div><br></div><div>Regards,</div=
><div>Sankalp.</div></div>

--001a113d034234b1cc0550666ff8--


From BATV+e4eadb104ff0d7260b01+5024+infradead.org+dwmw2@twosheds.srs.infradead.org  Thu May 25 22:24:10 2017
Return-Path: <BATV+e4eadb104ff0d7260b01+5024+infradead.org+dwmw2@twosheds.srs.infradead.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B4A5120454 for <tls@ietfa.amsl.com>; Thu, 25 May 2017 22:24:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=infradead.org
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 1PhQvxfAUCOX for <tls@ietfa.amsl.com>; Thu, 25 May 2017 22:24:08 -0700 (PDT)
Received: from twosheds.infradead.org (twosheds.infradead.org [IPv6:2001:8b0:10b:1:21d:7dff:fe04:dbe2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1FE08126CBF for <tls@ietf.org>; Thu, 25 May 2017 22:24:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=twosheds.20170209; h=Mime-Version:Date:Content-Type: References:In-Reply-To:Cc:To:From:Subject:Message-ID:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hs8hawknLK6ak5CG/6k3bqleXo3FEZPaMRrB3Pgivzk=; b=DJ/YV5cNhkqcabjm+AeRFyZkh LowGQiSTMUqijDgDIUT6Ow/s2i4a1a2pN7YkP/+jU0j5Hyj/43NVgELbjDsX9MNK3B9JHqPVCHSNT h8+AqaMuQspV0UqwMlMdbtRIZ6SWI+S9IscyFadxriXAqJXpvJrxEQ+OQEcOtKbwBoOuorFZ855Jd 9uBO79nfKQhO/93Qa8wgr2wSbw5iVBGCTRnHknjoIf0zbDs/r0Bh2CnpxePMqeANhlf5+7YkhFA2u m39m4NuKuN5cevQuZ0X+/9IqvLiRbpYKP4xCerOoy4xl0G2cQ7FZJI9qrwmlcSmd7Ibhhps+Oks3X HHAkodf3g==;
Received: from [2001:8b0:10b:1:5de4:715c:a500:779a] by twosheds.infradead.org with esmtpsa (Exim 4.87 #1 (Red Hat Linux)) id 1dE7jI-0006h7-Um; Fri, 26 May 2017 05:24:05 +0000
Message-ID: <1495776243.26190.10.camel@infradead.org>
From: David Woodhouse <dwmw2@infradead.org>
To: Sankalp Bagaria <sankalp.nitt@gmail.com>, tls@ietf.org
Cc: Balaji Rajendran <balajirajendran@gmail.com>, sankalp <sankalp@cdac.in>
In-Reply-To: <CAPZZOTgfu9K3umjuCb=4DeRWOEKGvOJ4xBAeefudpdE=NJo9sQ@mail.gmail.com>
References: <CAPZZOTgfu9K3umjuCb=4DeRWOEKGvOJ4xBAeefudpdE=NJo9sQ@mail.gmail.com>
Content-Type: multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-QEUZ30nL3gpMQREopP7M"
Date: Fri, 26 May 2017 06:24:03 +0100
Mime-Version: 1.0
X-Mailer: Evolution 3.18.5.2-0ubuntu3.1 
X-SRS-Rewrite: SMTP reverse-path rewritten from <dwmw2@infradead.org> by twosheds.infradead.org. See http://www.infradead.org/rpr.html
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/wrZlmx7FCGPF6usWdRh3YjJMloc>
Subject: Re: [TLS] HTTPS Phishing sites
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 May 2017 05:24:57 -0000

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

On Fri, 2017-05-26 at 10:46 +0530, Sankalp Bagaria wrote:
> Hello,
>=20
> http://securityaffairs.co/wordpress/59238/cyber-crime/https-phishing-site=
s.html claims
> that phishing websites using HTTPS are increasing in number. If malicious=
 sites can
> get certificates, it defeats the purpose of TLS. In my opinion, tougher m=
easures are
> required to prevent malicious sites getting legitimate certificates. What=
 can we do
> about it ?

I wouldn't say that it defeats the purpose of TLS.

If https://hackerssite.co.ua/=C2=A0has a TLS certificate validating that it
really is hackerssite.co.ua, and I go there for my online banking...
well that's kind of my fault. That domain *isn't* my bank's clearly
owned domain name, and I should be looking for an EV certificate with
my bank's name in it.

So that would be *my* fault.... unless I suppose my bank have ACTIVELY
TRAINED me to succumb to fraud, by doing something insanely
incompetently negligent.... like Nat West running their online banking
on 'nwolb.com', with a certificate that says 'Royal Bank of Scotland'.
Neither of which match the brand "Nat West" by which I know my bank.

Those morons should probably be prosecuted for aiding and abetting the
fraud that they are enabling. Because *their* behaviour defeats the
purpose of TLS.

cf.=C2=A0http://david.woodhou.se/re-registration.html
--=-QEUZ30nL3gpMQREopP7M
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCDzUw
ggSvMIIDl6ADAgECAhEA4CPLFRKDU4mtYW56VGdrITANBgkqhkiG9w0BAQsFADBvMQswCQYDVQQG
EwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFsIFRU
UCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290MB4XDTE0MTIyMjAw
MDAwMFoXDTIwMDUzMDEwNDgzOFowgZsxCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1h
bmNoZXN0ZXIxEDAOBgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNPTU9ETyBDQSBMaW1pdGVkMUEw
PwYDVQQDEzhDT01PRE8gU0hBLTI1NiBDbGllbnQgQXV0aGVudGljYXRpb24gYW5kIFNlY3VyZSBF
bWFpbCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAImxDdp6UxlOcFIdvFamBia3
uEngludRq/HwWhNJFaO0jBtgvHpRQqd5jKQi3xdhTpHVdiMKFNNKAn+2HQmAbqUEPdm6uxb+oYep
LkNSQxZ8rzJQyKZPWukI2M+TJZx7iOgwZOak+FaA/SokFDMXmaxE5WmLo0YGS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zAJBgNVBAYTAkdCMRswGQYD
VQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAOBgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNPTU9E
TyBDQSBMaW1pdGVkMUEwPwYDVQQDEzhDT01PRE8gU0hBLTI1NiBDbGllbnQgQXV0aGVudGljYXRp
b24gYW5kIFNlY3VyZSBFbWFpbCBDQQIQagtQWJVTLQRQTeIoEf4aMDANBgkqhkiG9w0BAQEFAASC
AQApZaAk8s0UYYEHKMnXBOEx+KftoT8mtvhtsH62LCgpBJotjdFXRt4EUT8wNIpr3wJeLI7KY94l
nu9LHIDPp+ejC3d0l8rak4WCQ7pmUpiH5Io5UKje6Upl7eDYtaHqCtDXRzdQA7SoYkx7LQnRp6ll
TTMMRppZmdSyyRAuK8ttcwEinjK+0qAHoA/raSmEMS/WP6znO/PKRZ+Sn7629Mz/sCFP5ZTioag9
RZJL7BDGmVHtNxvst+FTGecrFII599Vw8c2G59W0rcnc5FnYMbWFBxRkPH0pkmoBDRSPhkb0FgO+
NjLiSjTI+zRc/axv+hs1A7bldC+ZEkUC8TAs87nrAAAAAAAA


--=-QEUZ30nL3gpMQREopP7M--


From nobody Thu May 25 23:33:29 2017
Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E830A127698 for <tls@ietfa.amsl.com>; Thu, 25 May 2017 23:33:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 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_NONE=-0.0001, URIBL_BLOCKED=0.001] 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 OsH7u5tH9GFS for <tls@ietfa.amsl.com>; Thu, 25 May 2017 23:33:26 -0700 (PDT)
Received: from mail-yb0-x233.google.com (mail-yb0-x233.google.com [IPv6:2607:f8b0:4002:c09::233]) (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 73703120725 for <tls@ietf.org>; Thu, 25 May 2017 23:33:26 -0700 (PDT)
Received: by mail-yb0-x233.google.com with SMTP id 187so398158ybg.0 for <tls@ietf.org>; Thu, 25 May 2017 23:33:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4LlWPMmES3IU66b0WM44TiJWq3oHw3kPHOScuy1cS0A=; b=2SkGWkwaeKd6UKJUTX3XFNeGT+IIBX/QHhyGiMUtvVyqB0dUNGeebjcf5R2P4uR+Q6 SXXGmLMDAmDrje0mdR2fNJ0ffZzsVCc5pwiaUQFWAaKg9R3Bi6wPrW2ndYto0immE8lR A8BzBcQyVeYXciFLRMKuFWtXDw7vDQ2SBxyIVZ2zJUGwdhTGSmqY+5oGQTMpzlbTKYmR HMPcNMqjtmAXRoV28JDWiNLy53ZnGj4smfBH9JKnlvY7AuChTwR8FdZTeoaHzqcMiMbL cDhbc0H3l4kWLYoxTNmQ73ivhdsiQzZFo6s5jnfl+2vaw4FKgXkzC/teJbvem3c0Di8r gJgg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4LlWPMmES3IU66b0WM44TiJWq3oHw3kPHOScuy1cS0A=; b=h7cEeTBoa9aGtfyon5NI4THQAYCCMuJUXsiw4DHXVli4xqQiUjcAouW5I5OXK7Z+m1 +Rgq20+zvPSTIiVObs/yXmU2MWWyGLqejOHxktwwsRoHb+9MKPBmpLwqhuyNAQy9avit XjbvkBpoaJjml6etqOPdcnGY13tHY8dSbr+BZNMdFgsJkNmc1udPuPB8HDzwl8tylOpN mkAXEiz4tKvpcPfoWQ36F8YcZi7RWNc9ZqsORnVHP0KXgqpkAKheGVCjZZ4lvobR7nmm /ZD5Elma16Go0LwdH1FXFnA4LsMcBd97Jqr9gR31jx6jImUQw35kT4VH+JAry0FNd6hQ FAag==
X-Gm-Message-State: AODbwcBIj1knKaJHyLw9txK/Be+KOuux1LSRXD/sArEqNUco8ZSfOQAd 6M8xUQnIY9a8JgEUKA3aAzIwjdFkmC1F
X-Received: by 10.37.206.8 with SMTP id x8mr29318455ybe.16.1495780404264; Thu, 25 May 2017 23:33:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.131.150 with HTTP; Thu, 25 May 2017 23:32:43 -0700 (PDT)
In-Reply-To: <CAPZZOTgfu9K3umjuCb=4DeRWOEKGvOJ4xBAeefudpdE=NJo9sQ@mail.gmail.com>
References: <CAPZZOTgfu9K3umjuCb=4DeRWOEKGvOJ4xBAeefudpdE=NJo9sQ@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 26 May 2017 14:32:43 +0800
Message-ID: <CABcZeBMa-7S4cE7Phd-rkvmCGTdWD4nHn8J89jRtrVHSuQOa+g@mail.gmail.com>
To: Sankalp Bagaria <sankalp.nitt@gmail.com>
Cc: "tls@ietf.org" <tls@ietf.org>, Balaji Rajendran <balajirajendran@gmail.com>, sankalp <sankalp@cdac.in>
Content-Type: multipart/alternative; boundary="94eb2c190b20a8974f055067838e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/MeeD-DmEZ8Bbkqy8RJ-RVvFKgk8>
Subject: Re: [TLS] HTTPS Phishing sites
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 May 2017 06:33:28 -0000

--94eb2c190b20a8974f055067838e
Content-Type: text/plain; charset="UTF-8"

On Fri, May 26, 2017 at 1:16 PM, Sankalp Bagaria <sankalp.nitt@gmail.com>
wrote:

> Hello,
>
> http://securityaffairs.co/wordpress/59238/cyber-crime/https-
> phishing-sites.html claims
> that phishing websites using HTTPS are increasing in number. If malicious
> sites can
> get certificates, it defeats the purpose of TLS. In my opinion, tougher
> measures are
> required to prevent malicious sites getting legitimate certificates. What
> can we do
> about it ?
>
>
This issue is out of scope for the TLS WG. You might try the IETF general
mailing list.

-Ekr


> Regards,
> Sankalp.
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, May 26, 2017 at 1:16 PM, Sankalp Bagaria <span dir=3D"ltr">&lt;<a href=
=3D"mailto:sankalp.nitt@gmail.com" target=3D"_blank">sankalp.nitt@gmail.com=
</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><=
div>Hello,</div><div><br></div><a href=3D"http://securityaffairs.co/wordpre=
ss/59238/cyber-crime/https-phishing-sites.html" target=3D"_blank">http://se=
curityaffairs.co/word<wbr>press/59238/cyber-crime/https-<wbr>phishing-sites=
.html</a> claims<br><div>that phishing websites using HTTPS are increasing =
in number. If malicious sites can</div><div>get certificates, it defeats th=
e purpose of TLS. In my opinion, tougher measures are</div><div>required to=
 prevent malicious sites getting legitimate certificates. What can we do</d=
iv><div>about it ?</div><div><br></div></div></blockquote><div><br></div><d=
iv>This issue is out of scope for the TLS WG. You might try the IETF genera=
l mailing list.</div><div><br></div><div>-Ekr</div><div>=C2=A0</div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex"><div dir=3D"ltr"><div></div><div>Regards,</div><div=
>Sankalp.</div></div>
<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/tls</a><br>
<br></blockquote></div><br></div></div>

--94eb2c190b20a8974f055067838e--


From nobody Fri May 26 03:07:34 2017
Return-Path: <yngve@spec-work.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2056812711E for <tls@ietfa.amsl.com>; Fri, 26 May 2017 03:07:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.1
X-Spam-Level: 
X-Spam-Status: No, score=0.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 qQM2MXRf2194 for <tls@ietfa.amsl.com>; Fri, 26 May 2017 03:07:30 -0700 (PDT)
Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) (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 90855126C7A for <tls@ietf.org>; Fri, 26 May 2017 03:07:29 -0700 (PDT)
Received: from 213.171.251.212.customer.cdi.no ([212.251.171.213]:57185 helo=killashandra.invalid.invalid) by smtp.domeneshop.no with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84_2) (envelope-from <yngve@spec-work.net>) id 1dEC9W-0003hT-9w for tls@ietf.org; Fri, 26 May 2017 12:07:26 +0200
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: tls@ietf.org
References: <CAPZZOTgfu9K3umjuCb=4DeRWOEKGvOJ4xBAeefudpdE=NJo9sQ@mail.gmail.com>
Date: Fri, 26 May 2017 12:07:14 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Yngve N. Pettersen" <yngve@spec-work.net>
Message-ID: <op.y0ubqc2a3dfyax@killashandra.invalid.invalid>
In-Reply-To: <CAPZZOTgfu9K3umjuCb=4DeRWOEKGvOJ4xBAeefudpdE=NJo9sQ@mail.gmail.com>
User-Agent: Opera Mail/12.17 (Win32)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/Vq7MSgIlkQ57OEDHF4GgYyyw2Bo>
Subject: Re: [TLS] HTTPS Phishing sites
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 May 2017 10:07:33 -0000

On Fri, 26 May 2017 07:16:05 +0200, Sankalp Bagaria  
<sankalp.nitt@gmail.com> wrote:

> Hello,
>
> http://securityaffairs.co/wordpress/59238/cyber-crime/
> https-phishing-sites.html claims
> that phishing websites using HTTPS are increasing in number. If malicious
> sites can
> get certificates, it defeats the purpose of TLS. In my opinion, tougher
> measures are
> required to prevent malicious sites getting legitimate certificates. What
> can we do
> about it ?

As EKR says separately, this is out of scope for the TLS WG.

It might be in scope for the CA/Browser Forum <https://cabforum.org>,  
though.

However, you should not get your hopes up too high.

This is a very big problemspace, and I suspect that it is very difficult  
to get anything beyond checks for lookalike names to work properly (which  
could conceivably cause issues for legitimate sites, such as  
"sucks"-sites), without causing problems for the overriding goal of  
getting all internet traffic encrypted at an affordable cost.

Beyond this and the whack-a-mole system of lookup up lists of fraudulent  
sites, I suspect the difficult task of educating people is the only  
practical way of dealing with this issue; as mandating Extended Validation  
certficates would create trouble for the affordable encrypted internet  
goal.

-- 
Sincerely,
Yngve N. Pettersen


From nobody Fri May 26 12:20:14 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A4821204DA for <tls@ietfa.amsl.com>; Fri, 26 May 2017 12:20:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 OO4CRPFUI_Q9 for <tls@ietfa.amsl.com>; Fri, 26 May 2017 12:20:10 -0700 (PDT)
Received: from welho-filter4.welho.com (welho-filter4.welho.com [83.102.41.26]) by ietfa.amsl.com (Postfix) with ESMTP id BA68A126CF6 for <tls@ietf.org>; Fri, 26 May 2017 12:20:09 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id 2FF0C2568E; Fri, 26 May 2017 22:20:07 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id vA-1Dgs_B1Qb; Fri, 26 May 2017 22:20:06 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id A63172313; Fri, 26 May 2017 22:20:06 +0300 (EEST)
Date: Fri, 26 May 2017 22:20:04 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Sankalp Bagaria <sankalp.nitt@gmail.com>
Cc: tls@ietf.org, Balaji Rajendran <balajirajendran@gmail.com>, sankalp <sankalp@cdac.in>
Message-ID: <20170526192004.GA16526@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAPZZOTgfu9K3umjuCb=4DeRWOEKGvOJ4xBAeefudpdE=NJo9sQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAPZZOTgfu9K3umjuCb=4DeRWOEKGvOJ4xBAeefudpdE=NJo9sQ@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/417_jd9eAp4-Xk6FvI36C26-Dco>
Subject: Re: [TLS] HTTPS Phishing sites
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 May 2017 19:20:13 -0000

On Fri, May 26, 2017 at 10:46:05AM +0530, Sankalp Bagaria wrote:
> 
> http://securityaffairs.co/wordpress/59238/cyber-crime/
> https-phishing-sites.html claims
> that phishing websites using HTTPS are increasing in number. If malicious
> sites can get certificates, it defeats the purpose of TLS. In my opinion,
> tougher measures are required to prevent malicious sites getting legitimate
> certificates. What can we do about it ?

As EKR said, this isn't within scope of TLS Working Group. And I don't
think it is even in the scope of the entiere IETF as whole (considering
the scope of work IETF does).

My opinion is that the problem isn't maliscous sites getting security
certificates (so what if paypal.com.foobar.za gets certificate saying
it is paypal.com.foobar.za? That is completely true claim). The issue
is the completely screwed up handling of security indications in
browsers. That is certainly not the sort of work the IETF is doing.


Judging by resonable interpretation of browser indications:

- Unencrypted http:// is safe (apart from passwords/CC numbers).
- DV certificates are extra trustworthy.

Neither of these interpretations is correct. But both are still
in my opinion reasonable.


TLS with DV certificates is not above expected security, it is the
closest to expected security, so it in my opinion should get the
neutral indicators (so no lock). And http:// certainly is much below
expected, so it should get negative indications. EV is above expected,
so it could get positive indications.


-Ilari


From nobody Tue May 30 13:03:57 2017
Return-Path: <mrex@sap.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A987129404; Tue, 30 May 2017 13:03:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.521
X-Spam-Level: 
X-Spam-Status: No, score=-4.521 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 aee-IRlufD-S; Tue, 30 May 2017 13:03:53 -0700 (PDT)
Received: from smtpde02.smtp.sap-ag.de (smtpde02.smtp.sap-ag.de [155.56.68.140]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5AE8012942F; Tue, 30 May 2017 13:03:53 -0700 (PDT)
Received: from mail08.wdf.sap.corp (mail01.sap.corp [194.39.131.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtpde02.smtp.sap-ag.de (Postfix) with ESMTPS id 3wcl133cFgz27wy; Tue, 30 May 2017 22:03:51 +0200 (CEST)
X-purgate-ID: 152705::1496174631-0000088C-5CA12B48/0/0
X-purgate-size: 2543
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate-type: clean
X-SAP-SPAM-Status: clean
Received: from ld9781.wdf.sap.corp (ld9781.wdf.sap.corp [10.21.82.193]) by mail08.wdf.sap.corp (Postfix) with ESMTP id 3wcl130Kcbz2xb4; Tue, 30 May 2017 22:03:51 +0200 (CEST)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id 05F051A6AF; Tue, 30 May 2017 22:03:51 +0200 (CEST)
In-Reply-To: <CABcZeBOrP7RHuk9Kc-306tKh8eg71OYpLdvq8RzDXChFuwWt9g@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 30 May 2017 22:03:51 +0200 (CEST)
CC: "mrex@sap.com" <mrex@sap.com>, The IESG <iesg@ietf.org>,  "tls@ietf.org" <tls@ietf.org>, tls-chairs <tls-chairs@ietf.org>,  draft-ietf-tls-ecdhe-psk-aead@ietf.org
Reply-To: mrex@sap.com
X-Mailer: ELM [version 2.4ME+ PL125 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20170530200351.05F051A6AF@ld9781.wdf.sap.corp>
From: mrex@sap.com (Martin Rex)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/oPS7lxPVR4I9strIriBYRoS7COE>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 May 2017 20:03:55 -0000

Eric Rescorla wrote:
> On Tue, May 23, 2017 at 9:34 PM, Martin Rex <mrex@sap.com> wrote:
>>
>> This change _still_ prohibits the server from negotiating these algorithms
>> with TLSv1.1 and below.
>>
>> Could you elaborate a little on where and why you see a problem with this?
>>
> 
> For starters, TLS 1.3 has already designed a completely independent
> mechanism for doing version negotiation outside of ClientHello.version,
> so doing another seems pretty odd. In any case, it's not something you
> do between IETF-LC and IESG approval.

The suggestion to accept a recognized TLSv1.2 cipher suite code point
as an alternative indicator for the highest client-supported protocol
version is not really a "mechanism".  It's efficient (with 0-bytes on
the wire), intuitive and extremely backwards-compatible (will not upset
old servers, neither version-intolerant as the Win2008/2012 servers,
nor extension-intolerant servers.


> 
>> As this changes tries to explain, had such a text been used for all
>> TLSv1.2 AEAD cipher suite code points, then browsers would have never
>> needed any "downgrade dance" fallbacks, POODLE would have never
>> existed as a browser problem, and the TLS_FALLBACK_SCSV band-aid
>> would not been needed, either.
> 
> I'm not sure this is true, because there were also servers which did
> not understand extensions.


It's worse -- there are still TLS servers out there which choke on
TLS extensions (and TLS server which choke on extension ordering).

Sending TLS extensions is therefore a negotiation scheme that we
can not ship as patch into the installed base, because we *KNOW*
that it will break a few existing usage scenarios.  Stuff that needs
TLS extensions is therefore an opt-in only scheme -- and even when
making it opt-in, we may have to additonally provide a TLS extension
exclusion list of hostnames.

It seems that there are others facing the same issue:

https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1.1-and-tls-1.2-as-a-default-secure-protocols-in-winhttp-in-windows

and defer enabling to explicit customer opt-in.


Really, a very compatible and extremely robust and useful approach would
be to allow implied client protocol version indication through presence of
TLSv1.2-only cipher suite codepoints and this would allow large parts
of the installed base to quickly start using TLSv1.2--without breaking
existing usage scenarios and without the hazzle for users having to opt-in
and test stuff.


-Martin


From nobody Tue May 30 14:38:10 2017
Return-Path: <vasilvv@google.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3BB1C127F0E for <tls@ietfa.amsl.com>; Tue, 30 May 2017 14:38:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 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, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] 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 jTygyBM7gRXt for <tls@ietfa.amsl.com>; Tue, 30 May 2017 14:38:05 -0700 (PDT)
Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (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 588C8124D37 for <tls@ietf.org>; Tue, 30 May 2017 14:38:05 -0700 (PDT)
Received: by mail-qk0-x229.google.com with SMTP id u75so79503141qka.3 for <tls@ietf.org>; Tue, 30 May 2017 14:38:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fgcAQ9B19jVcQY5Z5l9hoa1c+hlNhMu1GHu17eLBEy8=; b=m5TFTaictONYtswPidC6AAZy/50+MANxUZldEcgLfW0edj8n9YjIRNPZnWf6iLBALy m0SCDruHZFX7sPVBvzZndahX2LJptp8uFRpJiLCeNcTyjOjivuO4Bl7Gqrl1T23haayv igcNfyvJ76P6fJ+togHV1dZP4rEDaHzc9NfKTdjJ5j3SLu0s6D13L4iBW2f8bwlLY2dX xdHvgzft2cntH4NXjF34bOtENOhiP7calHDat2GF8BvVlp6qZGD9apdgNO2tvUKsibQX 55+C7QklR277qWz2mDG+xXmNknBXZW3JnRpWK8mbJuim2A1O9oeF1cNNtyNDVDLUmsvq 06SA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fgcAQ9B19jVcQY5Z5l9hoa1c+hlNhMu1GHu17eLBEy8=; b=J/kqq6f5f1wJn/Y+I+ApDghSrB0nzwhW6oKlsIer7bxeLSTFly+Z/v/BycCU2xPeN6 CpMfZSFEeqFB810jCCT0zfgVKXW0QqFWtONT0mdZx40+fz3xVAMUt7x/185ZltIw47y8 W9sihoznLeXKZW+5edLgtLm6jh8zCuiAkc5NI7AH0mrnqhq2e3wz/eyGOYizJ0oDKdMa fEia73xlGMXI/eW4knMUvxhhFb6AbsyncVZeZjBYEW0fD48WRF93Cszyr/HO44Q8OwDi uXy+mAAapYTn424XuXtkBOGzbBjCCcT187HWUUv7GJkR5MsBOnTtdxgdXlSIAOLDztgh JJjg==
X-Gm-Message-State: AODbwcB/fqltHE2PNmO/W+9R0Czb5uS23vSSH9h4CPUUMkjs0LRq002P 21C7EJvPKP4dMI10u1vaQINUWc5pvRmM
X-Received: by 10.55.16.206 with SMTP id 75mr11342546qkq.81.1496180283975; Tue, 30 May 2017 14:38:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.55.76.70 with HTTP; Tue, 30 May 2017 14:38:02 -0700 (PDT)
In-Reply-To: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com>
From: Victor Vasiliev <vasilvv@google.com>
Date: Tue, 30 May 2017 17:38:02 -0400
Message-ID: <CAAZdMacpJ-qoQt2pDBjTq6ADwmRKOHXTHDyDTzb+g2gYPvtZzQ@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a1146cb2058f0cc0550c49e47"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/x8PS_3uJQ2Apm_vnWj3qAqwOVXQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 May 2017 21:38:08 -0000

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

Hi Colm,

Thank you for your analysis!  I appreciate the attention to the security
properties of the 0-RTT requests, as it is the more delicate part of the
protocol.  It took me a while to get through the entire review, and there
are
many things on which I would like to comment, but if I do that for every
one of
them, this reply would be too long.  Hence, I=E2=80=99ll try to concentrate=
 on the
key
points.

1) The security of a system is an end-to-end property.

TLS isn=E2=80=99t a magical =E2=80=9Ctransport security solution=E2=80=9D, =
it provides a very
specific
set of explicit security guarantees to the applications that use it.  It
can be
used as a building block for the secure systems, but at the end of the day,
the
security of a system hinges on the designers=E2=80=99 understanding of the =
security
contracts provided by individual components.

TLS 1.3 as-is does not remove any of the replay protection guarantees
provided
by TLS 1.2.  However, if the user chooses to waive said protection in order
to
do 0-RTT, they can do that with an API explicitly designed for that purpose=
.

What I believe is important here is that we are very explicit about the
security
guarantees the application is expected to get from TLS.  PR#1005 currently
does
not answer this question in a satisfying manner, since it says that the
server
SHOULD implement three different mechanisms with very different
properties.  If
we provide any replay protection at all, it needs to be well-defined as a
security property.  That is,

2) We have to define explicitly what security properties TLS 0-RTT has.

There are two obvious levels of protection we can provide:

 A. No protection.  Applications are expected to handle idempotency
themselves,
    which is something they already probably should be doing anyways.

 B. Full protection.  Applications can rely on the assumption that once
data is
    written to TLS stack, it will arrive to the receiver at most once, and
TLS
    will enforce that even in presence of passive and active attackers on
the
    path.

I think all of us agree is that we should go for level B if we can have
it.  The
=E2=80=9Cif=E2=80=9D here is important, since...

3) Full replay protection for 0-RTT is not realistically feasible at TLS
layer,
   because TLS layer is not the right place for that.

You=E2=80=99ve already pointed out the existence of the DKG attack, where t=
he
attacker
forces the client to retry the request with 1-RTT.  In this scenario, the
attacker has a buffered 0-RTT request and is ready to insert it at any
convenient point in time, violating the initial order assumptions.

There is also a wide variety of cases in which a web browser or an HTTP
proxy
can be induced to retry a request, with mechanism often as simple as a TCP
RST.
Even if browser will refuse to do that, most users will =E2=80=9Creload=E2=
=80=9D themselves.
This is why the applications *need* to protect against replays end-to-end -=
-
asking users to roll back an extra $1000 transaction is not actually
acceptable.

With respect to the non-browser HTTP applications, I am not sure I am sold
on
the notion of =E2=80=9Ccareful clients=E2=80=9D.  My understanding is that =
you suggest to
treat
0-RTT failure as semantically equivalent to a regular connection failure,
under
the assumption that all of your clients already have to handle that case
properly.  I see how this is supposed to work out, but most systems of this
nature work well because connections succeed most of the time -- and as you
go
more and more towards the path of promising full replay protection, you wil=
l
break more and more 0-RTT handshakes.  Both session resumption in general
and
0-RTT in particular are designed with assumption that they can be declined
at
any point, that this is a normal and expected event, and at worst it would
result in a minor performance degradation; =E2=80=9Ccareful clients=E2=80=
=9D violate that
assumption.

As for the non-HTTP applications, that would have to be determined by their
respective application profiles, but I suspect they are going to be less
complex.  For example, I expect 0-RTT for SMTP to be as simple as just
sending
=E2=80=9CEHLO mail.example.org\n=E2=80=9D, which can be replayed regardless=
.

My key point here is that the problem of protecting against duplicate
messages
in a system is sufficiently complex that it can only be reliably solved
end-to-end.

(In fact, the original End-to-End Argument paper also considers that case:
=E2=80=9Cif
the application level has to have a duplicate-suppressing mechanism anyway,
that
mechanism can also suppress any duplicates generated inside the
communication
network, so the function can be omitted from that lower level.=E2=80=9D [Sa=
ltzer et
al.,
1981] -- here, I suggest to think of the =E2=80=9Ccommunication network=E2=
=80=9D as the
system
of HTTP-layer boxes and middleware that modern systems are made of.)

------------

So, I hope we can agree that we cannot really guarantee B.  There is
another,
third level of protection that surprisingly is worth considering:

  C. =E2=80=9CNebulous=E2=80=9D replay bound.  0-RTT data can be replayed, =
but only for some
      finitely bounded number of times.  I initially wanted to call this
=E2=80=9Cweak
      replay protection=E2=80=9D, but that felt too generous.

Normally I would dismiss this as a useful security property due to its
inherent
vagueness, for the same reasons that =E2=80=9Cyour server is too far away f=
or
nanosecond-level timing attacks on Intel CPUs=E2=80=9D is a property that n=
o serious
cryptographer would admit in a research paper.  However, you=E2=80=99ve poi=
nted out
some
interesting side channel leaks, which exist even without 0-RTT, but can be
amplified by replaying 0-RTT queries. C, like B, mitigates this, so this is
a
meaningful property to provide.

Let=E2=80=99s talk about what mechanisms are and are not viable for the neb=
ulous
bound
promise.

4) Operational experience on datacenter-local strike registers is negative.

We deployed strike registers in the initial QUIC deployment, and it was an
operational hassle, so once we discovered that they do not provide full
replay
protection (due to all issues outlined above), the cost/benefit analysis
became
decidedly not in their favor.

Our deployment experience also suggests that the negative impact from
limiting
0-RTT to the same datacenter is not negligible.

I feel like you are underestimating the cost and complexity of the
distributed
solutions proposed:
 - RAM might be cheap in a big datacenter, but on a CDN node, the
opportunity
   cost of not using that RAM for something else is higher.
 - There is nothing simple about running distributed storage, given that on
top
   of usual operational requirements (ability to rescale and some degree of
   fault tolerance), you also require an atomic read-and-delete.
 - Strike registers with strong guarantees are probably even worse in that
   regard, since inserting a strike record requires a consistent write.

5) Nebulous replay bounds are possible but very much deployment-dependant.

If your deployment consists of one server that can accept a given ticket,
you
can just run a single strike register in memory.  Not particularly painful,
and
solves the problem for simple deployments.

If you wish to accept tickets across multiple servers, to improve 0-RTT
rate,
now we have the tension between wanting cross-server 0-RTT and avoiding
distributed cross-server state. But if your servers are individually
addressable, we can put the client-presumed server IP into the ClientHello
and
use machine-local strike registers. Servers decline 0-RTT if the
client-supplied
IP does not match.  This gives us global replay protection without the need
to
share state.

If you are using QUIC, any of your IPs is terminated by the same load
balancer,
and the load balancers use connection ID to pick the backend, you will also
normally arrive at the same TLS server provided that the server pool was no=
t
resharded.  At that point, local strike register is sufficient; in fact, if
you
have a time-wait list, you get it almost for free.

Of course, this all relies on resumption arriving to the same server as the
original request.  This is obviously not a property you want in a
large-scale
reliable systems, so as soon as you introduce anycast IP addresses or load
balancing based on parameters that are not bound cryptographically, you=E2=
=80=99ll
need
a strike register of a scope larger than a machine, so you have to either
make
one (since we only promising nebulous bounds, this can be eventually
consistent).  Or you could just settle for server-local strike registers --
since we=E2=80=99ve already decided that the bounds are nebulous, and I see=
 no
point of
haggling on how many replays is too many.

I feel like the topic of =E2=80=9Chow do I make the lowest nebulous replay =
bound
with
the lowest amount of effort=E2=80=9D is very large on its own, and is hones=
tly not
that
important for the protocol design.  The client=E2=80=99s ability to specify=
 the
presumed
server=E2=80=99s IP address is nice, and it would require a new extension i=
n the
specification itself, but that would be as far as I would go.  What=E2=80=
=99s
important
is that we can require implementations to provide nebulous bounds.  We of
course
should, on top of that, require clients and endorse servers to enforce the
application-level requirements on idempotence.

------------

Specific proposals I would like to make for TLS 1.3 draft based on the
discussion above:
 1. Emphasize that 0-RTT data is fundamentally replayable, and can be
replayed
    by the attacker at a convenient point.
 2. Replace the current suggestion to use specific mechanisms with a generi=
c
    requirement to provide the =E2=80=9Cnebulous bound=E2=80=9D for replays=
 (terminology up
to
    your preference).
 3. Leave the exact details of how said bound is achieved up to the
    implementations, but point out that time-based replay protection is not
    sufficient.  It might be worth to keep the current discussion of
particular
    mechanisms as an appendix.
 4. Add a =E2=80=9Cserver IP=E2=80=9D extension to the 0-RTT ClientHello, w=
hile we are at
it.

  -- Victor.

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_extra"><div=
 class=3D"gmail_extra">Hi Colm,</div><div class=3D"gmail_extra"><br></div><=
div class=3D"gmail_extra">Thank you for your analysis!=C2=A0 I appreciate t=
he attention to the security</div><div class=3D"gmail_extra">properties of =
the 0-RTT requests, as it is the more delicate part of the</div><div class=
=3D"gmail_extra">protocol.=C2=A0 It took me a while to get through the enti=
re review, and there are</div><div class=3D"gmail_extra">many things on whi=
ch I would like to comment, but if I do that for every one of</div><div cla=
ss=3D"gmail_extra">them, this reply would be too long.=C2=A0 Hence, I=E2=80=
=99ll try to concentrate on the key</div><div class=3D"gmail_extra">points.=
</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">1) Th=
e security of a system is an end-to-end property.</div><div class=3D"gmail_=
extra"><br></div><div class=3D"gmail_extra">TLS isn=E2=80=99t a magical =E2=
=80=9Ctransport security solution=E2=80=9D, it provides a very specific</di=
v><div class=3D"gmail_extra">set of explicit security guarantees to the app=
lications that use it.=C2=A0 It can be</div><div class=3D"gmail_extra">used=
 as a building block for the secure systems, but at the end of the day, the=
</div><div class=3D"gmail_extra">security of a system hinges on the designe=
rs=E2=80=99 understanding of the security</div><div class=3D"gmail_extra">c=
ontracts provided by individual components.</div><div class=3D"gmail_extra"=
><br></div><div class=3D"gmail_extra">TLS 1.3 as-is does not remove any of =
the replay protection guarantees provided</div><div class=3D"gmail_extra">b=
y TLS 1.2.=C2=A0 However, if the user chooses to waive said protection in o=
rder to</div><div class=3D"gmail_extra">do 0-RTT, they can do that with an =
API explicitly designed for that purpose.</div><div class=3D"gmail_extra"><=
br></div><div class=3D"gmail_extra">What I believe is important here is tha=
t we are very explicit about the security</div><div class=3D"gmail_extra">g=
uarantees the application is expected to get from TLS.=C2=A0 PR#1005 curren=
tly does</div><div class=3D"gmail_extra">not answer this question in a sati=
sfying manner, since it says that the server</div><div class=3D"gmail_extra=
">SHOULD implement three different mechanisms with very different propertie=
s.=C2=A0 If</div><div class=3D"gmail_extra">we provide any replay protectio=
n at all, it needs to be well-defined as a</div><div class=3D"gmail_extra">=
security property.=C2=A0 That is,</div><div class=3D"gmail_extra"><br></div=
><div class=3D"gmail_extra">2) We have to define explicitly what security p=
roperties TLS 0-RTT has.</div><div class=3D"gmail_extra"><br></div><div cla=
ss=3D"gmail_extra">There are two obvious levels of protection we can provid=
e:</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">=C2=
=A0A. No protection.=C2=A0 Applications are expected to handle idempotency =
themselves,</div><div class=3D"gmail_extra">=C2=A0 =C2=A0 which is somethin=
g they already probably should be doing anyways.</div><div class=3D"gmail_e=
xtra"><br></div><div class=3D"gmail_extra">=C2=A0B. Full protection.=C2=A0 =
Applications can rely on the assumption that once data is</div><div class=
=3D"gmail_extra">=C2=A0 =C2=A0 written to TLS stack, it will arrive to the =
receiver at most once, and TLS</div><div class=3D"gmail_extra">=C2=A0 =C2=
=A0 will enforce that even in presence of passive and active attackers on t=
he</div><div class=3D"gmail_extra">=C2=A0 =C2=A0 path.</div><div class=3D"g=
mail_extra"><br></div><div class=3D"gmail_extra">I think all of us agree is=
 that we should go for level B if we can have it.=C2=A0 The</div><div class=
=3D"gmail_extra">=E2=80=9Cif=E2=80=9D here is important, since...</div><div=
 class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">3) Full replay =
protection for 0-RTT is not realistically feasible at TLS layer,</div><div =
class=3D"gmail_extra">=C2=A0 =C2=A0because TLS layer is not the right place=
 for that.</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_ex=
tra">You=E2=80=99ve already pointed out the existence of the DKG attack, wh=
ere the attacker</div><div class=3D"gmail_extra">forces the client to retry=
 the request with 1-RTT.=C2=A0 In this scenario, the</div><div class=3D"gma=
il_extra">attacker has a buffered 0-RTT request and is ready to insert it a=
t any</div><div class=3D"gmail_extra">convenient point in time, violating t=
he initial order assumptions.</div><div class=3D"gmail_extra"><br></div><di=
v class=3D"gmail_extra">There is also a wide variety of cases in which a we=
b browser or an HTTP proxy</div><div class=3D"gmail_extra">can be induced t=
o retry a request, with mechanism often as simple as a TCP RST.</div><div c=
lass=3D"gmail_extra">Even if browser will refuse to do that, most users wil=
l =E2=80=9Creload=E2=80=9D themselves.</div><div class=3D"gmail_extra">This=
 is why the applications *need* to protect against replays end-to-end --</d=
iv><div class=3D"gmail_extra">asking users to roll back an extra $1000 tran=
saction is not actually acceptable.</div><div class=3D"gmail_extra"><br></d=
iv><div class=3D"gmail_extra">With respect to the non-browser HTTP applicat=
ions, I am not sure I am sold on</div><div class=3D"gmail_extra">the notion=
 of =E2=80=9Ccareful clients=E2=80=9D.=C2=A0 My understanding is that you s=
uggest to treat</div><div class=3D"gmail_extra">0-RTT failure as semantical=
ly equivalent to a regular connection failure, under</div><div class=3D"gma=
il_extra">the assumption that all of your clients already have to handle th=
at case</div><div class=3D"gmail_extra">properly.=C2=A0 I see how this is s=
upposed to work out, but most systems of this</div><div class=3D"gmail_extr=
a">nature work well because connections succeed most of the time -- and as =
you go</div><div class=3D"gmail_extra">more and more towards the path of pr=
omising full replay protection, you will</div><div class=3D"gmail_extra">br=
eak more and more 0-RTT handshakes.=C2=A0 Both session resumption in genera=
l and</div><div class=3D"gmail_extra">0-RTT in particular are designed with=
 assumption that they can be declined at</div><div class=3D"gmail_extra">an=
y point, that this is a normal and expected event, and at worst it would</d=
iv><div class=3D"gmail_extra">result in a minor performance degradation; =
=E2=80=9Ccareful clients=E2=80=9D violate that</div><div class=3D"gmail_ext=
ra">assumption.</div><div class=3D"gmail_extra"><br></div><div class=3D"gma=
il_extra">As for the non-HTTP applications, that would have to be determine=
d by their</div><div class=3D"gmail_extra">respective application profiles,=
 but I suspect they are going to be less</div><div class=3D"gmail_extra">co=
mplex.=C2=A0 For example, I expect 0-RTT for SMTP to be as simple as just s=
ending</div><div class=3D"gmail_extra">=E2=80=9CEHLO <a href=3D"http://mail=
.example.org">mail.example.org</a>\n=E2=80=9D, which can be replayed regard=
less.</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">=
My key point here is that the problem of protecting against duplicate messa=
ges</div><div class=3D"gmail_extra">in a system is sufficiently complex tha=
t it can only be reliably solved</div><div class=3D"gmail_extra">end-to-end=
.</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">(In =
fact, the original End-to-End Argument paper also considers that case: =E2=
=80=9Cif</div><div class=3D"gmail_extra">the application level has to have =
a duplicate-suppressing mechanism anyway, that</div><div class=3D"gmail_ext=
ra">mechanism can also suppress any duplicates generated inside the communi=
cation</div><div class=3D"gmail_extra">network, so the function can be omit=
ted from that lower level.=E2=80=9D [Saltzer et al.,</div><div class=3D"gma=
il_extra">1981] -- here, I suggest to think of the =E2=80=9Ccommunication n=
etwork=E2=80=9D as the system</div><div class=3D"gmail_extra">of HTTP-layer=
 boxes and middleware that modern systems are made of.)</div><div class=3D"=
gmail_extra"><br></div><div class=3D"gmail_extra">------------</div><div cl=
ass=3D"gmail_extra"><br></div><div class=3D"gmail_extra">So, I hope we can =
agree that we cannot really guarantee B.=C2=A0 There is another,</div><div =
class=3D"gmail_extra">third level of protection that surprisingly is worth =
considering:</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_=
extra">=C2=A0 C. =E2=80=9CNebulous=E2=80=9D replay bound. =C2=A00-RTT data =
can be replayed, but only for some</div><div class=3D"gmail_extra">=C2=A0 =
=C2=A0 =C2=A0 finitely bounded number of times.=C2=A0 I initially wanted to=
 call this =E2=80=9Cweak</div><div class=3D"gmail_extra">=C2=A0 =C2=A0 =C2=
=A0 replay protection=E2=80=9D, but that felt too generous.</div><div class=
=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Normally I would dism=
iss this as a useful security property due to its inherent</div><div class=
=3D"gmail_extra">vagueness, for the same reasons that =E2=80=9Cyour server =
is too far away for</div><div class=3D"gmail_extra">nanosecond-level timing=
 attacks on Intel CPUs=E2=80=9D is a property that no serious</div><div cla=
ss=3D"gmail_extra">cryptographer would admit in a research paper.=C2=A0 How=
ever, you=E2=80=99ve pointed out some</div><div class=3D"gmail_extra">inter=
esting side channel leaks, which exist even without 0-RTT, but can be</div>=
<div class=3D"gmail_extra">amplified by replaying 0-RTT queries. C, like B,=
 mitigates this, so this is a</div><div class=3D"gmail_extra">meaningful pr=
operty to provide.</div><div class=3D"gmail_extra"><br></div><div class=3D"=
gmail_extra">Let=E2=80=99s talk about what mechanisms are and are not viabl=
e for the nebulous bound</div><div class=3D"gmail_extra">promise.</div><div=
 class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">4) Operational =
experience on datacenter-local strike registers is negative.</div><div clas=
s=3D"gmail_extra"><br></div><div class=3D"gmail_extra">We deployed strike r=
egisters in the initial QUIC deployment, and it was an</div><div class=3D"g=
mail_extra">operational hassle, so once we discovered that they do not prov=
ide full replay</div><div class=3D"gmail_extra">protection (due to all issu=
es outlined above), the cost/benefit analysis became</div><div class=3D"gma=
il_extra">decidedly not in their favor.</div><div class=3D"gmail_extra"><br=
></div><div class=3D"gmail_extra">Our deployment experience also suggests t=
hat the negative impact from limiting</div><div class=3D"gmail_extra">0-RTT=
 to the same datacenter is not negligible.</div><div class=3D"gmail_extra">=
<br></div><div class=3D"gmail_extra">I feel like you are underestimating th=
e cost and complexity of the distributed</div><div class=3D"gmail_extra">so=
lutions proposed:</div><div class=3D"gmail_extra">=C2=A0- RAM might be chea=
p in a big datacenter, but on a CDN node, the opportunity</div><div class=
=3D"gmail_extra">=C2=A0 =C2=A0cost of not using that RAM for something else=
 is higher.</div><div class=3D"gmail_extra">=C2=A0- There is nothing simple=
 about running distributed storage, given that on top</div><div class=3D"gm=
ail_extra">=C2=A0 =C2=A0of usual operational requirements (ability to resca=
le and some degree of</div><div class=3D"gmail_extra">=C2=A0 =C2=A0fault to=
lerance), you also require an atomic read-and-delete.</div><div class=3D"gm=
ail_extra">=C2=A0- Strike registers with strong guarantees are probably eve=
n worse in that</div><div class=3D"gmail_extra">=C2=A0 =C2=A0regard, since =
inserting a strike record requires a consistent write.</div><div class=3D"g=
mail_extra"><br></div><div class=3D"gmail_extra">5) Nebulous replay bounds =
are possible but very much deployment-dependant.</div><div class=3D"gmail_e=
xtra"><br></div><div class=3D"gmail_extra">If your deployment consists of o=
ne server that can accept a given ticket, you</div><div class=3D"gmail_extr=
a">can just run a single strike register in memory.=C2=A0 Not particularly =
painful, and</div><div class=3D"gmail_extra">solves the problem for simple =
deployments.</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_=
extra">If you wish to accept tickets across multiple servers, to improve 0-=
RTT rate,</div><div class=3D"gmail_extra">now we have the tension between w=
anting cross-server 0-RTT and avoiding</div><div class=3D"gmail_extra">dist=
ributed cross-server state. But if your servers are individually</div><div =
class=3D"gmail_extra">addressable, we can put the client-presumed server IP=
 into the ClientHello and</div><div class=3D"gmail_extra">use machine-local=
 strike registers. Servers decline 0-RTT if the client-supplied</div><div c=
lass=3D"gmail_extra">IP does not match.=C2=A0 This gives us global replay p=
rotection without the need to</div><div class=3D"gmail_extra">share state.<=
/div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">If you=
 are using QUIC, any of your IPs is terminated by the same load balancer,</=
div><div class=3D"gmail_extra">and the load balancers use connection ID to =
pick the backend, you will also</div><div class=3D"gmail_extra">normally ar=
rive at the same TLS server provided that the server pool was not</div><div=
 class=3D"gmail_extra">resharded.=C2=A0 At that point, local strike registe=
r is sufficient; in fact, if you</div><div class=3D"gmail_extra">have a tim=
e-wait list, you get it almost for free.</div><div class=3D"gmail_extra"><b=
r></div><div class=3D"gmail_extra">Of course, this all relies on resumption=
 arriving to the same server as the</div><div class=3D"gmail_extra">origina=
l request.=C2=A0 This is obviously not a property you want in a large-scale=
</div><div class=3D"gmail_extra">reliable systems, so as soon as you introd=
uce anycast IP addresses or load</div><div class=3D"gmail_extra">balancing =
based on parameters that are not bound cryptographically, you=E2=80=99ll ne=
ed</div><div class=3D"gmail_extra">a strike register of a scope larger than=
 a machine, so you have to either make</div><div class=3D"gmail_extra">one =
(since we only promising nebulous bounds, this can be eventually</div><div =
class=3D"gmail_extra">consistent).=C2=A0 Or you could just settle for serve=
r-local strike registers --</div><div class=3D"gmail_extra">since we=E2=80=
=99ve already decided that the bounds are nebulous, and I see no point of</=
div><div class=3D"gmail_extra">haggling on how many replays is too many.</d=
iv><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">I feel l=
ike the topic of =E2=80=9Chow do I make the lowest nebulous replay bound wi=
th</div><div class=3D"gmail_extra">the lowest amount of effort=E2=80=9D is =
very large on its own, and is honestly not that</div><div class=3D"gmail_ex=
tra">important for the protocol design.=C2=A0 The client=E2=80=99s ability =
to specify the presumed</div><div class=3D"gmail_extra">server=E2=80=99s IP=
 address is nice, and it would require a new extension in the</div><div cla=
ss=3D"gmail_extra">specification itself, but that would be as far as I woul=
d go.=C2=A0 What=E2=80=99s important</div><div class=3D"gmail_extra">is tha=
t we can require implementations to provide nebulous bounds.=C2=A0 We of co=
urse</div><div class=3D"gmail_extra">should, on top of that, require client=
s and endorse servers to enforce the</div><div class=3D"gmail_extra">applic=
ation-level requirements on idempotence.</div><div class=3D"gmail_extra"><b=
r></div><div class=3D"gmail_extra">------------</div><div class=3D"gmail_ex=
tra"><br></div><div class=3D"gmail_extra">Specific proposals I would like t=
o make for TLS 1.3 draft based on the</div><div class=3D"gmail_extra">discu=
ssion above:</div><div class=3D"gmail_extra">=C2=A01. Emphasize that 0-RTT =
data is fundamentally replayable, and can be replayed</div><div class=3D"gm=
ail_extra">=C2=A0 =C2=A0 by the attacker at a convenient point.</div><div c=
lass=3D"gmail_extra">=C2=A02. Replace the current suggestion to use specifi=
c mechanisms with a generic</div><div class=3D"gmail_extra">=C2=A0 =C2=A0 r=
equirement to provide the =E2=80=9Cnebulous bound=E2=80=9D for replays (ter=
minology up to</div><div class=3D"gmail_extra">=C2=A0 =C2=A0 your preferenc=
e).</div><div class=3D"gmail_extra">=C2=A03. Leave the exact details of how=
 said bound is achieved up to the</div><div class=3D"gmail_extra">=C2=A0 =
=C2=A0 implementations, but point out that time-based replay protection is =
not</div><div class=3D"gmail_extra">=C2=A0 =C2=A0 sufficient.=C2=A0 It migh=
t be worth to keep the current discussion of particular</div><div class=3D"=
gmail_extra">=C2=A0 =C2=A0 mechanisms as an appendix.</div><div class=3D"gm=
ail_extra">=C2=A04. Add a =E2=80=9Cserver IP=E2=80=9D extension to the 0-RT=
T ClientHello, while we are at it.</div><div class=3D"gmail_extra"><br></di=
v><div class=3D"gmail_extra">=C2=A0 -- Victor.</div><div><br></div></div></=
div></div>

--001a1146cb2058f0cc0550c49e47--


From nobody Tue May 30 15:32:29 2017
Return-Path: <davemgarrett@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ECD7C129473 for <tls@ietfa.amsl.com>; Tue, 30 May 2017 15:32:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 vr6SYWdYdY7r for <tls@ietfa.amsl.com>; Tue, 30 May 2017 15:32:26 -0700 (PDT)
Received: from mail-qt0-x244.google.com (mail-qt0-x244.google.com [IPv6:2607:f8b0:400d:c0d::244]) (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 77D6A12946B for <tls@ietf.org>; Tue, 30 May 2017 15:32:26 -0700 (PDT)
Received: by mail-qt0-x244.google.com with SMTP id l39so14133393qtb.1 for <tls@ietf.org>; Tue, 30 May 2017 15:32:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-transfer-encoding:message-id; bh=dj3a8qiIOQPZ0anTsBzFog7ywdLykFnE6Gw6Rgser9o=; b=BjTnfVItesEo+YBqTz1vSFZxWA3pzu9C3k6zwee2Uc9FxwtAXBi5yMH1GzJfCvIotH 8mZBz8NrAfg9kD79IxjlDuUFyS37zJ0tFNAHIsknitRAyYxoQrzi0WjkIqIzE/ap+YsL 8gDTlxkF0Rs0qfsGgEWn/Qr3JsPvqbg/BLP/HN/Y/60NxTdy7eP7rIyY4hUXbUxUN1DM 1JrTA1ijne+kzzTm3Vy+7d702JTrnC2eaFPZpBr3VE9n5QHTjbYJ7PwHKdcL+eT1AiYW NwSca4eIOie5nke1u9TuW9zBA/04h0/66udfzy85mZ1QdKBWXyud8NHshNDki3JXibXh 1yJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-transfer-encoding:message-id; bh=dj3a8qiIOQPZ0anTsBzFog7ywdLykFnE6Gw6Rgser9o=; b=G+vr69v/TLu2O/f/8ZGShIFmkKsiuNet00TVPRnWw+Fdf+jZq09Jdo5UgZVB0H9R6q enY7H1M7xDRAfsi+0uhpn37OJKrGHlfXLQLuqKe4wCbTxhoo3tXMxerU+QFVn6klyORG TiwE/9AsHfdLee7BHXtLOu+HlcyNTFdzW80Wz8u6tglFRBrEa7MwwNlc/5VlExKWti6i r4uHhvT3Torktttcc8RXOcoE/rCtsbG+Fk3hEqccZtwbCgki/BqNcTQ1Uy2Yp2M4ejXz 8PTulICPZjp2SxoqRk15L1SaIXUk7gruvxvgQ64jKC0O5Xhf4tinL1Uv0ElKDwk1mfq4 7JoQ==
X-Gm-Message-State: AODbwcCmuj5LkvV+XVe/h5pijjQ+3fN2aJRjmNHfwUcYoU4YQBAoluvt TJlnqu1ZXcRZifcs
X-Received: by 10.200.3.195 with SMTP id z3mr28254329qtg.185.1496183545500; Tue, 30 May 2017 15:32:25 -0700 (PDT)
Received: from dave-laptop.localnet (pool-71-185-36-114.phlapa.fios.verizon.net. [71.185.36.114]) by smtp.gmail.com with ESMTPSA id u19sm9230371qtc.64.2017.05.30.15.32.24 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 30 May 2017 15:32:24 -0700 (PDT)
From: Dave Garrett <davemgarrett@gmail.com>
To: tls@ietf.org
Date: Tue, 30 May 2017 18:32:22 -0400
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CAAZdMacpJ-qoQt2pDBjTq6ADwmRKOHXTHDyDTzb+g2gYPvtZzQ@mail.gmail.com>
In-Reply-To: <CAAZdMacpJ-qoQt2pDBjTq6ADwmRKOHXTHDyDTzb+g2gYPvtZzQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Message-Id: <201705301832.23150.davemgarrett@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/KGRbdaKIW7wAJoI_0mxjCx4zAbc>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 May 2017 22:32:28 -0000

On Tuesday, May 30, 2017 05:38:02 pm Victor Vasiliev wrote:
> TLS isn=E2=80=99t a magical =E2=80=9Ctransport security solution=E2=80=9D=
, it provides a very specific
> set of explicit security guarantees to the applications that use it.  It =
can be
> used as a building block for the secure systems, but at the end of the da=
y, the
> security of a system hinges on the designers=E2=80=99 understanding of th=
e security
> contracts provided by individual components.
>=20
> TLS 1.3 as-is does not remove any of the replay protection guarantees pro=
vided
> by TLS 1.2.  However, if the user chooses to waive said protection in ord=
er to
> do 0-RTT, they can do that with an API explicitly designed for that purpo=
se.

+1; In fact, I'd suggest sticking this almost as-is into the spec somewhere.

>   C. =E2=80=9CNebulous=E2=80=9D replay bound.  0-RTT data can be replayed=
, but only for some
>       finitely bounded number of times.  I initially wanted to call this =
=E2=80=9Cweak
>       replay protection=E2=80=9D, but that felt too generous.
>=20
> Normally I would dismiss this as a useful security property due to its in=
herent
> vagueness, for the same reasons that =E2=80=9Cyour server is too far away=
 for
> nanosecond-level timing attacks on Intel CPUs=E2=80=9D is a property that=
 no serious
> cryptographer would admit in a research paper.  However, you=E2=80=99ve p=
ointed out some
> interesting side channel leaks, which exist even without 0-RTT, but can be
> amplified by replaying 0-RTT queries. C, like B, mitigates this, so this =
is a
> meaningful property to provide.
>=20
> Let=E2=80=99s talk about what mechanisms are and are not viable for the n=
ebulous
> bound promise.

There is one relatively straightforward mechanism for limiting 3rd party re=
play:
A 3rd party replaying 0-RTT PSK will fail to successfully complete the hand=
shake
(after 1-RTT), as it would generally have the identity/ticket but not the k=
ey
behind it (e.g. resumption_master_secret). The 0-RTT data will have already=
 been
processed, however a server detecting any PSK failure could then flag the
offending ticket/IP and reject all future 0-RTT attempts for some time peri=
od (e.g.
ticket lifetime). This would limit replays to one per server, or less if th=
is banned
0-RTT state is shared across servers. The notable problem with this mechani=
sm
is that a 0-RTT DDoS, could easily balloon the state size rather significan=
tly, if not
careful. Servers would have to be fine with budgeting resources for a nontr=
ivial
state in the event of attack, even if they don't need it during normal oper=
ation,
but that could at least be doable. A replay from the 1st party that is expe=
cted to
have the correct key/secret or from a 3rd party that has stolen it would no=
t be
mitigated by this system, but that's much harder for an attacker to attempt=
, at
least.


Dave


From nobody Tue May 30 18:56:24 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A66F0129C3E for <tls@ietfa.amsl.com>; Tue, 30 May 2017 18:56:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=allcosts-net.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 y5r5HMFsAhBl for <tls@ietfa.amsl.com>; Tue, 30 May 2017 18:56:20 -0700 (PDT)
Received: from mail-yb0-x22f.google.com (mail-yb0-x22f.google.com [IPv6:2607:f8b0:4002: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 D1785129C46 for <tls@ietf.org>; Tue, 30 May 2017 18:56:18 -0700 (PDT)
Received: by mail-yb0-x22f.google.com with SMTP id r66so633723yba.2 for <tls@ietf.org>; Tue, 30 May 2017 18:56:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=07y+OaDSGAFIS6ej3v58FQmRCk49tQmOrNBnZaYnbRQ=; b=QvTZvwE7Fpk70+cyGrtz9r948Vhahjpd0y21VKZR/YHqnWj+yDvFN6jAUP49nuqPTM eiCVFFiQFriggIIHoNeHR37oIjs0vFsxXUVHwiJYB9lgdvJ6aLfMUjJMEyx5oyhpKtgM G9nabNckZXv6ecA37TkgfYrviQ6+BOMd4OFIYmwmkRfpp1ht1YWY5n+zjcf3m00AMYob uhwMwLcu6RD7JC0ayAC+zRf0WJrc9YUR1xalKxKg8spAwc/pPEBmABy2bW92a7CyvzLT 4tYyKIw48mtXfUr2XxqhRLXLHYM+Vvt66UicC/Xq6MsE1Fvo5sHmA+Qz/VALHHKzR+CG pF+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=07y+OaDSGAFIS6ej3v58FQmRCk49tQmOrNBnZaYnbRQ=; b=tUw1BFF3DScfW190sN23TWQ+MfvthLcOTkC2LjNj0HPfemDS22F3cFunR2LZ/FciBo khHprx9BVlW1YDM5Gm8THju+KspIchPnMS7Rc1ypbmvbSmYDdtTBaO/T3aZyoZf+9J7+ TPaYoUOzO2AEOGLKZ9iDD648Yw1p5Xz3rZ+R6jFT0qoZjHtrxpwVtH48QNYtQHfMfO6u LRh7Xi9ArBg08+ZJoh6sRHn/TcitZIG6LlgM6juPUaMu80DWiRjv6aKnLpLZ/g0UipMF vGFpXL3N8MdChAa/oicsyHlQ8xigDZ3hn1jcgU8eARZRHByIZ7CLAguiY48mm0TYdmZ3 xTHg==
X-Gm-Message-State: AODbwcCuUkwyqJBmCMaqCCJZBp49wTUm2YZwT+KFp+gP3veyQwbYgUAj GcIXT077ExHz2hvkZGoqJg1Zh5byXqpr/jo=
X-Received: by 10.37.16.212 with SMTP id 203mr53159710ybq.90.1496195778013; Tue, 30 May 2017 18:56:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.93.70 with HTTP; Tue, 30 May 2017 18:56:16 -0700 (PDT)
In-Reply-To: <CAAZdMacpJ-qoQt2pDBjTq6ADwmRKOHXTHDyDTzb+g2gYPvtZzQ@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CAAZdMacpJ-qoQt2pDBjTq6ADwmRKOHXTHDyDTzb+g2gYPvtZzQ@mail.gmail.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Tue, 30 May 2017 18:56:16 -0700
Message-ID: <CAAF6GDdobkQh9_iqX1oU_BO9O2aK2_7Cbaper0AY4qEGYXAcvA@mail.gmail.com>
To: Victor Vasiliev <vasilvv@google.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a11c0ff04dd39620550c83937"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/lHn9VzOH49AyEZDCi21D-8jp8As>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2017 01:56:23 -0000

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

On Tue, May 30, 2017 at 2:38 PM, Victor Vasiliev <vasilvv@google.com> wrote=
:

> Thank you for your analysis!  I appreciate the attention to the security
> properties of the 0-RTT requests, as it is the more delicate part of the
> protocol.  It took me a while to get through the entire review, and there
> are
> many things on which I would like to comment, but if I do that for every
> one of
> them, this reply would be too long.  Hence, I=E2=80=99ll try to concentra=
te on the
> key
> points.
>

Thanks too for reading and the response!


> TLS 1.3 as-is does not remove any of the replay protection guarantees
> provided
> by TLS 1.2.  However, if the user chooses to waive said protection in
> order to
> do 0-RTT, they can do that with an API explicitly designed for that
> purpose.
>

I don't think this holds true;  the signs are that browsers and servers
will enable by default, with well-meaning limits on the kinds of requests.
But in the real-world; it'll absolutely be enabled lots, that's the point
after all. I hope we can have pervasive 0-RTT. It'll be awesome, because
the speed of light sucks.


>
> 3) Full replay protection for 0-RTT is not realistically feasible at TLS
> layer,
>    because TLS layer is not the right place for that.
>
> You=E2=80=99ve already pointed out the existence of the DKG attack, where=
 the
> attacker
> forces the client to retry the request with 1-RTT.  In this scenario, the
> attacker has a buffered 0-RTT request and is ready to insert it at any
> convenient point in time, violating the initial order assumptions.
>

Yep, though as I point out too, I think the DKG attack is different from
other replay attacks in ways that matter. The only place that the DKG
attack can be mitigated is at application layer. The TLS APIs and different
streams are pointless here. And I think that's actually an ok trade-off for
some kinds of applications - I don't think it should be a blocker for
0-RTT.  I think we agree on all this.


> With respect to the non-browser HTTP applications, I am not sure I am sol=
d
> on
> the notion of =E2=80=9Ccareful clients=E2=80=9D. My understanding is that=
 you suggest to
> treat
>
0-RTT failure as semantically equivalent to a regular connection failure,
> under
> the assumption that all of your clients already have to handle that case
> properly.  I see how this is supposed to work out, but most systems of th=
is
> nature work well because connections succeed most of the time -- and as
> you go
> more and more towards the path of promising full replay protection, you
> will
> break more and more 0-RTT handshakes.  Both session resumption in general
> and
> 0-RTT in particular are designed with assumption that they can be decline=
d
> at
> any point, that this is a normal and expected event, and at worst it woul=
d
> result in a minor performance degradation; =E2=80=9Ccareful clients=E2=80=
=9D violate that
> assumption.
>

The careful client is just to illustrate what it takes to make a
replay-safe application on top of an eventually consistent data store model
(which isn't uncommon) ... I don't think it's that realistic either, but it
was to point out that separate streams don't help. Only timings do.


> 4) Operational experience on datacenter-local strike registers is negativ=
e.
>
> We deployed strike registers in the initial QUIC deployment, and it was a=
n
> operational hassle, so once we discovered that they do not provide full
> replay
> protection (due to all issues outlined above), the cost/benefit analysis
> became
> decidedly not in their favor.
>

The argument about operational inconvenience is irrelevant and dangerous.
It doesn't matter that it's hard. It doesn't matter how much it costs. It's
the cost of doing 0-RTT securely. Doing it insecurely should not be an
option, and shouldn't be something specified in an RFC.


> Our deployment experience also suggests that the negative impact from
> limiting
> 0-RTT to the same datacenter is not negligible.
>

This is the terribly false premise that gets to the heart of things. You
acknowledge yourself that there are attacks. Here you argue, essentially,
that it is too inconvenient to mitigate those attacks for users. I don't
think we can seriously take that approach.

If the methods are too inconvenient, the secure alternative is to not use
0-RTT at all.

The key phrase here "the negative impact from limiting 0-RTT to the same
datacenter is not negligible" is simply utterly the wrong way around. Yes,
it's true that fewer 0-RTT sections are accepted in a datacenter-local
system than if they are globally valid; but globally valid ones are not
secure; so what's the benefit of that comparison? It's not an alternative
we can responsibly consider. The only secure comparison is to not having
0-RTT at all. At least with datacenter local 0-RTT we do get /some/ 0-RTT.

So the statement should really be "Datacenter-local 0-RTT resumption allows
us to use 0-RTT at all, which is great, considering that it would otherwise
lead to side-channel and privacy-defeating attacks. What a sad world that
would be".

It's not useful to compare secure approaches to insecure ones, we can only
consider the former. AES-GCM is a lot slower and more expensive than RC4,
but I still have to use it.


> I feel like you are underestimating the cost and complexity of the
> distributed
> solutions proposed:
>  - RAM might be cheap in a big datacenter, but on a CDN node, the
> opportunity
>    cost of not using that RAM for something else is higher.
>  - There is nothing simple about running distributed storage, given that
> on top
>    of usual operational requirements (ability to rescale and some degree =
of
>    fault tolerance), you also require an atomic read-and-delete.
>  - Strike registers with strong guarantees are probably even worse in tha=
t
>    regard, since inserting a strike record requires a consistent write.
>

These really suck, I agree. This is why it's so vitally important that we
agree that 0-RTT sections "MUST" be non-replayable, precisely because this
false line of logic is so mentally tempting. And because a set of providers
may be willing to make the insecure trade-off, and risk creating a "race to
the bottom" that means all deployments end up with  these insecure
configurations.

--=20
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, May 30, 2017 at 2:38 PM, Victor Vasiliev <span dir=3D"ltr">&lt;=
<a href=3D"mailto:vasilvv@google.com" target=3D"_blank">vasilvv@google.com<=
/a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left=
-color:rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gm=
ail_extra"><div class=3D"gmail_extra"><div class=3D"gmail_extra">Thank you =
for your analysis!=C2=A0 I appreciate the attention to the security<br></di=
v><div class=3D"gmail_extra">properties of the 0-RTT requests, as it is the=
 more delicate part of the</div><div class=3D"gmail_extra">protocol.=C2=A0 =
It took me a while to get through the entire review, and there are</div><di=
v class=3D"gmail_extra">many things on which I would like to comment, but i=
f I do that for every one of</div><div class=3D"gmail_extra">them, this rep=
ly would be too long.=C2=A0 Hence, I=E2=80=99ll try to concentrate on the k=
ey</div><div class=3D"gmail_extra">points.</div></div></div></div></blockqu=
ote><div><br></div><div>Thanks too for reading and the response!</div><div>=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(20=
4,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><d=
iv class=3D"gmail_extra"><div class=3D"gmail_extra">TLS 1.3 as-is does not =
remove any of the replay protection guarantees provided</div><div class=3D"=
gmail_extra">by TLS 1.2.=C2=A0 However, if the user chooses to waive said p=
rotection in order to</div><div class=3D"gmail_extra">do 0-RTT, they can do=
 that with an API explicitly designed for that purpose.</div></div></div></=
div></blockquote><div><br></div><div>I don&#39;t think this holds true; =C2=
=A0the signs are that browsers and servers will enable by default, with wel=
l-meaning limits on the kinds of requests. But in the real-world; it&#39;ll=
 absolutely be enabled lots, that&#39;s the point after all. I hope we can =
have pervasive 0-RTT. It&#39;ll be awesome, because the speed of light suck=
s.=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;borde=
r-left-color:rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=
=3D"gmail_extra"><div class=3D"gmail_extra"><div class=3D"gmail_extra"><br>=
</div><div class=3D"gmail_extra">3) Full replay protection for 0-RTT is not=
 realistically feasible at TLS layer,</div><div class=3D"gmail_extra">=C2=
=A0 =C2=A0because TLS layer is not the right place for that.</div><div clas=
s=3D"gmail_extra"><br></div><div class=3D"gmail_extra">You=E2=80=99ve alrea=
dy pointed out the existence of the DKG attack, where the attacker</div><di=
v class=3D"gmail_extra">forces the client to retry the request with 1-RTT.=
=C2=A0 In this scenario, the</div><div class=3D"gmail_extra">attacker has a=
 buffered 0-RTT request and is ready to insert it at any</div><div class=3D=
"gmail_extra">convenient point in time, violating the initial order assumpt=
ions.</div></div></div></div></blockquote><div><br></div><div>Yep, though a=
s I point out too, I think the DKG attack is different from other replay at=
tacks in ways that matter. The only place that the DKG attack can be mitiga=
ted is at application layer. The TLS APIs and different streams are pointle=
ss here. And I think that&#39;s actually an ok trade-off for some kinds of =
applications - I don&#39;t think it should be a blocker for 0-RTT.=C2=A0 I =
think we agree on all this.</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-lef=
t-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir=
=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_extra"><div class=
=3D"gmail_extra">With respect to the non-browser HTTP applications, I am no=
t sure I am sold on</div><div class=3D"gmail_extra">the notion of =E2=80=9C=
careful clients=E2=80=9D. My understanding is that you suggest to treat</di=
v></div></div></div></blockquote><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;bor=
der-left-color:rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div cla=
ss=3D"gmail_extra"><div class=3D"gmail_extra"><div class=3D"gmail_extra">0-=
RTT failure as semantically equivalent to a regular connection failure, und=
er</div><div class=3D"gmail_extra">the assumption that all of your clients =
already have to handle that case</div><div class=3D"gmail_extra">properly.=
=C2=A0 I see how this is supposed to work out, but most systems of this</di=
v><div class=3D"gmail_extra">nature work well because connections succeed m=
ost of the time -- and as you go</div><div class=3D"gmail_extra">more and m=
ore towards the path of promising full replay protection, you will</div><di=
v class=3D"gmail_extra">break more and more 0-RTT handshakes.=C2=A0 Both se=
ssion resumption in general and</div><div class=3D"gmail_extra">0-RTT in pa=
rticular are designed with assumption that they can be declined at</div><di=
v class=3D"gmail_extra">any point, that this is a normal and expected event=
, and at worst it would</div><div class=3D"gmail_extra">result in a minor p=
erformance degradation; =E2=80=9Ccareful clients=E2=80=9D violate that</div=
><div class=3D"gmail_extra">assumption.</div></div></div></div></blockquote=
><div><br></div><div>The careful client is just to illustrate what it takes=
 to make a replay-safe application on top of an eventually consistent data =
store model (which isn&#39;t uncommon) ... I don&#39;t think it&#39;s that =
realistic either, but it was to point out that separate streams don&#39;t h=
elp. Only timings do.=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-lef=
t-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir=
=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_extra"><div class=
=3D"gmail_extra">4) Operational experience on datacenter-local strike regis=
ters is negative.</div><div class=3D"gmail_extra"><br></div><div class=3D"g=
mail_extra">We deployed strike registers in the initial QUIC deployment, an=
d it was an</div><div class=3D"gmail_extra">operational hassle, so once we =
discovered that they do not provide full replay</div><div class=3D"gmail_ex=
tra">protection (due to all issues outlined above), the cost/benefit analys=
is became</div><div class=3D"gmail_extra">decidedly not in their favor.</di=
v></div></div></div></blockquote><div><br></div><div>The argument about ope=
rational inconvenience is irrelevant and dangerous. It doesn&#39;t matter t=
hat it&#39;s hard. It doesn&#39;t matter how much it costs. It&#39;s the co=
st of doing 0-RTT securely. Doing it insecurely should not be an option, an=
d shouldn&#39;t be something specified in an RFC.=C2=A0</div><div>=C2=A0</d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204=
);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=
=3D"gmail_extra"><div class=3D"gmail_extra">Our deployment experience also =
suggests that the negative impact from limiting</div><div class=3D"gmail_ex=
tra">0-RTT to the same datacenter is not negligible.</div></div></div></div=
></blockquote><div><br></div><div>This is the terribly false premise that g=
ets to the heart of things. You acknowledge yourself that there are attacks=
. Here you argue, essentially, that it is too inconvenient to mitigate thos=
e attacks for users. I don&#39;t think we can seriously take that approach.=
=C2=A0</div><div><br></div><div>If the methods are too inconvenient, the se=
cure alternative is to not use 0-RTT at all.=C2=A0</div><div><br></div><div=
>The key phrase here &quot;the negative impact from limiting 0-RTT to the s=
ame datacenter is not negligible&quot; is simply utterly the wrong way arou=
nd. Yes, it&#39;s true that fewer 0-RTT sections are accepted in a datacent=
er-local system than if they are globally valid; but globally valid ones ar=
e not secure; so what&#39;s the benefit of that comparison? It&#39;s not an=
 alternative we can responsibly consider. The only secure comparison is to =
not having 0-RTT at all. At least with datacenter local 0-RTT we do get /so=
me/ 0-RTT.=C2=A0</div><div><br></div><div>So the statement should really be=
 &quot;Datacenter-local 0-RTT resumption allows us to use 0-RTT at all, whi=
ch is great, considering that it would otherwise lead to side-channel and p=
rivacy-defeating attacks. What a sad world that would be&quot;.=C2=A0</div>=
<div><br></div><div>It&#39;s not useful to compare secure approaches to ins=
ecure ones, we can only consider the former. AES-GCM is a lot slower and mo=
re expensive than RC4, but I still have to use it.=C2=A0</div><div>=C2=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,20=
4);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=
=3D"gmail_extra"><div class=3D"gmail_extra">I feel like you are underestima=
ting the cost and complexity of the distributed</div><div class=3D"gmail_ex=
tra">solutions proposed:</div><div class=3D"gmail_extra">=C2=A0- RAM might =
be cheap in a big datacenter, but on a CDN node, the opportunity</div><div =
class=3D"gmail_extra">=C2=A0 =C2=A0cost of not using that RAM for something=
 else is higher.</div><div class=3D"gmail_extra">=C2=A0- There is nothing s=
imple about running distributed storage, given that on top</div><div class=
=3D"gmail_extra">=C2=A0 =C2=A0of usual operational requirements (ability to=
 rescale and some degree of</div><div class=3D"gmail_extra">=C2=A0 =C2=A0fa=
ult tolerance), you also require an atomic read-and-delete.</div><div class=
=3D"gmail_extra">=C2=A0- Strike registers with strong guarantees are probab=
ly even worse in that</div><div class=3D"gmail_extra">=C2=A0 =C2=A0regard, =
since inserting a strike record requires a consistent write.</div></div></d=
iv></div></blockquote><div><br></div><div>These really suck, I agree. This =
is why it&#39;s so vitally important that we agree that 0-RTT sections &quo=
t;MUST&quot; be non-replayable, precisely because this false line of logic =
is so mentally tempting. And because a set of providers may be willing to m=
ake the insecure trade-off, and risk creating a &quot;race to the bottom&qu=
ot; that means all deployments end up with =C2=A0these insecure configurati=
ons.=C2=A0</div></div><div><br></div>-- <br><div class=3D"gmail_signature">=
Colm</div>
</div></div>

--001a11c0ff04dd39620550c83937--


From nobody Wed May 31 02:32:40 2017
Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D48B3129510 for <tls@ietfa.amsl.com>; Wed, 31 May 2017 02:32:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.203
X-Spam-Level: 
X-Spam-Status: No, score=-4.203 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 N_Qx3yJxsCkk for <tls@ietfa.amsl.com>; Wed, 31 May 2017 02:32:37 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8BC0C12950B for <tls@ietf.org>; Wed, 31 May 2017 02:32:37 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 25429B81436; Wed, 31 May 2017 02:32:17 -0700 (PDT)
To: ekr@rtfm.com, nagendra@cs.stanford.edu, Kathleen.Moriarty.ietf@gmail.com,  ekr@rtfm.com, joe@salowey.net, sean+ietf@sn3rd.com
X-PHP-Originating-Script: 30:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: korte@easycrypt.de, tls@ietf.org, rfc-editor@rfc-editor.org
Content-Type: text/plain; charset=UTF-8
Message-Id: <20170531093217.25429B81436@rfc-editor.org>
Date: Wed, 31 May 2017 02:32:17 -0700 (PDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/lnElUOFQqdpNpOh-iRUPbbwny88>
Subject: [TLS] [Editorial Errata Reported] RFC6347 (5026)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2017 09:32:39 -0000

The following errata report has been submitted for RFC6347,
"Datagram Transport Layer Security Version 1.2".

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata/eid5026

--------------------------------------
Type: Editorial
Reported by: Timm Korte <korte@easycrypt.de>

Section: 4.1

Original Text
-------------
   length
      Identical to the length field in a TLS 1.2 record.  As in TLS 1.2,
      the length should not exceed 2^14.

Corrected Text
--------------
   length
      Identical to the length field in a TLS 1.2 record.  As in TLS 1.2,
      the length MUST NOT exceed 2^14.

Notes
-----
The originial comment on length in RFC 5246, 6.2.1 is:
   length
      The length (in bytes) of the following TLSPlaintext.fragment.  The
      length MUST NOT exceed 2^14.
so it has to be "MUST NOT" - instead of "should not" as currently stated.

Instructions:
-------------
This erratum is currently posted as "Reported". If necessary, please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party  
can log in to change the status and edit the report, if necessary. 

--------------------------------------
RFC6347 (draft-ietf-tls-rfc4347-bis-06)
--------------------------------------
Title               : Datagram Transport Layer Security Version 1.2
Publication Date    : January 2012
Author(s)           : E. Rescorla, N. Modadugu
Category            : PROPOSED STANDARD
Source              : Transport Layer Security
Area                : Security
Stream              : IETF
Verifying Party     : IESG


From nobody Wed May 31 02:48:58 2017
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C69891287A3 for <tls@ietfa.amsl.com>; Wed, 31 May 2017 02:48:56 -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, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 KsRNIzUWiiOM for <tls@ietfa.amsl.com>; Wed, 31 May 2017 02:48:54 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id A3EBC12704A for <tls@ietf.org>; Wed, 31 May 2017 02:48:54 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 5A2C527D85; Wed, 31 May 2017 12:48:53 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id 9CUCYGMHRN3v; Wed, 31 May 2017 12:48:53 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 25A8F27F; Wed, 31 May 2017 12:48:53 +0300 (EEST)
Date: Wed, 31 May 2017 12:48:50 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Victor Vasiliev <vasilvv@google.com>
Cc: Colm =?utf-8?Q?MacC=C3=A1rthaigh?= <colm@allcosts.net>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170531094850.GA7298@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CAAZdMacpJ-qoQt2pDBjTq6ADwmRKOHXTHDyDTzb+g2gYPvtZzQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAAZdMacpJ-qoQt2pDBjTq6ADwmRKOHXTHDyDTzb+g2gYPvtZzQ@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/0VVkg5UKfD3nkMX2txVkz90THRQ>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2017 09:48:57 -0000

On Tue, May 30, 2017 at 05:38:02PM -0400, Victor Vasiliev wrote:

<Snip long message>

A couple points:

- Various mechanisms related to conserving IPv4 addresses can result
  client and server disagreeing about server IP address. Or even the
  address family.
- If one has limited number of replays, distributing those among
  multiple servers is the most dangerous.
- If you rely on sticky loadbalancer, you have to ensure that attacker
  can't send requests directly to the servers, bypassing the
  loadbalancer! In some architectures, it is rather easy to
  accidentially expose the backend servers, even if all the honest
  connections flow through the loadbalancer.
- Binders are computationally random, so if you want to shard on
  those for strike register, simple mod N scheme distributes the load
  well.
- 0-RTT scope can be written into tickets. The session ticket scope
  may be larger than that. Routing to datacenters should be relatively
  sticky.
- As noted, this mess with state is just necressary for security if
  you use 0-RTT.
- Could be good idea for clients to blacklist origins for tickets
  (meaning, use GDHE-CERT and possibly (GDHE-)static-PSK handshakes
  only) for some time if duplicate accepts are detected during
  grease testing. That should not cause any servers to actually
  break from user standpoint, since servers need to support those
  handshake modes anyway.


-Ilari


From nobody Wed May 31 09:36:31 2017
Return-Path: <contact@simonbernard.eu>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A6121298BA for <tls@ietfa.amsl.com>; Wed, 31 May 2017 09:36:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.079
X-Spam-Level: 
X-Spam-Status: No, score=0.079 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham 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 7uup69YPGaaw for <tls@ietfa.amsl.com>; Wed, 31 May 2017 09:36:27 -0700 (PDT)
Received: from 6.mo2.mail-out.ovh.net (6.mo2.mail-out.ovh.net [87.98.165.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 879FA129BA4 for <tls@ietf.org>; Wed, 31 May 2017 09:36:26 -0700 (PDT)
Received: from player157.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo2.mail-out.ovh.net (Postfix) with ESMTP id C93FC84B51 for <tls@ietf.org>; Wed, 31 May 2017 18:36:24 +0200 (CEST)
Received: from [10.41.51.97] (130.163-14-84.ripe.coltfrance.com [84.14.163.130]) (Authenticated sender: contact@simonbernard.eu) by player157.ha.ovh.net (Postfix) with ESMTPSA id 6F99950007E for <tls@ietf.org>; Wed, 31 May 2017 18:36:24 +0200 (CEST)
To: "tls@ietf.org" <tls@ietf.org>
From: Simon Bernard <contact@simonbernard.eu>
Message-ID: <ba80d4aa-ff1c-3f6e-6a80-1fda945c5cf8@simonbernard.eu>
Date: Wed, 31 May 2017 18:36:23 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Ovh-Tracer-Id: 17368131965976262897
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 50
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeeljedrgeeigddutdehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecufedttdenucgoteefjeefqddtgeculdehtddm
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/uI5yJpcC8rhVzZst4o7gLWMDPzY>
Subject: [TLS] Stopping retransmission DTLS 1.2
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2017 16:36:30 -0000

Hi,

    The RFC6347, 4.2.4 [1] say :

         "3. The implementation receives the next flight of messages: if 
this
         is the final flight of messages, the implementation transitions to
         FINISHED. If the implementation needs to send a new flight, it
         transitions to the PREPARING state. Partial reads (whether
         partial messages or only some of the messages in the flight) do
         not cause state transitions or timer resets."

    I would like to know why "partial reads do not cause state timer 
resets".

    I mean if we receive the first "handshake message" of the expected 
"flight". we can assume that the foreign peer received our previous 
flight and so we can stop retransmissions of this flight.
    If the next message is lost, we will never respond and so the 
foreign peer should retransmit the whole flight. We don't need to 
retransmit on our side, so timer should be reset ?

    Did I missed something ?

Thx.

Simon

[1]https://tools.ietf.org/html/rfc6347#section-4.2.4


From nobody Wed May 31 12:49:09 2017
Return-Path: <vasilvv@google.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6D1CF124217 for <tls@ietfa.amsl.com>; Wed, 31 May 2017 12:49:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level: 
X-Spam-Status: No, score=-2.701 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, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] 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 9F9o0z3VcJ5U for <tls@ietfa.amsl.com>; Wed, 31 May 2017 12:49:06 -0700 (PDT)
Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::234]) (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 25DB81200C5 for <tls@ietf.org>; Wed, 31 May 2017 12:49:06 -0700 (PDT)
Received: by mail-qk0-x234.google.com with SMTP id d14so20629996qkb.1 for <tls@ietf.org>; Wed, 31 May 2017 12:49:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=L0wmzKABnpeO1sRKba73DKjZYhJcW9/DPOc4LW8JRqI=; b=GB8XMVvCIUX3HI/v4TVAY5BkpAWjvMUEOCev4OsyR2AQshgYo6CxFO9qzeoaoGZoUp YeWXIwP6QyyqXIEygK9Rsk4Cu8dgnGwdT1gGYn7KUfw5TyaVJ3zN5dSl9TYpCVj0kHru VV4irktNk74qC8GN582J42F/VsgnHYRHFugadpGdRVzpP36FXuJgoagpU2qWtbDd7mMC P/wS/GvnlFlaQr8ySKxnSuqkKkzuus2CFfcY/Cb27byKuH7RGfL8gi1NE72Oy01yEAGY 5geYse/Lva6vedBtWXZtgWAHapsPP1wH0HyJs9Z6wXyLbTU+CvXN4fWRIrM/jwZxiimX YKpw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=L0wmzKABnpeO1sRKba73DKjZYhJcW9/DPOc4LW8JRqI=; b=bsniFmhERYzXj4xAAiyeurUnDKUCkPxtZFFnnD2Rs2uLvkifOhRR0QXbIDZ5BR1sEs nVdYk7aZ+NW0iJt22m+u4ACxETFmNVrbMvRPfwmgKSAv0jHEo7rzYPbJnb1Wy+qrSGyC oj5mF3giA9YuhR05dnB8NOjCEmNMKpSZQv9K4AjlA8X5LiH+VDCxEVYkWweKhxuzJvl+ v1GH/oCGxZI0Qg91Alcz6iyW9pN3+lCk4hDBm73lBrgtKWuphgYkD7Chg4EYhcOKxxd/ 7SOTCXyUWttAaAN8cJ8g6JvZdlZPLDf3QUkSqHPno6e52fJeSaf3QpZ4qd0quPCFbDYP 8TvA==
X-Gm-Message-State: AODbwcBAmzcW/OPidfJs76JZl7E4WSlSwh59SES2AxoUM4L2EMkBPAoX S9AnCm/YRzFp2Bs4IUfeM65X3vpF2XkeV7MHDA==
X-Received: by 10.55.111.198 with SMTP id k189mr29946835qkc.160.1496260144939;  Wed, 31 May 2017 12:49:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.55.76.70 with HTTP; Wed, 31 May 2017 12:49:03 -0700 (PDT)
In-Reply-To: <CAAF6GDdobkQh9_iqX1oU_BO9O2aK2_7Cbaper0AY4qEGYXAcvA@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CAAZdMacpJ-qoQt2pDBjTq6ADwmRKOHXTHDyDTzb+g2gYPvtZzQ@mail.gmail.com> <CAAF6GDdobkQh9_iqX1oU_BO9O2aK2_7Cbaper0AY4qEGYXAcvA@mail.gmail.com>
From: Victor Vasiliev <vasilvv@google.com>
Date: Wed, 31 May 2017 15:49:03 -0400
Message-ID: <CAAZdMaeTdcgdCj26kVuq6-0EX1nmehvJJCq+YzB-4r84aRjhuA@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c05b67c6f04380550d73687"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/WJhUgqHwfOYpUulXuxFO8KMooe4>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2017 19:49:08 -0000

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

On Tue, May 30, 2017 at 9:56 PM, Colm MacC=C3=A1rthaigh <colm@allcosts.net>
 wrote:

> Here you argue, essentially, that it is too inconvenient to mitigate thos=
e
> attacks for users. I don't think we can seriously take that approach.
>
> If the methods are too inconvenient, the secure alternative is to not use
> 0-RTT at all.
>
> [snip]
>

I think I am not getting my key point across here clearly.  I am not arguin=
g
that they are inconvenient, I am arguing that the guarantee you are trying
to
provide is impossible.

I wholeheartedly agree that if it is possible to provide guarantee B (zero
replays), we really should provide it.  The problem is, we cannot.  Since
0-RTT
is by its very design declinable, there will be always a possibility for at
least one retry.

Once you concede you can have at least one replay, the difference between
one
replay and N replays (for all N > 0) is not that large, which is why I
refer to
this as "nebulous bound" (guarantee C).  Your applications already have to
contend with replays, it's now just the matter of preventing side-channel
amplification.

So, in other words, since we're now just bargaining about the value of N,
operational concerns are a fair game.

TLS 1.3 as-is does not remove any of the replay protection guarantees
>> provided
>> by TLS 1.2.  However, if the user chooses to waive said protection in
>> order to
>> do 0-RTT, they can do that with an API explicitly designed for that
>> purpose.
>>
>
> I don't think this holds true;  the signs are that browsers and servers
> will enable by default, with well-meaning limits on the kinds of requests=
.
> But in the real-world; it'll absolutely be enabled lots, that's the point
> after all. I hope we can have pervasive 0-RTT. It'll be awesome, because
> the speed of light sucks.
>
>

To clarify, I am not suggesting that two streams would help.  I completely
agree with you that two streams is not going to mitigate the DKG attack or
others.  What I meant is that 0-RTT inherently has slightly different
properties from 1-RTT and must be used with that in mind.  Specifically, I
meant that it will not be enabled for applications by default, and HTTP
clients
would only allow it for methods that RFC 7231 defines as safe.



>> 3) Full replay protection for 0-RTT is not realistically feasible at TLS
>> layer,
>>    because TLS layer is not the right place for that.
>>
>> You=E2=80=99ve already pointed out the existence of the DKG attack, wher=
e the
>> attacker
>> forces the client to retry the request with 1-RTT.  In this scenario, th=
e
>> attacker has a buffered 0-RTT request and is ready to insert it at any
>> convenient point in time, violating the initial order assumptions.
>>
>
> Yep, though as I point out too, I think the DKG attack is different from
> other replay attacks in ways that matter.
>

I do not believe that this to be the case.  The DKG attack is an attack
that allows
for a replay.  There is an enormous difference between a protocol that does
not
allow replays and the protocol that allows one.  For many applications, it
only
takes one replay for things to go terribly wrong.


> The only place that the DKG attack can be mitigated is at application
> layer.
>

Indeed.


> The TLS APIs and different streams are pointless here.
>

I agree that different streams are pointless.  The only ways APIs can help
is
to not send replay-sensitive requests via 0-RTT, and to not accept those
requests until peer liveness is confirmed.


> And I think that's actually an ok trade-off for some kinds of application=
s
> - I don't think it should be a blocker for 0-RTT.  I think we agree on al=
l
> this.
>

I don't think this is an okay trade-off for any application that changes
state
-- in particular, I am strongly against sending POST requests over 0-RTT.
I do
agree, however, that ability to replay requests some bounded number of time=
s
should not preclude us from deploying 0-RTT.


> [snip]
>
> You acknowledge yourself that there are attacks.
>

Indeed, but I am not suggesting we ignore those attacks.  The way I see
this is
that, originally when we did 0-RTT in QUIC, we had strike registers which
are
approximately what you are advocating.  We thought this provided property B
(at-most-once semantics for 0-RTT), but at the IETF, people discovered the
DKG
attack.  Strike registers do not provide B and in fact B is impossible to
provide at the TLS layer.  Thus TLS 1.3 went towards A (no replay
protection at
all for 0-RTT), as it's simpler and we didn't have B anyway.

But, as you describe, this enables some interesting side channels. Now,
these
side channels exist even without 0-RTT.  Attackers already can measure
response
times, probe and groom caches, direct traffic, etc.  *But*, with unlimited
0-RTT replay, the attacker can repeat the experiment unboundedly and amplif=
y
the side channel.

Thus, A is problematic.  I think we both believe this and both agree then
that
the current text is unsatisfactory.  So the question is what to replace it
with.  Whatever we provide, it should be a clear security guarantee between
the
application and TLS (depending on what guarantee we chose, some of your
other
attacks may or may not just be invalid uses of TLS).  B is obviously
preferable, but as it is impossible per DKG, I think we should set the
contract
at C (bounded replay protection).  This is a guarantee that is not
fundamentally impossible and also successfully mitigates your side channel
amplification attacks.

  -- Victor.

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div=
>On Tue, May 30, 2017 at 9:56 PM, Colm MacC=C3=A1rthaigh=C2=A0<span dir=3D"=
ltr">&lt;<a href=3D"mailto:colm@allcosts.net" target=3D"_blank">colm@allcos=
ts.net</a>&gt;</span>=C2=A0wrote:=C2=A0</div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=
=3D"gmail_quote"><div>Here you argue, essentially, that it is too inconveni=
ent to mitigate those attacks for users. I don&#39;t think we can seriously=
 take that approach.=C2=A0</div><div><br></div><div>If the methods are too =
inconvenient, the secure alternative is to not use 0-RTT at all.=C2=A0</div=
><div><br></div><div>[snip]</div></div></div></div></blockquote><div><br></=
div><div><div><div>I think I am not getting my key point across here clearl=
y.=C2=A0 I am not arguing</div><div>that they are inconvenient, I am arguin=
g that the guarantee you are trying to</div><div>provide is impossible.</di=
v></div><div><br></div><div>I wholeheartedly agree that if it is possible t=
o provide guarantee B (zero</div><div>replays), we really should provide it=
.=C2=A0 The problem is, we cannot.=C2=A0 Since 0-RTT</div><div>is by its ve=
ry design declinable, there will be always a possibility for at</div><div>l=
east one retry.</div><div><br></div><div>Once you concede you can have at l=
east one replay, the difference between one</div><div>replay and N replays =
(for all N &gt; 0) is not that large, which is why I refer to</div><div>thi=
s as &quot;nebulous bound&quot; (guarantee C).=C2=A0 Your applications alre=
ady have to</div><div>contend with replays, it&#39;s now just the matter of=
 preventing side-channel</div><div>amplification.</div><div><br></div><div>=
So, in other words, since we&#39;re now just bargaining about the value of =
N,</div><div>operational concerns are a fair game.</div></div><div><br></di=
v></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_=
quote"><span class=3D"gmail-"><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_extra"=
><div class=3D"gmail_extra">TLS 1.3 as-is does not remove any of the replay=
 protection guarantees provided</div><div class=3D"gmail_extra">by TLS 1.2.=
=C2=A0 However, if the user chooses to waive said protection in order to</d=
iv><div class=3D"gmail_extra">do 0-RTT, they can do that with an API explic=
itly designed for that purpose.</div></div></div></div></blockquote><div><b=
r></div></span><div>I don&#39;t think this holds true; =C2=A0the signs are =
that browsers and servers will enable by default, with well-meaning limits =
on the kinds of requests. But in the real-world; it&#39;ll absolutely be en=
abled lots, that&#39;s the point after all. I hope we can have pervasive 0-=
RTT. It&#39;ll be awesome, because the speed of light sucks.=C2=A0</div><sp=
an class=3D"gmail-"><div>=C2=A0</div></span></div></div></div></blockquote>=
<div><br></div><div><div>To clarify, I am not suggesting that two streams w=
ould help.=C2=A0 I completely</div><div>agree with you that two streams is =
not going to mitigate the DKG attack or</div><div>others.=C2=A0 What I mean=
t is that 0-RTT inherently has slightly different</div><div>properties from=
 1-RTT and must be used with that in mind.=C2=A0 Specifically, I</div><div>=
meant that it will not be enabled for applications by default, and HTTP cli=
ents</div><div>would only allow it for methods that RFC 7231 defines as saf=
e.</div></div><div><br></div><div><br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=
=3D"gmail_quote"><span class=3D"gmail-"><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gm=
ail_extra"><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">=
3) Full replay protection for 0-RTT is not realistically feasible at TLS la=
yer,</div><div class=3D"gmail_extra">=C2=A0 =C2=A0because TLS layer is not =
the right place for that.</div><div class=3D"gmail_extra"><br></div><div cl=
ass=3D"gmail_extra">You=E2=80=99ve already pointed out the existence of the=
 DKG attack, where the attacker</div><div class=3D"gmail_extra">forces the =
client to retry the request with 1-RTT.=C2=A0 In this scenario, the</div><d=
iv class=3D"gmail_extra">attacker has a buffered 0-RTT request and is ready=
 to insert it at any</div><div class=3D"gmail_extra">convenient point in ti=
me, violating the initial order assumptions.</div></div></div></div></block=
quote><div><br></div></span><div>Yep, though as I point out too, I think th=
e DKG attack is different from other replay attacks in ways that matter.</d=
iv></div></div></div></blockquote><div><br></div><div><div>I do not believe=
 that this to be the case.=C2=A0 The DKG attack is an attack that allows</d=
iv><div>for a replay.=C2=A0 There is an enormous difference between a proto=
col that does not</div><div>allow replays and the protocol that allows one.=
=C2=A0 For many applications, it only</div><div>takes one replay for things=
 to go terribly wrong.</div></div><div>=C2=A0</div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div =
class=3D"gmail_quote"><div>The only place that the DKG attack can be mitiga=
ted is at application layer.</div></div></div></div></blockquote><div><br><=
/div><div>Indeed.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gm=
ail_quote"><div>The TLS APIs and different streams are pointless here.</div=
></div></div></div></blockquote><div><br></div><div><div>I agree that diffe=
rent streams are pointless.=C2=A0 The only ways APIs can help is</div><div>=
to not send replay-sensitive requests via 0-RTT, and to not accept those</d=
iv><div>requests until peer liveness is confirmed.</div></div><div>=C2=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div=
 class=3D"gmail_extra"><div class=3D"gmail_quote"><div>And I think that&#39=
;s actually an ok trade-off for some kinds of applications - I don&#39;t th=
ink it should be a blocker for 0-RTT.=C2=A0 I think we agree on all this.</=
div></div></div></div></blockquote><div><br></div><div><div>I don&#39;t thi=
nk this is an okay trade-off for any application that changes state</div><d=
iv>-- in particular, I am strongly against sending POST requests over 0-RTT=
.=C2=A0 I do</div><div>agree, however, that ability to replay requests some=
 bounded number of times</div><div>should not preclude us from deploying 0-=
RTT.</div></div><div>=C2=A0</div><div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi=
ng-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmai=
l_quote"><div>[snip]</div><span class=3D"gmail-"><br></span><div>You acknow=
ledge yourself that there are attacks.</div></div></div></div></blockquote>=
<div><br></div><div><div>Indeed, but I am not suggesting we ignore those at=
tacks.=C2=A0 The way I see this is</div><div>that, originally when we did 0=
-RTT in QUIC, we had strike registers which are</div><div>approximately wha=
t you are advocating.=C2=A0 We thought this provided property B</div><div>(=
at-most-once semantics for 0-RTT), but at the IETF, people discovered the D=
KG</div><div>attack.=C2=A0 Strike registers do not provide B and in fact B =
is impossible to</div><div>provide at the TLS layer.=C2=A0 Thus TLS 1.3 wen=
t towards A (no replay protection at</div><div>all for 0-RTT), as it&#39;s =
simpler and we didn&#39;t have B anyway.</div><div><br></div><div>But, as y=
ou describe, this enables some interesting side channels. Now, these</div><=
div>side channels exist even without 0-RTT.=C2=A0 Attackers already can mea=
sure response</div><div>times, probe and groom caches, direct traffic, etc.=
 =C2=A0*But*, with unlimited</div><div>0-RTT replay, the attacker can repea=
t the experiment unboundedly and amplify</div><div>the side channel.</div><=
div><br></div><div>Thus, A is problematic.=C2=A0 I think we both believe th=
is and both agree then that</div><div>the current text is unsatisfactory.=
=C2=A0 So the question is what to replace it</div><div>with.=C2=A0 Whatever=
 we provide, it should be a clear security guarantee between the</div><div>=
application and TLS (depending on what guarantee we chose, some of your oth=
er</div><div>attacks may or may not just be invalid uses of TLS).=C2=A0 B i=
s obviously</div><div>preferable, but as it is impossible per DKG, I think =
we should set the contract</div><div>at C (bounded replay protection).=C2=
=A0 This is a guarantee that is not</div><div>fundamentally impossible and =
also successfully mitigates your side channel</div><div>amplification attac=
ks.</div></div></div><div><br></div><div>=C2=A0 -- Victor.</div></div></div=
></div>

--94eb2c05b67c6f04380550d73687--


From nobody Wed May 31 13:45:50 2017
Return-Path: <session-request@ietf.org>
X-Original-To: tls@ietf.org
Delivered-To: tls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id DDAA712943F; Wed, 31 May 2017 13:45:47 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IETF Meeting Session Request Tool <session-request@ietf.org>
To: <session-request@ietf.org>
Cc: Kathleen.Moriarty.ietf@gmail.com, tls-chairs@ietf.org, joe@salowey.net, tls@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.52.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149626354781.19809.15739337509507162566.idtracker@ietfa.amsl.com>
Date: Wed, 31 May 2017 13:45:47 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/FYxq6s-u--7cxAlGYDTDqBTlpDw>
Subject: [TLS] tls - New Meeting Session Request for IETF 99
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2017 20:45:48 -0000

A new meeting session request has just been submitted by Joseph A. Salowey, a Chair of the tls working group.


---------------------------------------------------------
Working Group Name: Transport Layer Security
Area Name: Security Area
Session Requester: Joseph Salowey

Number of Sessions: 1
Length of Session(s):  2.5 Hours
Number of Attendees: 120
Conflicts to Avoid: 
 First Priority: curdle uta acme cfrg httpbis rtcweb saag stir tcpinc tokbind perc quic
 Second Priority: sacm oauth



People who must be present:
  Eric Rescorla
  Stephen Farrell
  Sean Turner
  Joseph A. Salowey
  Kathleen Moriarty

Resources Requested:

Special Requests:
  
---------------------------------------------------------


From nobody Wed May 31 13:52:07 2017
Return-Path: <colm@allcosts.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 10D77129BAF for <tls@ietfa.amsl.com>; Wed, 31 May 2017 13:52:05 -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=allcosts-net.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 qy57NqXVF6Fb for <tls@ietfa.amsl.com>; Wed, 31 May 2017 13:52:02 -0700 (PDT)
Received: from mail-yw0-x236.google.com (mail-yw0-x236.google.com [IPv6:2607:f8b0:4002:c05::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 5262D128C83 for <tls@ietf.org>; Wed, 31 May 2017 13:52:02 -0700 (PDT)
Received: by mail-yw0-x236.google.com with SMTP id l14so12025810ywk.1 for <tls@ietf.org>; Wed, 31 May 2017 13:52:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=allcosts-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=j7X6yODsQoYJDmeTwe3US42baeo0hoAV6IGXIfZb3rg=; b=TmdKyGom7Cef+FtdwWkXxPPBTtF9m6IGyjiPhhwdmT+QAjDWZ6yrHr3pIoDvskEHVj A+fD8+qPFgWBLbMj3ERKE1m+AYvI9uQ1C4oW/0xgoLFPgA9wQ06+6On7Qt7u8cORG0MI eI4Lcb7WSB1mHtvU4NDjL1uhxrfhDeTmn0e6THFqZrMctBtE2QsNmZjiDv4u1znHg42r ODU16PaTH7PUglNvXtDYY8GmwjEcSYeYUuxbSIpnpFhkIdJ2OCTGXmA/dB+FcVQ8jzzD wExYiUwfMqYlVJxuLzzGQGTtWbbiWe/qlhpi5bZ4oeWaI1A+MnMwTqEn9ZB5oVyGFCr/ ++ww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=j7X6yODsQoYJDmeTwe3US42baeo0hoAV6IGXIfZb3rg=; b=KTFNWJXxxF6UBkB50Y7PWS8cvAAy5DquRP9OoNrwFZsvp5PQ6RSxRbHgO38GoIFG7k ZBy0yi5kTD75WnaKKBgp0P5GjYzFQL2DjPhwIw5toYehEDs23DhJmhDcHloMc76qnNlc 8MWeFIBU2TNJI9G9XQ41o7TphtwmK80oejDnlSC4rlWKRfPrVRL9FWorry1Dg2qnDsW8 sJ5vQKNIsiPsDtiudJepAzUjaiv3l8ugIGapUmWKxsHulyu2di8AvX+dr/7UCPLEB4w2 uV3S1NYiYfg8NbPbhDBRDIwxizZpfLhtybGeSXorpEq3OLvLdQ04LtXjlArV8q2EEBoC b0kA==
X-Gm-Message-State: AODbwcC+uwasIFy/GxoKTt2nTk28ivmB0bIioCwzcuI1SnnlVSV9Ff1z xtS45nFFNMqwv54yJbbmlDm8OZ5l+t3a
X-Received: by 10.129.157.142 with SMTP id u136mr22817259ywg.323.1496263921534;  Wed, 31 May 2017 13:52:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.93.70 with HTTP; Wed, 31 May 2017 13:52:00 -0700 (PDT)
In-Reply-To: <CAAZdMaeTdcgdCj26kVuq6-0EX1nmehvJJCq+YzB-4r84aRjhuA@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CAAZdMacpJ-qoQt2pDBjTq6ADwmRKOHXTHDyDTzb+g2gYPvtZzQ@mail.gmail.com> <CAAF6GDdobkQh9_iqX1oU_BO9O2aK2_7Cbaper0AY4qEGYXAcvA@mail.gmail.com> <CAAZdMaeTdcgdCj26kVuq6-0EX1nmehvJJCq+YzB-4r84aRjhuA@mail.gmail.com>
From: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Date: Wed, 31 May 2017 13:52:00 -0700
Message-ID: <CAAF6GDesLzMDN_LVYr6sFU8Z04jpXhFZphOAet-0JPsFF56Oig@mail.gmail.com>
To: Victor Vasiliev <vasilvv@google.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0b68aa88cf280550d817f4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/zoD4guRpQSdFx9fmIL1HckUIP4k>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2017 20:52:05 -0000

--94eb2c0b68aa88cf280550d817f4
Content-Type: text/plain; charset="UTF-8"

On Wed, May 31, 2017 at 12:49 PM, Victor Vasiliev <vasilvv@google.com>
wrote:

> I think I am not getting my key point across here clearly.  I am not
> arguing
> that they are inconvenient, I am arguing that the guarantee you are trying
> to
> provide is impossible.
>
> I wholeheartedly agree that if it is possible to provide guarantee B (zero
> replays), we really should provide it.  The problem is, we cannot.  Since
> 0-RTT
> is by its very design declinable, there will be always a possibility for at
> least one retry.
>

This is the part we agree on; but as I've said before, the kinds of attacks
enabled by these kinds of client-initiated retries, and by
attacker-initiated replays are fundamentally different.


> Once you concede you can have at least one replay, the difference between
> one
> replay and N replays (for all N > 0) is not that large, which is why I
> refer to
> this as "nebulous bound" (guarantee C).
>

There's a very big difference and it leads to real-world attacks. With many
replays, all sorts of side-channel analyses become possible, and I've
provided examples. It's particularly nasty that the replays can be
out-of-bound and to arbitrary nodes of the attacker's choosing, which makes
the attacks even more effective.


> Your applications already have to
> contend with replays, it's now just the matter of preventing side-channel
> amplification.
>

Yes; applications using 0-RTT do have to make themselves retry-tolerant,
 as they already must in many scenarios (e.g. a browser driven
application).  What concerns me most here is that people are clearly being
confused by the TLS 1.3 draft into mis-understanding how this interacts
with 0-RTT. For example the X-header trick, to derive an idempotency token
from the binder, that one experimental deployment innovated doesn't
actually work because it doesn't protect against the DKG attack. We're
walking into rakes here.

So, in other words, since we're now just bargaining about the value of N,
> operational concerns are a fair game.
>

They're still not fair game imo, because there's a big difference between
permitting exactly
one duplicate, associated with a client-driven retry, and permitting huge
volumes of replays. They enable different kinds of attacks.

I keep forgetting about forward secrecy in all of this, but it's worth
noting that your argument for globally resumable sessions also implies that
we shouldn't really shoot for  FS for some of the most critical user data.
I also find that bizarre.

To clarify, I am not suggesting that two streams would help.  I completely
> agree with you that two streams is not going to mitigate the DKG attack or
> others.  What I meant is that 0-RTT inherently has slightly different
> properties from 1-RTT and must be used with that in mind.  Specifically, I
> meant that it will not be enabled for applications by default, and HTTP
> clients
> would only allow it for methods that RFC 7231 defines as safe.
>

Well in the real world, I think it'll be pervasive, and I even think it
/should/ be. We should make 0-RTT that safe and remove the sharp edges.

>
> I do not believe that this to be the case.  The DKG attack is an attack
> that allows
> for a replay.
>

It's not. It permits a retry. The difference here is that the client is in
full control. It can decide to delay, to change a unique request ID, or
even not to retry at all. But the legitimate client generated the first
attempt, it can be signaled that it wasn't accepted, and then it generates
the second attempt. If it really really needs to it can even reason about
the complicated semantics of the earlier request being possibly
re-submitted later by an attacker.

Replays are different though; the attacker just literally copies the data
and can resend and resend as desired. As I've shown; this breaks real-world
things like authenticated throttling systems, and leads to side-channel and
cache analysis; where only very rarely is one attempt sufficient to
exploit.


> There is an enormous difference between a protocol that does not
> allow replays and the protocol that allows one.  For many applications, it
> only
> takes one replay for things to go terribly wrong.
>
>
>> The only place that the DKG attack can be mitigated is at application
>> layer.
>>
>
> Indeed.
>
>
>> The TLS APIs and different streams are pointless here.
>>
>
> I agree that different streams are pointless.  The only ways APIs can help
> is
> to not send replay-sensitive requests via 0-RTT, and to not accept those
> requests until peer liveness is confirmed.
>

This puts a massive smile on my face :)

>
> Indeed, but I am not suggesting we ignore those attacks.  The way I see
> this is
> that, originally when we did 0-RTT in QUIC, we had strike registers which
> are
> approximately what you are advocating.
>

Well I'd really advocate for single-use caches, because I think Forward
Secrecy is important :)


> We thought this provided property B
> (at-most-once semantics for 0-RTT), but at the IETF, people discovered the
> DKG
> attack.  Strike registers do not provide B and in fact B is impossible to
> provide at the TLS layer.  Thus TLS 1.3 went towards A (no replay
> protection at
> all for 0-RTT), as it's simpler and we didn't have B anyway.
>

I think in retrospect this was rash :(


> But, as you describe, this enables some interesting side channels. Now,
> these
> side channels exist even without 0-RTT.  Attackers already can measure
> response
> times, probe and groom caches, direct traffic, etc.  *But*, with unlimited
> 0-RTT replay, the attacker can repeat the experiment unboundedly and
> amplify
> the side channel.
>

Exactly :) but also ... what about the attack on the throttling
infrastructure? or other resource exhaustion? 0-RTT replay seems like a
really big problem here and it seems like the most realistic kind of attack
too; booters and trouble-makers trying to lock each other out of systems.


Thus, A is problematic.  I think we both believe this and both agree then
> that
> the current text is unsatisfactory.  So the question is what to replace it
> with.  Whatever we provide, it should be a clear security guarantee
> between the
> application and TLS (depending on what guarantee we chose, some of your
> other
> attacks may or may not just be invalid uses of TLS).  B is obviously
> preferable, but as it is impossible per DKG, I think we should set the
> contract
> at C (bounded replay protection).  This is a guarantee that is not
> fundamentally impossible and also successfully mitigates your side channel
> amplification attacks.
>

I'm all for bounded replay protection, with the bounds being 1 ;-)

-- 
Colm

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 31, 2017 at 12:49 PM, Victor Vasiliev <span dir=3D"ltr">&lt=
;<a href=3D"mailto:vasilvv@google.com" target=3D"_blank">vasilvv@google.com=
</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><=
div class=3D"gmail_extra"><div class=3D"gmail_quote"><span class=3D""><div>=
I think I am not getting my key point across here clearly.=C2=A0 I am not a=
rguing<br></div></span><div><div><div>that they are inconvenient, I am argu=
ing that the guarantee you are trying to</div><div>provide is impossible.</=
div></div><div><br></div><div>I wholeheartedly agree that if it is possible=
 to provide guarantee B (zero</div><div>replays), we really should provide =
it.=C2=A0 The problem is, we cannot.=C2=A0 Since 0-RTT</div><div>is by its =
very design declinable, there will be always a possibility for at</div><div=
>least one retry.</div></div></div></div></div></blockquote><div><br></div>=
<div>This is the part we agree on; but as I&#39;ve said before, the kinds o=
f attacks enabled by these kinds of client-initiated retries, and by attack=
er-initiated replays are fundamentally different.=C2=A0</div><div>=C2=A0</d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extr=
a"><div class=3D"gmail_quote"><div><div>Once you concede you can have at le=
ast one replay, the difference between one</div><div>replay and N replays (=
for all N &gt; 0) is not that large, which is why I refer to</div><div>this=
 as &quot;nebulous bound&quot; (guarantee C).=C2=A0</div></div></div></div>=
</div></blockquote><div><br></div><div>There&#39;s a very big difference an=
d it leads to real-world attacks. With many replays, all sorts of side-chan=
nel analyses become possible, and I&#39;ve provided examples. It&#39;s part=
icularly nasty that the replays can be out-of-bound and to arbitrary nodes =
of the attacker&#39;s choosing, which makes the attacks even more effective=
.=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"lt=
r"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div><div> Your ap=
plications already have to</div><div>contend with replays, it&#39;s now jus=
t the matter of preventing side-channel</div><div>amplification.</div></div=
></div></div></div></blockquote><div><br></div><div>Yes; applications using=
 0-RTT do have to make themselves retry-tolerant, =C2=A0as they already mus=
t in many scenarios (e.g. a browser driven application).=C2=A0 What concern=
s me most here is that people are clearly being confused by the TLS 1.3 dra=
ft into mis-understanding how this interacts with 0-RTT. For example the X-=
header trick, to derive an idempotency token from the binder, that one expe=
rimental deployment innovated doesn&#39;t actually work because it doesn&#3=
9;t protect against the DKG attack. We&#39;re walking into rakes here.=C2=
=A0</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><di=
v class=3D"gmail_extra"><div class=3D"gmail_quote"><div><div>So, in other w=
ords, since we&#39;re now just bargaining about the value of N,</div><div>o=
perational concerns are a fair game.</div></div></div></div></div></blockqu=
ote><div><br></div><div>They&#39;re still not fair game imo, because there&=
#39;s a big difference between permitting exactly<br></div><div>one duplica=
te, associated with a client-driven retry, and permitting huge volumes of r=
eplays. They enable different kinds of attacks.=C2=A0</div><div><br></div><=
div>I keep forgetting about forward secrecy in all of this, but it&#39;s wo=
rth noting that your argument for globally resumable sessions also implies =
that we shouldn&#39;t really shoot for =C2=A0FS for some of the most critic=
al user data. I also find that bizarre. =C2=A0</div><div><br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div cla=
ss=3D"gmail_quote"><div><div>To clarify, I am not suggesting that two strea=
ms would help.=C2=A0 I completely</div><div>agree with you that two streams=
 is not going to mitigate the DKG attack or</div><div>others.=C2=A0 What I =
meant is that 0-RTT inherently has slightly different</div><div>properties =
from 1-RTT and must be used with that in mind.=C2=A0 Specifically, I</div><=
div>meant that it will not be enabled for applications by default, and HTTP=
 clients</div><div>would only allow it for methods that RFC 7231 defines as=
 safe.</div></div></div></div></div></blockquote><div><br></div><div>Well i=
n the real world, I think it&#39;ll be pervasive, and I even think it /shou=
ld/ be. We should make 0-RTT that safe and remove the sharp edges.=C2=A0</d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extr=
a"><div class=3D"gmail_quote"><span class=3D""><div><br></div></span><div><=
div>I do not believe that this to be the case.=C2=A0 The DKG attack is an a=
ttack that allows</div><div>for a replay.=C2=A0</div></div></div></div></di=
v></blockquote><div><br></div><div>It&#39;s not. It permits a retry. The di=
fference here is that the client is in full control. It can decide to delay=
, to change a unique request ID, or even not to retry at all. But the legit=
imate client generated the first attempt, it can be signaled that it wasn&#=
39;t accepted, and then it generates the second attempt. If it really reall=
y needs to it can even reason about the complicated semantics of the earlie=
r request being possibly re-submitted later by an attacker.=C2=A0</div><div=
><br></div><div>Replays are different though; the attacker just literally c=
opies the data and can resend and resend as desired. As I&#39;ve shown; thi=
s breaks real-world things like authenticated throttling systems, and leads=
 to side-channel and cache analysis; where only very rarely is one attempt =
sufficient to exploit.=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quot=
e"><div><div> There is an enormous difference between a protocol that does =
not</div><div>allow replays and the protocol that allows one.=C2=A0 For man=
y applications, it only</div><div>takes one replay for things to go terribl=
y wrong.</div></div><span class=3D""><div>=C2=A0</div><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><d=
iv class=3D"gmail_quote"><div>The only place that the DKG attack can be mit=
igated is at application layer.</div></div></div></div></blockquote><div><b=
r></div></span><div>Indeed.</div><span class=3D""><div>=C2=A0</div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gm=
ail_extra"><div class=3D"gmail_quote"><div>The TLS APIs and different strea=
ms are pointless here.</div></div></div></div></blockquote><div><br></div><=
/span><div><div>I agree that different streams are pointless.=C2=A0 The onl=
y ways APIs can help is</div><div>to not send replay-sensitive requests via=
 0-RTT, and to not accept those</div><div>requests until peer liveness is c=
onfirmed.</div></div></div></div></div></blockquote><div><br></div><div>Thi=
s puts a massive smile on my face :)</div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><d=
iv dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div><=
div><br></div><div><div>Indeed, but I am not suggesting we ignore those att=
acks.=C2=A0 The way I see this is</div><div>that, originally when we did 0-=
RTT in QUIC, we had strike registers which are</div><div>approximately what=
 you are advocating.=C2=A0</div></div></div></div></div></div></blockquote>=
<div><br></div><div>Well I&#39;d really advocate for single-use caches, bec=
ause I think Forward Secrecy is important :)=C2=A0</div><div>=C2=A0</div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><d=
iv class=3D"gmail_quote"><div><div><div> We thought this provided property =
B</div><div>(at-most-once semantics for 0-RTT), but at the IETF, people dis=
covered the DKG</div><div>attack.=C2=A0 Strike registers do not provide B a=
nd in fact B is impossible to</div><div>provide at the TLS layer.=C2=A0 Thu=
s TLS 1.3 went towards A (no replay protection at</div><div>all for 0-RTT),=
 as it&#39;s simpler and we didn&#39;t have B anyway.</div></div></div></di=
v></div></div></blockquote><div><br></div><div>I think in retrospect this w=
as rash :(=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div =
dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div><div=
><div>But, as you describe, this enables some interesting side channels. No=
w, these</div><div>side channels exist even without 0-RTT.=C2=A0 Attackers =
already can measure response</div><div>times, probe and groom caches, direc=
t traffic, etc. =C2=A0*But*, with unlimited</div><div>0-RTT replay, the att=
acker can repeat the experiment unboundedly and amplify</div><div>the side =
channel.</div></div></div></div></div></div></blockquote><div><br></div><di=
v>Exactly :) but also ... what about the attack on the throttling infrastru=
cture? or other resource exhaustion? 0-RTT replay seems like a really big p=
roblem here and it seems like the most realistic kind of attack too; booter=
s and trouble-makers trying to lock each other out of systems.=C2=A0</div><=
div><br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr=
"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div><div><div>Thus=
, A is problematic.=C2=A0 I think we both believe this and both agree then =
that</div><div>the current text is unsatisfactory.=C2=A0 So the question is=
 what to replace it</div><div>with.=C2=A0 Whatever we provide, it should be=
 a clear security guarantee between the</div><div>application and TLS (depe=
nding on what guarantee we chose, some of your other</div><div>attacks may =
or may not just be invalid uses of TLS).=C2=A0 B is obviously</div><div>pre=
ferable, but as it is impossible per DKG, I think we should set the contrac=
t</div><div>at C (bounded replay protection).=C2=A0 This is a guarantee tha=
t is not</div><div>fundamentally impossible and also successfully mitigates=
 your side channel</div><div>amplification attacks.</div></div></div></div>=
</div></div></blockquote><div><br></div><div>I&#39;m all for bounded replay=
 protection, with the bounds being 1 ;-)=C2=A0</div></div><div><br></div>--=
 <br><div class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Colm=
</div>
</div></div>

--94eb2c0b68aa88cf280550d817f4--


From nobody Wed May 31 15:42:12 2017
Return-Path: <waywardgeek@google.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F2B191267BB for <tls@ietfa.amsl.com>; Wed, 31 May 2017 15:42:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 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_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] 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 2JZ6MJ9L5EDR for <tls@ietfa.amsl.com>; Wed, 31 May 2017 15:42:09 -0700 (PDT)
Received: from mail-yb0-x232.google.com (mail-yb0-x232.google.com [IPv6:2607:f8b0:4002:c09::232]) (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 407DA124D37 for <tls@ietf.org>; Wed, 31 May 2017 15:42:09 -0700 (PDT)
Received: by mail-yb0-x232.google.com with SMTP id r66so7110184yba.2 for <tls@ietf.org>; Wed, 31 May 2017 15:42:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=nEnVuXUsdQUYFQGX2TReZfJavpgtd/9TxPkn7lV2pbc=; b=iTlR95bZuP89h8dyxri9Iw6IhWJdoNtceBgmVM/QsueImhkhU/a4ks4/IQZUFo5IhQ wdA9m0DpY6YUSltY3OFm/pYwaoRL3mUd+JPmthJANyxYmBpo3Pf9UI0YZxzXnKCbqIwJ IiRnoZ3FK5cbO4Y2raQrGkwhYqFoiAnn957g1NYL9jMGhMHu4z8f6z8G2yCs1hAb0L22 YkANNibYZvBfYd8uznz2bOuHiJj4AfnisgW0MgWNUxUGmox4oa5fEaPnygUFz7QdZLIu fi/7/I96qlfcuTkF/CljW7OhryabwiCeQ3pjJb8Csgu9dSmbemCs94gE/NcT61WFSKZn wOVQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=nEnVuXUsdQUYFQGX2TReZfJavpgtd/9TxPkn7lV2pbc=; b=GTQ12tEkUIzg/LKZ5v5B6ECDV+DF4ouaQ95VLyvu5vOC2MBPzfsxWA6Ok4c1JpW5lF AIEZAJ/Riw7qXzzFhwRUhie5vtJnbHDBj5m1+lQ6zG3MuXyUGxNIPpAuRxhMisCSK91A sot24etJ66hROJjG7PvfRN1Obs6Ba9wcU/crX/nEvIxnF9EbbvL2x4Ar/Fr6WhpNmkM1 qcPCOfzEBq+6VfBe8jG/fpeK7Hi1l2C9sDkf58QZfiKUt4eX+EZi9k4M7FCGP5Y3h4qm IiWKyZ/0M+gkvQgdkN9LPQzkcpShjRuyH7bw3EcQymyh86swn3fAQWC/XSpzQpmgVIiM 84Qg==
X-Gm-Message-State: AODbwcDOpOxbvWqRhemp75qcauuoglckkiRTSeYUdUfiRFHLfjayzDrY X4uACkaRjUKr31VQjt2SdOTnpn1PfGbA
X-Received: by 10.37.174.24 with SMTP id a24mr569606ybj.17.1496270528163; Wed, 31 May 2017 15:42:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.13.222.67 with HTTP; Wed, 31 May 2017 15:42:07 -0700 (PDT)
In-Reply-To: <CAAF6GDesLzMDN_LVYr6sFU8Z04jpXhFZphOAet-0JPsFF56Oig@mail.gmail.com>
References: <CAAF6GDcKZj9F-eKAeVj0Uw4aX_EgQ4DuJczL4=fsaFyG9Yjcgw@mail.gmail.com> <CAAZdMacpJ-qoQt2pDBjTq6ADwmRKOHXTHDyDTzb+g2gYPvtZzQ@mail.gmail.com> <CAAF6GDdobkQh9_iqX1oU_BO9O2aK2_7Cbaper0AY4qEGYXAcvA@mail.gmail.com> <CAAZdMaeTdcgdCj26kVuq6-0EX1nmehvJJCq+YzB-4r84aRjhuA@mail.gmail.com> <CAAF6GDesLzMDN_LVYr6sFU8Z04jpXhFZphOAet-0JPsFF56Oig@mail.gmail.com>
From: Bill Cox <waywardgeek@google.com>
Date: Wed, 31 May 2017 15:42:07 -0700
Message-ID: <CAH9QtQFmedvZQPuHgRsU-jqA84mde8NWA_unFyOAB2oNJrjNdA@mail.gmail.com>
To: =?UTF-8?Q?Colm_MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: Victor Vasiliev <vasilvv@google.com>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="f403045da35852413f0550d9a14c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/p1Z9UUaQ0iMmXRjD7vCatxw6cPo>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2017 22:42:11 -0000

--f403045da35852413f0550d9a14c
Content-Type: text/plain; charset="UTF-8"

I've looked at this issue from how this interacts with token binding.  The
layer above TLS (not quite what I would call the application layer) has to
know about the failed 0-RTT attempt so that it can update the token binding
headers in the HTTP request for the 1-RTT retry.  In particular, I want to
emulate a real proof-of-possession, which implies two things: uniqueness
and freshness of the signature.  With a single use cache, we can actually
ensure that the signature is unique, even with the DKG attack: the first
0-RTT flight and the second 1-RTT flight must contain unique TB signatures
in the TB headers.  The TB signature is non-replayable against servers
using 1-use caches.  We unfortunately still lack freshness, but I compare
this to the case of a session that never closed over the same period of
time.  Only one signature is required for this connection, which means the
signature is as stale as the connection.  I find it hard to justify the
need fore more freshness given this trade-off has already been made for
TB.  Uniqueness, however, is something that would be difficult to give up,
if we are to have TB at all for 0-RTT.

Traditional session caches are cheaper to build and maintain than strike
registers by a factor of several, for various reasons.  I feel strongly
that the default behavior of popular HTTP servers, when 0-RTT is enabled,
should be to enforce replay protection with a 1-use cache.  I would prefer
that the RFC wording be chosen to support this outcome.

Finally, it doesn't really make much difference whether we say that clients
SHOULD or MUST use replay mitigation with 0-RTT.  Corporations often choose
to ignore MUST and treat it like SHOULD.  The EMS RFC is a great example.
If we took MUST seriously, the EMS spec would break the web.  No one,
SFAIK, implemented all of EMS's MUST clauses.  The Code is more what you
call guidelines, than actual rules.

Bill

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

<div dir=3D"ltr"><div class=3D"gmail_extra">I&#39;ve looked at this issue f=
rom how this interacts with token binding.=C2=A0 The layer above TLS (not q=
uite what I would call the application layer) has to know about the failed =
0-RTT attempt so that it can update the token binding headers in the HTTP r=
equest for the 1-RTT retry.=C2=A0 In particular, I want to emulate a real p=
roof-of-possession, which implies two things: uniqueness and freshness of t=
he signature.=C2=A0 With a single use cache, we can actually ensure that th=
e signature is unique, even with the DKG attack: the first 0-RTT flight and=
 the second 1-RTT flight must contain unique TB signatures in the TB header=
s.=C2=A0 The TB signature is non-replayable against servers using 1-use cac=
hes.=C2=A0 We unfortunately still lack freshness, but I compare this to the=
 case of a session that never closed over the same period of time.=C2=A0 On=
ly one signature is required for this connection, which means the signature=
 is as stale as the connection.=C2=A0 I find it hard to justify the need fo=
re more freshness given this trade-off has already been made for TB.=C2=A0 =
Uniqueness, however, is something that would be difficult to give up, if we=
 are to have TB at all for 0-RTT.</div><div class=3D"gmail_extra"><br></div=
><div class=3D"gmail_extra">Traditional session caches are cheaper to build=
 and maintain than strike registers by a factor of several, for various rea=
sons.=C2=A0 I feel strongly that the default behavior of popular HTTP serve=
rs, when 0-RTT is enabled, should be to enforce replay protection with a 1-=
use cache.=C2=A0=C2=A0I would prefer that the RFC wording be chosen to supp=
ort this outcome.</div><div class=3D"gmail_extra"><br></div><div class=3D"g=
mail_extra">Finally, it doesn&#39;t really make much difference whether we =
say that clients SHOULD or MUST use replay mitigation with 0-RTT.=C2=A0 Cor=
porations often choose to ignore MUST and treat it like SHOULD.=C2=A0 The E=
MS RFC is a great example.=C2=A0 If we took MUST seriously, the EMS spec wo=
uld break the web.=C2=A0 No one, SFAIK, implemented all of EMS&#39;s MUST c=
lauses.=C2=A0 The Code is more what you call guidelines, than actual rules.=
</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Bill<=
br></div></div>

--f403045da35852413f0550d9a14c--


From nobody Wed May 31 19:41:19 2017
Return-Path: <watsonbladd@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E994C129C30; Wed, 31 May 2017 19:41:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 7gnVGAlsOVxA; Wed, 31 May 2017 19:41:16 -0700 (PDT)
Received: from mail-pf0-x22d.google.com (mail-pf0-x22d.google.com [IPv6:2607:f8b0:400e:c00::22d]) (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 34F3C129B5C; Wed, 31 May 2017 19:41:16 -0700 (PDT)
Received: by mail-pf0-x22d.google.com with SMTP id 9so24085387pfj.1; Wed, 31 May 2017 19:41:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KudiHAByJ9u9S8dut0xPUNX/0NiNmk4Yfr+VLzj8Ytc=; b=edS8Ufv5+As2VaWzcc6F18NIA0mmdX5YCm2ECCgKPn8gqXjhwfEK7i3MMiFXOGaOLH AqhqweqWkSrP9SaYEPgWr5PpgKYJpDCTLCGvKouUiw4hMj/qYIkag7EGXJA9FUS2P6XY 6TNKF7GFyZUj6OqTkKgYxjuNGLVt1FYRYOGpqMMLzE1LM2F9hSR4AM7IK8K9ZLzawHsw ctXe6RgeO11bPQLk10P2+ZAfxoDXsgPtIGCGbubWCPMxRwmwGHfaG+Hovy8Si1uP7kpr IjBCSaP+Wfh028J4K1noF6BI4vm74yb/gtzkW4+QLHnug23k7gqm4qQnwoQbenBS3ErO 4lQQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KudiHAByJ9u9S8dut0xPUNX/0NiNmk4Yfr+VLzj8Ytc=; b=N+Vlgye+WJ5Dya08jCKmlt586tz6ishNW/OnL92ewwFBO0jFAS2BdMDelmY8O96TqJ h0MJKC//dEqSiOLbrIdPlhDawA+tXoC3IPqUNy1UtumvdCVmQiXPvBHc6xhHjL4PikZQ JsZVJvBDesfNiX8UsEAE+oamGtNiVcN76zyg0XhUyUy4uP6OldHOwJddl2ugW5DVzbdI pQPvT+tYZJiJBwcvBYFAAOL5+5UsO89YW/MpxkNrJx1B4cPKMMv1d3myn4zlv1nGWKWT +XAUUMu5haU84rWbemDJDslwzq2GA+dnEnaQKaK21m0jKr/YY4ssQEegGCbx/pdZMLUc bSNA==
X-Gm-Message-State: AODbwcC40T/ktABiKlsTNDpEFd1Vm41PaHA8eiQYpywLmm0e0wPUkBJ2 C32Er9pek4FV1krE57FeG3Ef/LoG8A==
X-Received: by 10.84.224.1 with SMTP id r1mr92113460plj.78.1496284875702; Wed, 31 May 2017 19:41:15 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.207.228 with HTTP; Wed, 31 May 2017 19:41:15 -0700 (PDT)
In-Reply-To: <20170530200351.05F051A6AF@ld9781.wdf.sap.corp>
References: <CABcZeBOrP7RHuk9Kc-306tKh8eg71OYpLdvq8RzDXChFuwWt9g@mail.gmail.com> <20170530200351.05F051A6AF@ld9781.wdf.sap.corp>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Wed, 31 May 2017 19:41:15 -0700
Message-ID: <CACsn0cnToT46_TDAf_SdJGoBWX9JuVJHAL1CjeKTHhobOs6oYA@mail.gmail.com>
To: "mrex@sap.com" <mrex@sap.com>
Cc: Eric Rescorla <ekr@rtfm.com>, tls-chairs <tls-chairs@ietf.org>, The IESG <iesg@ietf.org>,  draft-ietf-tls-ecdhe-psk-aead@ietf.org, "tls@ietf.org" <tls@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/BnOgzAkeZeX11lKsDK0Gc_0vE8c>
Subject: Re: [TLS] Eric Rescorla's Discuss on draft-ietf-tls-ecdhe-psk-aead-04: (with DISCUSS and COMMENT)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Jun 2017 02:41:18 -0000

On Tue, May 30, 2017 at 1:03 PM, Martin Rex <mrex@sap.com> wrote:
> Eric Rescorla wrote:
>> On Tue, May 23, 2017 at 9:34 PM, Martin Rex <mrex@sap.com> wrote:
>>>
>>> This change _still_ prohibits the server from negotiating these algorithms
>>> with TLSv1.1 and below.
>>>
>>> Could you elaborate a little on where and why you see a problem with this?
>>>
>>
>> For starters, TLS 1.3 has already designed a completely independent
>> mechanism for doing version negotiation outside of ClientHello.version,
>> so doing another seems pretty odd. In any case, it's not something you
>> do between IETF-LC and IESG approval.
>
> The suggestion to accept a recognized TLSv1.2 cipher suite code point
> as an alternative indicator for the highest client-supported protocol
> version is not really a "mechanism".  It's efficient (with 0-bytes on
> the wire), intuitive and extremely backwards-compatible (will not upset
> old servers, neither version-intolerant as the Win2008/2012 servers,
> nor extension-intolerant servers.

It's a substantial change made after WG last call. That alone makes it
improper. If you want to get WG consensus for such a change, go ahead.
But don't try making this in the dead of night.

>
>
>>
>>> As this changes tries to explain, had such a text been used for all
>>> TLSv1.2 AEAD cipher suite code points, then browsers would have never
>>> needed any "downgrade dance" fallbacks, POODLE would have never
>>> existed as a browser problem, and the TLS_FALLBACK_SCSV band-aid
>>> would not been needed, either.
>>
>> I'm not sure this is true, because there were also servers which did
>> not understand extensions.
>
>
> It's worse -- there are still TLS servers out there which choke on
> TLS extensions (and TLS server which choke on extension ordering).

TLS 1.2 demands extensions work. Sending a TLS 1.2 hello without
extensions is going to make it impossible to implement many features
TLS 1.2 security relies on.

>
> Sending TLS extensions is therefore a negotiation scheme that we
> can not ship as patch into the installed base, because we *KNOW*
> that it will break a few existing usage scenarios.  Stuff that needs
> TLS extensions is therefore an opt-in only scheme -- and even when
> making it opt-in, we may have to additonally provide a TLS extension
> exclusion list of hostnames.
>
> It seems that there are others facing the same issue:
>
> https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1.1-and-tls-1.2-as-a-default-secure-protocols-in-winhttp-in-windows
>
> and defer enabling to explicit customer opt-in.
>
>
> Really, a very compatible and extremely robust and useful approach would
> be to allow implied client protocol version indication through presence of
> TLSv1.2-only cipher suite codepoints and this would allow large parts
> of the installed base to quickly start using TLSv1.2--without breaking
> existing usage scenarios and without the hazzle for users having to opt-in
> and test stuff.

The people who have these problems are not "large parts" of the
install base. They are large parts of *your* install base. Don't
confuse these two.

>
>
> -Martin
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls



-- 
"Man is born free, but everywhere he is in chains".
--Rousseau.


From nobody Wed May 31 23:20:54 2017
Return-Path: <raja.ashok@huawei.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 960E412EB29 for <tls@ietfa.amsl.com>; Wed, 31 May 2017 23:20:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level: 
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham 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 8nG5XZniCNfI for <tls@ietfa.amsl.com>; Wed, 31 May 2017 23:20:49 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 95A2512EB26 for <tls@ietf.org>; Wed, 31 May 2017 23:20:48 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml709-cah.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DHR65837; Thu, 01 Jun 2017 06:20:45 +0000 (GMT)
Received: from BLREML406-HUB.china.huawei.com (10.20.4.43) by lhreml709-cah.china.huawei.com (10.201.108.32) with Microsoft SMTP Server (TLS) id 14.3.301.0; Thu, 1 Jun 2017 07:20:44 +0100
Received: from BLREML509-MBS.china.huawei.com ([169.254.8.188]) by BLREML406-HUB.china.huawei.com ([10.20.4.43]) with mapi id 14.03.0301.000; Thu, 1 Jun 2017 11:50:32 +0530
From: Raja ashok <raja.ashok@huawei.com>
To: Simon Bernard <contact@simonbernard.eu>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: RE: [TLS] Stopping retransmission DTLS 1.2
Thread-Index: AdLanyo8SF5mZcwtRIGyFlRHWH2H7g==
Date: Thu, 1 Jun 2017 06:20:31 +0000
Message-ID: <FDFEA8C9B9B6BD4685DCC959079C81F5E1952F79@BLREML509-MBS.china.huawei.com>
Accept-Language: en-US, zh-CN
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.18.213.121]
Content-Type: multipart/related; boundary="_004_FDFEA8C9B9B6BD4685DCC959079C81F5E1952F79BLREML509MBSchi_"; type="multipart/alternative"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020203.592FB23E.0120, ss=1, re=0.000, recu=0.000, reip=0.000,  cl=1, cld=1, fgs=0, ip=169.254.8.188, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: 12cfde9614d61c96b6fe2dad56998eeb
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/oMQTOOHdujD03XDix9r4nTp59PM>
Subject: Re: [TLS] Stopping retransmission DTLS 1.2
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Jun 2017 06:20:52 -0000

--_004_FDFEA8C9B9B6BD4685DCC959079C81F5E1952F79BLREML509MBSchi_
Content-Type: multipart/alternative;
	boundary="_000_FDFEA8C9B9B6BD4685DCC959079C81F5E1952F79BLREML509MBSchi_"

--_000_FDFEA8C9B9B6BD4685DCC959079C81F5E1952F79BLREML509MBSchi_
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64

SGkgU2ltb24sDQoNCg0KDQpJbiBjYXNlIG9mIHBhcnRpYWwgcmVhZCwgYWZ0ZXIgcmV0cmFuc21p
dCB0aW1lb3V0IGlmIGEgRFRMUyByZWNlaXZlciBkb2VzbqGvdCByZXRyYW5zbWl0cyB0aGVuIHBl
ZXIgd2lsbCByZXRyYW5zbWl0IGl0cyBmbGlnaHQgYWdhaW4gb25seSBpZiBpdCBpcyBub3QgdGhl
IGZpbmFsIGZsaWdodC4NCg0KDQoNCkNvbnNpZGVyIGEgcmVjZWl2ZXIgaXMgRFRMUyBjbGllbnQs
IGFuZCBwZWVyIChzZXJ2ZXIpIGlzIHNlbmRpbmcgaXRzIGZpbmFsIGZsaWdodCAoQ0NTIGFuZCBG
TSkuIElmIGFueSBvbmUgb2YgdGhlIG1lc3NhZ2UgaXMgbm90IHJlY2VpdmVkLCB0aGVuIGNsaWVu
dCBoYXMgdG8gcmV0cmFuc21pdCBpdHMgcHJldmlvdXMgZmxpZ2h0IChDS0UsIENDUyBhbmQgRk0p
IG90aGVyd2lzZSBzZXJ2ZXIgd29udCByZXRyYW5zbWl0IGl0cyBtZXNzYWdlLg0KDQoNCg0KUmVn
YXJkcywNCg0KQXNob2sNCg0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f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8gbm90IGNh
dXNlIHN0YXRlIHRpbWVyIHJlc2V0cyIuDQoNCg0KDQogICAgSSBtZWFuIGlmIHdlIHJlY2VpdmUg
dGhlIGZpcnN0ICJoYW5kc2hha2UgbWVzc2FnZSIgb2YgdGhlIGV4cGVjdGVkICJmbGlnaHQiLiB3
ZSBjYW4gYXNzdW1lIHRoYXQgdGhlIGZvcmVpZ24gcGVlciByZWNlaXZlZCBvdXIgcHJldmlvdXMg
ZmxpZ2h0IGFuZCBzbyB3ZSBjYW4gc3RvcCByZXRyYW5zbWlzc2lvbnMgb2YgdGhpcyBmbGlnaHQu
DQoNCiAgICBJZiB0aGUgbmV4dCBtZXNzYWdlIGlzIGxvc3QsIHdlIHdpbGwgbmV2ZXIgcmVzcG9u
ZCBhbmQgc28gdGhlIGZvcmVpZ24gcGVlciBzaG91bGQgcmV0cmFuc21pdCB0aGUgd2hvbGUgZmxp
Z2h0LiBXZSBkb24ndCBuZWVkIHRvIHJldHJhbnNtaXQgb24gb3VyIHNpZGUsIHNvIHRpbWVyIHNo
b3VsZCBiZSByZXNldCA/DQoNCg0KDQogICAgRGlkIEkgbWlzc2VkIHNvbWV0aGluZyA/DQoNCg0K
DQpUaHguDQoNCg0KDQpTaW1vbg0KDQoNCg0KWzFdaHR0cHM6Ly90b29scy5pZXRmLm9yZy9odG1s
L3JmYzYzNDcjc2VjdGlvbi00LjIuNA0KDQoNCg0KX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX18NCg0KVExTIG1haWxpbmcgbGlzdA0KDQpUTFNAaWV0Zi5vcmc8
bWFpbHRvOlRMU0BpZXRmLm9yZz4NCg0KaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0
aW5mby90bHMNCg0K

--_000_FDFEA8C9B9B6BD4685DCC959079C81F5E1952F79BLREML509MBSchi_
Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dgb2312">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:=CB=CE=CC=E5;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
	{font-family:"\@=CB=CE=CC=E5";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:=BB=AA=CE=C4=CF=B8=BA=DA;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.5pt;
	font-family:Consolas;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:Consolas;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoPlainText">Hi Simon,<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">In case of partial read, after retransmit timeout=
 if a DTLS receiver doesn=A1=AFt retransmits then peer will retransmit its =
flight again only if it is not the final flight.
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Consider a receiver is DTLS client, and peer (ser=
ver) is sending its final flight (CCS and FM). If any one of the message is=
 not received, then client has to retransmit its previous flight (CKE, CCS =
and FM) otherwise server wont retransmit
 its message.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Regards,<o:p></o:p></p>
<p class=3D"MsoPlainText">Ashok<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div class=3D"MsoNormal" align=3D"center" style=3D"text-align:center">
<hr size=3D"2" width=3D"100%" align=3D"center">
</div>
<p class=3D"MsoNormal"><!--[if gte vml 1]><v:shapetype id=3D"_x0000_t75" co=
ordsize=3D"21600,21600" o:spt=3D"75" o:preferrelative=3D"t" path=3D"m@4@5l@=
4@11@9@11@9@5xe" filled=3D"f" stroked=3D"f">
<v:stroke joinstyle=3D"miter" />
<v:formulas>
<v:f eqn=3D"if lineDrawn pixelLineWidth 0" />
<v:f eqn=3D"sum @0 1 0" />
<v:f eqn=3D"sum 0 0 @1" />
<v:f eqn=3D"prod @2 1 2" />
<v:f eqn=3D"prod @3 21600 pixelWidth" />
<v:f eqn=3D"prod @3 21600 pixelHeight" />
<v:f eqn=3D"sum @0 0 1" />
<v:f eqn=3D"prod @6 1 2" />
<v:f eqn=3D"prod @7 21600 pixelWidth" />
<v:f eqn=3D"sum @8 21600 0" />
<v:f eqn=3D"prod @7 21600 pixelHeight" />
<v:f eqn=3D"sum @10 21600 0" />
</v:formulas>
<v:path o:extrusionok=3D"f" gradientshapeok=3D"t" o:connecttype=3D"rect" />
<o:lock v:ext=3D"edit" aspectratio=3D"t" />
</v:shapetype><v:shape id=3D"ridImg" o:spid=3D"_x0000_s1026" type=3D"#_x000=
0_t75" alt=3D"Company_logo" style=3D'position:absolute;margin-left:0;margin=
-top:0;width:76.5pt;height:24pt;z-index:1;visibility:visible;mso-wrap-style=
:square;mso-wrap-distance-left:0;mso-wrap-distance-top:0;mso-wrap-distance-=
right:0;mso-wrap-distance-bottom:0;mso-position-horizontal:left;mso-positio=
n-horizontal-relative:text;mso-position-vertical:absolute;mso-position-vert=
ical-relative:line' o:allowoverlap=3D"f">
<v:imagedata src=3D"cid:image001.jpg@01D2DACD.43F164D0" o:href=3D"file:///C=
:\Users\r00902736\Application%20Data\Microsoft\Signatures\company_logo.jpg"=
 />
<w:wrap type=3D"square" anchory=3D"line"/>
</v:shape><![endif]--><![if !vml]><img width=3D"102" height=3D"32" src=3D"c=
id:image001.jpg@01D2DACD.43F164D0" align=3D"left" alt=3D"Company_logo" v:sh=
apes=3D"ridImg"><![endif]><br>
<br>
<span style=3D"color:#595959">Raja Ashok V K</span><span style=3D"font-size=
:10.0pt;color:#595959"><br>
</span><span style=3D"color:#595959">Huawei Technologies<br>
Bangalore, India<br>
http://www.huawei.com <o:p></o:p></span></p>
<div class=3D"MsoNormal" align=3D"center" style=3D"text-align:center"><span=
 style=3D"font-size:12.0pt;font-family:=CB=CE=CC=E5">
<hr size=3D"2" width=3D"100%" align=3D"center">
</span></div>
<p class=3D"MsoNormal"><span lang=3D"ZH-CN" style=3D"font-size:7.5pt;font-f=
amily:=CB=CE=CC=E5;color:gray">=B1=BE=D3=CA=BC=FE=BC=B0=C6=E4=B8=BD=BC=FE=
=BA=AC=D3=D0=BB=AA=CE=AA=B9=AB=CB=BE=B5=C4=B1=A3=C3=DC=D0=C5=CF=A2=A3=AC=BD=
=F6=CF=DE=D3=DA=B7=A2=CB=CD=B8=F8=C9=CF=C3=E6=B5=D8=D6=B7=D6=D0=C1=D0=B3=F6=
=B5=C4=B8=F6=C8=CB=BB=F2=C8=BA=D7=E9=A1=A3=BD=FB</span><span style=3D"font-=
size:7.5pt;font-family:=BB=AA=CE=C4=CF=B8=BA=DA;color:gray"><br>
</span><span lang=3D"ZH-CN" style=3D"font-size:7.5pt;font-family:=CB=CE=CC=
=E5;color:gray">=D6=B9=C8=CE=BA=CE=C6=E4=CB=FB=C8=CB=D2=D4=C8=CE=BA=CE=D0=
=CE=CA=BD=CA=B9=D3=C3=A3=A8=B0=FC=C0=A8=B5=AB=B2=BB=CF=DE=D3=DA=C8=AB=B2=BF=
=BB=F2=B2=BF=B7=D6=B5=D8=D0=B9=C2=B6=A1=A2=B8=B4=D6=C6=A1=A2=BB=F2=C9=A2=B7=
=A2=A3=A9=B1=BE=D3=CA=BC=FE=D6=D0</span><span style=3D"font-size:7.5pt;font=
-family:=BB=AA=CE=C4=CF=B8=BA=DA;color:gray"><br>
</span><span lang=3D"ZH-CN" style=3D"font-size:7.5pt;font-family:=CB=CE=CC=
=E5;color:gray">=B5=C4=D0=C5=CF=A2=A1=A3=C8=E7=B9=FB=C4=FA=B4=ED=CA=D5=C1=
=CB=B1=BE=D3=CA=BC=FE=A3=AC=C7=EB=C4=FA=C1=A2=BC=B4=B5=E7=BB=B0=BB=F2=D3=CA=
=BC=FE=CD=A8=D6=AA=B7=A2=BC=FE=C8=CB=B2=A2=C9=BE=B3=FD=B1=BE=D3=CA=BC=FE=A3=
=A1</span><span style=3D"font-size:7.5pt;font-family:=BB=AA=CE=C4=CF=B8=BA=
=DA;color:gray"><br>
</span><span style=3D"font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;;color:gray">This e-mail and its attachments contain confide=
ntial information from HUAWEI, which
<br>
is intended only for the person or entity whose address is listed above. An=
y use of the
<br>
information contained herein in any way (including, but not limited to, tot=
al or partial
<br>
disclosure, reproduction, or dissemination) by persons other than the inten=
ded <br>
recipient(s) is prohibited. If you receive this e-mail in error, please not=
ify the sender by
<br>
phone or email immediately and delete it!</span><span style=3D"color:black"=
><o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">-----Original Message-----<br>
From: TLS [mailto:tls-bounces@ietf.org] On Behalf Of Simon Bernard<br>
Sent: 31 May 2017 22:06<br>
To: tls@ietf.org<br>
Subject: [TLS] Stopping retransmission DTLS 1.2<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Hi,<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp; The RFC6347, 4.2.4 [1] say :<o=
:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&quot;3. The implementation receives the next flight of messages: if this<o=
:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
is the final flight of messages, the implementation transitions to<o:p></o:=
p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
FINISHED. If the implementation needs to send a new flight, it<o:p></o:p></=
p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
transitions to the PREPARING state. Partial reads (whether<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
partial messages or only some of the messages in the flight) do<o:p></o:p><=
/p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
not cause state transitions or timer resets.&quot;<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp; I would like to know why &quot=
;partial reads do not cause state timer resets&quot;.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp; I mean if we receive the first=
 &quot;handshake message&quot; of the expected &quot;flight&quot;. we can a=
ssume that the foreign peer received our previous flight and so we can stop=
 retransmissions of this flight.<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp; If the next message is lost, w=
e will never respond and so the foreign peer should retransmit the whole fl=
ight. We don't need to retransmit on our side, so timer should be reset ?<o=
:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp; Did I missed something ?<o:p><=
/o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Thx.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Simon<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">[1]<a href=3D"https://tools.ietf.org/html/rfc6347=
#section-4.2.4"><span style=3D"color:windowtext;text-decoration:none">https=
://tools.ietf.org/html/rfc6347#section-4.2.4</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">_______________________________________________<o=
:p></o:p></p>
<p class=3D"MsoPlainText">TLS mailing list<o:p></o:p></p>
<p class=3D"MsoPlainText"><a href=3D"mailto:TLS@ietf.org"><span style=3D"co=
lor:windowtext;text-decoration:none">TLS@ietf.org</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText"><a href=3D"https://www.ietf.org/mailman/listinfo/=
tls"><span style=3D"color:windowtext;text-decoration:none">https://www.ietf=
.org/mailman/listinfo/tls</span></a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_FDFEA8C9B9B6BD4685DCC959079C81F5E1952F79BLREML509MBSchi_--

--_004_FDFEA8C9B9B6BD4685DCC959079C81F5E1952F79BLREML509MBSchi_
Content-Type: image/jpeg; name="image001.jpg"
Content-Description: image001.jpg
Content-Disposition: inline; filename="image001.jpg"; size=6737;
	creation-date="Thu, 01 Jun 2017 06:20:31 GMT";
	modification-date="Thu, 01 Jun 2017 06:20:31 GMT"
Content-ID: <image001.jpg@01D2DACD.43F164D0>
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQEAYABgAAD/7QxmUGhvdG9zaG9wIDMuMAA4QklNBCUAAAAAABAAAAAAAAAA
AAAAAAAAAAAAOEJJTQPtAAAAAAAQAEgAAAABAAIASAAAAAEAAjhCSU0EJgAAAAAADgAAAAAAAAAA
AAA/gAAAOEJJTQQNAAAAAAAEAAAAHjhCSU0EGQAAAAAABAAAAB44QklNA/MAAAAAAAkAAAAAAAAA
AAEAOEJJTQQKAAAAAAABAAA4QklNJxAAAAAAAAoAAQAAAAAAAAACOEJJTQP1AAAAAABIAC9mZgAB
AGxmZgAGAAAAAAABAC9mZgABAKGZmgAGAAAAAAABADIAAAABAFoAAAAGAAAAAAABADUAAAABAC0A
AAAGAAAAAAABOEJJTQP4AAAAAABwAAD/////////////////////////////A+gAAAAA////////
/////////////////////wPoAAAAAP////////////////////////////8D6AAAAAD/////////
////////////////////A+gAADhCSU0EAAAAAAAAAgAAOEJJTQQCAAAAAAACAAA4QklNBDAAAAAA
AAEBADhCSU0ELQAAAAAABgABAAAABjhCSU0ECAAAAAAAEAAAAAEAAAJAAAACQAAAAAA4QklNBB4A
AAAAAAQAAAAAOEJJTQQaAAAAAAM9AAAABgAAAAAAAAAAAAAAIAAAAGYAAAAEAGwAbwBnAG8AAAAB
AAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAGYAAAAgAAAAAAAAAAAAAAAAAAAAAAEAAAAA
AAAAAAAAAAAAAAAAAAAAEAAAAAEAAAAAAABudWxsAAAAAgAAAAZib3VuZHNPYmpjAAAAAQAAAAAA
AFJjdDEAAAAEAAAAAFRvcCBsb25nAAAAAAAAAABMZWZ0bG9uZwAAAAAAAAAAQnRvbWxvbmcAAAAg
AAAAAFJnaHRsb25nAAAAZgAAAAZzbGljZXNWbExzAAAAAU9iamMAAAABAAAAAAAFc2xpY2UAAAAS
AAAAB3NsaWNlSURsb25nAAAAAAAAAAdncm91cElEbG9uZwAAAAAAAAAGb3JpZ2luZW51bQAAAAxF
U2xpY2VPcmlnaW4AAAANYXV0b0dlbmVyYXRlZAAAAABUeXBlZW51bQAAAApFU2xpY2VUeXBlAAAA
AEltZyAAAAAGYm91bmRzT2JqYwAAAAEAAAAAAABSY3QxAAAABAAAAABUb3AgbG9uZwAAAAAAAAAA
TGVmdGxvbmcAAAAAAAAAAEJ0b21sb25nAAAAIAAAAABSZ2h0bG9uZwAAAGYAAAADdXJsVEVYVAAA
AAEAAAAAAABudWxsVEVYVAAAAAEAAAAAAABNc2dlVEVYVAAAAAEAAAAAAAZhbHRUYWdURVhUAAAA
AQAAAAAADmNlbGxUZXh0SXNIVE1MYm9vbAEAAAAIY2VsbFRleHRURV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