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

Update CWT_Claims to 15 #34

Closed
wants to merge 6 commits into from
Closed

Update CWT_Claims to 15 #34

wants to merge 6 commits into from

Conversation

SteveLasker
Copy link
Contributor

As CTW_CLAIMS was finalized, the value changed from 13 to 15
https://www.iana.org/assignments/cose/cose.xhtml#header-parameters

Fixes #25

Signed-off-by: steve lasker <[email protected]>
@SteveLasker
Copy link
Contributor Author

Pending back-end change.

honourfish
honourfish previously approved these changes Nov 15, 2024
@SteveLasker
Copy link
Contributor Author

@robinbryce, can you PTAL
I had to remove 04 from the tests to get the PR to pass on Windows ?
See: https://github.com/datatrails/datatrails-scitt-samples/actions/runs/11943628428


# subject header label comes from version 2 of the scitt architecture document
# # subject header label comes from version 2 of the scitt architecture document
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# # subject header label comes from version 2 of the scitt architecture document
# subject header label comes from version 2 of the scitt architecture document

# CWT header label is defined by
# https://datatracker.ietf.org/doc/html/draft-ietf-cose-cwt-claims-in-headers-10#section-2
# And referenced by https://www.ietf.org/archive/id/draft-ietf-scitt-architecture-10.html#name-signed-statements
HEADER_LABEL_CWT = 15

# CWT header label previously came from version 4 of the scitt architecture document
# https://www.ietf.org/archive/id/draft-ietf-scitt-architecture-04.html#name-issuer-identity
HEADER_LABEL_CWT_SCITT_DRAFT_04 = 13
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have you left this here if it's not used anymore?

Copy link
Collaborator

@robinbryce robinbryce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THis should be reverted. Please simply un revert the pr you reverted on friday. Which passed on all platforms

@SteveLasker
Copy link
Contributor Author

SteveLasker commented Nov 21, 2024

abandoned for #38

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

Successfully merging this pull request may close these issues.

Change CWT_CLAIMS from 13 to 15
4 participants