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

agama-project / agama / 15924451712
74%

Build:
DEFAULT BRANCH: master
Ran 27 Jun 2025 10:56AM UTC
Jobs 3
Files 1094
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.241% (-11.9%) from 76.147%
15924451712

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.*

1861 of 3413 branches covered (54.53%)

Branch coverage included in aggregate %.

5 of 30 new or added lines in 6 files covered. (16.67%)

19 existing lines in 3 files now uncovered.

23646 of 36292 relevant lines covered (65.15%)

46.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
0.0
0.0% rust/agama-server/src/users/web.rs
20
0.0
rust/agama-server/src/users/password.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
96.7
0.0% web/src/components/users/RootUserForm.tsx
8
76.23
0.0% web/src/components/users/FirstUserForm.tsx
9
34.72
0.0% web/src/queries/users.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
1 rust 15924451712.1 27 Jun 2025 10:56AM UTC 173
21.94
GitHub Action Run
3 web 15918913302.3 27 Jun 2025 05:31AM UTC 536
67.73
GitHub Action Run
3 service 15901238010.3 26 Jun 2025 12:04PM UTC 385
88.56
GitHub Action Run
Source Files on build 15924451712
  • Tree
  • List 1094
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15924451712
  • cc245d7e on github
  • Prev Build on master (#15919434531)
  • Next Build on master (#15926109695)
  • 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