hscontrol/state: allow expired auth keys for node re-registration
Skip auth key validation for existing nodes re-registering with the same NodeKey. Pre-auth keys are only required for initial authentication. NodeKey rotation still requires a valid auth key as it is a security-sensitive operation that changes the node's cryptographic identity. Fixes #2830
This commit is contained in:
parent
abed534628
commit
4728a2ba9e
5 changed files with 369 additions and 6 deletions
|
|
@ -29,6 +29,7 @@ type TailscaleClient interface {
|
|||
Login(loginServer, authKey string) error
|
||||
LoginWithURL(loginServer string) (*url.URL, error)
|
||||
Logout() error
|
||||
Restart() error
|
||||
Up() error
|
||||
Down() error
|
||||
IPs() ([]netip.Addr, error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue