Re: Discussion of 9.2.2

Greg Wilkins <gregw@intalio.com> Thu, 25 September 2014 16:55 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3A92D1A870D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Sep 2014 09:55:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.465
X-Spam-Level:
X-Spam-Status: No, score=-6.465 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_32=0.6, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.786, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GYhJM99lDalp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Sep 2014 09:55:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E412A1A8714 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Sep 2014 09:55:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XXCIO-0001OP-7r for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Sep 2014 16:53:32 +0000
Resent-Date: Thu, 25 Sep 2014 16:53:32 +0000
Resent-Message-Id: <E1XXCIO-0001OP-7r@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1XXCI1-0001Gi-Cq for ietf-http-wg@listhub.w3.org; Thu, 25 Sep 2014 16:53:09 +0000
Received: from mail-wi0-f171.google.com ([209.85.212.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1XXCHz-0000LS-R4 for ietf-http-wg@w3.org; Thu, 25 Sep 2014 16:53:09 +0000
Received: by mail-wi0-f171.google.com with SMTP id ho1so9344516wib.16 for <ietf-http-wg@w3.org>; Thu, 25 Sep 2014 09:52:40 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ndUuPfFhhwELc+eqi59s6xNXlhCZFC5733tVFVxdwSU=; b=SUYLFcoES+wGo4O/4eSK0QxbRWwBGaqnxnLZIjHzoSOhDPKHgZCPpHl/3uz+Hzm7sh PzL41Pad9G2dWdV/SEXneZ0HnY/ZKxJXwKt7Bgks8OZN32nWRbVN0HG64/Nfq5hsAU2e R4AYVcIF4QFssL6J1F5W6hyFurPlnY0zRfJhC42qUmJRxcEQfb/146ezgrz1ZntFf9IT uFDMBGteyCaT8gx3GerJchIYHDtVqB5Uz+rmHMvfqXIouiid77Upe2OUl+KVETPslKhq Q54dufJij1B7Z40sjHl9OF+Wo23sd9B6sjAEFxSS5B2JZFmEjG3Ym6YaIZkyvYe+0R8U lcsQ==
X-Gm-Message-State: ALoCoQnEeziHeqopWZHp/8xmmc+yNKS84N6meFmBGu1BKEW4pvmWA5UGsriCX6NAdoS3xeu5Kdtl
MIME-Version: 1.0
X-Received: by 10.194.23.8 with SMTP id i8mr17072769wjf.104.1411663960759; Thu, 25 Sep 2014 09:52:40 -0700 (PDT)
Received: by 10.194.169.98 with HTTP; Thu, 25 Sep 2014 09:52:40 -0700 (PDT)
In-Reply-To: <CABcZeBMOqi+5LFzf1MmQuuW+4O7Pmvky68riNqtJDcbzQnvQig@mail.gmail.com>
References: <F0D4BA2A-46B2-4F1A-8A23-1A319A3E5FC0@mnot.net> <CABkgnnV0HFeshNAe9CAzFDeED6Os_GmG6kxm827N18wduCkjiA@mail.gmail.com> <CAH_y2NFu=kyTVK_neACEVyWp9m4wfLOUu-=Dc9nZoMhP+fNSsg@mail.gmail.com> <CABcZeBMOqi+5LFzf1MmQuuW+4O7Pmvky68riNqtJDcbzQnvQig@mail.gmail.com>
Date: Fri, 26 Sep 2014 02:52:40 +1000
Message-ID: <CAH_y2NHCXamQrPQZyezkJ-NSZUPTdqjbyTDNufbJSiQ1q_QMjg@mail.gmail.com>
From: Greg Wilkins <gregw@intalio.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="047d7b87414eec7f1d0503e6a08b"
Received-SPF: permerror client-ip=209.85.212.171; envelope-from=gregw@intalio.com; helo=mail-wi0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.087, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1XXCHz-0000LS-R4 164743130748e6eb95ed42f2994f315b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Discussion of 9.2.2
Archived-At: <http://www.w3.org/mid/CAH_y2NHCXamQrPQZyezkJ-NSZUPTdqjbyTDNufbJSiQ1q_QMjg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/27236
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Eric,

Thanks for that clarification.  I think that explains much of the(my?)
confusion about 9.2.2.

I think this indicates that the wording of 9.2.2 is indeed causing
confusion and has actually created wrong implementations.   In FF the 9.2.2
test is currently implemented as:

   isAEAD()

when it should be:

   !isBlock() && !isStream()

The former is a interoperability problem for future acceptable non AEAD
ciphers, while the later is not.

cheers




On 26 September 2014 02:36, Eric Rescorla <ekr@rtfm.com> wrote:

>
>
> On Thu, Sep 25, 2014 at 9:10 AM, Greg Wilkins <gregw@intalio.com> wrote:
>
>> I am concerned that "No block/stream ciphers except AEAD" is a
>> sufficiently future proof specification.  Could there be block/stream
>> ciphers that use something other than AEAD to make them sufficiently strong
>> for h2?
>>
>
> For the record, I think it's important to be clear that this isn't quite
> accurate.
>
> TLS divides cipher suites into three categories:
>
> - block
> - stream
> - AEAD
>
> So, AEAD isn't an exception, it's a third category. One might imagine
> adding
> a fourth category, but that wouldn't fall afoul of 9.2.2 because 9.2.2
> prohibits
> block and stream, but doesn't say *only* AEAD.
>
> I realize that it's a bit confusing because AES-GCM is an AEAD primitive
> based on a block cipher (AES) [0], but in the TLS taxonomy, that makes it
> an AEAD cipher, not a block cipher.
>
> -Ekr
>
>


-- 
Greg Wilkins <gregw@intalio.com>
http://eclipse.org/jetty HTTP, SPDY, Websocket server and client that scales
http://www.webtide.com  advice and support for jetty and cometd.