From 8979e2a588f0c9b146ef5f56572b9985811eeaa8 Mon Sep 17 00:00:00 2001 From: Artem Date: Thu, 11 Dec 2025 08:46:33 +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 --- pyproject.toml | 2 +- remnawave/utils/happ_crypt.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0a00229..96dd1c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "remnawave" -version = "2.3.2" +version = "2.3.2rc1" description = "A Python SDK for interacting with the Remnawave API v2.3.2." authors = [ {name = "Artem",email = "dev@forestsnet.com"} diff --git a/remnawave/utils/happ_crypt.py b/remnawave/utils/happ_crypt.py index a70babc..937b1dc 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://crypt{" + method.lower().replace("v", "") + "/" + base64.b64encode(encrypted).decode() + return "happ://crypt" + method.lower().replace("v", "") + "/" + base64.b64encode(encrypted).decode() except Exception: return ""