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 f522b9dbb7
feature/tpm: protect all TPM handle operations with a mutex (#17708)
In particular on Windows, the `transport.TPMCloser` we get is not safe
for concurrent use. This is especially noticeable because
`tpm.attestationKey.Clone` uses the same open handle as the original
key. So wrap the operations on ak.tpm with a mutex and make a deep copy
with a new connection in Clone.

Updates #15830
Updates #17662
Updates #17644

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
1 month ago
..
attestation.go feature/tpm: protect all TPM handle operations with a mutex (#17708) 1 month ago
attestation_test.go feature/tpm: protect all TPM handle operations with a mutex (#17708) 1 month ago
tpm.go feature/tpm: use withSRK to probe TPM availability (#17627) 1 month 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