You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/feature/tpm
Andrew Lytvynov c5919b4ed1
feature/tpm: check IsZero in clone instead of just nil (#17884)
The key.NewEmptyHardwareAttestationKey hook returns a non-nil empty
attestationKey, which means that the nil check in Clone doesn't trigger
and proceeds to try and clone an empty key. Check IsZero instead to
reduce log spam from Clone.

As a drive-by, make tpmAvailable check a sync.Once because the result
won't change.

Updates #17882

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
3 weeks ago
..
attestation.go feature/tpm: check IsZero in clone instead of just nil (#17884) 3 weeks ago
attestation_test.go feature/tpm: protect all TPM handle operations with a mutex (#17708) 1 month ago
tpm.go feature/tpm: check IsZero in clone instead of just nil (#17884) 3 weeks ago
tpm_linux.go feature/tpm: try opening /dev/tpmrm0 before /tmp/tpm0 on Linux (#16600) 5 months ago
tpm_other.go feature/tpm: implement ipn.StateStore using TPM sealing (#16030) 6 months ago
tpm_test.go feature/tpm: use withSRK to probe TPM availability (#17627) 1 month ago
tpm_windows.go feature/tpm: implement ipn.StateStore using TPM sealing (#16030) 6 months ago