Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.

Commit ace2b8e

Browse files
Bugfix when encryption is disabled
1 parent a2b4eec commit ace2b8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vantage/node/server_io.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ def setup_encryption(self, private_key_file, disabled=False) -> Cryptor:
168168
CRYPTOR_CLASS = NoCryptor if disabled else Cryptor
169169
cryptor = CRYPTOR_CLASS(private_key_file)
170170
if disabled:
171+
self.cryptor = cryptor
171172
return
172173

173174
# check if the public-key is the same on the server. If this is

0 commit comments

Comments
 (0)