rouse-context/app
Jason Monk 6d5b82cc20
Fix #227, #228: classify pre-onboarding as Skipped, check CT HTTP status (#229)
Two related bugs in the security-check pipeline that produced noisy
and misleading notifications for a freshly-installed device:

#227: HttpCtLogFetcher passed the response body straight to the JSON
parser without checking the HTTP status. crt.sh's transient 502/503
HTML error pages got surfaced as "Malformed CT log response" -- wording
that reads as "the CT log itself is corrupt" when the actual cause is
a Sectigo outage. Now throw IOException on non-2xx so CtLogMonitor
classifies as "Could not reach CT log service" instead.

#228: Pre-onboarding devices (no cert, no subdomain) fired "Security
Check" warning notifications describing a state that is just "not set
up yet." Introduce SecurityCheckResult.Skipped for "not applicable"
cases and route it through the worker without firing a notification.
The Settings screen renders "Waiting for onboarding" in muted colours
so the audit trail is still visible for users who look.

Constraints preserved:
- Alert path unchanged -- real issuer mismatches still fire loudly.
- Genuine network / I/O failures still produce Warning notifications.
- Only pre-onboarding classifications were reclassified to Skipped.

Closes #227
Closes #228

Co-authored-by: Claude Opus 4 (1M context) <noreply@anthropic.com>
2026-04-18 06:24:34 -04:00
..
screenshots Rewrite security alert docs to match real notification wording 2026-04-15 16:05:30 -04:00
src Fix #227, #228: classify pre-onboarding as Skipped, check CT HTTP status (#229) 2026-04-18 06:24:34 -04:00
build.gradle.kts Fix #205: move release keystore passwords to env/.properties file 2026-04-17 14:36:01 -04:00
google-services.json Add Firebase: google-services.json, Google Services plugin, debug applicationIdSuffix 2026-04-05 15:38:40 -04:00
proguard-rules.pro Add ProGuard rules for Ktor JMX references 2026-04-11 15:07:22 -04:00