From f6413f82df2feb6c84f784f512fa54f311a2e89a Mon Sep 17 00:00:00 2001 From: ytoaa Date: Wed, 17 Dec 2025 12:09:40 +0000 Subject: [PATCH] node test --- nodes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodes.py b/nodes.py index 7f793d8..b37eacd 100644 --- a/nodes.py +++ b/nodes.py @@ -93,7 +93,8 @@ class QwenSecureE2EEClient: s_pub_raw = base64.b64decode(server_pub_key) server_pub = ECC.import_key(s_pub_raw, curve_name='P-256') - shared_point = client_key.d * server_pub.point + # 수정: .point 대신 .pointQ 사용 + shared_point = client_key.d * server_pub.pointQ aes_key = SHA256.new(int(shared_point.x).to_bytes(32, 'big')).digest() # 2. 데이터 패키징 및 암호화