Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 2.86 KB

README.md

File metadata and controls

61 lines (41 loc) · 2.86 KB

WebAuthnEx

WebAuthn library for Elixir inspired by https://github.com/cedarcode/webauthn-ruby

Build Status

What is WebAuthn?

Prerequisites

This package will help your Elixir server act as a conforming Relying-Party, in WebAuthn terminology. But for the Registration and Authentication ceremonies to work, you will also need

A conforming User Agent

Currently supporting Web Authentication API:

A conforming Authenticator

NOTE: Firefox states (Firefox 60 release notes) they only support USB FIDO2 or FIDO U2F enabled devices in their current implementation (version 60). It's up to the gem's user to verify user agent compatibility if any other device wants to be used as the authenticator component.

Installation

If available in Hex, the package can be installed by adding web_authn_ex to your list of dependencies in mix.exs:

def deps do
  [
    {:web_authn_ex, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/web_authn_ex.

Usage

NOTE: You can find a working example on how to use this package in a Phoenix app in https://github.com/sandergroen/webauthn_phoenix_demo

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/sandergroen/web_authn_ex.