-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Problem with certs-from-mozilla.py #7300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Do you have openssl.exe on your path? It won't work without it. |
As @JiriBilek said, you need to have OpenSSL in the PATH variable. |
Hi @JiriBilek and @earlephilhower, thanks for your responses. It gets up to Can you again provide some guidance on this please?
|
You need an ar.exe as well. It is located in tools/xtensa-lx106-elf/xtensa-lx106-elf/bin folder. You can append this folder to the PATH or simply copy the ar.exe to the folder with the script. |
Hi @JiriBilek, thanks. There is no mention of ar.exe in the error message. I used over 2 hours today trying to search for ar, python ar, python arCmd and more in Google, just about all results had to do with 'Augmented reality' which is not what I am looking for (even with negative keywords I was unable to find helpful results). I also tried searching for the entire line from the python script and the results only led me to the python file itself or a change that was recently committed for osx compatibility. How am I to know that an executable file is needed? I don't think you are being rude, I appreciate your help. What I don't understand is why is this obviously basic information not provided at least as a comment/requirements at the start of the file? Surely I can't be the only person with this problem. I am at best, a very poor c programmer, and I know even less about python. I can only use examples provided and when they don't work I try to learn from that searching google and forums. Most of the time I end up working it out but this one had me stumped. What I do appreciate greatly is the wealth of knowledge, experience, and effort that so many people (such as yourself) put in to assist people such as myself. For that I am eternally grateful, and if you were local I would offer to chat over a coffee/beer. Thanks again |
I don't want to be rude but why don't you document that important bit of information properly? |
@gnorbsl ar.exe is the toolchain archiver, its presence and usage is as standard as using gcc.exe or g++.exe. Documenting how to use the compiler toolchain, as well as how to use the PATH env var, is far outside the scope of the core hosted in this repo. That is homework for whoever needs it. There are more than enough tutorials available online, just use Google. |
I think many folks are using Linux or a Mac with devtools so already have A pull request with a documentation note would be a good idea, since this seems important to you. |
i just tried it on mac and linux before I landed here and I got the message in both cases.
This is about documenting dependencies not on how to use them. If you program won't run without it and it's not a given that everyone has it you would at least point out that this tool is necessary. |
@gnorbsl sure thing. Please write up your findings and propose the document or comments in a PR. |
Check if ar exists, if not tell the user what to get to prevent issue esp8266#7300 also dynamically get certs instead of hardcoded row item esp8266#7573 (comment)
Check if ar exists, if not tell the user what to get to prevent issue esp8266#7300 also dynamically get certs instead of hardcoded row item esp8266#7573 (comment)
* Update certs-from-mozilla.py Check if ar exists, if not tell the user what to get to prevent issue #7300 also dynamically get certs instead of hardcoded row item #7573 (comment) changed comment for missing ar exception updated path and check for openssl
Platform
Settings in IDE
Problem Description
I am trying to test the example BearSSL_CertStore1.ini and the python script fails when trying to run it on my Windows7 system.
I need to run the python script to generate the .AR file but it keeps failing.
I have installed the latest python 3.8.2.
The following is the error from the executing
py certs-from-mozilla.py
and note that thedata
directory gets created but there are no files in there.It says file not found, but doesn't say what file (maybe it is the ca_000.der file but I am not sure). Is there something else that I need to install?
I have tried running cmd.exe as administrator and it makes no difference.
Can anyone suggest how to proceed please?
The text was updated successfully, but these errors were encountered: