summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorAndrew Lytvynov <awly@tailscale.com>2025-10-30 10:32:30 -0700
committerGitHub <noreply@github.com>2025-10-30 10:32:30 -0700
commitf522b9dbb77bc82be6fc46cacc94148f3bafdf66 (patch)
tree9685d2abdec9c98782508f2345d86bdef0943d0e /control/controlhttp/controlhttpserver/controlhttpserver.go
parentb6c6960e40a79bc8869b004edc7d17df06a46dec (diff)
downloadtailscale-f522b9dbb77bc82be6fc46cacc94148f3bafdf66.tar.xz
tailscale-f522b9dbb77bc82be6fc46cacc94148f3bafdf66.zip
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>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions