Benutzer:Mihi/TinyTOTP
aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
TinyTOTP
Goal: Time based One Time Passwords in a small embedded device. Basically cloning the functionality of my RSA SecurID
Design Thoughts
Want to have small USB HID device that outputs the current code on keypress or buttonpress.
Based on Attiny45 and v-usb[1]
Based on TOTP [2] and HOTP [3]. Simply because PAM modules exist on the other end. -> easy addition to OpenVPN, SSH etc.
Docu
Needs HMAC-SHA1 (available in the AVR crypto lib from das-labor [4])
Time chip: maxim - samples ordered DS1372 und DS1374 beide zaehlen 32bit binary (e.q. seconds since unix epoch, which is needed in TOTP). DS1374 comes with internal oscillator and battery backup loop.