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

agama-project / agama / 12013658788
68%

Build:
DEFAULT BRANCH: master
Ran 25 Nov 2024 03:48PM UTC
Jobs 2
Files 638
Run time 1min
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

25 Nov 2024 03:45PM UTC coverage: 71.069% (+0.001%) from 71.068%
12013658788

push

github

web-flow
Support for encrypted passwords (#1771)

## Problem

- The Agama autoinstallation and CLI accept the first user and the root
passwords only in plain text
- That's insecure, everybody who can access the installation profile
knows the root password

## Solution

- Support passing an already encrypted (hashed) password in the profile
- Similar to AutoYaST, an additional `encryptedPassword` boolean flag is
used to determine whether the specified password is encrypted (`true`
value) or plain text (`false` value or missing in the profile)

## Notes

- The web UI allows specifying only plain text passwords
- Encrypted passwords are long and hard to type and they need to be
encrypted externally

## Features

- Adapted schema definition
- Adapted the AutoYaST conversion tool
- When an encrypted password is set from Agama CLI then web UI resets
the flag back to plain text (it supports only plain text passwords)

## Testing

- Tested manually (both root user and first user), tested the AutoYaST
profile conversion
- Updated unit tests

---------

Co-authored-by: Imobach González Sosa <igonzalezsosa@suse.com>

11 of 15 new or added lines in 7 files covered. (73.33%)

68 existing lines in 4 files now uncovered.

16928 of 23819 relevant lines covered (71.07%)

36.04 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-lib/src/users/client.rs
1
0.0
0.0% rust/agama-server/src/users/web.rs
1
61.11
0.0% service/lib/agama/dbus/users.rb
1
96.77
-1.03% service/lib/agama/users.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.77
-1.03% service/service/lib/agama/users.rb
16
61.11
0.0% service/service/lib/agama/dbus/users.rb
21
0.0
0.0% rust/agama-lib/src/users/client.rs
30
0.0
0.0% rust/agama-server/src/users/web.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
2 service 12013658788.2 25 Nov 2024 03:48PM UTC 514
89.28
GitHub Action Run
2 rust 12009076734.2 25 Nov 2024 11:39AM UTC 124
24.54
GitHub Action Run
Source Files on build 12013658788
  • Tree
  • List 638
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12013658788
  • c7386259 on github
  • Prev Build on master (#12009076734)
  • Next Build on master (#12013658798)
  • 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

© 2025 Coveralls, Inc