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

"Jim Schaad" <ietf@augustcellars.com> Mon, 06 May 2013 18:39 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 9CB0C21F9323 for <jose@ietfa.amsl.com>; Mon, 6 May 2013 11:39:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 JMNhEfHavSjW for <jose@ietfa.amsl.com>; Mon, 6 May 2013 11:39:00 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) by ietfa.amsl.com (Postfix) with ESMTP id EC98821F90E0 for <jose@ietf.org>; Mon, 6 May 2013 11:38:59 -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 smtp3.pacifier.net (Postfix) with ESMTPSA id 0CF8138F31; Mon, 6 May 2013 11:38:55 -0700 (PDT)
From: Jim Schaad <ietf@augustcellars.com>
To: 'jose issue tracker' <trac+jose@trac.tools.ietf.org>, draft-ietf-jose-json-web-encryption@tools.ietf.org, rlb@ipv.sx
References: <049.92c9829790c8d5776a0efee36c11df4c@trac.tools.ietf.org>
In-Reply-To: <049.92c9829790c8d5776a0efee36c11df4c@trac.tools.ietf.org>
Date: Mon, 06 May 2013 20:38:02 +0200
Message-ID: <00a601ce4a88$dc8cdd70$95a69850$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQGGMvMpe+nGN2n1UwXdD9MLILNwq5mIq21w
Content-Language: en-us
Cc: 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: Mon, 06 May 2013 18:39:08 -0000

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