Encode error -> too long plaintext for random message
All checks were successful
continuous-integration/drone/push Build is passing

Json error -> binary cannot be serialized
This commit is contained in:
2021-04-25 16:56:02 +02:00
parent 10c481bc72
commit c63c516ab9
2 changed files with 7 additions and 3 deletions

View File

@ -99,12 +99,15 @@ while True:
if separatedCommand[0] == 'LIN' and len(separatedCommand) == 3:
network = NetWrapper(CLIENT_PRIVATE_KEY, CLIENT_ADDRESS, separatedCommand[1], SERVER_PUBLIC_KEY)
print('Start')
if not network.identifyServer():
print('Server identification failed!')
continue
print('Identified')
network.createEncryptedChannel()
print('Channel created')
network.authenticate(password=separatedCommand[2])
print('Authenticated')
LOGGED_IN = True
continue