Clarified why we have a different key
This commit is contained in:
parent
175dfa1ede
commit
f0a8a2857b
2 changed files with 2 additions and 1 deletions
|
@ -56,8 +56,8 @@ func (h *Headscale) KeyHandler(
|
|||
return
|
||||
}
|
||||
|
||||
// TS2021 (Tailscale v2 protocol) requires to have a different key
|
||||
if clientCapabilityVersion >= NoiseCapabilityVersion {
|
||||
// Tailscale has a different key for the TS2021 protocol
|
||||
resp := tailcfg.OverTLSPublicKeyResponse{
|
||||
LegacyPublicKey: h.privateKey.Public(),
|
||||
PublicKey: h.noisePrivateKey.Public(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue