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

Min/max password length option #137

Open
maxgamurar opened this issue Nov 6, 2017 · 2 comments
Open

Min/max password length option #137

maxgamurar opened this issue Nov 6, 2017 · 2 comments

Comments

@maxgamurar
Copy link

Hello!
Is it possible to point somehow minimum and maximum password length ?

@gurnec
Copy link
Owner

gurnec commented Nov 8, 2017

In terms of characters?

Minimum 8 characters, add the command-line option: --regex-only "^.{8}"

Maximum 12 characters, add: --regex-never "^.{13}" (that 13 isn't a typo, it's intentionally one more than the desired max)

To specify both, e.g. 8-12 characters, add: --regex-only "^.{8,12}$"

Note that this won't speed things up much (if any) for "fast" wallets (ones without key stretching) like Electrum (before 3.0) or MultiBit Classic.

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
@gurnec @maxgamurar and others