diff options
author | pyllyukko <pyllyukko AT maimed dot org> | 2013-06-05 12:03:18 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-06-05 12:03:18 -0400 |
commit | 52ef78e897bb46d93458d88762773384a5aa986e (patch) | |
tree | 54c12369337f1a3ed1edd80d30f4a3f226000d29 /system/tiger/patches/tiger-sha512-1.patch | |
parent | c515acb0700c884d6e53d0b20ae186842728f821 (diff) | |
download | slackbuilds-52ef78e897bb46d93458d88762773384a5aa986e.tar.gz |
system/tiger: Updated with a few bug fixing patches.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/tiger/patches/tiger-sha512-1.patch')
-rw-r--r-- | system/tiger/patches/tiger-sha512-1.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/system/tiger/patches/tiger-sha512-1.patch b/system/tiger/patches/tiger-sha512-1.patch new file mode 100644 index 0000000000..70e087686a --- /dev/null +++ b/system/tiger/patches/tiger-sha512-1.patch @@ -0,0 +1,34 @@ +Index: scripts/check_passwd +=================================================================== +RCS file: /sources/tiger/tiger/scripts/check_passwd,v +retrieving revision 1.24 +diff -u -r1.24 check_passwd +--- scripts/check_passwd 27 Aug 2007 18:30:44 -0000 1.24 ++++ scripts/check_passwd 12 May 2010 06:23:57 -0000 +@@ -129,7 +129,7 @@ + do + + # Check the password hash. +- [ -z "$Tiger_Passwd_Hashes" ] && Tiger_Passwd_Hashes='crypt3|md5|xxxxxxxxxxxxx' ++ [ -z "$Tiger_Passwd_Hashes" ] && Tiger_Passwd_Hashes='crypt3|md5|sha512|xxxxxxxxxxxxx' + eval "case \"$hash\" in + \"\") + message FAIL pass011f \"\" \"Username \\\`$login' has an empty password field.\" +Index: systems/Linux/2/gen_passwd_sets +=================================================================== +RCS file: /sources/tiger/tiger/systems/Linux/2/gen_passwd_sets,v +retrieving revision 1.16 +diff -u -r1.16 gen_passwd_sets +--- systems/Linux/2/gen_passwd_sets 4 Aug 2005 08:48:15 -0000 1.16 ++++ systems/Linux/2/gen_passwd_sets 12 May 2010 06:23:57 -0000 +@@ -96,6 +96,10 @@ + \$1\$[a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./]\$[a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./]) + passwd="md5" + ;; ++# For SHA512 passwds (98 chars) starting with $6$ (Linux) ++ \$6\$[a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-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