Covers login (alternate server, auth key, MDM, debug hook), TLS with a
private CA, restart, in-place upgrade, peer changes, MagicDNS, subnet
routes, exit nodes, Taildrop and network loss. Every test also fails on
an app crash. Lives in its own package so the arm64 matrix skips it.
Updates tailscale/tailscale#15660
Runs the official Tailscale Android app in the emulator and drives it
like a user, over adb and uiautomator: login via the alternate server
dialog, an auth key, MDM or the debug login hook, CA installation in the
user or system store, network toggles, exit node selection and Taildrop.
The app has no CLI, so tests verify externally.
Updates tailscale/tailscale#15660
Headless KVM emulator (google_apis, API 33) plus a small helper app:
a device-owner DPC that sets the Tailscale app's managed configuration,
and a probe that resolves and fetches as an ordinary app, through the
VPN.
Updates tailscale/tailscale#15660
As SaaS. Clients take a peer with their own user ID for a device of the same
owner, so every tagged peer was a file target and could read debug endpoints.
Updates #2462, #2970
As on Tailscale SaaS, the node's own entry keeps Hostname, RequestTags,
RoutableIPs and Services; peers get Hostname, OS, Services without
peerapi-dns-proxy, SSH host keys and AppConnector, and resend on those.
Withdrawal removes approvals granted only by policy; manual and migrated
approvals remain. Recheck routes after policy learns an administrator's
new tags.
Return NodeKeyExpired for same-key login so the client rotates its key;
the machine stays authorized. Store earlier client expiry and expire
tagged nodes at logout.
Registration approval runs on the node the writer replaces. A policy
reload approves nothing, and a map request only when its announced
routes change, so neither re-grants a route an admin revoked.
A router that reconnects joins as a standby; one that kept its session
takes its routes back once available again, as on Tailscale. Both the
global and the via election use it, in place of anti-flap stickiness.
Recompute via elections on health changes and check online state and expiry.
With no available router, retain the previous primary or lowest-ID approver;
exclude routers the prober marked unreachable.
A router holding the other's route for its docker subnet in table 52
cannot be reattached: docker resolves the gateway through tailscale0.
Replaces the phase 4a wait that covered one case of it.
Only a key that speaks for a tagged node re-authenticates it: a tagged
key, or one of the user it was tagged from. Another user's key or login
adds that user's own device, or only wakes the node under its node key.
Fixes ANT-2026-AWGRB7O1
Every client version gets a certificate from Pebble through rfc2136 and
a TSIG-checked DNS server in the test process, then runs each serve
mode; identity headers name the requesting user.
Updates #2137
Updates #1921
API keys, pre-auth keys and OAuth clients/tokens share one table and verify
path. Secrets carry 256 bits of crypto/rand entropy, so a SHA-256 digest
needs no stretching; bcrypt/argon2id rows rehash on use until 0.32.