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

Add configfs-tsm support for attestation reports #99

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

deeglaze
Copy link
Collaborator

Given Dan Williams's configfs-tsm patch set to the Linux kernel, all attestation reports ought to be requested through configfs and not ioctls.

This marks the deprecation of the Device interface for reports, but not for keys.

Tested locally with go-tpm-tools. Should be an easy update.

client/client.go Outdated Show resolved Hide resolved
return append(report, certs...), nil
}

// GetRawQuote returns byte format attestation plus certificate table via /dev/sev-guest ioctl.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shall we add a log that this interface is getting deprecated?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, the deprecation notice will be in the release notes.

Given Dan Williams's configfs-tsm patch set to the Linux kernel, all
attestation reports ought to be requested through configfs and not
ioctls.

This marks the deprecation of the Device interface for reports, but not
for keys.

Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
@deeglaze deeglaze merged commit 869dc68 into google:main Jan 16, 2024
8 checks passed
@deeglaze deeglaze deleted the configfs branch January 16, 2024 22:57
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