python library for passwd suitable blowfish hash generation

Discussion in 'Python' started by Damon Getsman, Jun 4, 2008.

  1. 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
     
    Damon Getsman, Jun 4, 2008
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Blowfish hash

    , May 25, 2004, in forum: Java
    Replies:
    2
    Views:
    1,352
    Rajesh Tihari
    May 26, 2004
  2. Robin Cull
    Replies:
    5
    Views:
    441
    Andrew Dalke
    Jul 31, 2003
  3. Claus Wanner

    BlowFish decrypting

    Claus Wanner, Nov 3, 2005, in forum: C++
    Replies:
    2
    Views:
    1,170
  4. rp
    Replies:
    1
    Views:
    580
    red floyd
    Nov 10, 2011
  5. James Keener

    Blowfish hash

    James Keener, Oct 27, 2010, in forum: Ruby
    Replies:
    1
    Views:
    201
    Luis Parravicini
    Oct 28, 2010
Loading...

Share This Page