Skip to content

feat: migrate message insert paths to ciphertext + envelopes #312

Open
aizyohiy-hash wants to merge 4 commits into
codebestia:mainfrom
aizyohiy-hash:feature/180-message-ciphertext-migration
Open

feat: migrate message insert paths to ciphertext + envelopes #312
aizyohiy-hash wants to merge 4 commits into
codebestia:mainfrom
aizyohiy-hash:feature/180-message-ciphertext-migration

Conversation

@aizyohiy-hash

@aizyohiy-hash aizyohiy-hash commented Jun 30, 2026

Copy link
Copy Markdown

Summary

This PR updates the messaging pipeline to support encrypted message storage and removes the deprecated server-side full-text search endpoint as part of the migration.

Changes Made

  • Migrated all message insert paths to use ciphertext and encrypted message envelopes.
  • Updated the message persistence flow to store encrypted payloads instead of plaintext.
  • Removed server-side full-text search functionality.
  • Updated the deprecated search endpoint to return HTTP 410 Gone with a migration note indicating that the feature is no longer supported.
  • Aligned the messaging API with the new encrypted data model and migration strategy.

Benefits

  • Strengthens end-to-end security by ensuring message content is stored as encrypted ciphertext.
  • Simplifies the backend by removing deprecated plaintext search functionality.
  • Provides a clear migration path for clients through a standardized 410 Gone response.
  • Supports the application's transition to a more secure, privacy-focused messaging architecture.

Closed #174
Closed #180

@codebestia codebestia marked this pull request as draft July 1, 2026 03:26
@drips-wave

drips-wave Bot commented Jul 1, 2026

Copy link
Copy Markdown

@aizyohiy-hash Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@aizyohiy-hash aizyohiy-hash marked this pull request as ready for review July 1, 2026 21:17
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.

Migrate message insert paths to ciphertext + envelopes Remove server-side full-text search; return 410 Gone with migration note

1 participant