Re: draft-ietf-httpbis-encryption-encoding-04, "4.1 Encryption of a Response"

Martin Thomson <martin.thomson@gmail.com> Wed, 02 November 2016 01:18 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 4B496129883 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 1 Nov 2016 18:18:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.998
X-Spam-Level:
X-Spam-Status: No, score=-7.998 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=-1.497, SPF_HELO_PASS=-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 i0Hq94a6YnyG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 1 Nov 2016 18:18:54 -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 F114D129478 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 1 Nov 2016 18:18:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1c1k8Q-0004iX-9I for ietf-http-wg-dist@listhub.w3.org; Wed, 02 Nov 2016 01:14:34 +0000
Resent-Date: Wed, 02 Nov 2016 01:14:34 +0000
Resent-Message-Id: <E1c1k8Q-0004iX-9I@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1c1k8K-0004hm-01 for ietf-http-wg@listhub.w3.org; Wed, 02 Nov 2016 01:14:28 +0000
Received: from mail-qk0-f181.google.com ([209.85.220.181]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1c1k8D-0008Hv-Vk for ietf-http-wg@w3.org; Wed, 02 Nov 2016 01:14:22 +0000
Received: by mail-qk0-f181.google.com with SMTP id q130so1332126qke.1 for <ietf-http-wg@w3.org>; Tue, 01 Nov 2016 18:14:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=bMEdxxJLza/quCZMdVKMQxM6Zu7BgRkVxjvqlTzxLbI=; b=1DYURB49KEKyWXAVKFJMpdBzGw2RDvFSKPsGrMuOzkFZCUah9nPz1oDjLBDwQIEOSm GrjUVSNDHXpkkWxc09Wl2ZdfQEw0t62YrmJ5EaMg4t6nJgRnvQahZyMcSXWNYOMegTET ULeRXgc9T9vnl51Qp7NUpfpP6ZJLuzXYVqMV5fgHusEqWBxyfQvpvWq7eElzhsQ0sgxq LcIA9tMGjobr6yhjeDV6tebP2lPRf8Yen+80awUqxIyOmWb/Y7t7SiI248qtohNWVoKh 1Hlz2TspXoEHyi00h+ww2kE++tQl0BQH0k6FpyioGgSuwK5921223Sz280teJAznA1zT jyRg==
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:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=bMEdxxJLza/quCZMdVKMQxM6Zu7BgRkVxjvqlTzxLbI=; b=EXIlyvDJT0iUG0vaygOHy5CSmVXw8j1lmZzcy28/xB2qXOo9AfZxtWK4GwjrQkiWo0 ytm3M4Pre8h/4kL8TqtPB6tkWawCavcwheNAtEmyo860drXUogrn/5DQnS7yCceUTnoI H9LZyORyVam0Til76OKbsjH5scespaRx3WFkgm1mUPIpdIfpccV7H8dLC+LP8qqaNTwr DmfkMXjQbYAehLz3azb6Dh6+lxmZB/BSU5RcSQqFQcfkMeJ+bnlZt1YpfZodRow6B3eo K8z2UcDvaj5bSblWXPLFobwc4sKEmjug/ick/n7KV4Agml+hzh0U4U+gkcOkk5RbUiAC byiw==
X-Gm-Message-State: ABUngvcOECCzdIDo8pg5NCSTeYZSn3o3QaGDttC4iwhfBqiEbyRDDx0SJ1xqMlueYEx/k7euaqGw7iGR5/2mdg==
X-Received: by 10.55.74.1 with SMTP id x1mr968677qka.316.1478049236234; Tue, 01 Nov 2016 18:13:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.85.7 with HTTP; Tue, 1 Nov 2016 18:13:55 -0700 (PDT)
In-Reply-To: <46b46aed-5d40-dd37-145c-486b260ce036@gmx.de>
References: <46b46aed-5d40-dd37-145c-486b260ce036@gmx.de>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Wed, 02 Nov 2016 12:13:55 +1100
Message-ID: <CABkgnnW8r5-qHoS=qEgWmuVL1nb-Ux=THMDFQKw4DqcDPAx4rg@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.220.181; envelope-from=martin.thomson@gmail.com; helo=mail-qk0-f181.google.com
X-W3C-Hub-Spam-Status: No, score=-5.8
X-W3C-Hub-Spam-Report: AWL=-0.253, 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: mimas.w3.org 1c1k8D-0008Hv-Vk cc1cff813eca5c29f2f48650a8920bb1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-encryption-encoding-04, "4.1 Encryption of a Response"
Archived-At: <http://www.w3.org/mid/CABkgnnW8r5-qHoS=qEgWmuVL1nb-Ux=THMDFQKw4DqcDPAx4rg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32800
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 1 November 2016 at 22:15, Julian Reschke <julian.reschke@gmx.de> wrote:
> "Here, a successful HTTP GET response has been encrypted using input keying
> material that is identified by the string “a1”."
>
> However, a1 doesn't appear in the example...

Thanks for catching that.  I redid the examples in a bit of a hurry
after someone pointed out that my code had an error.

  https://github.com/httpwg/http-extensions/pull/259

As you pointed out privately, the record size field is crazy.  I'll
have to look at my tests again to see if I've messed something up
there.