aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests/test_security_regressions.py
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-24 10:36:54 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-24 16:45:38 +0200
commit41b814483cf990d855188899332b90fc525135b7 (patch)
tree7049a38f8907f14f76addc3b7faf9922016ef36e /packages/meshbay-node/tests/test_security_regressions.py
parent600a6dfe3779b9cd82d4e0cb94c6f6e7df21ab20 (diff)
downloadmeshbay-41b814483cf990d855188899332b90fc525135b7.tar.gz
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 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node/tests/test_security_regressions.py')
-rw-r--r--packages/meshbay-node/tests/test_security_regressions.py2
1 files changed, 1 insertions, 1 deletions
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,
)