lfs-uefi: fix efivar-37 FTBFS
[linux_from_scratch_hints.git] / blowfish-passwords.txt
blob9eb2626821dfb337a0f209241df30764f2b653d3
1 AUTHOR: Robert Connolly <robert at linuxfromscratch.org> (ashes)
3 DATE: 2006-12-10
5 LICENSE: Public Domain
7 SYNOPSIS: Blowfish passwords.
9 DESCRIPTION:
10 How to install a blowfish crypt library and use it.
12 PREREQUISITES: None
14 HINT:
16 A paper on the blowfish algorithm is available here:
17 http://www.usenix.org/events/usenix99/provos.html
19 DOWNLOAD:
21 http://ca.lfs-matrix.net/patches/downloads/glibc/glibc-2.5-blowfish.patch
22 http://ca.lfs-matrix.net/patches/downloads/shadow/\
23         shadow-4.0.18.1-owl_blowfish-1.patch
24 http://ca.lfs-matrix.net/patches/downloads/sysvinit/\
25         sysvinit-2.86-owl_blowfish.patch
27 INSTALLATION:
29 # With Glibc chapter 6:
31 patch -Np1 -i ../glibc-2.5-blowfish.patch
33 # With Shadow chapter 6:
35 patch -Np1 -i ../shadow-4.0.18.1-owl_blowfish-1.patch &&
36 aclocal &&
37 autoconf &&
38 autoheader
40 # This patch for Shadow must be regenerated with autotools so that this
41 # patch can be used by many versions of Shadow. As long as the patch applies
42 # without error then it should work on whichever version of Shadow you are
43 # using.
45 # This patch will instruct blowfish to use /dev/random for entropy. If you
46 # want to use /dev/urandom or something else then use the --with-random=
47 # configure option.
49 # The Sed command for MD5_CRYPT_ENAB, on the Shadow page, won't make any
50 # difference. If you get an error from 'make install' because of funny
51 # business from Autoconf, then use:
53 make MKINSTALLDIRS=$(pwd)/mkinstalldirs install
55 # Shadow will still be able to use MD5 and DES passwords if you add them to
56 # /etc/shadow manually, or if you reset "CRYPT_PREFIX" to "$1$" in
57 # /etc/login.defs.
59 # After running 'passwd' you should find your passwords in /etc/shadow
60 # begin with "$2a$".
62 # With Sysvinit chapter 6:
64 patch -Np1 -i ../sysvinit-2.86-owl_blowfish.patch
66 # OpenSSH can be installed normally, and using "--with-md5-passwords" is
67 # optional (it will still be able to use blowfish passwords too).
69 ACKNOWLEDGMENTS:
70   * The Openwall project. http://www.openwall.com/crypt/
71   * Solar Designer. <solar at openwall>
72   * Thorsten Kukuk. http://ftp.suse.com/pub/people/kukuk/
74 CHANGELOG:
75 [2005-02-04]
76   * Initial hint.
77 [2005-02-05]
78   * Added note for --with-random.
79   * Added note for SSHD's with-md5-passwords.
80   * Move libxcrypt.la file to /usr/lib.
81 [2005-02-06]
82   * Added sed for xcrypt in OpenSSH.
83 [2005-02-24]
84   * Fix where the libxcrypt libs are installed.
85 [2005-11-13]
86   * Bump to libxcrypt-2.3.
87   * Don't install libcrypt from libc, and install libxcrypt instead.
88 [2005-12-10]
89   * Use Owl Blowfish for Glibc because libxcrypt conflicts with OpenSSH.
90   * Added new Shadow and Sysvinit patches.