Author here, thanks for posting this. Been going deeper on TPMs lately, working through machine identity after remote attestation, the point where you've proven a machine is genuine but still need it to prove which machine it is to something like a secret store. crypto/tls takes any crypto.Signer, so this library slots a TPM-resident ke in and signs the handshake without the key ever leaving the hardware; happy to answer anything on the library or the attestation side.
Repository
bschaatsbergen/go-tpm-tls
go-tpm-tls
A, Go, crypto.Signer backed by a TPM key, so crypto/tls can authenticate with a key that never leaves the hardware.
8stars
bschaatsbergen/go-tpm-tls
go-tpm-tls
Go crypto.Signer backed by a TPM key for crypto/tls authentication with keys that never leave hardware
Visit project- First shared
- Jul 26, 2026
- HN activity
- 51
Show HN@alexpadulaJul 26, 2026
Show HN: MTLS with keys never leaving the TPM
Community