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

CRED_x in CWT format #125

Closed
gselander opened this issue May 21, 2021 · 4 comments
Closed

CRED_x in CWT format #125

gselander opened this issue May 21, 2021 · 4 comments

Comments

@gselander
Copy link
Collaborator

gselander commented May 21, 2021

In the example of CRED_x in 3.3.3, consider to replace own construct with CWT:

OLD:

CRED_x = {
  1:  1,
 -1:  4,
 -2:  h'b1a3e89460e88d3a8d54211dc95f0b90
        3ff205eb71912d6db8f4af980d2db83a',
 "subject name" : "42-50-31-FF-EF-37-32-39"
}

NEW:

CRED_x = {     /CWT/
 2 : "42-50-31-FF-EF-37-32-39",    /sub/
 8 : {    /cnf/
       1 : {     /COSE_Key/
              1:  1,
             -1:  4,
             -2:  h'b1a3e89460e88d3a8d54211dc95f0b90
                      3ff205eb71912d6db8f4af980d2db83a',
             }
       }
}
@gselander
Copy link
Collaborator Author

gselander commented May 21, 2021

That is, a CWT without COSE signature/encrypt/MAC, i.e. an UCCS
https://datatracker.ietf.org/doc/html/draft-ietf-rats-uccs

@emanjon
Copy link
Collaborator

emanjon commented May 21, 2021

Yes. I bit related to #115

With this change, I don't think EDHOC does maybe not need to support any "raw" COSE key.

@gselander
Copy link
Collaborator Author

This change has now been done in the master branch, see a1b25ba and commits in its vicinity.

Can we close the issue?

@emanjon
Copy link
Collaborator

emanjon commented Aug 26, 2021

Seems like this can be closed

@emanjon emanjon closed this as completed Aug 26, 2021
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

2 participants