I have this value error when i'm launching :
python ilo5_fw_decrypt.py --infile ilo5_235.bin
Traceback (most recent call last): File "/home/kali/Desktop/ILO_TOOLBOX/ilo4_toolbox/scripts/iLO5/ilo5_fw_decrypt.py", line 82, in <module> rsa_pkey = load_private_key() File "/home/kali/Desktop/ILO_TOOLBOX/ilo4_toolbox/scripts/iLO5/ilo5_fw_decrypt.py", line 50, in load_private_key pkey = RSA.import_key(key_buffer, passphrase=pem_password_cb()) File "/usr/local/lib/python3.10/dist-packages/Crypto/PublicKey/RSA.py", line 736, in import_key return _import_keyDER(der, passphrase) File "/usr/local/lib/python3.10/dist-packages/Crypto/PublicKey/RSA.py", line 679, in _import_keyDER raise ValueError("RSA key format is not supported") ValueError: RSA key format is not supported
I have pycryptodome 3.6.5. I use the same rsa_private_key_ilo5.asc file. I don't know why this error appears ?
Hello,
I have this value error when i'm launching :
python ilo5_fw_decrypt.py --infile ilo5_235.bin
Traceback (most recent call last): File "/home/kali/Desktop/ILO_TOOLBOX/ilo4_toolbox/scripts/iLO5/ilo5_fw_decrypt.py", line 82, in <module> rsa_pkey = load_private_key() File "/home/kali/Desktop/ILO_TOOLBOX/ilo4_toolbox/scripts/iLO5/ilo5_fw_decrypt.py", line 50, in load_private_key pkey = RSA.import_key(key_buffer, passphrase=pem_password_cb()) File "/usr/local/lib/python3.10/dist-packages/Crypto/PublicKey/RSA.py", line 736, in import_key return _import_keyDER(der, passphrase) File "/usr/local/lib/python3.10/dist-packages/Crypto/PublicKey/RSA.py", line 679, in _import_keyDER raise ValueError("RSA key format is not supported") ValueError: RSA key format is not supported
I have pycryptodome 3.6.5. I use the same rsa_private_key_ilo5.asc file. I don't know why this error appears ?
thanks for your help, Best regards