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

agama-project / agama / 23059820001 / 3 – web
77%
master: 77%

Build:
DEFAULT BRANCH: master
Ran 13 Mar 2026 04:16PM UTC
Files 551
Run time 25s
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

13 Mar 2026 04:13PM UTC coverage: 73.096%. Remained the same
web – 23059820001.3

push

github

web-flow
Hotfix for an error reporting whether TPM-based unlocking is available (#3279)

## Problem

As reported at
[bsc#1258486](https://bugzilla.suse.com/show_bug.cgi?id=1258486), the
web UI is not displaying the corresponding checkbox to configure TPM
unlocking when the system supports it.

Inspecting the root of the problem, we found the backend was reporting
the string "tpm_fde" to describe the corresponding encryption method,
instead of the correct string "tpmFde".

The investigation also concluded we have a small mess regarding the ids
for the different encryption methods.

## Solution

This pull request fixes the main problem.

It also simplifies the current schema for the system API, removing
values that are actually never reported by the backend.

## Future

The topic needs some more love for the following Agama release. 

On the one hand, we concluded that `availableMethods` should not be part
of the system API. Since it only serves the UI, it should reside in the
private API.

We also need to fix the formats of the encryption method ids to not mix
camelCase and snake_case. But keeping backwards compatibility where
needed.

The code added on this pull request will very likely change in the short
term to adapt to those changes.

## Testing

Tested manually.

3218 of 5102 branches covered (63.07%)

Branch coverage included in aggregate %.

12616 of 16560 relevant lines covered (76.18%)

72.36 hits per line

Source Files on job web - 23059820001.3
  • Tree
  • List 551
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 23059820001
  • e5aa064f on github
  • Prev Job for on master (#23046012547.3)
  • Next Job for on master (#23059819960.)
  • 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