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}')