From 6826549249d93ad5d6a06ac4d6e966b8415107f0 Mon Sep 17 00:00:00 2001 From: Artem Date: Thu, 4 Dec 2025 03:04:57 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=B2=D0=BE=D0=B7?= =?UTF-8?q?=D0=B2=D1=80=D0=B0=D1=89=D0=B0=D0=B5=D0=BC=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=B7=D0=BD=D0=B0=D1=87=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B2=20?= =?UTF-8?q?=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D0=B8=20create=5Fhapp=5Fcr?= =?UTF-8?q?ypto=5Flink?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- remnawave/utils/happ_crypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remnawave/utils/happ_crypt.py b/remnawave/utils/happ_crypt.py index 1972704..a70babc 100644 --- a/remnawave/utils/happ_crypt.py +++ b/remnawave/utils/happ_crypt.py @@ -52,6 +52,6 @@ def create_happ_crypto_link(content: str, method: Literal["v3", "v4"] = "v4") -> content.encode("utf-8"), padding.PKCS1v15() # RSA_PKCS1_PADDING ) - return "happ://crypt3/" + base64.b64encode(encrypted).decode() + return "happ://crypt{" + method.lower().replace("v", "") + "/" + base64.b64encode(encrypted).decode() except Exception: return ""