remvze / pswd

🔑 Simple secure password generator.
https://pswd.mvze.net
MIT License
57 stars 1 forks source link

Diceware passwords should allow for minimal password rules #4

Open coro1404 opened 1 month ago

coro1404 commented 1 month ago

Hi

I like diceware Passwords (Passphrase) but many sites enforce rules like "at least a number" or "at least one special character" so it would be nice if Passphrases would allow for adding minimal password rules to be appended or mixed into the passphrase.

regards

remvze commented 1 month ago

Hey there. How would you like it to be? I can think of two solutions: one is giving the option to add a number at the end of the passphrase, and the second is the option to replace specific characters with numbers (e.g., A with 4).

coro1404 commented 1 month ago

I would suggest giving the option "at least one number" random position or first/last position and "at least one special char of collection [...]" at random position or at first/last position - also I would suggest Capitalizing the words or using capital letters at random. I made a python script to emphasize my suggestions:

./dice.py Enter the number of words for the password (default: 4): 6 Enter the separator between words (default: '-'): Enter special characters (default: '!"§$%&/()=?`´#+-'): # Enter the number of attempts per second (default: 1000000):

Generated Password: SOCKe-#el4efAnt-KAMIN-AKKoRd-anGabe-eRsetZEn Total Combinations: 737,869,762,948,382,064,640 Estimated Time to Crack: 737869762948382.12 seconds (~8540159293.38 days / ~23397696.69 years) Password Entropy: 69.32 bits

(German wordlist)