Skip to content

Add security startup subcommand to htool#282

Merged
korran merged 1 commit into
google:mainfrom
collinwright2:add-tpm-startup
Jul 14, 2026
Merged

Add security startup subcommand to htool#282
korran merged 1 commit into
google:mainfrom
collinwright2:add-tpm-startup

Conversation

@collinwright2

@collinwright2 collinwright2 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

examples: Add security startup subcommand

Add htool security startup to send a TPM2_Startup(CLEAR) command to initialize the TPM over any supported transport (e.g. --transport dbus).

$ htool --transport dbus security startup
TPM2_Startup(CLEAR) sent successfully.

Signed-off-by: Collin Wright collinwright@google.com

@collinwright2
collinwright2 marked this pull request as ready for review July 9, 2026 13:21
@collinwright2 collinwright2 changed the title Add tpm startup subcommand to htool Add security startup subcommand to htool Jul 9, 2026
Comment thread examples/htool_tpm.c Outdated
@xorptr

xorptr commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

could you please squash the commits meant for same task, before merging with rebase?

Comment thread examples/htool_tpm.h Outdated
Add the `security startup` subcommand to `htool` to send standard TPM2_Startup(CLEAR) command. On Security V2, returns 0 as a no-op.
@collinwright2

Copy link
Copy Markdown
Contributor Author

could you please squash the commits meant for same task, before merging with rebase?

Commits should be squashed. I don't have permissions to hit the merge button on this.

@korran
korran merged commit 3a32806 into google:main Jul 14, 2026
10 checks passed
@collinwright2
collinwright2 deleted the add-tpm-startup branch July 14, 2026 18:33
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.

4 participants