Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/federicoceratto/nim-libu2f

FIDO U2F server-side and client-side library for Nim
https://github.com/federicoceratto/nim-libu2f

authentication fido nim nim-lang security u2f

Last synced: 13 days ago
JSON representation

FIDO U2F server-side and client-side library for Nim

Awesome Lists containing this project

README

        

### FIDO U2F server-side and client-side library wrapper for Nim

image:https://circleci.com/gh/FedericoCeratto/nim-libu2f.svg?style=svg["CircleCI", link="https://circleci.com/gh/FedericoCeratto/nim-libu2f"]

Look at the interactive_functional_test.nim file for an usage example.

Generated docs:
https://FedericoCeratto.github.io/nim-libu2f/docs/0.1.0/src/libu2f_host.html[host]
https://FedericoCeratto.github.io/nim-libu2f/docs/0.1.0/src/libu2f_server.html[server]

Install:
[source,bash]
----
nimble install libu2f
----

Install dependencies (on Debian and Ubuntu):
[source,bash]
----
sudo apt-get install libu2f-host0 libu2f-server0
----

Run tests:
[source,bash]
----
# 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
----