Skip to content

fix: Use Environment::matches() rather than == when selecting the trust anchor#9

Merged
setrofim merged 1 commit into
veraison:mainfrom
paulhowardarm:phEnvironmentMatchFix
Dec 16, 2025
Merged

fix: Use Environment::matches() rather than == when selecting the trust anchor#9
setrofim merged 1 commit into
veraison:mainfrom
paulhowardarm:phEnvironmentMatchFix

Conversation

@paulhowardarm

Copy link
Copy Markdown
Contributor

The Environment::matches() function has more nuanced logic and is a better choice here than an equality check.
In fact, even the Environment::matches() function can produce false negatives right now, but that will be the right place to invest future changes.

Signed-off-by: Paul Howard paul.howard@arm.com

…st anchor.

Signed-off-by: Paul Howard <paul.howard@arm.com>

@thomas-fossati thomas-fossati left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@setrofim setrofim merged commit 9fe5fde into veraison:main Dec 16, 2025
4 checks passed
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.

3 participants