Skip to content

PinNode v0.3.0

Choose a tag to compare

@lsy223622 lsy223622 released this 16 Sep 19:04
· 1 commit to main since this release

Highlights

PinNode v0.3.0 brings end-to-end administrator session management and updates the embedded Tailscale client to stable v1.102.4.

Administrator session management

  • Create single-use six-digit pairing PINs with a selected managed Tailscale API/OAuth credential.
  • View pending PINs, active sessions, and read-only stopped-session history in the admin console.
  • Inspect PinNode heartbeats, client state, Tailscale control-plane availability and online state, addresses, routes, Exit Node state, configuration revisions, and client synchronization state.
  • Edit a session's desired configuration from the admin console and apply it through the existing Android synchronization path.
  • Stop active sessions from the admin console with idempotent cleanup of routes, devices, and auth keys.
  • Copy policy configuration into a new session without reusing the previous session identity, device identity, or session credentials.
  • Use authoritative attach snapshots for configuration, revision, routes, and expiry data.

Reliability and security

  • Determine Tailscale online state from connectedToControl, avoiding false offline or warning states when the legacy online field is stale.
  • Enforce the database-adjacent pinnode.secret as the authoritative instance key once it exists; stale environment overrides can no longer silently switch an existing database to another key.
  • Validate stored Tailscale credentials during startup and fail fast on an invalid instance key or malformed credential instead of starting with an unusable configuration.
  • Add strict configuration patch validation, revision-based compare-and-swap protection, high-risk policy confirmation, and client-capability checks.
  • Keep stopped-session history safe for inspection and policy copying without exposing session tokens, auth keys, or credential secrets.

Upstream and build updates

  • Update the embedded Tailscale source to v1.102.4.
  • Update the Android NDK build requirement to 30.0.16248370.
  • Publish signed Android and Linux amd64 release artifacts with checksums and the generated third-party license bundle.

Upgrade note

For an existing server, keep server/data/pinnode.db and its database-adjacent server/data/pinnode.secret together. Once the secret file exists, it is the instance's key authority; the server intentionally refuses to fall back to conflicting environment key overrides.

The API details are documented in docs/api.md and docs/openapi.yaml.

Full changelog

v0.2.0...v0.3.0