xkcd-password
xkcd-password copied to clipboard
Read a config file for default options.
It'd be nice if xkpa could read a config file (maybe ~/.xpka) that would set default options. These could then be overwritten by any command line flags. So, if you always generate passwords with xkpa -nil 6 5 you could just throw -nil 6 5 in ~/.xkpa and these flags would always be used unless overwritten.
Added something like this to unstable. The biggest problem is that it reads in a set of flags from "~/.xkpa" and splits the string on spaces, so that it will look like sys.argv (one argument per slot), but this obviously doesn't work if an argument contains spaces. Trying to think of a work around without writing a full blown parser.