-
Notifications
You must be signed in to change notification settings - Fork 2k
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
SUIT: Upgrade to draft-ietf-suit-manifest-09 #14436
Conversation
Updated to be draft-ietf-suit-manifest-09 compatible. |
Looks like we'll need |
I've stripped the hss-lms key functionality from the tool for now. |
Well that's also a solution 😄 |
It's not like there is any use in having support for it in auxiliary tooling without support for HSS-LMS in RIOT itself.
That's probably the best long-term solution. |
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.
Travis has some complaints about missing documentation to some public functions.
@@ -144,6 +144,8 @@ The `suit-tool` supports three sub-commands: | |||
* `create` generates a new manifest. | |||
* `sign` signs a manifest. | |||
* `parse` parses an existing manifest into cbor-debug or a json representation. | |||
* `keygen` Create a signing key. Not for production use. |
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.
Is that a private key? And why not for production use?
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.
Ahh, crap, this was not supposed to be reviewed, everything under dist/tools/suit/suit-manifest-generator is imported from ARMmbed/suit-manifest-generator and will be migrated to a package when the spec is stabilized.
I'd rather not start fixing nitpicks in "external" code and only fix the bare minimum required for integration.
Murdock will need |
@kaspar030 the workers will need an update |
@benpicco @fjmolinas @kaspar030 good to go? Squashing time? |
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.
I see that now you can eventually have more than one component, can test/suit_manifest
be updated to test for that?
Now the update starts but digest validation is failing, any ideas?
Also I don't know if I ended up making this comment or if it got lost but can the |
Had this around somewhere from a previous hackathon. See 7da04ac |
Yup, see ARMmbed/suit-manifest-generator#42, included the fix in our clone of that repo. |
Its working for me now! Please squash @bergzand!
|
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.
ACK.
2dbfd0d
to
4eaab5b
Compare
Squashed! |
Murdock is not happy |
4eaab5b
to
ac8105b
Compare
ac8105b
to
464aa26
Compare
Go! |
Thanks for testing and reviewing! |
@bergzand yay! |
Never mind, updating Python fixed it (literally just running |
Contribution description
This PR upgrades the current manifest generator and parser to be
ietf-v7ietf-v9 compliant. Everything underdist/tools/suit/suit-manifest-generator
is imported from ARMmbed/suit-manifest-generator and will be migrated to a package when the spec is stabilized.Testing procedure
tests/suit_manifest
must passexamples/suit_update
.Issues/PRs references
None