linuxboot / linuxboot/heads

Use TPM2_Quote for attestation

Open
#1,480 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
1.6k
Forks
211
Avg merge
4d 21h
Merged PRs (30d)
6

Description

**Is your feature request related to a problem? Please describe.**
TOTP requires synchronizing time, and HOTP requires synchronizing state.

**Describe the solution you'd like**
Use [TPM2_Quote] for attestation. TPM2_Quote signs a set of PCRs and a nonce with a key in the TPM. It is possible to have a key that can only be used for TPM2_Quote and cannot be exported from the TPM.

**Describe alternatives you've considered**
None.

**Additional context**
This is more secure than TOTP or HOTP for two reasons:

1. The secret used to sign the quote never leaves the TPM, making it much less likely to be accidentally leaked.
2. The qualifying data can be much longer than a 6 digit passcode.

[TPM2_Quote]: https://tpm2-tools.readthedocs.io/en/latest/man/tpm2_quote.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked TPM2_Quote documentation. The issue names no file, entry point, or test, so locate the project's attestation flow and determine how quote verification should be validated; done requires an agreed implementation and test plan for TPM-backed attestation.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.