Check that the TPM we have opened is advertised as a 2.0 family device
before using it for state sealing / hardware attestation.
Updates #17622
Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>
(cherry picked from commit 36ad24b20f)
bradfitz/cherry-pick-iptables
Patrick O'Doherty1 month agocommitted byPatrick O'Doherty