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

EST and nonce request #69

Open
thomas-fossati opened this issue Nov 5, 2023 · 0 comments
Open

EST and nonce request #69

thomas-fossati opened this issue Nov 5, 2023 · 0 comments

Comments

@thomas-fossati
Copy link
Collaborator

@hannestschofenig, @HBrock

§4 of lamps-nonce suggests using EST's "CSR Attributes" resource to convey the nonce from the CA/RA to the EE. However, nonce would need to be generated afresh for each GET and that is not ideal because state on the CA/RA regardless of the intention of the requestor to actually start an "attested enrolment".

It probably makes sense to add an explicit protocol signal that the requestor can use to trigger nonce generation on the CA/RA side.

Two options:

  • add another EST API endpoint (e.g., /nonce, /attested-enrolment, ...)
  • extend the /csrattrs endpoint with a query parameter

In both cases, it makes sense to allow the caller to also specify the size of the nonce. This is because attesters' APIs may have constraints in terms of the challenges they allow (e.g., PSA API.

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