mirror of
https://github.com/tailscale/tailscale.git
synced 2026-10-29 14:39:16 -04:00
Private host keys are only ever read by tailscaled itself; writing them 0700 needlessly allows group/other to walk into the key directory. Use 0600, and pin it in TestSSHKeyGen. Updates tailscale/corp#50380 Signed-off-by: James Tucker <james@tailscale.com>