Close

Uploading legacy passwords

A project log for Key Pass

Keychain USB multiple password manager/generator/injector

danjovicdanjovic 12/03/2015 at 02:040 Comments

I've been working how to upload legacy passwords to KeyPass. The first feasible solution that came to my mind is a Python script to parse a text file containing the passwords then generate a eeprom.bin file and a line of command for uploading the contents of EEPROM using AVRDUDE.

The first part of the script is working. Here are the rules for the passwords.txt file:

An example password would be:

####################################################
#  Example of legacy passord file for Key Pass     #
#                                                  #
#  ATTENTION                                       #
#        DELETE THIS FILE AFTER UPLOADING          #
#                                                  #
####################################################
         111 
123456789012
   %%%  This is the starting mark  
123456      characters after 12th will be ignored

password    blank lines like above and below too

admin       trailing spaces on comment line too
0000  
admin       you can use this space to describe your
1qaz2wsx    passwords but I highly discourage this
12characters
hackaday
jeronimo
ZX-81.Rulz  this is the 10th password

Discussions