package webauthn

  1. Overview
  2. Docs
WebAuthn - authenticating users to services using public key cryptography

Install

Dune Dependency

Authors

Maintainers

Sources

webauthn-0.1.0.tbz
sha256=c9082576c49d34f49884c361afb5f856b82ff7066d1d6f3b3d03c41314449701
sha512=a7e9e41be396ce7bd4a201eac693be725827208d92fabd90201b23b7657599b6a5cd82592758db9e7d2d9401b5e17b8d19f6a4fc74a01deb9cb6c3bd26e99a51

Description

WebAuthn is a web standard published by the W3C. Its goal is to standardize an interfacefor authenticating users to web-based applications and services using public key cryptography. Modern web browsers support WebAuthn functionality.

WebAuthn provides two funcitons: register and authenticate. Usually the public and private keypair is stored on an external token (Yuikey etc.) or part of the platform (TPM). After the public key is registered, it can be used to authenticate to the same service.

This module does not preserve a database of registered public keys, their credential ID, usernames and pending challenges - instead this data must be stored by a client of this API in a database or other persistent storage.

Demo server WebAuthn specification at W3C

Published: 19 Nov 2021

README

WebAuthn - authenticating users to services using public key cryptography

WebAuthn is a web standard published by the W3C. Its goal is to standardize an interfacefor authenticating users to web-based applications and services using public key cryptography. Modern web browsers support WebAuthn functionality.

WebAuthn provides two funcitons: register and authenticate. Usually the public and private keypair is stored on an external token (Yuikey etc.) or part of the platform (TPM). After the public key is registered, it can be used to authenticate to the same service.

This module does not preserve a database of registered public keys, their credential ID, usernames and pending challenges - instead this data must be stored by a client of this API in a database or other persistent storage.

WebAuthn specification at W3C

A basic demonstration server is provided (bin/webauthn_demo), running at webauthn-demo.robur.coop.

Documentation

API documentation is available online.

Installation

opam install webauthn will install this library.

Dependencies (11)

  1. cbor >= "0.5"
  2. cstruct >= "6.0.0"
  3. base64 >= "3.1.0"
  4. x509 >= "0.13.0"
  5. ocplib-endian
  6. mirage-crypto-rng < "1.0.0"
  7. mirage-crypto-ec < "1.0.0"
  8. ppx_deriving_yojson
  9. yojson
  10. dune >= "2.7"
  11. ocaml >= "4.08.0"

Dev Dependencies (5)

  1. lwt dev
  2. logs dev
  3. cmdliner dev
  4. ppx_blob dev
  5. dream dev & >= "1.0.0~alpha2" & < "1.0.0~alpha4"

Used by

None

Conflicts (1)

  1. result < "1.5"
OCaml

Innovation. Community. Security.