[client] Recover from rosenpass key desync (#6714)

This commit is contained in:
Viktor Liu
2026-07-10 17:38:29 +02:00
committed by GitHub
parent 08e46aa62f
commit 4d4cc551fd
10 changed files with 618 additions and 64 deletions
+1 -1
View File
@@ -522,7 +522,7 @@ func (e *Engine) Start(netbirdConfig *mgmProto.NetbirdConfig, mgmtURL *url.URL)
} else {
log.Infof("running rosenpass in strict mode")
}
e.rpManager, err = rosenpass.NewManager(e.config.PreSharedKey, e.config.WgIfaceName)
e.rpManager, err = rosenpass.NewManager(e.config.PreSharedKey, e.config.WgIfaceName, publicKey)
if err != nil {
return fmt.Errorf("create rosenpass manager: %w", err)
}