Skip to content

q0r3y/picokey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Picokey

For this project I wanted to recreate a two-factor authentication token similar to a Yubikey. The device uses an HMAC based one time password.

I used a Pimoroni Tiny 2040 microcontroller as the device. Since the controller doesn't have an EEPROM I had to store the persistent data in flash memory. I wasn't able to get USB output working by the due date, so for now it prints the output over serial and the output must then be input into the "server side" program. The "server" uses SQLITE3 to store the secret key, current count and device ID.

Flowchart

flowchart

The libraries I used for calculating the hashes can be found here: https://github.com/stbrumme/hash-library

About

Custom HOTP MFA Device

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published