DIY USB password generator

Discussion in 'Electronic Projects' started by jokkebk, Mar 4, 2012.

  1. jokkebk

    jokkebk

    Joined:
    Mar 2, 2012
    Messages:
    4
    Location:
    Finland
    I thought to share a project I finished yesterday, in case someone is interested in hacking together a similar device. In short, it is a ATtiny85-powered device built inside a USB memory stick enclosure that uses V-USB library to act as a USB HID keyboard, inputting a password stored in EEPROM every time it's inserted.

    [​IMG]

    Here's a 45 second Youtube video of the device in action: http://youtu.be/kpNSycoUCZM

    I wanted to have some interaction with the device, so the HID descriptor is for a boot-enabled keyboard that is able to receive keyboard status LED changes from PC. Using these, a new password can be generated just by pressing caps lock repeatedly - the device actually uses the keypress timings to generate a new random password. Details are available in my blog, as well as schematics and source code, all made available under a GPL license.

    http://codeandlife.com/2012/03/03/diy-usb-password-generator/
     
    jokkebk, Mar 4, 2012
    #1
    1. Advertising

  2. jokkebk

    jackorocko VIP Member

    Joined:
    Apr 4, 2010
    Messages:
    1,279
    Other then it giving up the password in a text file, I like it. :cool:
     
    jackorocko, Mar 4, 2012
    #2
    1. Advertising

  3. jokkebk

    jokkebk

    Joined:
    Mar 2, 2012
    Messages:
    4
    Location:
    Finland
    Hehe, obviously one should not plug it in after password generation in other situations than when presented with a password field. :D

    I actually realized this morning that I had forgotten to change my Windows password after running the demo, and was locked out of my PC because the demo also contained regenerating the password. Thankfully the password was readable from the video so I resetted back to original without much difficulty...
     
    jokkebk, Mar 4, 2012
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. D from BC

    DIY DDS Function Generator or Not

    D from BC, Nov 14, 2007, in forum: Electronic Design
    Replies:
    10
    Views:
    2,813
    JosephKK
    Nov 18, 2007
  2. Toothpick

    DIY - designing 200V generator

    Toothpick, Mar 5, 2011, in forum: Electronic Design
    Replies:
    4
    Views:
    564
    PeterD
    Mar 5, 2011
  3. moeburn
    Replies:
    4
    Views:
    1,135
    (*steve*)
    Sep 18, 2012
  4. rice923

    DIY altoids USB charger won't charge sufficently

    rice923, Dec 15, 2012, in forum: Electronic Projects
    Replies:
    14
    Views:
    839
    rice923
    Dec 17, 2012
  5. zsuhh

    2.4G wireless usb dongle DIY

    zsuhh, Feb 7, 2014, in forum: Electronic Projects
    Replies:
    0
    Views:
    178
    zsuhh
    Feb 7, 2014
Loading...

Share This Page