I create the private.key by nrfutil.exe keys generate C:\key\pricate.key.
Then enter nrfutil keys display --key pk --format code C:\key\private.key --out_file C:\key\public_key.c.
The error happened and output as follow:
I create the private.key by nrfutil.exe keys generate C:\key\pricate.key.
Then enter nrfutil keys display --key pk --format code C:\key\private.key --out_file C:\key\public_key.c.
The error happened and output as follow:
Hello,
Can you either try using an older version of Python (It is working with Python 3.8.0 on my end). Alternatively, you can use the new nrfutil, which you can find here. (no longer a python pip download). It is now a standalone module, which doesn't depend on specific python versions in order to work.
Just note that after uninstalling the python based nrfutil, and installing the new version, you need to use the command:
nrfutil install nrf5sdk-tools
After that, nrfutil should work like before, and you don't need to use nrfutil nrf5sdk-tools ... in your commands. "nrfutil keys generate private.key", and "nrfutil keys display --key pk private.key --format code --out_file public_key.c" should work.
Best regards,
Edvin
Hi,
I download the new nrfutil that no longer a python pip download.It is a exe file in windows.If I can use cmd in the folder to use directly without install?Because it seem nothing happen when I try to run it.
Hi,
I want to know if the path to offline sources is the path of nrfutil.exe?Or it is point to other component of github?
I am prefer to use the new version.Because the older version need python.There are some version of python in my computer and it is trouble to manager multiple version.
I can understand that. I just meant until you get the new nrfutil up and running.
Chaoyue Ying said:I want to know if the path to offline sources is the path of nrfutil.exe?
No, when you call the prepare-offline command, it will save some data in the path that you select.
Before calling it, this folder had only nrfutil.exe:
But after it was called, then nrfutil would download these folders.
I don't sure if I understand correctly.
I tried it but still happen the error as follow:
It looks like you are blocked by some firewall, and you are not able to reach github. I am sorry, but I don't have any other workarounds than to default back to the old nrfutil for now, unless you have some way to gain access to github.com and githubusercontent.com.
I could download the file for you and upload it here, but then nrfutil wouldn't have a way to use that file. It is not possible to give it as a manual input at this point.
Best regards,
Edvin
If you can give me the address that include this item on github.com.Maybe I can reach github by explorer.
And I can download the files so that it can continue.
If you can give me the address that include this item on github.com.Maybe I can reach github by explorer.
And I can download the files so that it can continue.
Hello,
The problem is that I don't know any way to use the file stored locally on the computer to make nrfutil use it.
The bootstrap.json file I can attach here for you:
{ "nrfutil_core_tarball_urls": { "aarch64-apple-darwin": "https://developer.nordicsemi.com/.pc-tools/nrfutil/nrfutil-aarch64-apple-darwin-7.7.0.tar.gz", "x86_64-apple-darwin": "https://developer.nordicsemi.com/.pc-tools/nrfutil/nrfutil-x86_64-apple-darwin-7.7.0.tar.gz", "x86_64-pc-windows-msvc": "https://developer.nordicsemi.com/.pc-tools/nrfutil/nrfutil-x86_64-pc-windows-msvc-7.7.0.tar.gz", "x86_64-unknown-linux-gnu": "https://developer.nordicsemi.com/.pc-tools/nrfutil/nrfutil-x86_64-unknown-linux-gnu-7.7.0.tar.gz" } }
But there is no way to make the new nrfutil use this.
What you need to do is either:
1: Use the old nrfutil with a working python version
2: use VPN or something similar that makes you able to access github.com from the computer where you are trying to install nrfutil. Then, once you have access, use the command:
nrfutil prepare-offline <PATH>
where <PATH> is just some location on your computer that you choose to store the offline content. After that, it will work without github access.