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

agama-project / agama / 12013658798
68%

Build:
DEFAULT BRANCH: master
Ran 25 Nov 2024 03:56PM 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.063% (-0.005%) from 71.068%
12013658798

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>

16 of 25 new or added lines in 7 files covered. (64.0%)

13 existing lines in 1 file now uncovered.

16925 of 23817 relevant lines covered (71.06%)

36.04 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% rust/agama-server/src/users/web.rs
3
0.0
0.0% rust/agama-lib/src/users/client.rs
4
61.11
0.0% service/lib/agama/dbus/users.rb

Uncovered Existing Lines

Lines Coverage ∆ File
13
61.11
0.0% service/lib/agama/dbus/users.rb
Subprojects
ID Flag name Job ID Ran Files Coverage
2 rust 12013658798.2 25 Nov 2024 03:56PM UTC 124
24.56
GitHub Action Run
2 service 11887235390.2 18 Nov 2024 06:51AM UTC 514
89.28
GitHub Action Run
Source Files on build 12013658798
  • Tree
  • List 638
  • Changed 25
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12013658798
  • c7386259 on github
  • Prev Build on master (#12009076734)
  • Next Build on master (#12027397701)
  • 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