Commit graph

14 commits

Author SHA1 Message Date
ded3830ec6
Pretty printing of certificate exts (#6)
This exposes some X.509 extension details so we can pretty print certificates with Universal 2nd Factor (U2F) certificate transports extensions

Co-authored-by: Hannes Mehnert <hannes@mehnert.org>
2024-10-02 11:42:20 +02:00
e2ed1efe9f Update to newer dependencies
Mirage-crypto>= 1.0.0, dream.1.0.0~alpha7 and get rid of cstruct.
2024-09-13 11:30:02 +02:00
5920e0f58b Unvendor ocaml-cbor
Upstream supports `decode_partial` now.
2021-11-18 13:40:45 +01:00
Robur
44efdb1bae support U2F transport extension extraction from certificate
webauthn-demo: use base64js for decoding
display certificate pretty printed, and the transports
2021-10-07 09:57:51 +00:00
defc231491 Do not require clientExtensions in clientDataJSON
It is not included in the output from Firefox 92.1.1 on Android. It *is*
included when using the same key on Firefox 78.14.0esr on Linux.
2021-10-06 17:13:41 +02:00
Robur
78be1d42df documentation 2021-10-06 11:57:42 +00:00
Robur
d926cf90b2 create may fail, validates origin 2021-10-06 10:12:47 +00:00
Robur
f1f0fe3229 Better errors 2021-10-06 09:48:19 +00:00
Robur
b6f99bfb16 provide a webauthn.mli, adapt the demo application 2021-10-05 15:56:20 +00:00
Robur
8bf98cf42b demo-app: use userid instead of username as keys into hashtables
pass challenge as output of Webauthn instead of input (to support multiple challenges)
2021-10-05 13:09:35 +00:00
Robur
a5af696428 error: remove unused constructor '`None' 2021-10-04 14:36:32 +00:00
aa65c0546b Adapt terminology to WebAuthn
It is not called application id in WebAuthn
2021-10-01 13:48:47 +02:00
Robur
9837815a5a works as initial version 2021-09-29 14:34:09 +00:00
Robur
55bb364b72 WIP 2021-09-28 11:30:14 +00:00