mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-01 17:49:02 +00:00
cmd/tailscale,ipn: store disallowed TKA's in prefs, lock local-disable
Take 2 of https://github.com/tailscale/tailscale/pull/6546 Builds on https://github.com/tailscale/tailscale/pull/6560 Signed-off-by: Tom DNetto <tom@tailscale.com>
This commit is contained in:
@@ -714,3 +714,10 @@ func (a *Authority) Keys() []Key {
|
||||
}
|
||||
return out
|
||||
}
|
||||
|
||||
// StateIDs returns the stateIDs for this tailnet key authority. These
|
||||
// are values that are fixed for the lifetime of the authority: see
|
||||
// comments on the relevant fields in state.go.
|
||||
func (a *Authority) StateIDs() (uint64, uint64) {
|
||||
return a.state.StateID1, a.state.StateID2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user