You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错内容:
Traceback (most recent call last):
File "/ql/data/scripts/397179459_iMaoTai-reserve/iMaoTai-reserve/login.py", line 70, in
encrypt_mobile = privateCrypt.encrypt_aes_ecb(mobile, aes_key)
File "/ql/data/scripts/397179459_iMaoTai-reserve/iMaoTai-reserve/privateCrypt.py", line 29, in encrypt_aes_ecb
cipher = AES.new(key, AES.MODE_ECB)
File "/usr/local/lib/python3.10/site-packages/Crypto/Cipher/AES.py", line 95, in new
return AESCipher(key, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/Crypto/Cipher/AES.py", line 59, in init
blockalgo.BlockAlgo.init(self, _AES, key, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/Crypto/Cipher/blockalgo.py", line 141, in init
self._cipher = factory.new(key, *args, **kwargs)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
The text was updated successfully, but these errors were encountered:
11月3号还能用,4号报错了
main.py运行直接报错,login.py输入短信验证码后报错
PRIVATE_AES_KEY配置了环境变量,后来改明文试过也是同样的报错
已尝试重新拉库,重新配置,依旧报错
报错内容:
Traceback (most recent call last):
File "/ql/data/scripts/397179459_iMaoTai-reserve/iMaoTai-reserve/login.py", line 70, in
encrypt_mobile = privateCrypt.encrypt_aes_ecb(mobile, aes_key)
File "/ql/data/scripts/397179459_iMaoTai-reserve/iMaoTai-reserve/privateCrypt.py", line 29, in encrypt_aes_ecb
cipher = AES.new(key, AES.MODE_ECB)
File "/usr/local/lib/python3.10/site-packages/Crypto/Cipher/AES.py", line 95, in new
return AESCipher(key, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/Crypto/Cipher/AES.py", line 59, in init
blockalgo.BlockAlgo.init(self, _AES, key, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/Crypto/Cipher/blockalgo.py", line 141, in init
self._cipher = factory.new(key, *args, **kwargs)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
The text was updated successfully, but these errors were encountered: