Re: Secdir last call review of draft-ietf-httpbis-encryption-encoding-08

Martin Thomson <martin.thomson@gmail.com> Wed, 05 April 2017 22:36 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D98F5127978 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 5 Apr 2017 15:36:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.502
X-Spam-Level:
X-Spam-Status: No, score=-6.502 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable 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 JS_pbGJt3U9n for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 5 Apr 2017 15:36:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9B44E126FB3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 5 Apr 2017 15:36:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cvtUL-00030R-HO for ietf-http-wg-dist@listhub.w3.org; Wed, 05 Apr 2017 22:33:17 +0000
Resent-Date: Wed, 05 Apr 2017 22:33:17 +0000
Resent-Message-Id: <E1cvtUL-00030R-HO@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1cvtUI-0002ze-Hi for ietf-http-wg@listhub.w3.org; Wed, 05 Apr 2017 22:33:14 +0000
Received: from mail-qk0-f170.google.com ([209.85.220.170]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1cvtUC-0003v8-Kw for ietf-http-wg@w3.org; Wed, 05 Apr 2017 22:33:09 +0000
Received: by mail-qk0-f170.google.com with SMTP id d10so24057870qke.1 for <ietf-http-wg@w3.org>; Wed, 05 Apr 2017 15:32:48 -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=yI0jB5gy9FBC1BAchxJ6qSMnSsEivOs4HzlVE5pTWzE=; b=VnYUbdIc+IGxcNj5F+dfvAka1rmR+h/hrxZNc+PR3TLqylBrA0zWk7HSICaylycrF1 M8O0SEMBDFJN6AqVb92S8qIuRi3jCwmYkyQDkpMJqdkH3PGBDZ7rzKc06XDN3TjIu+UW o8wCpT95U/oVJRY3Bqn2v5pkA7PfgBJRZBCJ0wyh+YXXG8YcP0I7FaXlmnfO/NL9W/al Q5nkEWoGuSqYa485/ixyCpw+JlqdOS2sx/Sctva0dadgEhQDHgGzSDIUsxe+F72/Vbci IDIRgkFlNd4ZNxxVCeuxcHMIotPBzuCB4EK3OfRPAYIeMXS0No1IYOB22XnUqcL80Dfj JOog==
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=yI0jB5gy9FBC1BAchxJ6qSMnSsEivOs4HzlVE5pTWzE=; b=fMfiTCg2RAqbYWZaY7uDzaAhE3j5/Q0i4Jw9Oog42Op3cS7vgduQ1L1EM/Bhx3uesj zG05p6yFQeMHstIMRVt/laHOBHQCSgMbXiRskSocS2/M7TLhKBrKTlLxSVv2i0tDd20H Hi5JcAH8c7aYlzXAfAVoaqw8qFjCqHsFFDAMKA5qMvn6U93Pu1vpRGwIwKwJdCHf/ZX+ KSDHQzJgy1ethgA4IxUXNtRXRLAGUgbtJm1455VONMSJetlLrYiXNk0OsaKosY4UVSi3 IJn3JhqFGsy6ussLKRdOZOBSM4+bPapCPcwCg9pFzVKn63w1EeexuQ9/Sa9If1wnvpgq sX8Q==
X-Gm-Message-State: AFeK/H2qJRcZrQjLNW1Zs6Yu09FWWEu2rHhJFS6gs71fn1a+vn4kALiPKBNla54Onv4o8fX/vKXo1wMCE69Jkw==
X-Received: by 10.55.104.88 with SMTP id d85mr8066225qkc.202.1491431562562; Wed, 05 Apr 2017 15:32:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.27.194 with HTTP; Wed, 5 Apr 2017 15:32:42 -0700 (PDT)
In-Reply-To: <149142527327.21912.5654685591478038284@ietfa.amsl.com>
References: <149142527327.21912.5654685591478038284@ietfa.amsl.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 06 Apr 2017 08:32:42 +1000
Message-ID: <CABkgnnU7qXVeCDxoRbG8i6GbxJTA6gRpyHH0Yf+h0eRAJ+WLxw@mail.gmail.com>
To: Robert Sparks <rjsparks@nostrum.com>
Cc: "secdir@ietf.org" <secdir@ietf.org>, draft-ietf-httpbis-encryption-encoding.all@ietf.org, "ietf@ietf.org" <ietf@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.220.170; envelope-from=martin.thomson@gmail.com; helo=mail-qk0-f170.google.com
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: AWL=-0.212, 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1cvtUC-0003v8-Kw d3353793114d05cd220d4658aa9dd501
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Secdir last call review of draft-ietf-httpbis-encryption-encoding-08
Archived-At: <http://www.w3.org/mid/CABkgnnU7qXVeCDxoRbG8i6GbxJTA6gRpyHH0Yf+h0eRAJ+WLxw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33797
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>

On 6 April 2017 at 06:47, Robert Sparks <rjsparks@nostrum.com> wrote:
>
> My only concern is that the document suggests it would be ok to use a
> counter to provide a unique salt value
> for each message. I suspect that provides the kind of information leak
> the draft discusses avoiding.

Hi Robert, can you explain what sort of leakage you are concerned
about?  I mean, I can understand how you could construct the sequence
of resources that were encrypted using a counter for the salt, but I
don't know what that might imply.

That said, I think that the counter thing can be removed.  We require
128 bits of salt, which is a space that is large enough to select
randomly from in perpetuity.