mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-14 23:17:29 +00:00
feature/tpm: implement ipn.StateStore using TPM sealing (#16030)
Updates #15830 Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
This commit is contained in:
@@ -45,6 +45,8 @@ var knownStores map[string]Provider
|
||||
// the suffix an AWS ARN for an SSM.
|
||||
// - (Linux-only) if the string begins with "kube:",
|
||||
// the suffix is a Kubernetes secret name
|
||||
// - (Linux or Windows) if the string begins with "tpmseal:", the suffix is
|
||||
// filepath that is sealed with the local TPM device.
|
||||
// - In all other cases, the path is treated as a filepath.
|
||||
func New(logf logger.Logf, path string) (ipn.StateStore, error) {
|
||||
for prefix, sf := range knownStores {
|
||||
|
Reference in New Issue
Block a user