← Commit list

9f5cbdcaa

Denys Vlasenko
Denys Vlasenko
2026-09-22
SUCCESS Duration: 177s

Subject

httpd: allow yescrypt passwords ("$y$....")

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

loginutils/Config.src+1 -1
@@ -96,7 +96,7 @@ config USE_BB_CRYPT_YES
default y
depends on USE_BB_CRYPT
help
- Enable this if you have passwords starting with "$y$" or
+ Enable this if you have passwords starting with "$y$"
in your /etc/passwd or /etc/shadow files. These passwords
are hashed using yescrypt algorithms.
With this option off, login will fail password check for any
networking/httpd.c+1 -1
@@ -2247,7 +2247,7 @@ static int check_user_passwd(const char *path, char *user_and_passwd)
}
/* Else: passwd is from httpd.conf, it is either plaintext or encrypted */
- if (passwd[0] == '$' && isdigit(passwd[1])) {
+ if (passwd[0] == '$' && (isdigit(passwd[1]) || passwd[1] == 'y')) {
char *encrypted;
# if !ENABLE_PAM
check_encrypted: