From c5d485932658bfeb6a9c12d6ed14970cf33e6f98 Mon Sep 17 00:00:00 2001 From: "DESKTOP-DPA61F8\\Benedek" Date: Sun, 25 Apr 2021 18:42:38 +0200 Subject: [PATCH] Error in auth --- server/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/authentication.py b/server/authentication.py index 7505ae2..a066f5c 100644 --- a/server/authentication.py +++ b/server/authentication.py @@ -123,7 +123,7 @@ class Authetication: dictionary = dict() for user in data['user']: - key = data['publicKey'] + key = user['publicKey'] key = bytes.fromhex(key) try: rsaKey = RSA.import_key(key)