mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 16:37:04 +00:00
GET /api/v1/meshtastic/channel-url returns the device's sharable Meshtastic channel URL (localNode.getURL — encodes name + PSK + LoRa config) plus an offline inline-SVG QR (segno, Recommends). Open/scan it on a phone or second node to JOIN the SecuBox mesh. The URL discloses the channel key → JWT-gated, and the daemon logs each disclosure to journald. _SerialRadio.channel_url() reads it from the live iface; MockRadio mirrors it. Panel: a 'Générer le lien de jonction' button on the Channels tab renders the URL + QR (inline SVG, CSP-safe, no data: URI). +3 web tests (67 total). Live-verified on gk2: /channel-url returns the URL + a 2.4KB QR SVG, panel loads 200. Co-Authored-By: Gerald KERMA <devel@cybermind.fr> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| bridge.py | ||
| cache.py | ||
| config.py | ||
| ctl.py | ||
| daemon.py | ||
| gridpolicy.py | ||
| model.py | ||
| passive.py | ||
| radio.py | ||
| web.py | ||