From 96a41ac35c1fb0517e48c117f85d8e03c9963516 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 30 Apr 2023 13:45:21 +0200 Subject: [PATCH] Ignore loopback for now --- src/client/component/auth.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/component/auth.cpp b/src/client/component/auth.cpp index 9eb7ad4a..26c31a33 100644 --- a/src/client/component/auth.cpp +++ b/src/client/component/auth.cpp @@ -228,7 +228,8 @@ namespace auth 0x1412E15E0, 0x14016DDC0)); get_challenge(&target, challenge.data(), challenge.size()); - if (!utils::cryptography::ecc::verify_message(key, challenge, buffer.read_string())) + if (!utils::cryptography::ecc::verify_message(key, challenge, buffer.read_string()) && target.type != + game::NA_LOOPBACK) { network::send(target, "error", "Bad signature"); return;