Re: [jose] #20: Shorter names for JSON serialization
"Jim Schaad" <ietf@augustcellars.com> Wed, 08 May 2013 06:09 UTC
Return-Path: <ietf@augustcellars.com>
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 1174221F8EE8 for <jose@ietfa.amsl.com>; Tue, 7 May 2013 23:09:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level:
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 OLAgw+L3wN+t for <jose@ietfa.amsl.com>; Tue, 7 May 2013 23:09:02 -0700 (PDT)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) by ietfa.amsl.com (Postfix) with ESMTP id 4A4F621F8EDA for <jose@ietf.org>; Tue, 7 May 2013 23:09:02 -0700 (PDT)
Received: from Philemon (102.Red-217-127-180.staticIP.rima-tde.net [217.127.180.102]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp1.pacifier.net (Postfix) with ESMTPSA id 567C52CA74; Tue, 7 May 2013 23:08:57 -0700 (PDT)
From: Jim Schaad <ietf@augustcellars.com>
To: 'Mike Jones' <Michael.Jones@microsoft.com>, 'Richard Barnes' <rlb@ipv.sx>
References: <049.92c9829790c8d5776a0efee36c11df4c@trac.tools.ietf.org> <00a601ce4a88$dc8cdd70$95a69850$@augustcellars.com> <CAL02cgRNPVpiOrz+7SxNEcsNJAgCGg1dic2h+YX2FnVRZh_4wg@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739436771242B@TK5EX14MBXC283.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739436771242B@TK5EX14MBXC283.redmond.corp.microsoft.com>
Date: Wed, 08 May 2013 08:08:07 +0200
Message-ID: <01d801ce4bb2$6c4116f0$44c344d0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_01D9_01CE4BC3.2FCD1B40"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQGGMvMpe+nGN2n1UwXdD9MLILNwqwHXSSUhAueqDSoB6pnwRplVsnqQ
Content-Language: en-us
Cc: draft-ietf-jose-json-web-encryption@tools.ietf.org, 'jose issue tracker' <trac+jose@trac.tools.ietf.org>, jose@ietf.org
Subject: Re: [jose] #20: Shorter names for JSON serialization
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
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: Wed, 08 May 2013 06:09:07 -0000
Tag works well for me From: Mike Jones [mailto:Michael.Jones@microsoft.com] Sent: Tuesday, May 07, 2013 11:41 PM To: Richard Barnes; Jim Schaad Cc: jose issue tracker; draft-ietf-jose-json-web-encryption@tools.ietf.org; jose@ietf.org Subject: RE: [jose] #20: Shorter names for JSON serialization What about "iv" and "tag"? For the other names, I'd actually prefer staying with those that are full words rather than those that are abbreviations of words, since they're more descriptive. But I agree that "initialization_vector" and "authentication_tag" were overkill. -- Mike From: Richard Barnes [mailto:rlb@ipv.sx] Sent: Monday, May 06, 2013 2:51 PM To: Jim Schaad Cc: jose issue tracker; draft-ietf-jose-json-web-encryption@tools.ietf.org; jose@ietf.org Subject: Re: [jose] #20: Shorter names for JSON serialization Even that's the name for the corresponding field in CMS AuthEnvelopedData and AuthenticatedData? On Monday, May 6, 2013, Jim Schaad wrote: I would be againist calling the authentication_tag mac. I don't object to something like AuthTag. It is not necessarily a MAC in all cases so calling it one make thing problematical - much like calling a mac a sig. Jim > -----Original Message----- > From: jose-bounces@ietf.org <javascript:;> [mailto:jose-bounces@ietf.org <javascript:;> ] On Behalf Of > jose issue tracker > Sent: Monday, May 06, 2013 2:29 PM > To: draft-ietf-jose-json-web-encryption@tools.ietf.org <javascript:;> ; rlb@ipv.sx > Cc: jose@ietf.org <javascript:;> > Subject: [jose] #20: Shorter names for JSON serialization > > #20: Shorter names for JSON serialization > > I noticed as I was doing some programming with the JSON syntax for JWE/JWS > that the current field names in the JSON format are unnecessarily > cumbersome. Nobody in the real world names a variable > "initialization_vector", it's "iv". Proposed changes: > > || OLD || NEW || > || signatures || sigs || > || signature || sig || > || payload || data || > || recipients || keys || > || ciphertext || data || > || initialization_vector || iv || > || authentication_tag || mac || > > -- > -------------------------+---------------------------------------------- > -------------------------+--- > Reporter: rlb@ipv.sx | Owner: draft-ietf-jose-json-web- > Type: defect | encryption@tools.ietf.org <javascript:;> > Priority: minor | Status: new > Component: json-web- | Milestone: > encryption | Version: > Severity: - | Keywords: > -------------------------+---------------------------------------------- > -------------------------+--- > > Ticket URL: <http://trac.tools.ietf.org/wg/jose/trac/ticket/20> > jose <http://tools.ietf.org/jose/> > > _______________________________________________ > jose mailing list > jose@ietf.org <javascript:;> > https://www.ietf.org/mailman/listinfo/jose
- [jose] #20: Shorter names for JSON serialization jose issue tracker
- Re: [jose] #20: Shorter names for JSON serializat… Jim Schaad
- Re: [jose] #20: Shorter names for JSON serializat… Richard Barnes
- Re: [jose] #20: Shorter names for JSON serializat… Mike Jones
- Re: [jose] #20: Shorter names for JSON serializat… Manger, James H
- Re: [jose] #20: Shorter names for JSON serializat… Mike Jones
- Re: [jose] #20: Shorter names for JSON serializat… Manger, James H
- Re: [jose] #20: Shorter names for JSON serializat… Jim Schaad
- Re: [jose] #20: Shorter names for JSON serializat… Vladimir Dzhuvinov / NimbusDS
- Re: [jose] #20: Shorter names for JSON serializat… Richard Barnes
- Re: [jose] #20: Shorter names for JSON serializat… Mike Jones
- Re: [jose] #20: Shorter names for JSON serializat… jose issue tracker
- Re: [jose] #20: Shorter names for JSON serializat… jose issue tracker