Skip to content

Commit a438de4

Browse files
authored
feat: add sha256 checksum to python script (#28)
## Summary Updates the eduroam guide and adds a sha256 checksum. ## Type of change <!-- Check all that apply --> - [x] `feat` — new page or feature - [ ] `fix` — bug fix (broken link, incorrect command, layout issue) - [x] `content` — update or improve existing content - [ ] `docs` — changes to CONTRIBUTING, README, or meta documentation - [ ] `chore` — maintenance (dependencies, config, CI/CD) - [ ] `refactor` — restructuring without content changes - [ ] `style` — formatting, whitespace, typos ## Checklist - [x] PR title follows the commit convention (e.g. `fix: correct nmcli command in eduroam guide`) - [x] Both EN and NL versions updated (if applicable) - [x] Images are in AVIF format (not PNG/JPG) - [x] No broken image references (`/images/*.avif` all exist in `static/images/`) - [x] Tested locally with `hugo server`
1 parent 1d3d638 commit a438de4

2 files changed

Lines changed: 24 additions & 8 deletions

File tree

content/docs/networking/eduroam-network-installation.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,28 @@ PEAP/MSCHAPv2 with CA validation via the system trust store and `domain-suffix-m
5555
A Python script automates the full `nmcli` connection setup for Saxion:
5656

5757
```bash
58+
# 1. Download
5859
curl -LO https://zephyrus-linux.stensel.nl/scripts/saxion-eduroam.py
60+
61+
# 2. Verify checksum
62+
echo "7f1b43666da272455ad6e0300ea3f64bc1a75a0c84c76d761d4a6cd4476c850e saxion-eduroam.py" | sha256sum -c
63+
64+
# 3. Run
5965
python3 saxion-eduroam.py
6066
```
6167

62-
The script removes any existing eduroam profile, prompts for your **username** via a GUI dialog (zenity, kdialog, or yad) or terminal fallback, and activates the connection. Your password is never asked by the script; it is requested by your GNOME Keyring at connection time and stored securely, never in plaintext.
68+
**SHA256:** `7f1b43666da272455ad6e0300ea3f64bc1a75a0c84c76d761d4a6cd4476c850e`
6369

64-
{{< callout type="warning" >}}
65-
You are downloading and running a script from the internet. If you want to be extra safe, verify the script source (or its checksum) before running it.
66-
{{< /callout >}}
70+
The script removes any existing eduroam profile, prompts for your **username** via a GUI dialog (zenity, kdialog, or yad) or terminal fallback, and activates the connection. Your password is never asked by the script; it is requested by your GNOME Keyring at connection time and stored securely, never in plaintext.
6771

6872
{{< callout type="info" >}}
6973
This script is **Saxion-specific** and validates against Saxion's RADIUS server (`ise.infra.saxion.net`). For other institutions, use the official CAT script from [cat.eduroam.org](https://cat.eduroam.org/) as a starting point.
7074
{{< /callout >}}
7175

76+
{{< callout type="warning" >}}
77+
This is a personal reverse-engineered rewrite based on the official [cat.eduroam.org](https://cat.eduroam.org/) installer, which was outdated and didn't work on my system. I don't manage the eduroam network or the Saxion infrastructure. I make no guarantees about this script working, being kept up to date, or remaining correct if Saxion changes their setup. Use it at your own risk.
78+
{{< /callout >}}
79+
7280
If everything goes well, you should see something like this:
7381

7482
![eduroam installer showing installation successful](/images/eduroam-installer-success.avif)

content/docs/networking/eduroam-network-installation.nl.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,28 @@ PEAP/MSCHAPv2 met CA-validatie via de systeem-truststore en `domain-suffix-match
5555
Een Python-script automatiseert de volledige `nmcli`-verbindingsconfiguratie voor Saxion:
5656

5757
```bash
58+
# 1. Download
5859
curl -LO https://zephyrus-linux.stensel.nl/scripts/saxion-eduroam.py
60+
61+
# 2. Controleer de checksum
62+
echo "7f1b43666da272455ad6e0300ea3f64bc1a75a0c84c76d761d4a6cd4476c850e saxion-eduroam.py" | sha256sum -c
63+
64+
# 3. Uitvoeren
5965
python3 saxion-eduroam.py
6066
```
6167

62-
Het script verwijdert een eventueel bestaand eduroam-profiel, vraagt je **gebruikersnaam** via een GUI-dialoog (zenity, kdialog of yad) of terminal-fallback, en activeert de verbinding. Je wachtwoord wordt nooit door het script gevraagd; dat wordt bij het verbinden opgevraagd door je GNOME Keyring en veilig opgeslagen, nooit in platte tekst.
68+
**SHA256:** `7f1b43666da272455ad6e0300ea3f64bc1a75a0c84c76d761d4a6cd4476c850e`
6369

64-
{{< callout type="warning" >}}
65-
Je downloadt en voert een script uit vanaf het internet. Wil je extra veilig zijn, verifieer dan de bron (of checksum) voordat je het uitvoert.
66-
{{< /callout >}}
70+
Het script verwijdert een eventueel bestaand eduroam-profiel, vraagt je **gebruikersnaam** via een GUI-dialoog (zenity, kdialog of yad) of terminal-fallback, en activeert de verbinding. Je wachtwoord wordt nooit door het script gevraagd; dat wordt bij het verbinden opgevraagd door je GNOME Keyring en veilig opgeslagen, nooit in platte tekst.
6771

6872
{{< callout type="info" >}}
6973
Dit script is **Saxion-specifiek** en valideert tegen de Saxion RADIUS-server (`ise.infra.saxion.net`). Voor andere instellingen: gebruik het officiële CAT-script van [cat.eduroam.org](https://cat.eduroam.org/) als startpunt.
7074
{{< /callout >}}
7175

76+
{{< callout type="warning" >}}
77+
Dit is een persoonlijke, reverse-engineered herschrijving op basis van de officiële [cat.eduroam.org](https://cat.eduroam.org/) installer, die verouderd was en bij mij niet werkte. Ik beheer het eduroam-netwerk noch de Saxion-infrastructuur. Ik geef geen garanties over de werking, het onderhoud of de correctheid van dit script als Saxion iets aan hun configuratie wijzigt. Gebruik op eigen risico.
78+
{{< /callout >}}
79+
7280
Als alles goed gaat, zie je zoiets als dit:
7381

7482
![eduroam installer toont installatie geslaagd](/images/eduroam-installer-success.avif)

0 commit comments

Comments
 (0)