fix: 修复更新资产账号不成功的问题(末尾:)

This commit is contained in:
Jiangjie.Bai
2022-08-02 16:39:21 +08:00
committed by 老广
parent 9ff345747b
commit 40f8b99242

View File

@@ -255,6 +255,8 @@ def decrypt_password(value):
if len(cipher) != 2:
return value
key_cipher, password_cipher = cipher
if not all([key_cipher, password_cipher]):
return value
aes_key = rsa_decrypt_by_session_pkey(key_cipher)
aes = get_aes_crypto(aes_key, 'ECB')
try: