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:
- File namemust be passwords.txt
- One password per line
- Maximum length 12 characters
- Maximum 10 passwords
- Blank lines will be ignored
- Lines before a starting mark will be ignored
- The starting mark is a triple percent signal %%%
- Blank lines will be ignored
- Valid Character set: a..z A..Z 0..9 . _ - (space) (tab)
- Trailing spaces will be ignored if the line length is more than 12 characters. if the password has trailing spaces you must leave the rest of the line blank
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
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.