07-10-2020, 04:51 PM
Hello, I encountered a problem using avbtool to extract the public key.
It sent this traceback after using this command:
Code:
python avbtool extract_public_key --key rsa4096_vbmeta.pem --output Keys/signing.bin
Code:
Traceback (most recent call last):
File "avbtool", line 4154, in <module>
tool.run(sys.argv)
File "avbtool", line 4004, in run
args.func(args)
File "avbtool", line 4015, in extract_public_key
self.avb.extract_public_key(args.key, args.output)
File "avbtool", line 2697, in extract_public_key
output.write(encode_rsa_key(key_path))
File "avbtool", line 406, in encode_rsa_key
key = RSAPublicKey(key_path)
File "avbtool", line 368, in __init__
stderr=subprocess.PIPE)
File "C:\Python27\lib\subprocess.py", line 394, in __init__
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 644, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
What seems to be the problem? I have complete files, used avbtool successfully when I got the public keys for the chain partitions.