The first version of libpwquality with the required change was 1.4.1
released in 2019.
want_pwquality = get_option('pwquality')
if want_pwquality != 'false' and not skip_deps
- libpwquality = dependency('pwquality', required : want_pwquality == 'true')
+ libpwquality = dependency('pwquality',
+ version : '>= 1.4.1',
+ required : want_pwquality == 'true')
have = libpwquality.found()
else
have = false
return;
}
- // REMOVE THIS AS SOON AS https://github.com/libpwquality/libpwquality/pull/21 IS MERGED AND RELEASED
- if (isempty(path))
- path = "/usr/share/cracklib/pw_dict.pwd.gz";
-
if (isempty(path)) {
log_debug("Weird, no dictionary file configured, ignoring.");
return;