Closed foriequal0 closed 1 year ago
Isn't it only applied for 32bit representation? We can safely use up to 53bit in JSON in general. I think we don't have to worry about year 285,428,987 problem for a while.
We're not constrained by JWT's mistakes, and ISO 8601 is preferable to UNIX timestamps because it encodes timezone information.
JWT RFC 7519 requires those claims contain a number containing a NumericDate value. https://www.rfc-editor.org/rfc/rfc7519.html#section-4.1.6
But the current PASETO RFC draft requires those claims to be DtTime. https://github.com/paseto-standard/paseto-rfc/blob/master/draft-paragon-paseto-rfc-01.txt#L1083-L1116
Any reasons for this?