U2F Zero is an open source U2F token for 2 factor authentication.
 
 
 
 
 
 
Go to file
Conor 8de8135f2d button pcb 2016-03-16 20:30:42 -04:00
firmware button pcb 2016-03-16 20:30:42 -04:00
hardware added fifo and made main only do printf to prevent race conditions 2016-01-25 23:17:52 -05:00
notes implementing u2f 2016-02-28 00:26:12 -05:00
tools pcb integration... 2016-03-15 17:12:33 -04:00
.gitignore remove old tools 2016-03-05 19:52:43 -05:00
README.md a word 2016-01-31 01:24:30 -05:00

README.md

U2F Zero

Overview

U2F Zero is an affordable and physically secure two factor authentication token that implements the U2F protocol.

Firmware

Code overview

The HID layer for U2F is implemented in u2f_hid.c. The USB boilerplate is in callback.c.

Firmware generally works as follows:

  • Main loop adds a request for USB to read a 64 byte packet
  • USBD_XferCompleteCb gets called with packet when it comes
  • U2F HID layer gets called
  • U2F HID layer will call U2F layer when appropriate

U2F HID layer spec

U2F layer spec

Using Simplicity Studio

  • Open Simplicity Studio
  • Click File -> Import
  • General -> Existing Projects into Workspace
  • Select root directory and choose the firmware/ directory
  • Finish

Using command line tools

  • TODO