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

openSUSE / agama / 8393797349
72%

Build:
DEFAULT BRANCH: master
Ran 22 Mar 2024 05:06PM UTC
Jobs 3
Files 716
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

22 Mar 2024 04:58PM UTC coverage: 74.493% (-0.3%) from 74.839%
8393797349

push

github

web-flow
HTTPS support for the Agama web server (#1062)

## Problem

- The communication between the user and the Agama web server needs to
be encrypted

## Solution

- Enable HTTPS support using the standard openSSL library
- Automatically redirect all external HTTP requests to HTTPS
- Allow using HTTP locally (`http://localhost`)
- Use the SSL certificate specified from the command line or generate a
self-signed one

## Testing

- Tested manually

## TODO

- [x] Update the documentation

For later:

- [ ] Use the [gethostname crate](https://crates.io/crates/gethostname)
and include the current host name in the generated self-signed
certificate
- [ ] Read the SSL certificate from some default location (something
like `/etc/agama.d/ssl/{certificate,key}.pem` ?)
- [ ] Implement struct for handling key / certificate and associate it
with relevant methods

1639 of 2432 branches covered (67.39%)

Branch coverage included in aggregate %.

0 of 125 new or added lines in 3 files covered. (0.0%)

1 existing line in 1 file now uncovered.

17575 of 23361 relevant lines covered (75.23%)

25.09 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
84.0
-3.5% rust/agama-server/tests/common/mod.rs
31
0.0
rust/agama-server/src/cert.rs
92
0.0
0.0% rust/agama-server/src/agama-web-server.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-server/src/agama-web-server.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
1 rust 8393797349.1 22 Mar 2024 05:06PM UTC 81
41.14
GitHub Action Run
1 web 8362412120.1 20 Mar 2024 04:28PM UTC 309
74.69
GitHub Action Run
1 service 8392224502.1 22 Mar 2024 02:58PM UTC 326
85.52
GitHub Action Run
Source Files on build 8393797349
  • Tree
  • List 716
  • Changed 34
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #8393797349
  • 5416449e on github
  • Prev Build on storage-next-device-selection (#8392224502)
  • Next Build on master (#8435570786)
  • 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