Back to browse
GitHub Repository

A, Go, crypto.Signer backed by a TPM key, so crypto/tls can authenticate with a key that never leaves the hardware.

2 starsGo

MTLS with keys never leaving the TPM

by alexpadula·Jul 26, 2026·2 points·1 comment

AI Analysis

●●●BangerWizardryNiche Gem

Keys never touch RAM, solving the software extraction vulnerability TPMs were meant to prevent.

Strengths
  • Implements crypto.Signer interface so standard Go TLS stacks work without custom dialers.
  • Auto-discovers key handles by matching certificates, removing fragile machine-specific config.
  • Explicitly documents RSA-PSS salt length mismatches, saving users hours of cryptic handshake debugging.
Weaknesses
  • Does not provision keys, requiring a separate attestation agent to generate and certify them first.
  • TPM serialization limits new handshakes per second, making it unsuitable for high-churn short-lived connections.
Category
Target Audience

Systems engineers and security architects building zero-trust infrastructure

Similar To

aws-nitro-enclaves · hashicorp-vault-transit · smallstep-tpm

Similar Projects