Skip to content

osresearch/safeboot-attest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

safeboot's TPM2 remote attestation

This is a simple TPM2 remote attestation framework built for use with safeboot and safeboot-efi. The protocol is described in safeboot.dev/attestation.

The client is a shell script that wraps the tpm2-tools to generate ephemeral keys that sign the quote over all PCRs and uses curl to post them to the server, along with the TPM eventlog.

The server is a Python flask application that verifies the quote and the eventlog are consistent, and that the signature matches. It shells out to a user provided program to then validate that the quote is acceptable, and if so, returns the data that will be sent to the attesting client.

About

Remote attestation for the safeboot system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published