From bb4b73f8477a7616d2c8be41f99bcf92a6c50bd3 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 8 Mar 2026 07:32:29 -0700 Subject: [PATCH] fix(openclaw-bridge): include nonce in device handshake params The gateway expects device.nonce (the challenge nonce) to be echoed back in the connect request. Without it the connection is rejected with 'device: must have required property nonce'. Co-Authored-By: Claude Sonnet 4.6 --- packages/openclaw-bridge/src/openclaw-client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/openclaw-bridge/src/openclaw-client.ts b/packages/openclaw-bridge/src/openclaw-client.ts index 2d0db64..5848690 100644 --- a/packages/openclaw-bridge/src/openclaw-client.ts +++ b/packages/openclaw-bridge/src/openclaw-client.ts @@ -164,6 +164,7 @@ export class OpenClawClient { auth: { token: this.token }, device: { id: this.deviceId, + nonce: nonce, publicKey: pubKeyDer.toString('base64'), signature: signature.toString('base64'), signedAt: Date.now(),