]> git.ipfire.org Git - thirdparty/shadow.git/commit
*/: Remove support for DES
authorAlejandro Colomar <alx@kernel.org>
Sat, 27 Dec 2025 11:25:41 +0000 (12:25 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Fri, 17 Jul 2026 18:42:47 +0000 (20:42 +0200)
commit609bd9194174d631a5fbc9224f5e0dac4dfd4a8c
tree80751e7b620a9e4eeabe38e34828060f9ed1ed4c
parent764e56e9ec293b8ab884999c85916d5279a1975a
*/: Remove support for DES

Reviewed-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
159 files changed:
etc/login.defs
lib/chkhash.c
lib/obscure.c
lib/salt.c
lib/valid.c
man/chgpasswd.8.xml
man/chpasswd.8.xml
man/login.defs.d/ENCRYPT_METHOD.xml
man/newusers.8.xml
man/passwd.1.xml
src/chgpasswd.c
src/chpasswd.c
src/newusers.c
tests/chroot/chage/01_chage--root/config_chroot/etc/login.defs
tests/chroot/chgpasswd/01_chgpasswd--root/config_chroot/etc/login.defs
tests/chroot/chpasswd/01_chpasswd--root_nopam/config_chroot/etc/login.defs
tests/chroot/chpasswd/02_chpasswd--root_pam/config_chroot/etc/login.defs
tests/chroot/chsh/01_chsh--root/config_chroot/etc/login.defs
tests/chroot/gpasswd/01_gpasswd--root/config_chroot/etc/login.defs
tests/chroot/groupadd/01_groupadd--root/config_chroot/etc/login.defs
tests/chroot/groupdel/01_groupdel--root/config_chroot/etc/login.defs
tests/chroot/groupmod/01_groupmod--root/config_chroot/etc/login.defs
tests/chroot/grpck/01_grpck--root/config_chroot/etc/login.defs
tests/chroot/grpconv/01_grpconv--root/config_chroot/etc/login.defs
tests/chroot/grpunconv/01_grpunconv--root/config_chroot/etc/login.defs
tests/chroot/lastlog/01_lastlog--root/config_chroot/etc/login.defs
tests/chroot/pwck/01_pwck--root/config_chroot/etc/login.defs
tests/chroot/pwconv/01_pwconv--root/config_chroot/etc/login.defs
tests/chroot/pwunconv/01_pwunconv--root/config_chroot/etc/login.defs
tests/chroot/useradd/01_useradd--root/config_chroot/etc/login.defs
tests/chroot/useradd/02_useradd--root_login.defs/config_chroot/etc/login.defs
tests/chroot/useradd/03_useradd--root_useradd.default/config_chroot/etc/login.defs
tests/chroot/useradd/04_useradd--root_useradd-D/config_chroot/etc/login.defs
tests/chroot/useradd/05_useradd--root_useradd-D-e-g/config_chroot/etc/login.defs
tests/chroot/userdel/01_userdel--root/config_chroot/etc/login.defs
tests/chroot/usermod/01_usermod--root/config_chroot/etc/login.defs
tests/crypt/login.defs_DES/01_chpasswd.test [deleted file]
tests/crypt/login.defs_DES/01_chpasswd/group [deleted file]
tests/crypt/login.defs_DES/01_chpasswd/gshadow [deleted file]
tests/crypt/login.defs_DES/01_chpasswd/passwd [deleted file]
tests/crypt/login.defs_DES/01_chpasswd/shadow [deleted file]
tests/crypt/login.defs_DES/02_chpasswd--crypt-method-MD5.test [deleted file]
tests/crypt/login.defs_DES/02_chpasswd--crypt-method-MD5/group [deleted file]
tests/crypt/login.defs_DES/02_chpasswd--crypt-method-MD5/gshadow [deleted file]
tests/crypt/login.defs_DES/02_chpasswd--crypt-method-MD5/passwd [deleted file]
tests/crypt/login.defs_DES/02_chpasswd--crypt-method-MD5/passwd.new [deleted file]
tests/crypt/login.defs_DES/02_chpasswd--crypt-method-MD5/shadow [deleted file]
tests/crypt/login.defs_DES/03_chpasswd--crypt-method-DES.test [deleted file]
tests/crypt/login.defs_DES/03_chpasswd--crypt-method-DES/group [deleted file]
tests/crypt/login.defs_DES/03_chpasswd--crypt-method-DES/gshadow [deleted file]
tests/crypt/login.defs_DES/03_chpasswd--crypt-method-DES/passwd [deleted file]
tests/crypt/login.defs_DES/03_chpasswd--crypt-method-DES/shadow [deleted file]
tests/crypt/login.defs_DES/04_chpasswd--crypt-method-NONE.test [deleted file]
tests/crypt/login.defs_DES/04_chpasswd--crypt-method-NONE/group [deleted file]
tests/crypt/login.defs_DES/04_chpasswd--crypt-method-NONE/gshadow [deleted file]
tests/crypt/login.defs_DES/04_chpasswd--crypt-method-NONE/passwd [deleted file]
tests/crypt/login.defs_DES/04_chpasswd--crypt-method-NONE/shadow [deleted file]
tests/crypt/login.defs_DES/05_chpasswd-e.test [deleted file]
tests/crypt/login.defs_DES/05_chpasswd-e/group [deleted file]
tests/crypt/login.defs_DES/05_chpasswd-e/gshadow [deleted file]
tests/crypt/login.defs_DES/05_chpasswd-e/passwd [deleted file]
tests/crypt/login.defs_DES/05_chpasswd-e/shadow [deleted file]
tests/crypt/login.defs_DES/07_chgpasswd.test [deleted file]
tests/crypt/login.defs_DES/07_chgpasswd/group [deleted file]
tests/crypt/login.defs_DES/07_chgpasswd/gshadow [deleted file]
tests/crypt/login.defs_DES/07_chgpasswd/passwd [deleted file]
tests/crypt/login.defs_DES/07_chgpasswd/shadow [deleted file]
tests/crypt/login.defs_DES/08_chgpasswd--crypt-method-MD5.test [deleted file]
tests/crypt/login.defs_DES/08_chgpasswd--crypt-method-MD5/group [deleted file]
tests/crypt/login.defs_DES/08_chgpasswd--crypt-method-MD5/gshadow [deleted file]
tests/crypt/login.defs_DES/08_chgpasswd--crypt-method-MD5/passwd [deleted file]
tests/crypt/login.defs_DES/08_chgpasswd--crypt-method-MD5/shadow [deleted file]
tests/crypt/login.defs_DES/09_chgpasswd--crypt-method-DES.test [deleted file]
tests/crypt/login.defs_DES/09_chgpasswd--crypt-method-DES/group [deleted file]
tests/crypt/login.defs_DES/09_chgpasswd--crypt-method-DES/gshadow [deleted file]
tests/crypt/login.defs_DES/09_chgpasswd--crypt-method-DES/passwd [deleted file]
tests/crypt/login.defs_DES/09_chgpasswd--crypt-method-DES/shadow [deleted file]
tests/crypt/login.defs_DES/10_chgpasswd--crypt-method-NONE.test [deleted file]
tests/crypt/login.defs_DES/10_chgpasswd--crypt-method-NONE/group [deleted file]
tests/crypt/login.defs_DES/10_chgpasswd--crypt-method-NONE/gshadow [deleted file]
tests/crypt/login.defs_DES/10_chgpasswd--crypt-method-NONE/passwd [deleted file]
tests/crypt/login.defs_DES/10_chgpasswd--crypt-method-NONE/shadow [deleted file]
tests/crypt/login.defs_DES/11_chgpasswd-e.test [deleted file]
tests/crypt/login.defs_DES/11_chgpasswd-e/group [deleted file]
tests/crypt/login.defs_DES/11_chgpasswd-e/gshadow [deleted file]
tests/crypt/login.defs_DES/11_chgpasswd-e/passwd [deleted file]
tests/crypt/login.defs_DES/11_chgpasswd-e/shadow [deleted file]
tests/crypt/login.defs_DES/config/etc/group [deleted file]
tests/crypt/login.defs_DES/config/etc/gshadow [deleted file]
tests/crypt/login.defs_DES/config/etc/login.defs [deleted file]
tests/crypt/login.defs_DES/config/etc/passwd [deleted file]
tests/crypt/login.defs_DES/config/etc/shadow [deleted file]
tests/crypt/login.defs_none/config/etc/login.defs
tests/grouptools/chgpasswd/01_chgpasswd_invalid_group/config/etc/login.defs
tests/grouptools/chgpasswd/02_chgpasswd_multiple_groups/config/etc/login.defs
tests/grouptools/chgpasswd/03_chgpasswd_no_gshadow_file/config/etc/login.defs
tests/grouptools/chgpasswd/04_chgpasswd_no_gshadow_entry/config/etc/login.defs
tests/grouptools/chgpasswd/05_chgpasswd_error_no_password/config/etc/login.defs
tests/grouptools/chgpasswd/06_chgpasswd_usage/data/usage.out
tests/grouptools/chgpasswd/07_chgpasswd_usage_bad_option/data/usage.out
tests/grouptools/chgpasswd/09_chgpasswd_usage-e-c_exclusive/data/usage.out
tests/grouptools/chgpasswd/11_chgpasswd_usage-s_without-c/data/usage.out
tests/grouptools/chgpasswd/12_chgpasswd_usage-s_invalid/data/usage.out
tests/grouptools/chgpasswd/13_chgpasswd_usage-c_invalid/data/usage.out
tests/grouptools/chgpasswd/18_chgpasswd_password_DES/chgpasswd.test [deleted file]
tests/grouptools/chgpasswd/18_chgpasswd_password_DES/config/etc/group [deleted file]
tests/grouptools/chgpasswd/18_chgpasswd_password_DES/config/etc/gshadow [deleted file]
tests/grouptools/chgpasswd/18_chgpasswd_password_DES/config/etc/passwd [deleted file]
tests/grouptools/chgpasswd/18_chgpasswd_password_DES/config/etc/shadow [deleted file]
tests/grouptools/chgpasswd/18_chgpasswd_password_DES/data/gshadow [deleted file]
tests/grouptools/gpasswd/19_gpasswd_change_passwd-root/config/etc/login.defs
tests/grouptools/gpasswd/20_gpasswd_change_passwd-root-no_shadow_group/config/etc/login.defs
tests/grouptools/gpasswd/21_gpasswd_change_passwd-root-no_gshadow_file/config/etc/login.defs
tests/grouptools/gpasswd/22_gpasswd_change_passwd-myuser/config/etc/login.defs
tests/grouptools/gpasswd/69_gpasswd_change_passwd_2_tries/config/etc/login.defs
tests/grouptools/gpasswd/70_gpasswd_change_passwd_3_tries/config/etc/login.defs
tests/grouptools/gpasswd/71_gpasswd_change_passwd_4_tries/config/etc/login.defs
tests/newgidmap/01_newgidmap/config/etc/login.defs
tests/newgidmap/02_newgidmap_relaxed_gid_check/config/etc/login.defs
tests/newuidmap/01_newuidmap/config/etc/login.defs
tests/newuidmap/02_newuidmap_relaxed_gid_check/config/etc/login.defs
tests/newusers/45_create_user_encrypt_rounds_3000/data/newusers.err
tests/newusers/62_create_user_no_aging/config/etc/login.defs
tests/run_all
tests/run_all.coverage
tests/subids/12_useradd_invalid_subuid_configuration1/config/etc/login.defs
tests/subids/13_useradd_invalid_subuid_configuration2/config/etc/login.defs
tests/subids/14_useradd_invalid_subuid_configuration3/config/etc/login.defs
tests/subids/15_useradd_invalid_subgid_configuration1/config/etc/login.defs
tests/subids/16_useradd_invalid_subgid_configuration2/config/etc/login.defs
tests/subids/17_useradd_invalid_subgid_configuration3/config/etc/login.defs
tests/subids/18_useradd_min=max/config/etc/login.defs
tests/system/etc/login.defs
tests/usertools/chpasswd-PAM/06_chpasswd_usage/data/usage.out
tests/usertools/chpasswd-PAM/07_chpasswd_usage_bad_option/data/usage.out
tests/usertools/chpasswd-PAM/09_chpasswd_usage-e-c_exclusive/data/usage.out
tests/usertools/chpasswd-PAM/11_chpasswd_usage-s_without-c/data/usage.out
tests/usertools/chpasswd-PAM/12_chpasswd_usage-s_invalid/data/usage.out
tests/usertools/chpasswd-PAM/13_chpasswd_usage-c_invalid/data/usage.out
tests/usertools/chpasswd-PAM/18_chpasswd_password_DES/chpasswd.test [deleted file]
tests/usertools/chpasswd-PAM/18_chpasswd_password_DES/config/etc/group [deleted file]
tests/usertools/chpasswd-PAM/18_chpasswd_password_DES/config/etc/gshadow [deleted file]
tests/usertools/chpasswd-PAM/18_chpasswd_password_DES/config/etc/pam.d/chpasswd [deleted file]
tests/usertools/chpasswd-PAM/18_chpasswd_password_DES/config/etc/pam.d/common-password [deleted file]
tests/usertools/chpasswd-PAM/18_chpasswd_password_DES/config/etc/passwd [deleted file]
tests/usertools/chpasswd-PAM/18_chpasswd_password_DES/config/etc/shadow [deleted file]
tests/usertools/chpasswd-PAM/18_chpasswd_password_DES/data/shadow [deleted file]
tests/usertools/chpasswd/01_chpasswd_invalid_user/config/etc/login.defs
tests/usertools/chpasswd/02_chpasswd_multiple_users/config/etc/login.defs
tests/usertools/chpasswd/03_chpasswd_no_shadow_file/config/etc/login.defs
tests/usertools/chpasswd/04_chpasswd_no_shadow_entry/config/etc/login.defs
tests/usertools/chpasswd/05_chpasswd_error_no_password/config/etc/login.defs
tests/usertools/userdel/05_userdel_no_USERGROUPS_ENAB/config/etc/login.defs
tests/usertools/userdel/06_userdel_no_usergroup/config/etc/login.defs
tests/usertools/userdel/07_userdel_usergroup_not_primary/config/etc/login.defs
tests/usertools/userdel/08_userdel_usergroup_with_other_members/config/etc/login.defs
tests/usertools/userdel/09_userdel_usergroup_no_other_members_in_gshadow/config/etc/login.defs
tests/usertools/usermod/47_usermod-u_default_maildir/config/etc/login.defs
tests/usertools/usermod/48_usermod-u_MAIL_FILE/config/etc/login.defs