google / OpenSK

OpenSK is an open-source implementation for security keys written in Rust that supports both FIDO U2F and FIDO2 standards.
Apache License 2.0
2.98k stars 289 forks source link

Add OpenOCD support #35

Open jrvanwhy opened 4 years ago

jrvanwhy commented 4 years ago

OpenSK uses tockloader to deploy the kernel and apps, and currently passes flags that cause tockloader to invoke JLinkExe. We should allow users to use OpenOCD instead of JLinkExe, by making the flags passed to tockloader configurable/changable.

Additionally, because distributions often have an outdated version of OpenOCD that cannot deploy to a nrf52840-DK, OpenSK should allow users to use a custom version of OpenOCD. I've already opened tock/tockloader/pull/52 to enable tockloader to invoke a custom version of OpenOCD.

jrvanwhy commented 4 years ago

The tockloader PR (tock/tockloader#52) has been merged. I opened the following issue to get support for OpenOCD arguments added to tock: https://github.com/tock/tock/issues/1626