Skip to content

Conversation

qwwqwwq
Copy link
Contributor

@qwwqwwq qwwqwwq commented Jul 29, 2025

See section 18.7 of the spec

This is a useful command as it allows you to "tick stamp" arbitrary data, associating it with both with a signing key and a particular TPM clock state. Separately calling the TPM2_ReadClock/TPM2_Sign commands can not accomplish this.

The command code for TPM2_GetTime is enumerated in constants.go but the actual command implementation does not exist, so this PR adds it.

@qwwqwwq qwwqwwq requested review from alexmwu, jkl73 and a team as code owners July 29, 2025 21:56
Copy link
Member

@chrisfenner chrisfenner 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 adding this!

@chrisfenner chrisfenner merged commit bf12020 into google:main Jul 29, 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.

2 participants