Skip to content

Encrypt local database and move writing tools to profile - #2

Merged
regeloapp-coder merged 1 commit into
mainfrom
regeloapp-coder-supabase-mcp-setup
Oct 26, 2026
Merged

regeloapp-coder merged 1 commit into
mainfrom
regeloapp-coder-supabase-mcp-setup

Conversation

@regeloapp-coder

Copy link
Copy Markdown
Owner

Summary

  • Move authored books and drafts, creation, manuscript import, series management, export, statistics and deletion to the owner's Profile. Keep the Writing tab focused on writing goals and challenges.
  • Encrypt the Room database with SQLCipher and wrap its random key with AES-GCM backed by Android Keystore.
  • Convert existing plaintext SQLite data using a checkpointed temporary copy, validate it before atomic replacement, and fail without destructive fallback if the key or migration is unavailable.
  • Update backup rules and release documentation; add plaintext SQLite-header detection tests.

Validation

  • :app:testDebugUnitTest
  • :app:assembleDebug
  • :app:assembleRelease
  • git diff --check

Limitations

The database conversion has not been exercised on a physical device or emulator in this environment; test the upgrade path with a backed-up test installation before rollout. Release assembly used no store keystore and is not a Play-signed bundle. The external account-deletion URL and Play Console disclosures remain owner-side release requirements.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@regeloapp-coder
regeloapp-coder merged commit 3ee7fe8 into main Oct 26, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant