Skip to content
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

init: make sure config.user is overriden only with new values so that going DEBUG/undoing can work reproducibly #1772

Conversation

tlaurion
Copy link
Collaborator

@tlaurion tlaurion commented Sep 2, 2024

As of today, somone deciding to Config -> Enable DEBUG + flash cannot simply go back to Config-> Disable DEBUG + flash and have its system permit unsealing previous TPMTOTP + TPM DUK and go on.

This fixes config.user being injected over and over the same TPM related settings by making sure they are not preent prior of reinjectig them.

… going DEBUG/undoing can work reproducibly

Signed-off-by: Thierry Laurion <[email protected]>
@tlaurion
Copy link
Collaborator Author

tlaurion commented Sep 2, 2024

Merging as tested as well under #1773 thoroughly. This is actually a bugfix. Merging without needing review.

There i absolutely no good reason for having those entries multiple times, fused in and injected under CBFS as on master.

Merging bypassing review process.

@tlaurion tlaurion merged commit 3b22ae6 into linuxboot:master Sep 2, 2024
45 checks passed
Copy link
Collaborator

@JonathonHall-Purism JonathonHall-Purism left a comment

Choose a reason for hiding this comment

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

Thanks for this change, agree 100%. Sorry for the delay looking over this.

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

Successfully merging this pull request may close these issues.

2 participants