Kristoffer Dalby
|
60e84453da
|
CHANGELOG: describe the configuration overhaul
Updates #1926
|
2026-11-24 08:29:05 +00:00 |
|
Kristoffer Dalby
|
19e03cefd0
|
nix: document the module built on the generated options
Updates #1926
|
2026-11-24 08:28:30 +00:00 |
|
Kristoffer Dalby
|
ba115ac742
|
docs: describe the DNS-01 challenge provider
Updates #1926
|
2026-11-24 08:27:58 +00:00 |
|
Kristoffer Dalby
|
36d2c3d174
|
docs: describe the strict configuration and its generated reference
Updates #3567
Updates #1926
|
2026-11-24 08:27:58 +00:00 |
|
Kristoffer Dalby
|
ef6fe1dae9
|
types, docs, nix: regenerate the configuration docs
Updates #1926
|
2026-11-24 08:27:58 +00:00 |
|
Kristoffer Dalby
|
342d7ca072
|
types, config: reword the option docs
Shorter reference prose, review wording on the options and a
gigahost provider example.
Updates #1926
|
2026-11-24 08:27:44 +00:00 |
|
Kristoffer Dalby
|
160d8d2e9d
|
policy: resolve email domains from current users
|
2026-11-23 10:15:59 +01:00 |
|
Kristoffer Dalby
|
0c304b0632
|
cli: list OAuth clients with all=true
An admin key sees clients only with it, as on Tailscale.
|
2026-11-20 23:02:54 +01:00 |
|
Kristoffer Dalby
|
23a637290c
|
servertest: replay the expire-key-expiry capture
|
2026-11-20 23:02:54 +01:00 |
|
Kristoffer Dalby
|
ff356662da
|
all: regenerate config docs
|
2026-11-20 23:02:54 +01:00 |
|
Kristoffer Dalby
|
3907068257
|
state, api: keep the expiry time while key expiry is off
v2 expire writes the time and key toggles the switch, as on Tailscale.
v1 expire and client logout turn expiry on, as in 0.29.
|
2026-11-20 23:02:54 +01:00 |
|
Kristoffer Dalby
|
2c59c13ee2
|
db: add nodes.key_expiry_disabled, on for tagged nodes
|
2026-11-20 23:02:54 +01:00 |
|
Kristoffer Dalby
|
3d8472c4ef
|
types: add Node.KeyExpiryDisabled
Switch beside Expiry, as on Tailscale. Views regenerated in the same
commit: the clone check does not compile without them.
|
2026-11-20 23:02:54 +01:00 |
|
Kristoffer Dalby
|
fe98ddab90
|
integration: define the tag TestOAuthClientCommand uses
v2 refuses tags no policy defines, as Tailscale does.
|
2026-11-20 23:02:54 +01:00 |
|
Kristoffer Dalby
|
27d4c9f7fb
|
api/v2: move key listing out of registerKeys
Keeps registerKeys under the gocyclo limit.
|
2026-11-20 23:02:54 +01:00 |
|
Kristoffer Dalby
|
11bbb0992c
|
api/v2: answer as Tailscale where Headscale can
Tag, scope and token refusals, publicAddress, client listing as captured.
If-Match is checked under the policy lock; kept differences documented.
|
2026-11-20 23:02:54 +01:00 |
|
Kristoffer Dalby
|
0afe30f524
|
all: regenerate config docs
|
2026-11-20 23:02:54 +01:00 |
|
Kristoffer Dalby
|
c4b36103a0
|
db, state: soft-revoke OAuth clients on DELETE
As Tailscale: the client stays readable as revoked; its tokens go.
The revoked-key collector reaps it after revoked_retention.
|
2026-11-20 23:02:54 +01:00 |
|
Kristoffer Dalby
|
167b7e6589
|
hscontrol/testdata: add raw Tailscale API recordings
Cited by the /api/v2 tests that copy or keep apart from Tailscale.
|
2026-11-20 23:02:54 +01:00 |
|
Kristoffer Dalby
|
5676e91629
|
api/v1: return 409 when a unique index refuses a write
Rename to a taken user name always returned 500, and so did every
concurrent create that passed the pre-check and lost the insert.
|
2026-11-20 21:22:18 +01:00 |
|
Kristoffer Dalby
|
1cf3b4796d
|
db: translate driver errors to gorm sentinels
Unique and foreign-key violations reached callers as raw SQLite or
Postgres text, so no layer could tell a taken name from a server fault.
|
2026-11-20 21:22:18 +01:00 |
|
Kristoffer Dalby
|
6c89a68ec8
|
nix: document the module's checks and their escape hatches
Updates #2898
|
2026-11-20 20:29:58 +01:00 |
|
Kristoffer Dalby
|
afd2e1b827
|
.github: bring the Android workflows through zizmor
Read-only token, no persisted checkout credentials, inputs.version
through env, template called with $/.
|
2026-11-20 19:47:15 +01:00 |
|
Kristoffer Dalby
|
7d07d53837
|
nix, .github: gate workflows on zizmor
Flake check, nix-checks job and prek hook; offline, starting at zero findings.
|
2026-11-20 19:47:15 +01:00 |
|
Kristoffer Dalby
|
e52ba94b0c
|
.github: add zizmor config for the findings that do not apply
|
2026-11-20 19:47:15 +01:00 |
|
Kristoffer Dalby
|
f21f507de2
|
.github: run vouch only on vouch commands
Every issue comment minted the App token, which bypasses the ruleset.
|
2026-11-20 19:47:15 +01:00 |
|
Kristoffer Dalby
|
712bd74017
|
.github: stop persisting checkout credentials
Only mike and vouch push; their checkouts keep the token, explicitly.
|
2026-11-20 19:47:15 +01:00 |
|
Kristoffer Dalby
|
bd930e6b07
|
.github: drop the docs deploy cache
Tag deploys restored main's cache into published docs; zizmor cache-poisoning.
|
2026-11-20 19:47:15 +01:00 |
|
Kristoffer Dalby
|
1c3ee1b07b
|
.github: pass integration tests only the secrets they read
Call the template with $/, the same-commit reference zizmor asks for.
|
2026-11-20 19:47:15 +01:00 |
|
Kristoffer Dalby
|
1dcb57cb8c
|
.github: grant workflows only the permissions they use
The repository default token can write; set read and widen per job.
|
2026-11-20 19:47:15 +01:00 |
|
Kristoffer Dalby
|
b01e8e0980
|
.github: pass expressions to scripts through env
Expressions expanded inside run and script bodies become code.
|
2026-11-20 19:47:15 +01:00 |
|
Kristoffer Dalby
|
51fd8dd1b6
|
.github: write the gc dry-run step as a block scalar
zizmor cannot locate expressions in a single-quoted scalar with '' escapes.
|
2026-11-20 19:47:15 +01:00 |
|
Kristoffer Dalby
|
ace89a0e23
|
types: regenerate config docs for tailsql
|
2026-11-20 19:36:34 +01:00 |
|
Kristoffer Dalby
|
02a52c9fe1
|
hscontrol: run tailsql as a node on headscale's own tailnet
Joins over memnet with a self-minted tagged key; re-joins after
deletion. tailsql.* config replaces the TS_AUTHKEY debug knobs.
|
2026-11-20 19:36:34 +01:00 |
|
Kristoffer Dalby
|
0278d459da
|
CHANGELOG: note tailsql on own tailnet
|
2026-11-20 19:36:34 +01:00 |
|
Kristoffer Dalby
|
06253bcc1a
|
go.mod: bump tailscale.com for tsnet.Server.SystemDial
Updates tailscale/tailscale#22299
|
2026-11-20 19:36:34 +01:00 |
|
Kristoffer Dalby
|
9910b6bd4d
|
all: build with Go 1.27.4
tailscale.com requires it.
|
2026-11-20 19:36:34 +01:00 |
|
Kristoffer Dalby
|
9a9d566f57
|
flake: take Go from nixos-26.05
Go 1.27.4 reached the release branch before unstable. Revert once
unstable's go_latest has it.
|
2026-11-20 19:36:34 +01:00 |
|
Kristoffer Dalby
|
489526dfcf
|
policy: allow granting tailscale.com/cap/tailsql
tailsql checks this cap; headscale embeds tailsql.
|
2026-11-20 19:36:34 +01:00 |
|
Kristoffer Dalby
|
dc0edca887
|
db/sqliteconfig: add query_only to read-only connections
mode=ro still allows temp-table writes. ATTACH and VACUUM INTO
still write other files; callers running untrusted SQL must reject them.
|
2026-11-20 19:36:34 +01:00 |
|
Kristoffer Dalby
|
27e90f8692
|
db: accept a credential only when it starts with its prefix
strings.Cut matched the prefix anywhere, so "x<key>" and "Bearer <key>" passed.
|
2026-11-20 18:56:59 +01:00 |
|
Kristoffer Dalby
|
c7e9041cec
|
all: drop CLAUDE.md
AGENTS.md is the single guide for every agent.
|
2026-11-20 18:35:07 +01:00 |
|
Kristoffer Dalby
|
10b3e9707a
|
AGENTS.md: trim to what the code cannot show
Layout and architecture tours removed; directory rules moved to nested files.
|
2026-11-20 18:35:07 +01:00 |
|
Kristoffer Dalby
|
4608e29a02
|
all: add nested AGENTS.md for db, integration, bump and .github
Agents load them only when working in that directory.
|
2026-11-20 18:35:07 +01:00 |
|
Kristoffer Dalby
|
c0390cb657
|
AGENTS.md: drop references to the removed proto/gRPC stack
Point make targets, gen/ and SetTags tests at what replaced them.
|
2026-11-20 18:35:07 +01:00 |
|
Kristoffer Dalby
|
22adccdcbd
|
state: test that a repeated capability version stays quiet
|
2026-11-20 16:56:53 +01:00 |
|
Kristoffer Dalby
|
6ac73c76e5
|
policy/v2: recapture SSH forwarding from a pushed tscap commit
Same SaaS answers; drops them from untraceable.
|
2026-11-20 16:56:53 +01:00 |
|
Kristoffer Dalby
|
993d00cf0c
|
mapper: check peer Cap against a Tailscale SaaS capture
1.86 and Cap 152 clients; each peer carries its own Cap.
|
2026-11-20 16:56:53 +01:00 |
|
Kristoffer Dalby
|
5cdc76246e
|
mapper, state: send each peer its own capability version
Peers carried the viewer's Cap; new clients then enable hybrid
WireGuard handshakes against old peers, which never answer.
|
2026-11-20 16:56:53 +01:00 |
|
Kristoffer Dalby
|
8c1c2d5020
|
types: add runtime Node.CapVer, drop unused TailNodes
TailNodes stamped one capability version on every peer.
|
2026-11-20 16:56:53 +01:00 |
|