mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-16 11:09:13 +00:00
Add configurable password policy
This commit is contained in:
@@ -4,7 +4,7 @@ import sys
|
||||
|
||||
sys.path.append(str(Path(__file__).resolve().parents[1]))
|
||||
|
||||
from password_manager.password_generation import PasswordGenerator
|
||||
from password_manager.password_generation import PasswordGenerator, PasswordPolicy
|
||||
from constants import MIN_PASSWORD_LENGTH
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ def make_generator():
|
||||
pg = PasswordGenerator.__new__(PasswordGenerator)
|
||||
pg.encryption_manager = DummyEnc()
|
||||
pg.bip85 = DummyBIP85()
|
||||
pg.policy = PasswordPolicy()
|
||||
return pg
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user