mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-25 02:08:21 +00:00
Clarified why we have a different key
This commit is contained in:
1
app.go
1
app.go
@@ -132,6 +132,7 @@ func NewHeadscale(cfg *Config) (*Headscale, error) {
|
||||
return nil, ErrFailedPrivateKey
|
||||
}
|
||||
|
||||
// TS2021 requires to have a different key from the legacy protocol.
|
||||
noisePrivateKey, err := readOrCreatePrivateKey(cfg.NoisePrivateKeyPath)
|
||||
if err != nil {
|
||||
return nil, ErrFailedNoisePrivateKey
|
||||
|
Reference in New Issue
Block a user