[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [FW1] encrypting user passwords
We're still working on importing users into
the FW-1 internal database. The passwords need to be encrypted before they can
be imported. I'm using a perl script to pass the clear text password to the
crypt function and return the encrypted password. If I get the crypt function's
two character salt value right I get the correct encrypted password.
I can enter some user ids and passwords into the database then use fw dbexport to get the encrypted passwords. The salt value used to encrypt the clear text password is the first two characters of the encrypted password. If I turn around and use these two characters as the salt value in my perl script I get the identical encrypted password. But these two characters aren't consistent. So my question is does anyone know how FW-1 determines which two characters to use for the salt value? Any help would be appreciated Thanks, Joe Neuman
|