- Notifications
You must be signed in to change notification settings - Fork2
U2F (FIDO Universal 2nd Factor) in OCaml
License
robur-coop/u2f
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
In 2022 Google Chrome announced they would deprecate and remove U2F support in their browser. Firefox followed suit and removed U2F support in 2023.Please take a look at ourWebAuthn implementation (GitHub mirror).If you still need U2F please reach out to us with the contact details listed onhttps://robur.coop/Contact.
U2F is aFIDO standardfor two-factor authentication using specialized USB or NFC devices, similarto smart cards. Challenge-response authentication with the device using publickey cryptography is supported by various applications, i.e. web browsers andssh.
This package implements the server side of the U2F protocol: requesting andfinalizing both a registration and an authentication via json messages exchangedbetween the browser and the server. The implementation does not keep any state,instead the user of the API needs to persist the state (challenges, keyHandle,public keys, ...). A basic demonstration server is provided (bin/u2f_demo
),running atu2f-demo.robur.coop.
API documentation is available online.
opam install u2f
will install this library.
About
U2F (FIDO Universal 2nd Factor) in OCaml