diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2013-02-05 19:13:27 -0500 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2013-02-05 19:13:27 -0500 |
| commit | cd93f80e329c5b32f48ca6cbe8f87b168bff57ac (patch) | |
| tree | 4e62ff1b37611e9b4a61805ee4444f4ac09db6ed /passlib/utils/__init__.py | |
| parent | 7a05e12e14c0782b1a1a5f8ff9d4901564648ee3 (diff) | |
| download | passlib-cd93f80e329c5b32f48ca6cbe8f87b168bff57ac.tar.gz | |
initial stab at new password generator, with diceware support
Diffstat (limited to 'passlib/utils/__init__.py')
| -rw-r--r-- | passlib/utils/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/passlib/utils/__init__.py b/passlib/utils/__init__.py index 654124e..9cd3cda 100644 --- a/passlib/utils/__init__.py +++ b/passlib/utils/__init__.py @@ -1539,6 +1539,8 @@ def getrandstr(rng, charset, count): _52charset = '2346789ABCDEFGHJKMNPQRTUVWXYZabcdefghjkmnpqrstuvwxyz' +@deprecated_function(deprecated="1.7", removed="2.0", + replacement="passlib.pwd.generate()") def generate_password(size=10, charset=_52charset): """generate random password using given length & charset |
