v0.8.0 — Device::new_with_secret (SecretString auth key)
Added
Device::new_with_secret(&Config, Option<secrecy::SecretString>)— a back-compat secret-typed constructor for embedders that hold the registration auth key as asecrecy::SecretString(e.g. a daemon keeping the key zeroized end-to-end). The caller no longer materializes the secret into a plainStringat the engine boundary.Device::new(Option<String>)is unchanged. (Honest scope: the engine still resolves the key to aStringinternally for registration — this closes the caller's plaintext window; engine-side key zeroization is tracked separately.) Adds asecrecydependency (pure-Rust — no aws-lc/openssl/ring, the ring-only egress invariant is preserved) and re-exportstailscale::SecretString. Minor bump (additive API).docs/LIVE_SETTABLE_PREFS.md— documents whichDeviceprefs are live-settable on a running device (set_exit_node,set_serve_config,logout) vs which require aDevice::newrebuild.
This project is not associated with Tailscale Inc.