W3C home > Mailing lists > Public > public-webauthn@w3.org > July 2017

Rust-based USB U2F library

From: J.C. Jones <jc@mozilla.com>
Date: Wed, 12 Jul 2017 11:57:28 -0700
Message-ID: <CAObDDPA_vgJSnOp9ELvwbhX-WsU=Lq5Kr50vdvD4MKgzSUC=XQ@mail.gmail.com>
To: W3C WebAuthn WG <public-webauthn@w3.org>
We've written our U2F library for Firefox in Rust, a safer systems-oriented
language. It's cross-platform, supporting Windows [1], Linux, and OSX.

https://github.com/jcjones/u2f-hid-rs

With a recent Rust compiler installed (call rustup update) you can try it
out with:

git clone https://github.com/jcjones/u2f-hid-rs.git
cd u2f-hid-rs
cargo build
cargo run --example main

It exposes a C API; we'll have instructions on how to link against it
somewhat soon, as we finish up that part.

[1] We actually just broke Windows, but we'll fix it really soon, I promise!

Issues / patches are certainly welcome.

Cheers,
J.C.
Received on Wednesday, 12 July 2017 18:58:16 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 07:26:26 UTC