FIDO U2F server-side and client-side library wrapper for Nim
Look at the interactive_functional_test.nim file for an usage example.
Install:
nimble install libu2f
Install dependencies (on Debian and Ubuntu):
sudo apt-get install libu2f-host0 libu2f-server0
Run tests:
# Run functional test
nim c -r src/functional_test.nim
# Run interactive test - you'll need an U2F key
nim c -r src/interactive_functional_test.nim