Skip to content

Bring down upstream defined control over support for TLV allow list #488

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

de-nordic
Copy link
Contributor

MCUboot image validation and Zephyr Kconfig changes.

The ALLOW_ROGUE_TLVS is used to turn off TLV filtering in
code, basically to prevent processing TLVs that MCUboot is not
compiled to serve anyway.
The commit replaces identifier ALLOW_ROGUE_TLVS with
MCUBOOT_USE_TLV_ALLOW_LIST and reverse the logic around it, as
it now means opposite to the original.
This gives the feature an identifier in style of the
mcuboot_config.h defined identifiers.

Upstream PR #: 2410

Signed-off-by: Dominik Ermel <[email protected]>
The commit adds Kconfig MCUBOOT_USE_TLV_ALLOW_LIST that allows
to control MCUboot config option MCUBOOT_USE_TLV_ALLOW_LIST.
The Kconfig is set to y, by default, to keep legacy behaviour.

Upstream PR #: 2410

Signed-off-by: Dominik Ermel <[email protected]>
@de-nordic de-nordic force-pushed the tlv-allow-list-control branch from 06f9814 to b25fe83 Compare August 14, 2025 13:54
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant