Skip to content

harden secure chat backend v1 - #81

Merged
creativaPoeta merged 30 commits into
dev-2from
qc-secure-chat-backend-local
Jul 22, 2026
Merged

harden secure chat backend v1#81
creativaPoeta merged 30 commits into
dev-2from
qc-secure-chat-backend-local

Conversation

@creativaPoeta

Copy link
Copy Markdown
Contributor

Summary

Backend hardening for secure_dm_v1 direct messages:

  • adds E2EE device/key bundle endpoints and device revocation support
  • validates signed prekey signatures and secure envelope identities
  • consumes one-time prekeys server-side with replay protection
  • adds encrypted chat media upload handling
  • redacts secure chat notifications and push payloads
  • blocks plaintext reactions for secure chats
  • adds protocol smoke coverage and secure chat rollout documentation
  • prepares the transition from qiew-code-dev2.netlify.app to qc-dev2.netlify.app while keeping the old origin temporarily allowed

Validation

  • npm.cmd run build
  • npm.cmd run test:e2ee

Rollout Notes

Keep this as a draft until the frontend PR is reviewed with it.

Before merging:

  • confirm the real staging/production database migration plan
  • deploy backend before asking the team to switch Netlify URLs
  • keep both old and new Netlify origins temporarily allowed

@creativaPoeta creativaPoeta changed the title Qc secure chat backend local harden secure chat backend v1 May 27, 2026
@creativaPoeta
creativaPoeta marked this pull request as ready for review July 22, 2026 18:16
@creativaPoeta
creativaPoeta merged commit fa4269d into dev-2 Jul 22, 2026
1 check passed
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.

2 participants