Files
tailscale/feature/acme
James Tucker 057cb155df ipn/store/kubestore,feature/acme: refresh shared ACME account key on read
When kubestore is configured with a shared per-tailnet ACME accounts
Secret (TS_ACME_ACCOUNT_SECRET_NAME), read through to the Secret on
ReadState(acme-account.key.pem) and refresh the in-memory copy (falling
back to memory if the Secret cannot be read or is empty). This lets
already-running cert-share replicas observe account keys created or
rotated to P-384 by another pod without restarting.

In feature/acme, also re-read the stored key and adopt a concurrently
rotated key if GetReg returns ErrNoAccount or AccountKeyRollover fails,
closing the race window when two pods sharing an account key start
rotation simultaneously.

Updates #22893

Signed-off-by: James Tucker <[email protected]>
Change-Id: I4d88ec69a578fff4cd47d7ab7a22e35c32322751
2026-12-05 00:34:12 -08:00
..