mmcmd / Get-RandomPassword

Generates a random password using random common words (based on https://xkpasswd.net/s/)
4 stars 1 forks source link

Custom Word Lists #18

Open bcftv opened 3 years ago

bcftv commented 3 years ago

Enhancement suggestion... it would be great to be able to specify a custom word list rather than Short/Medium/Long.

mmcmd commented 3 years ago

Been busy with work and other projects lately and honestly haven't had much motivation to work on this project again but I do want to say that it is possible to do this already by creating a folder under "Ressources" named "Custom" or whatever name and then creating 3 text files with the names "custom-short/medium/long-words" and adding your own words to those 3 files. That should work as a workaround, the script will think that "Custom" is a language with words associated with it, all you have to do is pass "Custom" in the language parameter.

I have thought of creating a function to create a custom word list and I will most likely add it someday, though I can't quite give a date just yet. The current uncommitted work I've done on the project involves a pretty heavy change which will likely end up forcing me to change the major version number due to some big changes which will break existing scripts using this module due to some changes with the parameters... Not a change I'm looking forward to due to numerous of my scripts using this module as well