Skip to content
A quick Arduino program that helps collect YubiKey OTP tokens
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
video_snap.png
yubikey-otp-miner.ino

README.md

yubikey-otp-miner

A quick Arduino program that helps collect YubiKey OTP tokens.

Parts

This code will work on probably any Arduino. I used the Arduino UNO as I had one laying around. I bought the smallest capacitor I could find at Frys: .1μF 35v. The human body is rated at 100pF capacitance, so I figured something close would help emulate when you touch the token.

Why?

I couldn't find any examples that did this with an Arduino, so I decided to throw one together really quick.

Speed

I tuned the program so that it will collect the tokens as fast as possible. If you try to speed it up more, it will overlap with the previous token request. I was able to collect ~1 token per second.

Demo

Watch the video

You can’t perform that action at this time.