Commit Graph

5 Commits

Author SHA1 Message Date
Grant Gilliam 3629dbdaaa Default TLS validation on; scope skip-TLS bypass to the configured host
The app shipped with certificate validation bypassed globally and on by
default — InsecureTrustDelegate trusted any cert from any host. That was
the evaluation's P1: anyone on the LAN could MITM call audio, transcripts,
and voiceprints.

The backend's Start9 cert already validates under normal system trust when
the StartOS Root CA is installed in the keychain (confirmed: URLSession
default validation returns 200 against the backend and its fallback), so the
bypass is unnecessary:
- skip-TLS now defaults to off
- when explicitly enabled, the bypass is scoped to the configured host via
  InsecureTrustDelegate.allowsTrustOverride, never "trust any server"
- the host gate is pure and unit-tested (InsecureTrustDelegateTests)

Docs reconciled: AGENTS.md backend/TLS line and Current state.
2026-06-13 16:02:57 -05:00
Grant Gilliam 13a8972abb Triage evaluation findings into AGENTS.md Current state 2026-06-13 14:39:41 -05:00
Grant Gilliam 4df3835f2e Document history scrub and pushed state in AGENTS.md 2026-06-13 12:54:35 -05:00
Grant Gilliam 9791ca45d7 Record configured Gitea remote; drop done backlog items
The remote is now set (origin → self-hosted Gitea over SSH), so update
the commit convention, clear the "decide a git remote" Next/ROADMAP
items, and keep the remote URL out of source (it lives in .git/config).
2026-06-13 12:40:32 -05:00
Grant Gilliam 11eb82178f Add agent instructions; extract signing/backend secrets from source
- Add AGENTS.md (canonical) + CLAUDE.md symlink + ROADMAP.md
- Move Apple Team ID from project.yml into a gitignored
  Config/Signing.xcconfig via configFiles; commit the .example template
- Replace hardcoded backend host in AppSettings with a neutral
  placeholder + SPARK_BACKEND_URL env-var fallback
- Scrub the Team ID, .local host, and raw LAN IP from README/docs
- Ignore Config/Signing.xcconfig and .env
2026-06-13 12:23:54 -05:00