Skip to content

Add encrypted contacts across server, Rust, and mobile#9907

Draft
ua741 wants to merge 19 commits intoente-io:mainfrom
neeraj-pilot:contacts
Draft

Add encrypted contacts across server, Rust, and mobile#9907
ua741 wants to merge 19 commits intoente-io:mainfrom
neeraj-pilot:contacts

Conversation

@ua741
Copy link
Copy Markdown
Member

@ua741 ua741 commented Apr 2, 2026

Summary

  • add the contacts backend on Museum, including root-key reuse, contact CRUD/diff, profile-picture upload/download, eligibility checks, and attachment replication/deletion lifecycle
  • add the shared Rust contacts client plus Flutter Rust Bridge surface
  • add the shared ente_contacts Flutter package with local DB, sync, wrapped-root-key persistence, and profile-picture caching

Testing

  • ENV=test go test ./pkg/controller/contact ./pkg/repo/datacleanup ./pkg/controller/user ./cmd/museum
  • cargo test --manifest-path rust/contacts/Cargo.toml
  • flutter test && flutter analyze in mobile/packages/contacts

Known blockers

  • wrapped root contact key caching is still type-scoped and not cleared on logout, while Rust opens from cache before confirming account identity
  • rust/core currently disables TLS cert validation for any non-default base URL, not just local insecure test endpoints

@socket-security
Copy link
Copy Markdown

socket-security bot commented Apr 2, 2026

No dependency changes detected. Learn more about Socket for GitHub.

👍 No dependency changes detected in pull request

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