package u2f

  1. Overview
  2. Docs
Universal Second Factor (U2F) implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

u2f-0.1.2.tbz
sha256=37b31e6636745172a3d4bce6152dafe497da4ca4e90b582cbfa74bfcf94f621e
sha512=dd0e3535eefa3bd30aa2508ab46055baec580d3c5f8924adba5a92b7ac09e4af0a329f2b8f56c4a0691b71109c86ef3ee5b25337d5ffe11b1496250eeaa24e98

Description

A server-side implementation of the two-factor authentication standard Universal Second Factor (U2F). With special (USB, NFC) devices, a challenge-response authentication using public key cryptography is done.

Published: 19 Nov 2021

README

U2F - Universal Second Factor

U2F is a FIDO standard for two-factor authentication using specialized USB or NFC devices, similar to smart cards. Challenge-response authentication with the device using public key cryptography is supported by various applications, i.e. web browsers and ssh.

This package implements the server side of the U2F protocol: requesting and finalizing both a registration and an authentication via json messages exchanged between 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 at u2f-demo.robur.coop.

Documentation

API documentation is available online.

Installation

opam install u2f will install this library.

Dev Dependencies (5)

  1. lwt dev
  2. logs dev
  3. cmdliner dev
  4. ppx_blob dev
  5. dream dev

Used by

None

Conflicts (1)

  1. result < "1.5"