-
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
Formatting and spec clarity updates #7
Conversation
Signed-off-by: steve lasker <stevenlasker@hotmail.com>
I think the intro still needs some work |
Yeah, this was a rough update that I wanted to save before wrapping up for the day. |
Co-authored-by: Orie Steele <orie@or13.io>
Signed-off-by: steve lasker <stevenlasker@hotmail.com>
…draft-steele-cose-hash-envelope into spec-clarifications
I changed the date to fix some kramdown warnings. Your call to revert, keep, change Ultimately, we need to decide how we want to handle "Too long lines..." for CDDL. |
Is there a reason that special COSE headers and specification are warranted rather than simply following the guidance from RFC9054? One could use the Another question that comes to mind is that hashing of content to represent and indirect immutable key for the original content isn't a unique COSE issue. As such might it be possible to consider a content-type extension approach in which the content-type can be augmented with something such as |
The main reasons is integrity protection, and being able to swap detached payload of hash of content for detached payload of content, in protocol messages that require COSE Sign 1. If I do think its awkward that we can't directly use |
This would mean registering a new structured suffix for every hash algorithm? I think if we can, we should avoid creating new media types. We might be able to encode content type of the preimage in:
|
Adding a bit more formatting and clarity to the spec