Bug 2406958

Summary: Installer Exits Prematurely with "Password is too weak" While Entering Password for Drive Encryption
Product: [Fedora] Fedora Reporter: Alex Schendel <lexden.s>
Component: anacondaAssignee: anaconda-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: a.badger, alpha, anaconda-maint, kkoukiou, w
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-12-04 13:26:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alex Schendel 2025-10-29 00:45:04 UTC
When attempting to enter a password for drive encryption, as soon as seven characters are entered, it changes the status from "password must be at least 6 characters" to "weak password" and immediately exits the installer with the following error.

Installer WebUI Critical Error:
Password is too weak

StackTrace: Error: Password is too weak
    at Function.<anonymous> (http://127.0.0.1/cockpit/@localhost/anaconda-webui/index.js:34:169536)
    at rQ (http://127.0.0.1/cockpit/@localhost/anaconda-webui/index.js:8:78626)
    at http://127.0.0.1/cockpit/@localhost/anaconda-webui/index.js:8:78823
    at eQ (http://127.0.0.1/cockpit/@localhost/anaconda-webui/index.js:8:77659)

Please attach the log file /tmp/journal.log to the issue.

---[ System & Environment Information ]---
OS: Fedora Linux 43 (KDE Plasma Desktop Edition)
Anaconda version: 43.44
Anaconda UI version: 53.14.g7ea927aa

Comment 1 Alex Schendel 2025-10-29 00:57:04 UTC
Update: I have discovered that this bug affects all password entries (drive encryption and user password), but it only comes into effect if the first 7 characters are all numerical. I was able to avoid this bug by having non-numerical characters within the first 7 characters.

Comment 2 Katerina Koukiou 2025-12-04 13:26:47 UTC

*** This bug has been marked as a duplicate of bug 2413086 ***