Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user should be able to specify length of password #69

Open
mugdhadalal opened this issue Jan 26, 2020 · 2 comments
Open

user should be able to specify length of password #69

mugdhadalal opened this issue Jan 26, 2020 · 2 comments

Comments

@mugdhadalal
Copy link

mugdhadalal commented Jan 26, 2020

Suppose,we have multiple users and one of them want to set password of two character in length and other want to set password minimum of eight characters in length or someone don't want to specify the password character length. I think,we should add this feature.

@Yadnyawalkya
Copy link

So @mugdhadalal, we are using diceware here to generate passphrases that are different from other inbuild character randomizers. Note it concatenates words (not characters) to generate passphrases and since the length of a word is just random diceware does not have any control over password's length.

However, we can manupulate word length by making customized wordlist consists of equal lenth of words and then divide and can do all sorts of math but thats overall different story.

Right now wrapping password externally also can be the way to implement it, for example,

In [6]: diceware.get_passphrase()                                                                                                                                                             
Out[6]: 'MoodyDetractTwentiethHeaddressLyricsComa'

In [7]: _[0:10]                                                                                                                                                                               
Out[7]: 'MoodyDetra'

But see, it divided Detract with Detra and I am just afraid we are not using diceware to "remember passphrase" which is its main purpose.

cc @mayurilahane @ganeshhubale your take on this?

@mayurilahane
Copy link
Member

yes, agree!
also, user need a strong password for that it's mandatory to have a good length and some mixing of characters and concern about security so #62 and #63 will solve this problem
@ganeshhubale @mugdhadalal @Yadnyawalkya

@mayurilahane mayurilahane added WIP Work In Process and removed WIP Work In Process labels Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants