From 532aa0811c3c34826fe70b0fbcd3ae00eba99a18 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 22 Sep 2015 01:07:46 -0700 Subject: [PATCH] update idSymmetric= to match SPAKE2-0.3 --- src/wormhole/blocking/transcribe.py | 3 +-- src/wormhole/twisted/transcribe.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/wormhole/blocking/transcribe.py b/src/wormhole/blocking/transcribe.py index fdca19b..6a6c250 100644 --- a/src/wormhole/blocking/transcribe.py +++ b/src/wormhole/blocking/transcribe.py @@ -125,8 +125,7 @@ class Wormhole: def _start(self): # allocate the rest now too, so it can be serialized self.sp = SPAKE2_Symmetric(self.code.encode("ascii"), - idA=self.appid+":SymmetricA", - idB=self.appid+":SymmetricB") + idSymmetric=self.appid) self.msg1 = self.sp.start() def _post_message(self, url, msg): diff --git a/src/wormhole/twisted/transcribe.py b/src/wormhole/twisted/transcribe.py index 616b881..ee047dd 100644 --- a/src/wormhole/twisted/transcribe.py +++ b/src/wormhole/twisted/transcribe.py @@ -133,8 +133,7 @@ class Wormhole: def _start(self): # allocate the rest now too, so it can be serialized self.sp = SPAKE2_Symmetric(self.code.encode("ascii"), - idA=self.appid+":SymmetricA", - idB=self.appid+":SymmetricB") + idSymmetric=self.appid) self.msg1 = self.sp.start() def serialize(self):