Add SUIT manifest verify + process support (off by default)#796
Draft
aidangarske wants to merge 6 commits into
Draft
Add SUIT manifest verify + process support (off by default)#796aidangarske wants to merge 6 commits into
aidangarske wants to merge 6 commits into
Conversation
a0c04bd to
13e7021
Compare
…oncatenated envelope+image layout)
…and device identity
…r networked update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Optional SUIT manifest (
draft-ietf-suit-manifest-34) secure update. Off by default (WOLFBOOT_SUIT); the TLV path is unchanged. Seedocs/SUIT.md.Adds
lib/wolfCOSE.SUIT_HAVE_ENCRYPTION.[envelope][image], A/B handoff).kidkey selection, device vendor/class identity.SUIT_HAVE_FETCH) + compact status report (SUIT_HAVE_REPORT).wolfBoot_suit_verify()API; pluggable component ops (reusable outside wolfBoot).Tested (CI
suit.yml): host author -> verify -> install -> encrypt -> fetch -> report -> tamper; independent interop cross-check (cbor2+cryptography) of a frozen vector;WOLFBOOT_SUIT=1sim build. Experimental, not yet hardware-tested.Compliance: minimal trusted-invocation profile, codes verified vs IANA, default-deny on unsupported commands. Not full draft-34 (no severable / try-each / swap / dependencies).
Depends on wolfSSL/wolfCOSE #53 (submodule pinned to it).
Merge tasks
lib/wolfCOSEfrom MPU: fix RO flag in flash preventing the update #53 head to the v1.0 tag, then mergeProduction gate (before enabling
WOLFBOOT_SUITin a product)