I checked on that. The default settings are the same as before :
My version :
$ ./passwordmaker --verbose
Master Password:
Master Password: ********
Using settings file: passwordmaker.rdf
Using Account:
Use l33t: none
l33t level: 0
Hash Algorithm: MD5
Triming trailing zeroes: yes
URL:
Generated Password Length: 8
Username:
Modifier:
Characters: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`~!@#$%^&*()_-+={}|[]\:";'<>?,./
Generated Password Prefix:
Generated Password Suffix:
D4a8=qpD
Trunk version :
./passwordmaker --verbose
Master Password:
Master Password: youpi
Use l33t: none
l33t level: 0
Hash Algorithm: MD5
URL:
Generated Password Length: 8
Username:
Modifier:
Characters: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`~!@#$%^&*()_-+={}|[]\:";'<>?,./
Generated Password Prefix:
Generated Password Suffix:
D4a8=qpD
The change is about separate reading settings on the command line and in the settings file. It's why I changed default values on the tclap (to see the difference between the default value and a user's option on the command line). The real defaults values (used to process the password) are set when the pwmdefaults object is created and are copied in the settings object by the function getSettings only if there was the corresponding option was not given on the command line.
I hope this will clarify what I changed.
Hope that my english is readable.
Anyway, thanks for checking my changes. I'll be glad to contribute to the project.
dr4Ke.