Commit Graph

2 Commits

Author SHA1 Message Date
peji 407892ed9a Fix Electron cloud cert verification (use Node https, not net.fetch)
The Alta verify endpoint requests an optional TLS client certificate.
Chromium's network stack (net.fetch) reacts by aborting the handshake
with ERR_SSL_CLIENT_AUTH_CERT_NEEDED, and the select-client-certificate
event never fires to let us proceed — so cloud verification silently
failed only in the desktop build, looking like the app was offline.

Issue the request via Node's https module instead, matching the Python
app.py reference (urlopen) and curl, which ignore the optional client-
cert request and proceed normally. Same 2xx-means-verified semantics,
10s timeout, and return shape.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 08:39:20 -04:00
peji 8dfcb9b64d Add Electron desktop shell and clean project docs 2026-05-15 17:40:01 +00:00