mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-30 03:21:29 +02:00
Adds real callback setter for PSK on ready
This commit is contained in:
@@ -577,8 +577,9 @@ func (e *Engine) Start(netbirdConfig *mgmProto.NetbirdConfig, mgmtURL *url.URL)
|
||||
|
||||
if pqkem.Enabled() {
|
||||
log.Infof("ML-KEM post-quantum exchange enabled")
|
||||
// TODO(NET-1406): wire the real tunnel-UDP transport + WG PSK callback handler.
|
||||
e.pqkemManager = pqkem.NewManager(publicKey.String(), noopPQTransport{}, noopPQCallbackHandler{}, nil)
|
||||
// TODO(NET-1406): replace noopPQTransport with the real dedicated UDP transport
|
||||
// bound on the WG overlay IPv4.
|
||||
e.pqkemManager = pqkem.NewManager(publicKey.String(), noopPQTransport{}, pqCallbackHandler{wg: e.wgInterface}, nil)
|
||||
}
|
||||
e.stateManager.Start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user