-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
Signed-off-by: steve lasker <[email protected]>
Agreed to expand to include tstr, and change int to unit, including 16 typ |
Co-authored-by: Henk Birkholz <[email protected]>
Co-authored-by: Henk Birkholz <[email protected]>
Co-authored-by: Henk Birkholz <[email protected]>
Co-authored-by: Henk Birkholz <[email protected]>
Signed-off-by: steve lasker <[email protected]>
Changes from the meeting today are completed |
draft-ietf-cose-hash-envelope.md
Outdated
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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? 🤷
There was a problem hiding this 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
Co-authored-by: Orie Steele <[email protected]>
Co-authored-by: Orie Steele <[email protected]>
Makes pre_image_content_type consistent with typ: https://www.rfc-editor.org/rfc/rfc9596.html#section-1-2