• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agama-project / agama / 15924451705
74%

Build:
DEFAULT BRANCH: master
Ran 27 Jun 2025 10:49AM UTC
Jobs 3
Files 1095
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Jun 2025 10:46AM UTC coverage: 64.327% (-11.8%) from 76.147%
15924451705

push

github

web-flow
feat: warn the user when using a weak password (#2513)

## Problem

Agama's web user interface does not warn the user when using a weak
password (e.g., "12", "12345678", "secret", etc.).

- [bsc#1237480](https://bugzilla.suse.com/show_bug.cgi?id=1237480)

## Solution

Agama will not prevent the user about doing that. After all, the
unattended mode writes just the password included in the profile.
However, it will warn the user in those cases.

This feature is based on `libpwquality`, which checks several aspects
related to the password strength. In the future, we might introduce a
visual indicator of the strenght or try to display all the rules, but
this one looks like a good enough first step.

## Testing

- [x] Added a new unit test
- [x] Tested manually

## Screenshots

*If the fix affects the UI attach some screenshots here.*

1874 of 3427 branches covered (54.68%)

Branch coverage included in aggregate %.

26 of 29 new or added lines in 7 files covered. (89.66%)

81 existing lines in 7 files now uncovered.

23692 of 36317 relevant lines covered (65.24%)

47.1 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-server/src/web/docs/users.rs
1
90.0
-10.0% web/src/api/users.ts
1
92.31
web/src/components/users/PasswordCheck.tsx

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.0
-10.0% web/web/src/api/users.ts
2
97.22
0.04% web/web/src/components/users/RootUserForm.tsx
7
0.0
0.0% rust/agama-server/src/web/docs/users.rs
7
0.0
0.0% rust/agama-server/src/error.rs
8
81.0
0.19% web/web/src/components/users/FirstUserForm.tsx
9
35.71
0.0% web/web/src/queries/users.ts
47
0.0
0.0% rust/agama-server/src/users/web.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 15924451705.3 27 Jun 2025 10:49AM UTC 538
67.81
GitHub Action Run
3 service 15901238010.3 26 Jun 2025 12:04PM UTC 385
88.56
GitHub Action Run
1 rust 15919434531.1 27 Jun 2025 06:18AM UTC 172
22.0
GitHub Action Run
Source Files on build 15924451705
  • Tree
  • List 1095
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15924451705
  • cc245d7e on github
  • Prev Build on master (#15919434531)
  • Next Build on master (#15924451712)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc