python library for passwd suitable blowfish hash generation

D

Damon Getsman

I'm working on a utility that needs to be able to generate /etc/shadow
suitable hashes on an OpenSuSE 10.3 system. All of the shadowed
hashes are blowfish, I believe, from seeing the 'magic' $2a$10$ at the
start of each of the entries. Ideally I would like to find a library
that will take my string and spit out the hash in a compatible ascii
form so that I could just drop it in place or prepend the $2a$10$ and
drop it in, but I'm not afraid of taking the binary and trying to
convert it to compatible ascii.

Does anybody know of any python libraries like this? I've seen a few
of the libraries so far and I'm not sure if I want to use them or not;
documentation was rather lacking.

I'd appreciate any input you all might be able to give on this.

Thanks for your time.

-Damon Getsman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top