Python script to create SHA-512 password hashes
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
mksha

README.md

mksha

Little Python script to create SHA-512 hashes compatible with Linux shadow passwords. The hashes can be used in Puppet manifests or Kickstart configs.

Right now it has no options and only does SHA-512.

Requires

python-passlib

Red Hat (requires EPEL in RHEL/CentOS):

yum install python-passlib

Debian-based (in Debian wheezy and squeeze-backports, and Ubuntu precise):

apt-get install python-passlib

Cheeseshop:

pip install passlib

Or:

easy_install passlib

Usage

Clone the git repo, cd to the directory and:

./mksha

Enter a password at the prompt, a SHA hash will be printed to stdout.

Author