-
Notifications
You must be signed in to change notification settings - Fork 217
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
IAT claim in cose sign #6565
IAT claim in cose sign #6565
Conversation
@maxtropets let's continue to use enclavetime, because it's useful to be able to control the clock centrally for test purposes. |
"iat" needs to be nested in a "CWT_Claims" map (15): https://datatracker.ietf.org/doc/rfc9597/ |
Done, please review |
I suggest setting up a test that uses the cddl tool to check the schema here, because it's stricter than the Python cbor2 library, which is quite liberal in its type mapping. |
@maxtropets also needs a changelog entry, but maybe that's better done once it can contain a link to a schema |
|
As per https://www.rfc-editor.org/rfc/rfc8392.html#section-3.1.6
Currently using
time()
directly.@achamayou I think we can use it in SNP, can't we? Or shall we keep using
ccf::enclavetime
?