Re: [jose] #20: Shorter names for JSON serialization

"Vladimir Dzhuvinov / NimbusDS" <vladimir@nimbusds.com> Wed, 08 May 2013 08:39 UTC

Return-Path: <vladimir@nimbusds.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 0A86C21F8EBF for <jose@ietfa.amsl.com>; Wed, 8 May 2013 01:39:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.799
X-Spam-Level:
X-Spam-Status: No, score=-1.799 tagged_above=-999 required=5 tests=[AWL=0.800, BAYES_00=-2.599]
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 CNTrnIGbWO21 for <jose@ietfa.amsl.com>; Wed, 8 May 2013 01:39:47 -0700 (PDT)
Received: from n1plsmtp07-03.prod.ams1.secureserver.net (n1plsmtp07-03-02.prod.ams1.secureserver.net [188.121.52.7]) by ietfa.amsl.com (Postfix) with SMTP id C6F5F21F8AF8 for <jose@ietf.org>; Wed, 8 May 2013 01:39:46 -0700 (PDT)
Received: (qmail 32627 invoked from network); 8 May 2013 08:39:45 -0000
Received: from unknown (HELO localhost) (188.121.52.243) by n1plsmtp07-03.prod.ams1.secureserver.net with SMTP; 8 May 2013 08:39:42 -0000
Received: (qmail 8066 invoked by uid 99); 8 May 2013 08:39:42 -0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
X-Originating-IP: 77.85.85.163
User-Agent: Workspace Webmail 5.6.38
Message-Id: <20130508013941.cc40c4f3d92d2001859047cd8cabb9ab.48b3dedebc.wbe@email07.europe.secureserver.net>
From: Vladimir Dzhuvinov / NimbusDS <vladimir@nimbusds.com>
To:
Date: Wed, 08 May 2013 01:39:41 -0700
Mime-Version: 1.0
Cc: "draft-ietf-jose-json-web-encryption@tools.ietf.org" <draft-ietf-jose-json-web-encryption@tools.ietf.org>, jose issue tracker <trac+jose@trac.tools.ietf.org>, "jose@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 08:39:53 -0000

+1 for "iv" and "tag"

--
Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com



-------- Original Message --------
Subject: Re: [jose] #20: Shorter names for JSON serialization
From: Mike Jones <Michael.Jones@microsoft.com>
Date: Tue, May 07, 2013 10:40 pm
To: Richard Barnes <rlb@ipv.sx>, Jim Schaad <ietf@augustcellars.com>
Cc: "draft-ietf-jose-json-web-encryption@tools.ietf.org"
<draft-ietf-jose-json-web-encryption@tools.ietf.org>, jose issue tracker
<trac+jose@trac.tools.ietf.org>, "jose@ietf.org" <jose@ietf.org>

  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 [mailto:jose-bounces@ietf.org] On Behalf
Of
 > jose issue tracker
 > Sent: Monday, May 06, 2013 2:29 PM
 > To: draft-ietf-jose-json-web-encryption@tools.ietf.org; rlb@ipv.sx
 > Cc: jose@ietf.org
 > 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
 >  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
 > https://www.ietf.org/mailman/listinfo/jose
 

_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose