Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twake mail extension: watermarking #1488

Open
chibenwa opened this issue Jan 24, 2025 · 0 comments
Open

Twake mail extension: watermarking #1488

chibenwa opened this issue Jan 24, 2025 · 0 comments

Comments

@chibenwa
Copy link
Member

Why

This is a feature idea taken from BPI review of the Wimi project. This issue records the idea...

Bob sends documents via email to journalists.

Given the transmitted document I need to be able to trace back the guy who sent the document.

How

The idea is to "water-mark" the document prior to delivery so that we would be able to track the message metadata.

A naive version of it would be to use metadata (eg on PDF)

Example:

  • add X-LINAGORA-DOC-ID: {UUID} on first document processing, then preserve it
  • add X-LINAGORA-WATERMARKING: {UUID} on each document processing then override it

Then store :

Watermarking UUID Root document Id Document name Mailet identifier Date Sender Recipient
xxx-xxx yyy-zzz configential-instruction.pdf LOCAL-DELIVERY 2025-03-23 14:04:34 [email protected] [email protected]
aaa-bbb yyy-zzz configential-instruction.pdf LOCAL-DELIVERY 2025-03-25 17:19:34 [email protected] [email protected]

Components

  • A mailet to split email: one for each recipient
  • A mailet to mark PDF:
    • modifies the email body
    • record the watermarking info
  • A puggable storage extension: Cassandra, postgres

Reading the watermarking info can be done directly on the DB

Downside

If enabled it will not play well with dedup

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

No branches or pull requests

1 participant