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

swtpm: Search for all state files and use abstracted names in JSON #557

Merged
merged 1 commit into from
Sep 25, 2021

Conversation

stefanberger
Copy link
Owner

Search for all the state files not just the permanent state and
when printing the JSON use the abstracted names rather than concrete
filenames that are only valid for the dir backend but will likely
not exist in other backends.

Adjust swtpm_setup to search for the abstracted name and also
adjust the error message to print out the abstracted name.

Adjust the test cases.

Signed-off-by: Stefan Berger stefanb@linux.ibm.com

@stefanberger
Copy link
Owner Author

This is a follow-up to PR #556 .

@Etsukata

@stefanberger stefanberger force-pushed the stefanberger/swtpm_search_all_states branch from c1b219f to 04cf213 Compare September 25, 2021 00:23
@stefanberger stefanberger force-pushed the stefanberger/backend_is_available branch 4 times, most recently from cc4a502 to e9c724d Compare September 25, 2021 03:54
Search for all the state files not just the permanent state and
when printing the JSON use the abstracted names rather than concrete
filenames that are only valid for the dir backend but will likely
not exist in other backends.

Adjust swtpm_setup to search for the abstracted name and also
adjust the error message to print out the abstracted name.

Adjust the test cases.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
@stefanberger stefanberger force-pushed the stefanberger/swtpm_search_all_states branch from 04cf213 to 8c05ad5 Compare September 25, 2021 12:57
@stefanberger stefanberger changed the base branch from stefanberger/backend_is_available to master September 25, 2021 12:58
@stefanberger stefanberger merged commit f2aa327 into master Sep 25, 2021
@stefanberger stefanberger deleted the stefanberger/swtpm_search_all_states branch September 25, 2021 14:26
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.

2 participants