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

Make Hierarchy a configurable option #847

Open
joylatten opened this issue Oct 19, 2023 · 2 comments
Open

Make Hierarchy a configurable option #847

joylatten opened this issue Oct 19, 2023 · 2 comments

Comments

@joylatten
Copy link

I have a use case where I would like to use the NULL hierarchy with transient objects and when VM rebooted to a pristine state the objects removed and new seed generated.

@williamcroberts
Copy link
Member

Related to #558 and #559

@williamcroberts
Copy link
Member

I have a use case where I would like to use the NULL hierarchy with transient objects and when VM rebooted to a pristine state the objects removed and new seed generated.

So really something like tpm2_ptool init --heirarchy=null. Then on reboot of the VM just wipe the store?

Internally we use either a transient parent that gets created when the --transient-parent option or a persistent handle. We won't be able to use the persistent handle here since that only works for owner and platform hierarchies IIRC. So that --hierarchy=null would imply a transient parent.

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

No branches or pull requests

2 participants