Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pagong/arduino-yksim
Simulate Yubikey with Arduino Leonardo
https://github.com/pagong/arduino-yksim
arduino yubikey
Last synced: about 1 month ago
JSON representation
Simulate Yubikey with Arduino Leonardo
- Host: GitHub
- URL: https://github.com/pagong/arduino-yksim
- Owner: pagong
- Archived: true
- Created: 2013-07-04T10:18:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-03-29T15:19:21.000Z (9 months ago)
- Last Synced: 2024-08-05T20:29:44.497Z (5 months ago)
- Topics: arduino, yubikey
- Language: C
- Homepage:
- Size: 30.3 KB
- Stars: 85
- Watchers: 5
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
:exclamation: This repository has been archived. Please see [arduino2-yksim](https://github.com/pagong/arduino2-yksim) for it's successor!
arduino-yksim
=============Simulate Yubikey with Arduino Leonardo
How-to use
----------Merge the libraries and examples directories with your arduino-1.0.x installation.
Start the Ardunio GUI (e.g. arduino-1.0.4/arduino) and open one of the `yksEEinit` files (in File --> Examples --> YKS).
Change the AES-128 key, the public and private ids and the static password to your personal likings (and keep them private).
Upload the code to your Arduino Leonardo. This needs to be done only once.Then open the file `yksTouch1` (also in File --> Examples --> YKS) and upload this code to your Leonardo.
Then stick an ordinary paper clip into pin D7 and connect the Leonardo to an USB port of your computer.
This will turn your Leonardo into an USB keyboard that emits keyboard scan codes whenever you touch the paper clip.
Every time you touch the paper clip for a short time, a unique new Yubikey compatible OTP will be 'typed' by the Leonardo.
If you press the paper clip for a longer time, the static, secret password will by 'typed' by the Leonardo.Advanced usage
--------------If you're owning one of the "LCD + keypad" shields for the Arduino you can also try the example in `yksLCD1`:
Whenever the Enter key is pressed a new code is generated (Yubico-OTP or the static password)
and 'typed' by the Leonardo (acting as an USB keyboard).
The Down and Up buttons let you scroll thru the codes on the 2x16 liquid crystal display.
The Right and Left buttons select the mode of operation.Have Fun !
----------Caveat
------I'm using this Arduino code with Linux systems only.
I've no idea whether this stuff works with Macintosh or Windows systems.