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

use of registrar endpoints for responder vs. initiator mode #84

Closed
stfries opened this issue Mar 1, 2023 · 4 comments
Closed

use of registrar endpoints for responder vs. initiator mode #84

stfries opened this issue Mar 1, 2023 · 4 comments
Assignees

Comments

@stfries
Copy link
Collaborator

stfries commented Mar 1, 2023

Toerless WGLC review:

I would suggest to change the media-type for PRM to:
application/voucher+prm+ws+json

Addresses situations, in which the format may also be used by standard BRSKI.

The same consideration should be used for any other media type this
document uses where the endpoint could likely be shared between
PRM and non-PRM in the future.

Of course, there are alternatives like introducing PRM specific endpoints.
I really have no good criteria to pick one over the other, a.a.: to
me "/requestvoucher-prm" would be equally fine.

@stfries
Copy link
Collaborator Author

stfries commented Mar 1, 2023

The registrar distinguishes between pledge and registrar-agent is based on the utilized *DevID. If an LDevID is used, the request originates from the registrar-agent. It can then verify the content of the PVR including the agent-signed-data.
If an IDevID is used, the request originates from a pledge. Proposal to leave enpoints as is.

Media type changes to be discussed

@mcr
Copy link
Member

mcr commented May 9, 2023

Based upon discussion about +cose and +cwt and the mediaman WG's document on multiple types, I think that voucher+json is probably better. What does "ws" stand for above?
I agree with the second comment about how the Registrar knows who is communicating.

@stfries
Copy link
Collaborator Author

stfries commented May 9, 2023

JWS voucher to be updated/discussed regarding the media type: proposal application/voucher+jws, see also jws-voucher issue 7
If changed to be taken over in BRSKI-PRM

@stfries
Copy link
Collaborator Author

stfries commented Jun 6, 2023

Can be closed based on discussion June 6, 2023:

  • Constraint voucher likely use form factor CBOR-in-COSE_Sign, which is independent from JSON-in-JWS signed

@stfries stfries closed this as completed Jun 6, 2023
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

3 participants