Re: [jose] #50: "cty" (content type) should hold a media type

"jose issue tracker" <trac+jose@trac.tools.ietf.org> Fri, 13 September 2013 18:12 UTC

Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C8C311E818E for <jose@ietfa.amsl.com>; Fri, 13 Sep 2013 11:12:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z4dXn5EnIPKM for <jose@ietfa.amsl.com>; Fri, 13 Sep 2013 11:12:25 -0700 (PDT)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 150E511E8166 for <jose@ietf.org>; Fri, 13 Sep 2013 11:12:24 -0700 (PDT)
Received: from localhost ([127.0.0.1]:57230 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VKXqd-0002Me-B0; Fri, 13 Sep 2013 20:12:03 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: jose issue tracker <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-signature@tools.ietf.org, michael.jones@microsoft.com
X-Trac-Project: jose
Date: Fri, 13 Sep 2013 18:12:03 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/50#comment:1
Message-ID: <073.b3ecbc54a761c68cd123ac96652e0240@trac.tools.ietf.org>
References: <058.0d74b4153b360c16ccd3d64acacfc6f3@trac.tools.ietf.org>
X-Trac-Ticket-ID: 50
In-Reply-To: <058.0d74b4153b360c16ccd3d64acacfc6f3@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-signature@tools.ietf.org, michael.jones@microsoft.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com, n-sakimura@nri.co.jp, ve7jtb@ve7jtb.com
Resent-Message-Id: <20130913181225.150E511E8166@ietfa.amsl.com>
Resent-Date: Fri, 13 Sep 2013 11:12:24 -0700
Resent-From: trac+jose@trac.tools.ietf.org
Cc: jose@ietf.org
Subject: Re: [jose] #50: "cty" (content type) should hold a media type
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Sep 2013 18:12:26 -0000

#50: "cty" (content type) should hold a media type


Comment (by michael.jones@microsoft.com):

 Originally "typ" and "cty" values were in their own IANA type space that
 was independent of MIME types.  Quite some time ago (I believe based on
 comments from Jim), the working group decided to add a field in the types
 registry allowing the correspondence between the short-by-design JOSE type
 names and MIME types to be registered.  At the time, we also decided to
 allow the use of MIME types in those fields, which is fine in cases where
 compactness isn't a goal.

 However, for many cases, compactness is a goal, and the current solution
 is designed with that in mind, and is already working fine.  I don't see a
 compelling reason to change it at this point.  It's already used, for
 instance, in Section 6 of JWK, for indicating that a JWK or JWK Set are
 the encrypted content.  It's used by JWT for saying that a JWT is the
 encrypted content.  Etc.

 To address your concerns about the "MAY be used" language, I propose that
 "MAY be used" be changed to "is used".  You're right that the "OPTIONAL"
 phrase already covers the "MAY" intent.

 To address your concerns about MIME types being case insensitive, I
 propose that we add this text after saying that MIME types values may be
 used: "When MIME Media Types values are used, it is RECOMMENDED that they
 use the exact character case used in the registry, since this field is
 case sensitive, whereas MIME values are case insensitive."

-- 
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  draft-ietf-jose-json-web-
  james@manger.com.au    |  signature@tools.ietf.org
     Type:  defect       |      Status:  new
 Priority:  major        |   Milestone:
Component:  json-web-    |     Version:
  signature              |  Resolution:
 Severity:  -            |
 Keywords:               |
-------------------------+-------------------------------------------------

Ticket URL: <http://trac.tools.ietf.org/wg/jose/trac/ticket/50#comment:1>
jose <http://tools.ietf.org/jose/>