Re: Concrete format for signed responses

Matthew Kerwin <matthew@kerwin.net.au> Wed, 06 December 2017 23:40 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 D72971289B0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 6 Dec 2017 15:40:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.4
X-Spam-Level:
X-Spam-Status: No, score=-6.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, 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 aUpT53LfY8oz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 6 Dec 2017 15:40:23 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (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 30C5412762F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 6 Dec 2017 15:40:22 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1eMjA1-0008AL-A4 for ietf-http-wg-dist@listhub.w3.org; Wed, 06 Dec 2017 23:31:29 +0000
Resent-Date: Wed, 06 Dec 2017 23:31:29 +0000
Resent-Message-Id: <E1eMjA1-0008AL-A4@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <phluid61@gmail.com>) id 1eMj9n-00089Z-Kw for ietf-http-wg@listhub.w3.org; Wed, 06 Dec 2017 23:31:15 +0000
Received: from mail-it0-f48.google.com ([209.85.214.48]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <phluid61@gmail.com>) id 1eMj9j-0002Gm-Qx for ietf-http-wg@w3.org; Wed, 06 Dec 2017 23:31:15 +0000
Received: by mail-it0-f48.google.com with SMTP id f190so10243308ita.5 for <ietf-http-wg@w3.org>; Wed, 06 Dec 2017 15:30:51 -0800 (PST)
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:content-transfer-encoding; bh=6O0pFj2KPVfAYYQ/CS1ZnOhclEOkbwjeLUh9M624stY=; b=DdhQNlvND6XCRl3nJGaBfm6Y9dJGfzQoFdOkS4OLeHsUFoMZMyqFGMXUsqNZtjK8wo pagyoKAzv5Vn9TlHhXODUAMcNzEnftyYmDVnVVkqaUYM8g1aAaDm0uJGsex10h5Prdf3 EE0Yr2vIPK+a86oxrOMCM6FBCJ0tGAnMGzB2T7mPuC9pArJCYL2hhi49cRM3qjbrljR2 6B5drHlmPjcDP09yvTjbLnLf7BLJApD4/g9CUcfrtGeRJ7An524Mjcd4kZv6VoXxAHg0 DfdfSFjSFhnDcdUCs7fmBIreLRiByuqNCFc4ias+Mm2cAhU2bYPuA2cvnhEP3WNAOEqC nKqQ==
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:content-transfer-encoding; bh=6O0pFj2KPVfAYYQ/CS1ZnOhclEOkbwjeLUh9M624stY=; b=bm+SJeimlkQyIZqfLT+o2M9Hg/lnuH3TyE2V8R93V9KZM+nONUkevdasBKPo+93+P4 MtJ3zCxleOdFSpB/+Lnzr5S7iirVou5Hb+0FxYRqJ26jeE/f/Wc/hlgU1LlmNV836skC mtA/dcicVaGuVCHSXMOVP/oGuG9S/yGBLXdDsqM7ISnh0caNFg3V/KiGu9BCl/m3t0Ln eJw3t7MVEap1U7yK93AGb6Fve/swunjIU+Ejfyhj+fCjhnpYt/eajh+0WAn/+W2Ij8NH Jut5IjsRIq1PXwbF/GLZXtwzy0gbwb3hHtpO850zQGUsxHCbXNkMsUY5Mwp9j7B7Df7S Y/JQ==
X-Gm-Message-State: AJaThX67hT/O1UM6NlmzrXw6fUlhaWky+IcG25rk9nGe2G8iJ3+z8XmE zPgOxY/AcTtRVltZWXRdFqUKwin0/JWKMtIA+KA=
X-Google-Smtp-Source: AGs4zMYbAeseYC+gjzZMPS0nZo5MOA+GPJO51xj6cCseLILratsr9YJsVbvWyktfvSpimvd9jOAeUjQOuXvj3Lve9EM=
X-Received: by 10.107.150.77 with SMTP id y74mr34976061iod.119.1512603050868; Wed, 06 Dec 2017 15:30:50 -0800 (PST)
MIME-Version: 1.0
Sender: phluid61@gmail.com
Received: by 10.107.183.130 with HTTP; Wed, 6 Dec 2017 15:30:50 -0800 (PST)
In-Reply-To: <CANh-dXnO-2Kv-NckDJu6bkdvETe-nWZrwyfCmt4X5C2tqy1xgg@mail.gmail.com>
References: <CANh-dXkgss_Mt0F4hv5fBcrHUJ6=BO7o5u2OCWzxJom=xAiJ0w@mail.gmail.com> <MWHPR08MB2432A0444DA51B186951F44BDA320@MWHPR08MB2432.namprd08.prod.outlook.com> <CANh-dXnO-2Kv-NckDJu6bkdvETe-nWZrwyfCmt4X5C2tqy1xgg@mail.gmail.com>
From: Matthew Kerwin <matthew@kerwin.net.au>
Date: Thu, 07 Dec 2017 09:30:50 +1000
X-Google-Sender-Auth: a0Bjz7jCzvsWt37fSFhT7bg_OSc
Message-ID: <CACweHNDW8ZoJ616HtUR-qRcdUb7DHNpi8qEvSOXD5oJNZpW2pQ@mail.gmail.com>
To: Jeffrey Yasskin <jyasskin@google.com>
Cc: Mike Bishop <mbishop@evequefou.be>, 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.214.48; envelope-from=phluid61@gmail.com; helo=mail-it0-f48.google.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-1.295, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1eMj9j-0002Gm-Qx be853e0638680281aad66716556f0af1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Concrete format for signed responses
Archived-At: <https://www.w3.org/mid/CACweHNDW8ZoJ616HtUR-qRcdUb7DHNpi8qEvSOXD5oJNZpW2pQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/34929
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 7 December 2017 at 08:20, Jeffrey Yasskin <jyasskin@google.com> wrote:
> On Wed, Dec 6, 2017 at 10:42 AM Mike Bishop <mbishop@evequefou.be> wrote:
>>
>> 3.6.1:  If you’re saying a client MAY do something other than what it MUST
>> do per RFC7540, you might want to frame this as an extension.  In that vein,
>> an HTTP/2 setting advertising support for this from the client might be in
>> order.  You could also define a more specific error code for invalid
>> unauthoritative pushes.
>
> Seems reasonable. Do you have any favorite extensions I could copy from?
> Origin Frame is close, but it merely defines something that
> https://tools.ietf.org/html/rfc7230#section-9.1 leaves vague, unlike this
> extension that explicitly reverses a MUST from RFC7540.
>

A while back I was working on an extension that adds a new flavour of
DATA frame[1], including changes to the state machine, flow control,
etc. and a setting to advertise support.  It might be useful as a
draft, even if it's not particularly useful as a H2 extension :)

[1]: https://tools.ietf.org/html/draft-kerwin-http2-encoded-data-09

-- 
  Matthew Kerwin
  http://matthew.kerwin.net.au/