Improved pam_passwdqc's auto-generated policy descriptions further, so that lines are wrapped at a more consistent length.
Added the libpasswdqc(3) manual page and links to it for all functions documented in there.
Added scripts to support Continuous Integration on GitHub (included in the git repository, but excluded from release tarballs).
Improved pam_passwdqc's auto-generated policy descriptions, which were slightly misformatted since the introduction of i18n support in 1.4.0. Now they not only look prettier, but also make it clearer that the mentioned lengths are merely the minimums and not the recommended ones.
Updated Russian translation for consistency with the above and to cover messages added in 1.9.0+.
Increased maximum size of randomly-generated passphrases to 136 bits. This was already the limit in the underlying API, but the tools' limit was set to 85. This increase is to allow for a wider variety of use cases for the tools.
In the Makefile, use CPPFLAGS and LDFLAGS consistently to be friendlier to packaging by distros.
Added this file CHANGES based on two latest release announcements, and started to maintain it.
Introduce and use passwdqc_params_free(). This is a minor addition to the libpasswdqc API related to the addition of external files support.
Added support for external wordlist, denylist, and binary filter. With these, passwdqc can be configured to deny passwords and passphrases that are based on lines of a tiny external text file (the "wordlist" option), directly appear in a tiny external text file (the "denylist" option), or/and directly appear in a maybe huge binary filter file (the "filter" option). While usage of larger external text files is inefficient, the binary filters are very efficient.
The binary filters can be created and otherwise managed with the newly added pwqfilter(1) program. It can create a binary filter from a list of plaintexts or from MD4 or NTLM hashes. The latter are supported in a way that enables importing of HIBP (Pwned Passwords) database revisions into passwdqc binary filters. pwqfilter works on arbitrary plain text strings or hex-encoded hashes, and it can also be reused in lieu of grep(1) for many purposes, even unrelated to passphrases and security.
Merged changes needed for building with Visual Studio on Windows. This includes a refactoring of the random passphrase generator code to make it shared between platforms.
Updated the included wordlist to avoid some inappropriate words in randomly generated passphrases while not removing any words from the "word-based" check, and also to have plenty of extra words for subsequent removal of more words that might be considered inappropriate from the initial 4096 that are used for randomly generated passphrases. Most of the added words came from EFF Diceware, BIP-0039, and our own processing of Project Gutenberg Australia books.
Set default for "max" to 72 (was 40). The previous setting was based on a reading of RFC 1939, which in practice did not matter. The new one is based on bcrypt's truncation at 72, which actually still matters.
Documented "similar" in pwqcheck(1) help message and manual page. This is a setting that was supported before and documented for other passwdqc components before, but was apparently erroneously omitted from here.
Implemented i18n support in pam_passwdqc, contributed by Oleg Solovyov, Andrey Cherepanov, and Dmitry V. Levin. The i18n support is off by default, it can be enabled if Linux-PAM is built using --enable-nls configure option.
Implemented audit support in pam_passwdqc, contributed by Oleg Solovyov and Dmitry V. Levin. The audit support is off by default, it can be enabled if Linux-PAM is built using --enable-audit configure option.
Both of these optional new features had been introduced and are enabled in ALT Linux distributions, so this version is effectively upstreaming the changes from there.
Compatibility for building with newer versions of glibc, where we now have to define _DEFAULT_SOURCE for our use of crypt(3). The problem was identified and this change tested by Dmitry V. Levin.
Clarified in the man pages that /etc/passwdqc.conf is not read unless this suggested file location is specified with the config= option.
Clarified the OpenBSD configuration example.
Escape the minus sign in the OpenBSD configuration example to make the man page linter happy, patch by Jackson Doak via Unit 193.