erwah / ietf

CBOR Web Token
0 stars 2 forks source link

Add example with real type time value #44

Closed erdtman closed 7 years ago

erdtman commented 7 years ago

[JLS] Use the value of “1444064944.5” for one of the time values. Although I doubt that less than second resolution is needed in almost any case, having an example where it is given is still a good idea.

selfissued commented 7 years ago

This is a nice-to-have, if it's straightforward to do. That said, I wouldn't include it in the signed CWT that's used in the body of the nested CWT. That one should be indicative of what we think will actually be done. The floating point example should probably be a new example - possibly one with only an "iat" claim that specifies a non-integer time.