ulif / diceware

Passphrases to remember
GNU General Public License v3.0
354 stars 45 forks source link

Please allow me to limit the maximum length #65

Open madduck opened 5 years ago

madduck commented 5 years ago

There's plenty of code out there that caps the maximum password length. Rather than requiring me to manually crop the generated passwords, it would be great to be able to specify -m NUM, --max NUM to make diceware select words accordingly so that they fit.

Alternatively, diceware could just crop the generated password.

Yes, I am aware that both will decrease the entropy of the generated password. But I didn't write the braindead code limiting the length of passwords users can use.