Re: [ietf-types] Review of application/ccmp+xml
Ned Freed <ned.freed@mrochek.com> Sun, 19 September 2010 01:21 UTC
Return-Path: <ned.freed@mrochek.com>
X-Original-To: ietf-types@core3.amsl.com
Delivered-To: ietf-types@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 15A453A6908 for <ietf-types@core3.amsl.com>; Sat, 18 Sep 2010 18:21:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.819
X-Spam-Level:
X-Spam-Status: No, score=-1.819 tagged_above=-999 required=5 tests=[AWL=0.780, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xINL4gI4QsVZ for <ietf-types@core3.amsl.com>; Sat, 18 Sep 2010 18:21:38 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [66.59.230.40]) by core3.amsl.com (Postfix) with ESMTP id A61273A6900 for <ietf-types@ietf.org>; Sat, 18 Sep 2010 18:21:37 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01NS1LOQ6NLC0050S5@mauve.mrochek.com> for ietf-types@ietf.org; Sat, 18 Sep 2010 18:21:57 -0700 (PDT)
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01NS19TCUYY8000CVX@mauve.mrochek.com>; Sat, 18 Sep 2010 18:21:50 -0700 (PDT)
Message-id: <01NS1LOLRVHG000CVX@mauve.mrochek.com>
Date: Sat, 18 Sep 2010 18:18:37 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Sun, 19 Sep 2010 00:30:15 +0200" <s0fa9610hn7fgo3kalcgrrcecg4un0uvrj@hive.bjoern.hoehrmann.de>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset="ISO-8859-1"
References: <4C926A19.1040108@gmail.com> <01NS1EU73BN0000CVX@mauve.mrochek.com> <s0fa9610hn7fgo3kalcgrrcecg4un0uvrj@hive.bjoern.hoehrmann.de>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mrochek.com; s=mauve; t=1284857836; bh=HpeoAHU+DKPkce3az61IRpImIRvCXLj0w9qTIjRjZEk=; h=Cc:Message-id:Date:From:Subject:In-reply-to:MIME-version: Content-type:References:To; b=RrcTPlH334SQWQ3wKBYIisd0rXN9hmFwYfsNP4adMXYYpCNKotf2gs5RxbqiZUcU/ pZ7GRP+kdH7yoQfyWUy2xbTzye3UPQgvWP5gbN09EXk1/CMvpb71QBH3EhJyl8d+BG jlTBthzPsCA0rlXYqw16sInlHTA7jQF83nq2UiQM=
Cc: ietf-types@ietf.org
Subject: Re: [ietf-types] Review of application/ccmp+xml
X-BeenThere: ietf-types@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Media \(MIME\) type review" <ietf-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf-types>
List-Post: <mailto:ietf-types@ietf.org>
List-Help: <mailto:ietf-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Sep 2010 01:21:40 -0000
> * Ned Freed wrote: > >> Optional parameters: charset > >> Indicates the character encoding of enclosed XML for which the > >> default is UTF-8. > >> Encoding considerations: Uses XML, which can employ 8-bit > >> characters, depending on the character encoding used. See RFC > >> 3023 [RFC3023], section 3.2. > > > >What you have here is OK, but I note that all of the examples in the draft use > >utf-8 and have the charset embedded in the content. If utf-8 is all that's ever > >used, perhaps it would be better just to state that and get rid of all the > >variability here. > The charset parameter (and defining it exactly as it is defined for the > application/xml media type) is necessary if you want implementations of > only this type agree with general purpose software on what the encoding > is. Disagreement about what the character encoding is is a typical se- > curity vulnerability. I'm sorry, but I believe a much bigger potential security vulnerability is introduced by the potential of there being a silly state difference between the character encoding listed in the XML proper and what's in the charset parameter. In other words, I believe the suggestions given in RFC 3023 are seriously off the mark. But the way to migitate all of this is to Just Use UTF-8. Which is why I wrote what I wrote - there is no need for a parameter if only one charset is allowed. Ned
- [ietf-types] Review of application/ccmp+xml Alan Johnston
- Re: [ietf-types] Review of application/ccmp+xml Ned Freed
- Re: [ietf-types] Review of application/ccmp+xml Bjoern Hoehrmann
- Re: [ietf-types] Review of application/ccmp+xml Bjoern Hoehrmann
- Re: [ietf-types] Review of application/ccmp+xml Ned Freed
- Re: [ietf-types] Review of application/ccmp+xml Bjoern Hoehrmann
- Re: [ietf-types] Review of application/ccmp+xml Ned Freed