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

add tstr support for pre_image_content_type #28

Merged
merged 9 commits into from
Dec 6, 2024
Merged

Conversation

SteveLasker
Copy link
Collaborator

@SteveLasker SteveLasker commented Oct 22, 2024

Makes pre_image_content_type consistent with typ: https://www.rfc-editor.org/rfc/rfc9596.html#section-1-2

@SteveLasker SteveLasker changed the title add tstr support for pre-image-content-type add tstr support for pre_image_content_type Oct 22, 2024
@SteveLasker
Copy link
Collaborator Author

SteveLasker commented Dec 3, 2024

Agreed to expand to include tstr, and change int to unit, including 16 typ

@SteveLasker
Copy link
Collaborator Author

Changes from the meeting today are completed
I also changed payload_hash_alg to unit for consistency

@@ -181,17 +181,19 @@ IANA is requested to add the following entries to the [COSE Header Algorithm Par

- Name: payload_hash_alg
- Label: TBD_1
- Value type: int
- Value type: uint
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- Value type: uint
- Value type: int

See the negative numbers here: https://www.iana.org/assignments/cose/cose.xhtml#algorithms

For example -16 (sha256) is an int, not a uint.

Copy link
Collaborator

@henkbirkholz henkbirkholz Dec 6, 2024

Choose a reason for hiding this comment

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

Why was this marked as resolved? Seems to be a uint for payload_hash_alg. Did I miss something?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because it was merged, did you want something different? 🤷

Copy link
Collaborator

@OR13 OR13 left a comment

Choose a reason for hiding this comment

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

revert change to payload hash algorithm

@SteveLasker SteveLasker merged commit 65087df into main Dec 6, 2024
2 checks passed
@SteveLasker SteveLasker deleted the steve/ctyp-str branch December 6, 2024 16:27
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.

3 participants