Hovatek Forum DEVELOPMENT Android avbtool extract_public_key error
Try our Online TWRP Builder..its free!
Can't login? Please, reset your password.


avbtool extract_public_key error

avbtool extract_public_key error

itapi
itapi
itapi
Enthusiastic Member
6
23-03-2023, 07:15 PM
#1



Hi,I'm using Python v.2.7.10 as in the guide,trying to extract the public key with a pem(generated from openSSL,and also downloaded the one provided in the tutorial),but I'm getting an error..

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 710, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

Doesnt anyone also encoutered this?
I've tried linux,tried windows...same results...
maxpayne
maxpayne
maxpayne
Intern
3,064
27-03-2023, 09:43 AM
#2
(23-03-2023, 07:15 PM)itapi Hi,I'm using Python v.2.7.10 as in the guide,trying to extract the public key with a pem(generated from openSSL,and also downloaded the one provided in the tutorial),but I'm getting an error..

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 710, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

Doesnt anyone also encoutered this?
I've tried linux,tried windows...same results...

Share the error in Linux

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram