Closed niustark closed 9 months ago
你这个跟我一样的错
1.请问本地修改后的 myConfig/credentials 文件需要推送到云端才能运行Actions吗
Run python main.py python main.py shell: /usr/bin/bash -e {0} env: TZ: Asia/Shanghai pythonLocation: /opt/hostedtoolcache/Python/3.10.13/x64 LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib PUSHPLUS_KEY: PRIVATE_AES_KEY: Traceback (most recent call last): File "/home/runner/work/iMaoTai-reserve/iMaoTai-reserve/main.py", line 41, in
mobile = privateCrypt.decrypt_aes_ecb(section, aes_key)
File "/home/runner/work/iMaoTai-reserve/iMaoTai-reserve/privateCrypt.py", line 43, in decrypt_aes_ecb plain_str = unpad(cipher.decrypt(ciphertext), AES.block_size) File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/Crypto/Util/Padding.py", line 92, in unpad raise ValueError("Padding is incorrect.") ValueError: Padding is incorrect.
欢迎使用i茅台自动预约工具 作者GitHub:https://github.com/[3](https://github.com/niustark/iMaoTai-reserve/actions/runs/7535870152/job/20512487665#step:6:3) 9 7 1 7 9 [4](https://github.com/niustark/iMaoTai-reserve/actions/runs/7535870152/job/20512487665#step:6:4) [5](https://github.com/niustark/iMaoTai-reserve/actions/runs/7535870152/job/20512487665#step:6:5) 9 vx:L 3 9 [7](https://github.com/niustark/iMaoTai-reserve/actions/runs/7535870152/job/20512487665#step:6:7) 1 7 [9](https://github.com/niustark/iMaoTai-reserve/actions/runs/7535870152/job/20512487665#step:6:9) 4 5 9 加好友注明来意
我的成功了,就是没有配置那个环境变量
我的成功了,就是没有配置那个环境变量 PRIVATE_AES_KEY 是怎么设置的?我这老是Actions 运行出错
终于成功运行Actions了
1.请问本地修改后的 myConfig/credentials 文件需要推送到云端才能运行Actions吗
File "/home/runner/work/iMaoTai-reserve/iMaoTai-reserve/privateCrypt.py", line 43, in decrypt_aes_ecb plain_str = unpad(cipher.decrypt(ciphertext), AES.block_size) File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/Crypto/Util/Padding.py", line 92, in unpad raise ValueError("Padding is incorrect.") ValueError: Padding is incorrect.