mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-16 19:19:14 +00:00
Add configurable password policy
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import string
|
||||
from password_manager.password_generation import PasswordGenerator
|
||||
from password_manager.password_generation import PasswordGenerator, PasswordPolicy
|
||||
|
||||
|
||||
class DummyEnc:
|
||||
@@ -16,6 +16,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