This commit is contained in:
yumoqing 2026-03-03 13:00:44 +08:00
parent dd0490e701
commit 82ff6d73f5

View File

@ -245,7 +245,7 @@ class WOAHandler:
nonce = ''.join([str(random.randint(0, 9)) for _ in range(10)]) nonce = ''.join([str(random.randint(0, 9)) for _ in range(10)])
encrypted_xml_str = self._encrypt_msg(reply_xml, nonce, timestamp) encrypted_xml_str = self._encrypt_msg(reply_xml, nonce, timestamp)
try: try:
decode_data = self._decrypt_msg(encrypted_xml_str, nonce, timestamp) decode_data = self._decrypt_msg(encrypted_xml_str)
# NEwxml = base64.b64decode(decode_data) # NEwxml = base64.b64decode(decode_data)
debug(f'{decode_data=},{reply_xml=}') debug(f'{decode_data=},{reply_xml=}')
except Exception as e: except Exception as e: