Re: [Json] secdir review of draft-ietf-jsonbis-rfc7159bis-03
Julian Reschke <julian.reschke@gmx.de> Mon, 13 March 2017 08:14 UTC
Return-Path: <julian.reschke@gmx.de>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 5CFC512954F;
Mon, 13 Mar 2017 01:14:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 7MoIEE3uTZNk; Mon, 13 Mar 2017 01:14:56 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id B308C12954B;
Mon, 13 Mar 2017 01:14:55 -0700 (PDT)
Received: from [192.168.178.20] ([93.217.107.79]) by mail.gmx.com (mrgmx101
[212.227.17.168]) with ESMTPSA (Nemesis) id 0LtmK9-1c4cIa29Jt-011E0q; Mon, 13
Mar 2017 09:14:21 +0100
To: Carsten Bormann <cabo@tzi.org>
References: <20170308014823.GF30306@kduck.kaduk.org>
<382aa5c8-c977-b24d-4d19-251257833b00@gmx.de>
<456b4234-0d94-1033-507c-710878bb5159@gmx.de>
<20170309055348.GL30306@kduck.kaduk.org>
<CAD2gp_TOxcZJxwPoMhq-xp6M+Yq+tQnMUv81YNFp-ydRMpH=5w@mail.gmail.com>
<bed0e331-f5fb-f24d-6207-f5a36ec9e7be@gmx.de>
<01QBU8WJOCUO0003XB@mauve.mrochek.com>
<6d97dee7-7cf3-9142-aacf-f2ca4909103d@codalogic.com>
<cbbd0224-da58-bac5-b751-4195dd7383dc@gmx.de>
<38DEEE0A-EE2C-4ADA-9D7A-9DBBAEACB77E@tzi.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <b9908499-a24d-5a6c-b22e-9f2c0cfaa4a5@gmx.de>
Date: Mon, 13 Mar 2017 09:14:16 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <38DEEE0A-EE2C-4ADA-9D7A-9DBBAEACB77E@tzi.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:fWQpqIOlZcKxDu5xBlzvlzJnn26z6FzeULN6WCf50r/8/Yne2mh
e1MkUm3aEJWfG+K79cVEwYHhM3XjF2TfUTPgXvUjnOeTVppMGmk6GTqMr2pfgXTqycuBp8h
J1luWn3ohP+H8RICiE6aBNp7v3wddMcHfr38VppEp9K3D1OqZNX48juJL63oeofujQV5T7N
4WU42vS1URl/lOweYEoaA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:xdE/QCy07zU=:V99Oi0COQu3ylkgTUKN2Su
rVXu6hlj0Lz1UbszMqWHJB37Rx9tWvBY2+yt3AjFS9+OYxQX6NUzD3ydpKafeOPfAm4myFyVc
XTUJJnko3S7ImVTW7G+zfPx5euYz7EfYvGkAH1UtZd0ci4I2uYwIWfC4HBzUH+Y9A/mbQfCPj
TfQ/jH5WdzafW0KMyTnC3V6z+sfT2An/9RPfFeFfe0cQfVMFaTvgAC1WZVeJBMPqMgpGN6kdJ
Do9i8zYD/0LzmUbcKft/x0dkwHqfavOFhKIC37xNVVvFlrUpZMbjxRMtUzPVZpSq4dDGooi2b
F/TlYtWgtk0YJ3FURoiH7EbwJ0bp3JeCqskRVfzNr9OBMucRLeNIWfr219dEQI0FZL9/9IjEY
P8XWchbf76hjVCcyj0V1m9JTkcJtVTqFX+kCJGZzriRWyYe8ZlD0/fYn/IKPAIdCcNntVMwZ6
PDRycNWw1+JvIQVTcznQaimPTXNfR5/YLlB621IBjygSS/0QZfwk/jHfD5K1ij2+yRGNy1tvG
sG2t+J5g02FxuFFptNTjNXHM5XBxHxAakbA7x/xdqtpaRmCbgTTobxxJ923rXDlcODTUw0fbV
EtMMDYthnkPEvKtmWQvFlNt4Iz86aNhmY39UFh7QFohdM5g4k5Qy6cd1DtqeyE/VuFdLD2LOY
yOewJvJsUv8Myg0KZKliiIqY03QReq3qBM3WkF8jRsMGpREFRJrrzDLvbV6SwoWljcKQUItHP
72/AmhRmbdDOWN/uL2E7GyWY62CookgZk+Tw6DoHgMXIO2+dmeWp/6O30DfoUT6ewiyxEhIQt
FQVTzW9
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/hbiKeG0Bu0sxiy7JHU8Dc7zOxN8>
Cc: draft-ietf-jsonbis-rfc7159bis.all@ietf.org, John Cowan <cowan@ccil.org>,
Ned Freed <ned.freed@mrochek.com>, IETF <ietf@ietf.org>,
Peter Cordell <petejson@codalogic.com>, secdir@ietf.org,
"json@ietf.org" <json@ietf.org>, Benjamin Kaduk <kaduk@mit.edu>
Subject: Re: [Json] secdir review of draft-ietf-jsonbis-rfc7159bis-03
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>,
<mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/json/>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>,
<mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Mar 2017 08:14:57 -0000
On 2017-03-12 16:31, Carsten Bormann wrote: > On 12 Mar 2017, at 10:14, Julian Reschke <julian.reschke@gmx.de> wrote: >> >> Does anybody recall why we removed <https://tools.ietf.org/html/rfc4627#section-3>: > > I seem to remember that the advice simply is no longer working since JSON was extended from 4627 to 7159. Instead of trying to come up with an updated algorithm, the WG recognized that this is not a real-world problem. > ... So the changes in RFC 7159 allow top-level strings, so we can't rely on the first *two* characters being US-ASCII. But we *can* rely on the first one being US-ASCII, no? So the following should still be correct: > Since the first character of a JSON text will always be an ASCII > character [RFC0020], it is possible to determine whether an octet > stream is UTF-8, UTF-16 (BE or LE), or UTF-32 (BE or LE) by looking > at the pattern of nulls in the first four octets. > > 00 00 00 xx UTF-32BE > 00 xx xx xx UTF-16BE > xx 00 00 00 UTF-32LE > xx 00 xx xx UTF-16LE > xx xx xx xx UTF-8 Best regards, Julian
- Re: [Json] secdir review of draft-ietf-jsonbis-... Julian Reschke
- Re: [Json] secdir review of draft-ietf-jsonbis-... Julian Reschke
- Re: [Json] secdir review of draft-ietf-jsonbis-... Carsten Bormann
- Re: [Json] secdir review of draft-ietf-jsonbis-... Benjamin Kaduk
- Re: [Json] secdir review of draft-ietf-jsonbis-... John Cowan
- Re: [Json] secdir review of draft-ietf-jsonbis-... Julian Reschke
- Re: [Json] secdir review of draft-ietf-jsonbis-... Ned Freed
- Re: [Json] secdir review of draft-ietf-jsonbis-... John Cowan
- Re: [Json] secdir review of draft-ietf-jsonbis-... Peter Cordell
- Re: [Json] secdir review of draft-ietf-jsonbis-... Carsten Bormann
- Re: [Json] secdir review of draft-ietf-jsonbis-... Julian Reschke
- Re: [Json] secdir review of draft-ietf-jsonbis-... Ned Freed
- Re: [Json] secdir review of draft-ietf-jsonbis-... Carsten Bormann
- Re: [Json] secdir review of draft-ietf-jsonbis-... Elwyn Davies
- Re: [Json] secdir review of draft-ietf-jsonbis-... Julian Reschke
- Re: [Json] secdir review of draft-ietf-jsonbis-... Julian Reschke
- Re: [Json] secdir review of draft-ietf-jsonbis-... Martin J. Dürst
- Re: [Json] secdir review of draft-ietf-jsonbis-... Carsten Bormann
- Re: [Json] secdir review of draft-ietf-jsonbis-... Stefan Hagen
- Re: [Json] secdir review of draft-ietf-jsonbis-... Stefan Hagen
- Re: [Json] secdir review of draft-ietf-jsonbis-... Peter Cordell
- Re: [Json] secdir review of draft-ietf-jsonbis-... Matthew A. Miller
- Re: [Json] [secdir] secdir review of draft-ietf... Nico Williams
- Re: [Json] secdir review of draft-ietf-jsonbis-... Carsten Bormann
- Re: [Json] secdir review of draft-ietf-jsonbis-... Julian Reschke
- Re: [Json] secdir review of draft-ietf-jsonbis-... Carsten Bormann
- Re: [Json] [secdir] secdir review of draft-ietf... Nico Williams
- Re: [Json] secdir review of draft-ietf-jsonbis-... John Cowan
- Re: [Json] secdir review of draft-ietf-jsonbis-... Peter Cordell
- Re: [Json] secdir review of draft-ietf-jsonbis-... Julian Reschke
- Re: [Json] secdir review of draft-ietf-jsonbis-... Peter Cordell
- Re: [Json] secdir review of draft-ietf-jsonbis-... Julian Reschke
- Re: [Json] secdir review of draft-ietf-jsonbis-... Alexey Melnikov
- Re: [Json] secdir review of draft-ietf-jsonbis-... Peter Cordell
- Re: [Json] secdir review of draft-ietf-jsonbis-... Matthew A. Miller
- Re: [Json] secdir review of draft-ietf-jsonbis-... John Cowan
- Re: [Json] secdir review of draft-ietf-jsonbis-... Matthew A. Miller
- Re: [Json] secdir review of draft-ietf-jsonbis-... Julian Reschke
- Re: [Json] secdir review of draft-ietf-jsonbis-... Matthew A. Miller
- Re: [Json] secdir review of draft-ietf-jsonbis-... Julian Reschke
- Re: [Json] secdir review of draft-ietf-jsonbis-... Nico Williams
- Re: [Json] secdir review of draft-ietf-jsonbis-... Peter Cordell