-
Notifications
You must be signed in to change notification settings - Fork 9
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
CDDL contradictions #262
Comments
@kentakayama can you comment? |
Another contradiction: Section 4.6 has: but Appendix C instead has: |
Someone needs to go through all of PR #248 again and fix the contradictions. |
@dthaler
|
No other format is currently permitted. SUIT_Envelope in the production requires it to be SUIT.
We can save 2 bytes per manifest by not adding the tag which is not needed, just like we removed the COSE tag.
That's an issue for the suit-tool to fix by adding an appropriate option.
Acknowledged. |
Addresses #262 Signed-off-by: Dave Thaler <[email protected]>
@dthaler @kentakayama The SUIT Manifest already has an assigned tag by the effort of SUIT working group, so I am perfectly fine using the tag only for the SUIT Manifest which do not effect on implementation which uses a tag on SUIT manifest and not using any tag on entire TEEP massage. |
Addresses #262 Signed-off-by: Dave Thaler <[email protected]>
This is just a clarification comment. When I was adding examples of CBOR format in the draft, I wanted to show the benefit of using CBOR over other methods, for example json. I personally feel the cbor is a bit complicated than I expected and probably json is acceptable on most cases, however, we have decided to use CBOR for the TEEP protocol at the Hackathon in Berlin in February 2020, it is good to show who is reading the TEEP Protocol spec would understand the benefit of the CBOR. After many iterations many of my comments are disappearing but I will try to add them by expressing the byte size in the comments section in the CDDL pages. |
Addresses more of #262 Signed-off-by: Dave Thaler <[email protected]>
Fixed in draft-11 |
PR #248 introduced a regression regarding the manifest-list field of the Update message.
Section 4.4 has:
? manifest-list => [ + bstr .cbor SUIT_Envelope ],
Section 4.4.1 has:
and same with 4.4.2, 4.4.3, and 4.4.4.
However, Appendix C incorrectly has:
? manifest-list => [ + bstr .cbor SUIT_Envelope_Tagged ],
instead of
? manifest-list => [ + bstr .cbor SUIT_Envelope ],
which regression came from commit f7115c0 in PR 248.
Per IETF discussion on #147 we do not need the CBOR tag.
The text was updated successfully, but these errors were encountered: