DES and MD5 work now, and are backwards-compatable:
http://www.linuxfromscratch.org/~robert/new/shadow-openssl/shadow-4.0.4.1-openssl.diff4

The md5crypt.c from openssh doesn't seem to work outside of openssh. It always 
returns NULL, maybe sshd strips the salt off, or something. Regardless, I 
found another version that works.

I also have sha1 working, but it's a mess. hmac/sha1/sha256/sha384/sha512 are 
integrated. Can't really add one without the other.

sha1crypt(), md5crypt(), and bcrypt() take the same arguments, a salt and a 
password. I found some references to an aes-hash which can work the same way.

robert

Attachment: pgpT7aALpWXr7.pgp
Description: PGP signature

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to