Print when exchange ok

This commit is contained in:
Joren Schipman 2024-05-02 14:40:37 +02:00
parent e21dee39c7
commit 83a2e2372f
Signed by untrusted user who does not match committer: Joren
GPG Key ID: 280E33DFBC0F1B55

View File

@ -80,6 +80,8 @@ func handleConnection(conn net.Conn, privateKey *rsa.PrivateKey) {
uid, _ := decryptKeyIV(uidData,privateKey) uid, _ := decryptKeyIV(uidData,privateKey)
conn.Write([]byte("Received UID\n")) conn.Write([]byte("Received UID\n"))
fmt.Println("Exchange, OK!")
var ciphertext []byte var ciphertext []byte
var chunk string var chunk string
var plaintext []byte var plaintext []byte