Re: RIP: Crypto-Key header field

Julian Reschke <julian.reschke@gmx.de> Wed, 23 November 2016 06:19 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 DE39E1294D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 22 Nov 2016 22:19:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.398
X-Spam-Level:
X-Spam-Status: No, score=-8.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.497, 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 X9Ijdxz3hW6n for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 22 Nov 2016 22:19:33 -0800 (PST)
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 83FE9126BF7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 22 Nov 2016 22:19:33 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1c9QqS-0004Lk-6J for ietf-http-wg-dist@listhub.w3.org; Wed, 23 Nov 2016 06:15:48 +0000
Resent-Date: Wed, 23 Nov 2016 06:15:48 +0000
Resent-Message-Id: <E1c9QqS-0004Lk-6J@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 <julian.reschke@gmx.de>) id 1c9QqH-00049j-8r for ietf-http-wg@listhub.w3.org; Wed, 23 Nov 2016 06:15:37 +0000
Received: from mout.gmx.net ([212.227.15.15]) by mimas.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <julian.reschke@gmx.de>) id 1c9QqA-0004kz-U9 for ietf-http-wg@w3.org; Wed, 23 Nov 2016 06:15:32 +0000
Received: from [192.168.178.20] ([93.217.109.81]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lg1Tn-1cXzoK03qN-00pbJv; Wed, 23 Nov 2016 07:15:03 +0100
To: Martin Thomson <martin.thomson@gmail.com>
References: <CABkgnnXQ7jFX+U0Ziai_kmja740h-6MBmBG5vxNF5Tr2fpTX3w@mail.gmail.com> <41b1ccf6-32ff-c450-9f61-8f51feb99dad@gmx.de> <CABkgnnV4wtcnZBajJy0VCYXbTQ=LDjGuytz4iOzOLVvVHqB24Q@mail.gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <249e067b-7c37-9aa2-2937-2bfbbebd033b@gmx.de>
Date: Wed, 23 Nov 2016 07:15:02 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0
MIME-Version: 1.0
In-Reply-To: <CABkgnnV4wtcnZBajJy0VCYXbTQ=LDjGuytz4iOzOLVvVHqB24Q@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:37Tz5tXCHIycNdnY+66JkRcgZAu2DHUvR6zN+i9jEF6QPeZIggz CNasiok9iuOSb6CNXKGr9TZDXIPbjIM41vLFC2i5xdbUQO+iRQuFl4ZDzka40J4iytBgZL/ cdZaO3BVZ5js4a8TZot/89IJt38eOyrrrMWn/J3H9gotUb7dVs530thko7/Fq7aOMBm2Fjs OPYNUe6UHJ5KYFZG94sgg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:MoEL3IPGfG8=:Z5DeGevA9CKackkFnjqc+T XdQocmGdoehW+j8GtyN/yJwrC2dLXyZgAXXmBh5jPaCd2UeMJVr16IZDEycQ5YGYgROROVwgh HkgszGrP9QJ0+lIn/rkDe0uO0INbn0yuj1vkcy+Pti8yGBsFHRunDkucJvDgmcwz0uPVsSpzX TPfGCzbI8BjolQyv/Dd6agsaMlWoMQk3ooE/hDuYnnD3oq5dINKFVE9vv/kw+VtzSfLOhgaET N02CzcxlgkZedkyVU5V8cYmCD3PjQ49ePmdO9BF06lpKe7PCaIIyqupMVtFAKWmx/gsjcpwwM +ghDyoSKMVUgrx+Q0gNhfIchP4SxgXkRygfYpiXYtq2QqHBLnevHISgOWzWN50LASi0AUqmWV MPdPvWiWmfQMmivJgmnfpUdisMA4f5xxn0TwD/QdAyH15CDIRXO8ryVyEr/WuB+nMrSjVqAgh MwNB2UPnH7oSAlKp2xirJt3UHFPAL6OCftfkBwhzi7I+4ouLRydXdZBLTmHtN90BbsMn6eamS X1gQoUsb23jXej8J8vtI2jQbzajTbvEeU4dPrhwU97TM1mrHrVE1IVvsTHbKSG8nQv7mAgAyk ufpiSHCuNSqXFPirA3XfGb7YDZgaXf9SPcTqqHGxKOtyfKdRUlj6U0/HXjp5yk1FN49ojYVEg ATy85jpEGoF8SpZQK1WHg8WiV0/+MYcAnyuU4LELozpkb9oB/TtqZbRhcCwaM0qrKmXfuMNdL 3gdkqkUPBUM4pCM0zCae0N//p3E5qsXRFY20xjZr/etPbqNHq7+6Mq/QwWHfP8e1dGbV2cvBh wEqhblb
Received-SPF: pass client-ip=212.227.15.15; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=-0.025, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1c9QqA-0004kz-U9 700ea14b1adec52f3fd46b768a0fc829
X-Original-To: ietf-http-wg@w3.org
Subject: Re: RIP: Crypto-Key header field
Archived-At: <http://www.w3.org/mid/249e067b-7c37-9aa2-2937-2bfbbebd033b@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32965
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 2016-11-23 01:47, Martin Thomson wrote:
> On 22 November 2016 at 19:28, Julian Reschke <julian.reschke@gmx.de> wrote:
>> 1) The way "keyid" is currently specified makes it an octet sequence, that
>> may or may not be valid UTF-8 and could even include NUL. Is that really the
>> intention? We've seen the consequences of this with ALPN identifiers, which
>> required us to define a funky escaping mechanism in alt-svc, so we could put
>> them into places that take strings. This not only affects related specs, but
>> also APIs for code that handles encryption encoding (such as: what's the
>> datatype for the key in dictionaries?)
>
> The virtue of this is that a particular profile can define this field
> as it chooses, to meet its own requirements.  If you intend to use
> this with strings, then you can constrain to ASCII or UTF-8 as you see
> fit.
> ...

I see lot of additional works and potential bugs by allowing non-UTF-8 
octet sequences, and something like zero advantages.

Best regards, Julian