This commit is contained in:
yumoqing 2026-03-03 12:57:42 +08:00
parent c304f55a49
commit 83fb755c9a

View File

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