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

Richard Barnes <rlb@ipv.sx> Mon, 06 May 2013 21:51 UTC

Return-Path: <rlb@ipv.sx>
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 2600721F87B1 for <jose@ietfa.amsl.com>; Mon, 6 May 2013 14:51:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level:
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 p+HxWFjI7VQA for <jose@ietfa.amsl.com>; Mon, 6 May 2013 14:51:07 -0700 (PDT)
Received: from mail-oa0-f41.google.com (mail-oa0-f41.google.com [209.85.219.41]) by ietfa.amsl.com (Postfix) with ESMTP id 5A13721F861B for <jose@ietf.org>; Mon, 6 May 2013 14:51:04 -0700 (PDT)
Received: by mail-oa0-f41.google.com with SMTP id k14so4057842oag.14 for <jose@ietf.org>; Mon, 06 May 2013 14:50:59 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=wPT6D/WdKj85NbLs5SMFVO3SDaXGtyfCWTgZeqpkngM=; b=ioVYsUAwdjn0f6UEaqgy5Pust+kxTeZsl78uEhHF2DI/ne5TJ8RFJ7T+QDN6ABavUi lEDGrswpHmMZW9bbXvMGmspC8LS1qqbfJlqmTOGfj5DcwRYHuysj4ds127cMJa+vTvWN vp3qVd7v3iZOuO2AU/nEVfj0q4aYdCDa036m0ncB+PAI551SWocUWflt1/+hdG/SPdF5 sgsQR86BXtIESjd34ETol2GgjExa/1y/VAj9HsuHsAjdwdThKFIbP2rXggJZpa79mqCf nUnKvtDluBVoS7wmU24Gs5+1DdslC3SGOOGvCq197FNCXEHB4hu85jBtc3i/qAm+YNMP C3Qg==
MIME-Version: 1.0
X-Received: by 10.60.135.131 with SMTP id ps3mr5766813oeb.131.1367877059053; Mon, 06 May 2013 14:50:59 -0700 (PDT)
Received: by 10.60.132.165 with HTTP; Mon, 6 May 2013 14:50:58 -0700 (PDT)
X-Originating-IP: [31.216.236.149]
In-Reply-To: <00a601ce4a88$dc8cdd70$95a69850$@augustcellars.com>
References: <049.92c9829790c8d5776a0efee36c11df4c@trac.tools.ietf.org> <00a601ce4a88$dc8cdd70$95a69850$@augustcellars.com>
Date: Mon, 06 May 2013 22:50:58 +0100
Message-ID: <CAL02cgRNPVpiOrz+7SxNEcsNJAgCGg1dic2h+YX2FnVRZh_4wg@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Jim Schaad <ietf@augustcellars.com>
Content-Type: multipart/alternative; boundary="047d7b33cde8339f2704dc13b21d"
X-Gm-Message-State: ALoCoQmsxi7VHRkRZEIZxh6Q1Umzjty/T5MK/kXS5yhGUiuAByAFMOPS2eqc758VIw8c5uG/2gZH
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: Mon, 06 May 2013 21:51:12 -0000

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
>
>