update idSymmetric= to match SPAKE2-0.3

This commit is contained in:
Brian Warner 2015-09-22 01:07:46 -07:00
parent b97b7ccd8c
commit 532aa0811c
2 changed files with 2 additions and 4 deletions

View File

@ -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):

View File

@ -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):