wushuyi / passlib

Automatically exported from code.google.com/p/passlib
Other
0 stars 0 forks source link

Command-Line tool #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The cmdline-dev branch ( 
https://code.google.com/p/passlib/source/list?name=cmdline-dev ) contains a 
work-in-progress command line tool for manipulating password hashes.

It can be invoked via "python -m passlib <subcommand>" under py27 and up, or 
"python -m passlib.__main__ <subcommand>" for py25/26. 

It currently contains tools for benchmarking the hashes, encrypting hashes, 
verifying hashes, and a nice little heuristic for identifying unknown hashes.

Basic functionality is there, but it's rough around the edges. Once completed, 
if it's useful enough, may merge it into default in time for the 1.7 or 1.8 
release.

Original issue reported on code.google.com by elic@astllc.org on 18 Apr 2012 at 4:06

GoogleCodeExporter commented 9 years ago
Another useful command which could be added is one which generates / updates 
CryptContext config strings after asking the user some simple questions. 
Currently the docs direct people to use 
passlib.apps.custom_app_context.to_string(), which is a good default, but could 
be made better with some hints from user about the intended use. 

Original comment by elic@astllc.org on 4 Jul 2012 at 5:05