A
8672b0de6b
Full working closed-loop eSIM provisioning stack (spec in claude.md / plan/): Flask API, SQLite subscriber store, credential/profile generator, Open5GS and free5gc core adapters, captive portal, operational scripts, systemd units, network configs, and a 44-test suite. Profile generation currently returns a mock JSON profile; real SGP.22 generation via pySim is the planned Phase-2 upgrade. Fixes two bugs found while getting the suite green: - generate_imsi hardcoded a 10-digit MSIN, producing 16-digit IMSIs for a 3-digit MNC; MSIN length is now 15 - len(mcc) - len(mnc). - check_rate_limit compared timestamps as strings across mismatched formats (SQLite CURRENT_TIMESTAMP vs Python isoformat); both sides now normalized via SQLite datetime() so the window check is chronologically correct. Add .gitignore for venv, caches, runtime config.yaml, and databases. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
27 lines
588 B
Plaintext
27 lines
588 B
Plaintext
# hostapd configuration for eSIM provisioning WiFi AP
|
|
# Install: cp configs/hostapd.conf /etc/hostapd/hostapd.conf
|
|
# Also set: DAEMON_CONF="/etc/hostapd/hostapd.conf" in /etc/default/hostapd
|
|
|
|
interface=wlan0
|
|
driver=nl80211
|
|
|
|
# Network identity
|
|
ssid=Emergency-5G
|
|
utf8_ssid=1
|
|
|
|
# Radio — 2.4 GHz 802.11n, channel 6
|
|
hw_mode=g
|
|
channel=6
|
|
ieee80211n=1
|
|
wmm_enabled=1
|
|
|
|
# Open network (no password) — intentional for emergency/NTN access
|
|
auth_algs=1
|
|
ignore_broadcast_ssid=0
|
|
|
|
# Adjust to the deployment country for regulatory compliance
|
|
country_code=CA
|
|
|
|
# Limit concurrent clients
|
|
max_num_sta=50
|