diff --git a/docs/building/index.md b/docs/building/index.md index b897f53..abb036f 100644 --- a/docs/building/index.md +++ b/docs/building/index.md @@ -95,6 +95,8 @@ For more security, remember to generate a new attestation key and certificate. Change to the `tools` directory, run the `generate-certs.sh` to generate a new attestation key and certificate: ``` sh +$ cp ./certs/myserver.cnf.example ./certs/myserver.cnf + $ cd ./nrf52-u2f/tools $ ./generate-certs.sh @@ -102,6 +104,15 @@ $ ./generate-certs.sh If successfully completed, the private key and certificate are stored in `certs/keys.c` file. +## Get micro-ecc library + +```sh +cd nrf_sdks/nRF5_SDK_15.2.0_9412b96/external/micro-ecc +git clone https://github.com/kmackay/micro-ecc.git +cd nrf52hf_armgcc/armgcc +make +``` + ## Build the U2F Firmware Now you are ready to build nRF52-U2F source code. diff --git a/docs/upgrading/index.md b/docs/upgrading/index.md index 5ec3cd1..ef929fb 100644 --- a/docs/upgrading/index.md +++ b/docs/upgrading/index.md @@ -55,7 +55,7 @@ Run the following command to upgrade the U2F firmware, where: * `` is the serial port address to which the device is connected. (e.g. `COM1` in windows systems, `/dev/ttyACM0` in linux/mac). ``` sh -nrfutil dfu usb_serial -pkg -p +nrfutil dfu usb-serial -pkg -p ``` ![](images/upgrading-app-with-nrfutil.png)