diff options
| author | tranch <tranch.xiao@gmail.com> | 2026-07-29 17:05:41 +0800 |
|---|---|---|
| committer | tranch <tranch.xiao@gmail.com> | 2026-07-29 17:05:41 +0800 |
| commit | 40a5f50c69ec323c7c5d92f6357a9774017f67a1 (patch) | |
| tree | be4a8022ba6467528989105e0618ad55788949f5 /.github | |
| parent | db723765acf537ab469473b0a500eae31dc19455 (diff) | |
| download | AeroCore-OS-40a5f50c69ec323c7c5d92f6357a9774017f67a1.tar.gz AeroCore-OS-40a5f50c69ec323c7c5d92f6357a9774017f67a1.zip | |
Fix weak password crash in Live installer
Restore the Cockpit force-password behavior embedded in Fedora 43's
Anaconda WebUI bundle. Apply strict password policy through conf.d so
weak passwords remain a form validation error instead of aborting the
installer.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/validate-installer-iso.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/validate-installer-iso.yml b/.github/workflows/validate-installer-iso.yml index 391afd8..a93e9cd 100644 --- a/.github/workflows/validate-installer-iso.yml +++ b/.github/workflows/validate-installer-iso.yml @@ -39,6 +39,17 @@ jobs: done bash -n system_files/usr/libexec/aerocore-instruments-setup + - name: Validate Anaconda WebUI patch + run: | + fixture="$(mktemp)" + trap 'rm -f "${fixture}"' EXIT + printf '%s' 'n===0?r(new Error(X2("Password is too weak"))):o(' | + gzip -n > "${fixture}" + installer/patch-anaconda-webui.sh "${fixture}" + gzip -dc "${fixture}" | + grep -Fq 'n===0&&!e?r(new Error(X2("Password is too weak"))):o(' + installer/patch-anaconda-webui.sh "${fixture}" + - name: Validate installer polkit rules run: | for rule in installer/system_files/overrides/etc/polkit-1/rules.d/*.rules; do |
