Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CAIP-196] Timestamp precision #235

Open
chunningham opened this issue Jul 11, 2023 · 0 comments
Open

[CAIP-196] Timestamp precision #235

chunningham opened this issue Jul 11, 2023 · 0 comments

Comments

@chunningham
Copy link

CAIP-196 currently defines timestamps as integers. 99% of the time this is what they will be, however the JWT spec defines timestamps as "NumericDates" which can have fractional values. The UCAN spec similarly bases itself on the JWT spec, this issue mentions that they 'should be the same as in JWT, because these are JWT fields, although the spec itself mentions integers. Hypothetically, what should happen if a UCAN with exp: 2.5` is translated into a CACAO?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant