diff --git a/bwb/common.py b/bwb/common.py index 5cd0e10..25345f4 100644 --- a/bwb/common.py +++ b/bwb/common.py @@ -171,6 +171,7 @@ class common: return self.get_pub() def handshake(self, text): + self.init_secret = '' # clear it self.master_pub = X25519PublicKey.from_public_bytes(base58.b58decode(text)) slave_pub = self.get_pub() self.set_otp(slave_pub) diff --git a/setup.py b/setup.py index 991d644..ec88e1a 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with io.open('README.md', encoding='utf-8') as fh: long_description = fh.read() setuptools.setup(name='bwb', - version='2.0.2', + version='2.0.3', description='bwb', long_description=long_description, long_description_content_type='text/markdown',