From 83fb755c9a8490ba615bb07ee7461259cb8db23b Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 3 Mar 2026 12:57:42 +0800 Subject: [PATCH] bugfix --- woa/init.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/woa/init.py b/woa/init.py index 5eebb2a..b794d92 100644 --- a/woa/init.py +++ b/woa/init.py @@ -245,7 +245,8 @@ class WOAHandler: nonce = ''.join([str(random.randint(0, 9)) for _ in range(10)]) encrypted_xml_str = self._encrypt_msg(reply_xml, nonce, timestamp) try: - decode_data = self._encrypt_msg(encrypted_xml_str, nonce, timestamp) + decode_data = self._decrypt_msg(encrypted_xml_str, nonce, timestamp) + # newxml = base64.b64decode(decode_data) debug(f'{decode_data=},{reply_xml=}') except Exception as e: exception(f'{e}')