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:[email protected]]
Sent: Monday, May 06, 2013 2:51 PM
To: Jim Schaad
Cc: jose issue tracker; [email protected];
[email protected]
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: [email protected]<javascript:;>
> [mailto:[email protected]<javascript:;>] On Behalf Of
> jose issue tracker
> Sent: Monday, May 06, 2013 2:29 PM
> To: [email protected]<javascript:;>;
> [email protected]<mailto:[email protected]>
> Cc: [email protected]<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: [email protected]<mailto:[email protected]> | Owner:
> draft-ietf-jose-json-web-
> Type: defect | [email protected]<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
> [email protected]<javascript:;>
> https://www.ietf.org/mailman/listinfo/jose
_______________________________________________
jose mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/jose