Hi all,
In Section 6 of draft-ietf-ace-cbor-web-token-08 we describe two ways to
determine whether the CBOR data structure is a CWT.
I wonder whether it is better to settle on one approach only.
Do folks have practical experience with this feature?
Ciao
Hannes
IMPORTANT NOTICE: The contents of
s and will remove the tag if it is the correct value. In either
case it then makes sure that what follows is a map.
Jim
From: Ace [mailto:ace-boun...@ietf.org] On Behalf Of Hannes Tschofenig
Sent: Thursday, October 19, 2017 8:56 AM
To: ace@ietf.org
Subject: [Ace] draft-ietf-ace-cbor-we
On Oct 19, 2017, at 18:41, Jim Schaad wrote:
>
> • I already know that this is going to be a CWT so I save a byte.
> • I don’t know so I waste a tag byte in that case.
Right. In REST protocols, we usually have a media type, so we don’t need the
CBOR Tag.
Within some other data stru
esent.
-- Mike
-Original Message-
From: Ace [mailto:ace-boun...@ietf.org] On Behalf Of Carsten Bormann
Sent: Thursday, October 19, 2017 10:05 AM
To: Jim Schaad
Cc: Hannes Tschofenig ; ace@ietf.org
Subject: Re: [Ace] draft-ietf-ace-cbor-web-token-08 - CWT CBOR Tag
On Oct 19, 2017, at
@ietf.org
Subject: RE: [Ace] draft-ietf-ace-cbor-web-token-08 - CWT CBOR Tag
I also agree that the spec already has this right. Typically no tag will be
needed because the application knows the data structure is a CWT from context.
The tag is available for any use cases where it's needed to re
On Oct 19, 2017, at 21:30, Hannes Tschofenig wrote:
>
> For the cost saving of one byte we are essentially introduction options
> here. I am wondering whether this byte is worth it.
Two bytes.
It’s not really an option, as in every context there will be a single right way
to do this.
But yes
ormann [mailto:c...@tzi.org]
> Sent: Thursday, October 19, 2017 1:32 PM
> To: Hannes Tschofenig
> Cc: Mike Jones ; Jim Schaad
> ; ace@ietf.org
> Subject: Re: [Ace] draft-ietf-ace-cbor-web-token-08 - CWT CBOR Tag
>
> On Oct 19, 2017, at 21:30, Hannes Tschofenig
> wrote:
>
ig
> > Cc: Mike Jones ; Jim Schaad
> > ; ace@ietf.org
> > Subject: Re: [Ace] draft-ietf-ace-cbor-web-token-08 - CWT CBOR Tag
> >
> > On Oct 19, 2017, at 21:30, Hannes Tschofenig
> > wrote:
> > >
> > > For the cost saving of one byte we are ess