security/revelation fails to check long-enough (9 characters or longer) password via security/py-cracklib and security/cracklib. This is because security/revelation assumes old password database name. Chasing database name change at r408137 of security/cracklib (pw_dict to cracklib-words) fixes this.
Created attachment 174365 [details] Patch for Makefile Attached patch works for me. Apply it on the top of security/revelation. By the way, "Add attachment" at submitting form didn't have "patch" checkbox. So I uploaded it separately.
Forgot to show error message shown. As I'm running with LANG=ja_JP.UTF-8, Japanese error message is shown. It (last "OSError" line) means "No such file or directory". Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/revelation/ui.py", line 1019, in __cb_check_password util.check_password(password) File "/usr/local/lib/python2.7/site-packages/revelation/util.py", line 97, in check_password cracklib.FascistCheck(password, "/usr/local/libdata/cracklib/pw_dict") OSError: [Errno 2] そのようなファイルまたはディレクトリはありません: '/usr/local/libdata/cracklib/pw_dict.pwd'
A commit references this bug: Author: tobik Date: Tue Oct 9 08:45:50 UTC 2018 New revision: 481611 URL: https://svnweb.freebsd.org/changeset/ports/481611 Log: security/revelation: Chase dictionary rename from r408137 r408137 of security/cracklib renamed pw_dict to cracklib-words and revelation now fails to check passwords with 9 characters or more: Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/revelation/dialog.py", line 1183, in __cb_changed util.check_password(password) File "/usr/local/lib/python2.7/site-packages/revelation/util.py", line 97, in check_password cracklib.FascistCheck(password, "/usr/local/libdata/cracklib/pw_dict") OSError: [Errno 2] No such file or directory: '/usr/local/libdata/cracklib/pw_dict.pwd' PR: 212367 Submitted by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> Changes: head/security/revelation/Makefile
A commit references this bug: Author: tobik Date: Tue Oct 9 08:46:29 UTC 2018 New revision: 481612 URL: https://svnweb.freebsd.org/changeset/ports/481612 Log: MFH: r481611 security/revelation: Chase dictionary rename from r408137 r408137 of security/cracklib renamed pw_dict to cracklib-words and revelation now fails to check passwords with 9 characters or more: Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/revelation/dialog.py", line 1183, in __cb_changed util.check_password(password) File "/usr/local/lib/python2.7/site-packages/revelation/util.py", line 97, in check_password cracklib.FascistCheck(password, "/usr/local/libdata/cracklib/pw_dict") OSError: [Errno 2] No such file or directory: '/usr/local/libdata/cracklib/pw_dict.pwd' PR: 212367 Submitted by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> Approved by: ports-secteam runtime fix blanket Changes: _U branches/2018Q4/ branches/2018Q4/security/revelation/Makefile
Committed. Thank you! Apologies that it took 2 years to get this trivial fix in.