U2F security token emulation using Rust
Clone or download


Rust U2F

Build Status

In-progress software-only U2F implementation on Linux using Rust


After installing, open Google Chrome or Firefox and use your new virtual U2F device on a site supporting it such as: https://demo.yubico.com/u2f

More information on U2F: https://www.yubico.com/solutions/fido-u2f/

SoftU2F demo video

Fedora Installation

curl -s https://packagecloud.io/install/repositories/danstiner/softu2f/script.rpm.sh | sudo bash
sudo dnf install softu2f
systemctl --user start softu2f

Ubuntu Installation

sudo apt install -y curl
curl -s https://packagecloud.io/install/repositories/danstiner/softu2f/script.deb.sh | sudo bash
sudo apt install -y softu2f
systemctl --user start softu2f

Note: on Ubuntu 16.04 LTS a reboot is required for changes from dbus-user-session to take effect.



dnf install clang dbus-devel openssl-devel protobuf-compiler systemd-devel rpm-build selinux-devel 


This project is licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.