From 83a2e2372f35d71ed31b11dc41a3254cb6a06138 Mon Sep 17 00:00:00 2001 From: Joren Schipman Date: Thu, 2 May 2024 14:40:37 +0200 Subject: [PATCH] Print when exchange ok --- rsaserver.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rsaserver.go b/rsaserver.go index 8abdd8e..188eab7 100644 --- a/rsaserver.go +++ b/rsaserver.go @@ -80,6 +80,8 @@ func handleConnection(conn net.Conn, privateKey *rsa.PrivateKey) { uid, _ := decryptKeyIV(uidData,privateKey) conn.Write([]byte("Received UID\n")) + fmt.Println("Exchange, OK!") + var ciphertext []byte var chunk string var plaintext []byte