Skip to content

Commit

Permalink
Update node.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MurrayGroves authored Feb 8, 2023
1 parent 7b07fcb commit 0132fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Node/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ async def incoming(websocket, path):
ciphertext, tag, nonce = base64.b64decode(ciphertext.encode("utf-8")), base64.b64decode(tag.encode("utf-8")), base64.b64decode(nonce.encode("utf-8"))
cipher_aes = AES.new(session_key, AES.MODE_GCM, nonce)
plaintext = cipher_aes.decrypt_and_verify(ciphertext, tag)
data = plaintext.decode("utf-8")
data = repr(plaintext.decode("utf-8"))
logging.debug(data)

except Exception as e:
Expand Down

0 comments on commit 0132fcf

Please sign in to comment.