tailscale/cmd
Xe affa25097c cmd/gitops-pusher: add etag cache file for the three version problem
This allows gitops-pusher to detect external ACL changes. I'm not
sure what to call this problem, so I've been calling it the "three
version problem" in my notes. The basic problem is that at any given
time we only have two versions of the ACL file at any given point:
the version in CONTROL and the one in the git repo. In order to
check if there has been tampering of the ACL files in the admin
panel, we need to have a _third_ version to compare against.

In this case I am not storing the old ACL entirely (though that could
be a reasonable thing to add in the future), but only its sha256sum.
This allows us to detect if the shasum in control matches the shasum
we expect, and if that expectation fails, then we can react
accordingly.

This will require additional configuration in CI, but I'm sure that
can be done.

Signed-off-by: Xe <xe@tailscale.com>
2022-07-22 13:53:20 -04:00
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
cloner cmd/viewer: add codegen tool for Views 2022-05-06 10:58:10 -07:00
derper derp: plumb '/derp' request context through (#5083) 2022-07-18 15:43:03 -07:00
derpprobe all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
gitops-pusher cmd/gitops-pusher: add etag cache file for the three version problem 2022-07-22 13:53:20 -04:00
hello all: use strings.Cut even more 2022-03-19 13:02:38 -07:00
mkpkg cmd/mkpkg: use package flag (#4373) 2022-04-07 16:38:33 -04:00
nginx-auth cmd/nginx-auth: maintainer scripts and tailnet checking (#4460) 2022-04-20 13:06:05 -04:00
printdep Docker: add ALPINE.txt to manage alpine versions 2022-06-29 11:47:09 -07:00
proxy-to-grafana cmd/proxy-to-grafana: use localClient.GetCertificate (#5024) 2022-07-08 14:33:14 -04:00
speedtest cmd: upgrade to ffcli v3 2021-09-14 13:21:55 -07:00
tailscale net/netcheck: test for OS IPv6 support as well as connectivity. 2022-07-18 18:02:12 -07:00
tailscaled go.mod: bump gvisor.dev/gvisor 2022-07-21 16:41:18 -07:00
testcontrol all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
tsconnect cmd/tsconnect: allow building static resources in a different directory 2022-07-20 10:14:43 -07:00
tsshd cmd/tsshd: delete, leaving only forwarding docs 2022-05-16 11:52:44 -07:00
viewer cmd/viewer,types/views: add support for views of maps 2022-05-09 19:49:31 -07:00