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 ""