From 41b814483cf990d855188899332b90fc525135b7 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Thu, 24 Sep 2026 10:36:54 +0200 Subject: refactor(node): move the MNP handshake out of webrtc_server HandshakeMixin in transport/webrtc/handshake.py: challenge, proof, channel binding, and the sealed configuration a peer receives once admitted. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-node/tests/test_security_regressions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/meshbay-node/tests') diff --git a/packages/meshbay-node/tests/test_security_regressions.py b/packages/meshbay-node/tests/test_security_regressions.py index dd859b3..321d22d 100644 --- a/packages/meshbay-node/tests/test_security_regressions.py +++ b/packages/meshbay-node/tests/test_security_regressions.py @@ -720,8 +720,8 @@ def test_pre_handshake_message_budget_is_small(): H6: the frame limit was a flat 64 MB applied before authentication, so an unauthenticated peer could announce a huge frame and dribble bytes into it. """ + from meshbay_node.transport.webrtc.limits import MAX_MSG from meshbay_node.transport.webrtc_server import ( - MAX_MSG, PRE_HANDSHAKE_MAX_MSG, _DataChannelBuffer, ) -- cgit v1.2.3