ligos / readablepassphrasegenerator

The Readable Passphrase Generator generates passphrases which are (mostly) grammatically correct but nonsensical. These are easy to remember (for humans) but difficult to guess (for humans and computers).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow also picking password length in terms of word count

benedictleejh opened this issue · comments

Currently, password length is decided by the number of characters only. For a passphrase, it feels more natural to consider it in terms of number of words.

Adding a word count selection would also be useful for the times we want to generate a passphrase in terms of that. Say if you want a 15 word passphrase as a master password, you could just generate phrases of that length, instead of generating a list until you see phrases of the length you want.

Thanks for the idea. I'll consider it for future versions.

This will be included in the upcoming 1.3.0 version!

How do we go about using this feature?

You simply need to Generate Passphrase Between X and Y Words Long

image

Or, on the console application, use the --countBy word option:

PS> PassphraseGenerator.exe --countby word --min 6 --max 8

You simply need to Generate Passphrase Between X and Y Words Long

image

Or, on the console application, use the --countBy word option:

PS> PassphraseGenerator.exe --countby word --min 6 --max 8

Hello. I know this was closed, but I am not understanding how this works. I set my max word count to 4 for example, and I see that I generate a passphrase with more words than 4, which is not what I want. Any help? Thanks for the plugin!

@markandgo Could you post a screenshot of your configuration, please? And also the content of the Preview tab, so I can see what the plugin is generating.

@ligos

Sure! Here are my config and preview:

image

image

@markandgo Can you try again with Word Separator = Space or Custom, please?

I think the code which counts the number of words runs after the phrase is generated. If there's no separator, then there's no way to tell words apart.

@ligos

It works! The output is as expected for "Custom" separator as well.

image

image