rouse-context/docs
Jason Monk f439d5f5fc Fix #205: move release keystore passwords to env/.properties file
Release keystore passwords were hardcoded as string literals in
`app/build.gradle.kts`, public to anyone who forks or clones the repo.
Combined with a leaked keystore file (from a backup or CI compromise),
that collapses two factors into one and lets an attacker sign arbitrary
APKs as `com.rousecontext`.

Release passwords are now resolved from, in order of precedence:
  1. `ROUSE_RELEASE_STORE_PASSWORD` / `ROUSE_RELEASE_KEY_PASSWORD` env vars
  2. `storePassword` / `keyPassword` keys in `.signing/release.properties`

Both are absent from the tracked repo. A new
`.signing/release.properties.example` template is committed so new clones
see the expected format, and `.gitignore` now allows that one file while
still ignoring the real `release.properties`, keystores, and any other
signing artifacts.

Resolution is lazy: non-release tasks (lint, unit tests, debug builds)
do not require the env var or .properties file. A `taskGraph.whenReady`
check produces a clear error message when a release-signing task is
actually requested without credentials, instead of failing obscurely
inside the Android signing task.

Debug keystore password stays hardcoded on purpose — the debug key is
not a secret.

Docs updated in `docs/self-hosting.md`. Keystore files themselves are
untouched (regenerating would force a user uninstall and burn ACME cert
quota).
2026-04-17 14:36:01 -04:00
..
auth-pages Regenerate auth page gallery with correct icon 2026-04-08 08:53:44 -04:00
design Fix #170: align /renew request/response shapes between client and relay 2026-04-15 19:41:25 -04:00
notifications Fix #79: Remove stale NotificationModel references from docs 2026-04-12 13:02:21 -04:00
screenshots Regenerate screenshots after design language refactor 2026-04-07 12:25:12 -04:00
user Set baseurl to empty for custom domain on GitHub Pages 2026-04-16 17:47:49 -04:00
audit.md Fix #138: Add documentation audit — inventory, classify, punch list 2026-04-14 19:24:15 -04:00
device-test-report.md Add device integration test report and screenshots 2026-04-07 09:03:32 -04:00
e2e-status.md Document e2e status: mTLS connection works, passthrough routing is the current blocker 2026-04-06 14:10:36 -04:00
overnight-plan-2.md Add connection hardening, integration test gaps to backlog and plan 2026-04-06 17:11:39 -04:00
screenshot_audit_tab.png Add device integration test report and screenshots 2026-04-07 09:03:32 -04:00
screenshot_connected.png Add device integration test report and screenshots 2026-04-07 09:03:32 -04:00
screenshot_dashboard.png Add device integration test report and screenshots 2026-04-07 09:03:32 -04:00
screenshot_settings_tab.png Add device integration test report and screenshots 2026-04-07 09:03:32 -04:00
security-audit-2026-04-07.md Add security audit report: 23 findings across 4 severity levels 2026-04-07 08:49:14 -04:00
security-decisions.md Add security decisions log for evaluated-and-accepted risks 2026-04-07 09:07:31 -04:00
security.md Add comprehensive security overview document 2026-04-10 09:39:55 -04:00
self-hosting.md Fix #205: move release keystore passwords to env/.properties file 2026-04-17 14:36:01 -04:00
test-coverage-audit.md Fix #79: Remove stale NotificationModel references from docs 2026-04-12 13:02:21 -04:00
workflow.md Add T-11 security monitoring task, renumber subsequent tasks 2026-04-04 19:48:46 -04:00