This is a collection of various Linux related things I have worked on. There may appear to be a slight bias towards Gentoo in some of this work since it is my distro of choice.

Gentoo ebuilds allowing shadow to use blowfish hashes
Currently this stuff will work with sudo and logging in but breaks ssh. I am debating attempting to fix that problem or installing PAM which should make using blowfish passwords much easier.

This project was helped along thanks to the Linux From Scratch project and howto they they have. I followed their instructions and then modified the shadow and libxcrypt ebuilds to also follow them. After a few errors due to my inexperience with ebuild files I finally got it to work. The main thing left to due is figure out to get the shadow ebuild to install the new login.defs file in /etc.

To install these place the builds into your portage overlay (sys-libs for libxcrypt and sys-apps for shadow). Place the shadaw patch into the files directory of shadow in your overlay along with coping the files from the portage shadow files directory. As root run 'ebuild ebuild-file digest' for each package. Add the apropriate entries into /etc/portage/package.keywords for each ebuild. Then compile both of them with USE="xcrypt". After this sudo may also need to be rebuilt. Finally add any lines from my login.defs that do not appear in yours (coming soon to the ebuild).
Files:
libxcrypt-2.3.ebuild
shadow-4.0.13.ebuild
shadow blowfish patch
login.defs