Skip to content

Commit

Permalink
[new release] webauthn (0.2.0)
Browse files Browse the repository at this point in the history
CHANGES:

* Update to `mirage-crypto*>=1.0.0` and get rid of cstruct dependency
* Demo application is updated to dream.1.0.0~alpha7
  • Loading branch information
reynir committed Sep 13, 2024
1 parent 2d4ed1d commit 9260ba5
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions packages/webauthn/webauthn.0.2.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
opam-version: "2.0"
homepage: "https://github.com/robur-coop/webauthn"
dev-repo: "git+https://github.com/robur-coop/webauthn.git"
bug-reports: "https://github.com/robur-coop/webauthn/issues"
doc: "https://robur-coop.github.io/webauthn/doc"
maintainer: [ "[email protected]" ]
authors: [ "Reynir Björnsson <[email protected]>" "Hannes Mehnert <[email protected]>" ]
license: "BSD-2-Clause"

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.7"}
"dream" {dev & >= "1.0.0~alpha7"}
"ppx_blob" {dev}
"cmdliner" {dev & >= "1.1.0"}
"logs" {dev}
"lwt" {dev}
"yojson"
"ppx_deriving_yojson"
"digestif"
"mirage-crypto-ec" {>= "1.1.0"}
"mirage-crypto-rng" {>= "1.1.0"}
"ocplib-endian"
"x509" {>= "1.0.2"}
"base64" {>= "3.1.0"}
"cbor" {>= "0.5"}
"ohex" {>= "0.2.0"}
]

conflicts: [
"result" {< "1.5"}
]

synopsis: "WebAuthn - authenticating users to services using public key cryptography"
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](https://webauthn-demo.robur.coop)
[WebAuthn specification at W3C](https://w3c.github.io/webauthn/)
"""
url {
src:
"https://github.com/robur-coop/webauthn/releases/download/v0.2.0/webauthn-0.2.0.tbz"
checksum: [
"sha256=74a13e1cb421c3e06b18c09e01097edafebd3b5169d600cf1da5449bf013c622"
"sha512=71e23aea56e6edc95fa01643cad00c3a3edea2a9cc5c1c921c4afd54bcdeaba4c9768251b8eee9c6a0f5819c9a1780507922d3012b559cf0d5949ca03cac4482"
]
}
x-commit-hash: "317ab542200fca0ddda70f4a97c91cb2d5b2c2b8"

0 comments on commit 9260ba5

Please sign in to comment.