Command-Line tool

Issue #33 on hold
Eli Collins
repo owner created an issue

===== //(Imported from Google Code)//

The cmdline-dev branch ( [[https://code.google.com/p/passlib/source/list?name=cmdline-dev|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 " under py27 and up, or "python -m passlib.main " 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.

Comments (3)

  1. Eli Collins reporter
    (Imported from Google Code)

    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.

  2. Log in to comment