Skip to content

concise/v2f-nodejs-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

v2f is a virtual U2F device for you to study & hack

This project is still in its pre-alpha stage. It is recommended that you run v2f inside a virtual machine.

v2f works on Ubuntu 16.04 with Google Chrome. Actually v2f should work on any Linux distribution which exposes its user-space HID ABI through /dev/uhid.

Please be noted that any software emulation of a security device, especially when it runs completely in the user-space, is NOT "secure" for serious use cases.


Clone this source code repository

git clone https://github.com/concise/v2f-nodejs-linux
cd v2f-nodejs-linux

Optionally patch the permissions for /dev/uhid and /dev/hidraw*

sudo bash patch-linux-permission

Run v2f (CTRL-C to exit)

node main.js

By default v2f store secret key information and authentication counter under the directory ~/.v2f you can change that

node main.js path/to/my-custom-v2f-directory
V2FPATH=path/to/my-custom-v2f-directory node main.js

Some URLs

About

v2f is a virtual U2F device for you to study & hack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published