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

jcronenberg / agama / 10796492848
63%

Build:
DEFAULT BRANCH: master
Ran 10 Sep 2024 04:26PM UTC
Jobs 3
Files 864
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

10 Sep 2024 04:08PM UTC coverage: 71.496% (+0.02%) from 71.478%
10796492848

push

github

web-flow
Implement 802.1x (EAP) in network settings (#1597)

## Problem

No option to configure 802.1x (EAP) for network connections.

## Solution

Add ability to configure 802.1x in agama.
Note: For the certificates etc. NM supports 3 different formats. I
decided to only implement the file format as that is IMO the most useful
and should suffice.

## Testing

- *Added a new unit test*
- *Tested manually*
```bash
sudo agama auth login && AGAMA_TOKEN=`sudo agama auth show`
curl -X POST http://localhost/api/network/connections \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $AGAMA_TOKEN" \
    -d '{ "id": "ethernet-test", "method4": "auto", "method6": "auto", "ignore_auto_dns": false, "status": "down", "ieee-8021x": { "eap": [ "peap" ], "phase2_auth": "mschapv2", "identity": "test_user", "password": "test_pw", "client_cert": "/etc/NetworkManager/system-connections/cert.pem", "private_key": "/etc/NetworkManager/system-connections/key.pem", "private_key_password": "test_pw", "peap_version": "1", "peap_label": true } }'
curl -X POST http://localhost/api/network/system/apply \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $AGAMA_TOKEN"
nmcli con show ethernet-test
# See 802-1x.* settings set.
```

1766 of 2613 branches covered (67.59%)

Branch coverage included in aggregate %.

116 of 178 new or added lines in 2 files covered. (65.17%)

192 existing lines in 6 files now uncovered.

21425 of 29824 relevant lines covered (71.84%)

33.16 hits per line

Jobs
ID Job ID Ran Files Coverage
3 rust - 10796492848.3 10 Sep 2024 04:26PM UTC 0
25.98
GitHub Action Run
3 service - 10792104167.3 10 Sep 2024 12:11PM UTC 0
87.2
GitHub Action Run
3 web - 8602304692.3 08 Apr 2024 03:02PM UTC 0
74.64
GitHub Action Run
Source Files on build 10796492848
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10796492848
  • 89006636 on github
  • Prev Build on master (#10792104176)
  • Next Build on master (#10880507138)
  • 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