I vibe-coded to try and make this, and it turns out TPM Endorsement Keys certs/keys don't support singing data directly. You can use the TPM API with a client-supplied quote/nonce to prove that a separate signing key (Attestation Key) is on the same TPM, and then make signatures with the AK
add a skeleton here at some point
3 months ago