Problem extracting key
sasilva1998 opened this issue · 1 comments
sasilva1998 commented
I am basically having the following problem when using the extract_key.sh
script, already checked openssl and everything seems right. Basically the bash script isn't creating the required file rsa_key.pem
, so the python script gives an error. The error is the following:
extract_key.sh: 3: extract_key.sh: jq: not found
unable to load Private Key
140382660227520:error:0909006C:PEM routines:get_name:no start line:../crypto/pem/pem_lib.c:745:Expecting: ANY PRIVATE KEY
a: rsa_key.pem
b: key.json
Traceback (most recent call last):
File "extract_key.py", line 8, in <module>
with open(a, 'rb') as input:
FileNotFoundError: [Errno 2] No such file or directory: 'rsa_key.pem'
I would like to know what is wrong here
sasilva1998 commented
Nevermind, noticed it was this command jq
that was the problem and a package to be install with apt. Thanks an way.