Skip to content

X3DH w/ PVRF SAS-MA extension POC#673

Draft
21pchangkachith wants to merge 61 commits into
signalapp:mainfrom
21pchangkachith:pvrf-for-merge-with-upstream
Draft

X3DH w/ PVRF SAS-MA extension POC#673
21pchangkachith wants to merge 61 commits into
signalapp:mainfrom
21pchangkachith:pvrf-for-merge-with-upstream

Conversation

@21pchangkachith

@21pchangkachith 21pchangkachith commented Jun 4, 2026

Copy link
Copy Markdown

First time contributor checklist:

Contributor checklist:

  • My contribution is not related to translations.
  • My commits are in nice logical chunks with good commit messages
  • [] My changes are rebased on the latest main branch
  • A cargo test run passes successfully (
  • My changes are ready to be shipped to users

Description

Describe briefly what your pull request changes. Focus on the value provided to users.

Product of a capstone project from MCS at UCI.
Implements an extension to the X3DH communication protocol outlined in: https://eprint.iacr.org/2026/522.
This PR is for the protocol-end to calculate PVRF-data and warn the user if malformed data is detected. The user value stems from the possibility of a compromised or otherwise incorrect KDS, users will be able to verify each other on a stronger & more familiar level than public-key verification via safety numbers. The research paper details our approach in more detail.

Does it address any outstanding issues in this project?
https://github.com/signalapp/Signal-Desktop/issues?utf8=%E2%9C%93&q=is%3Aissue
Reference an issue with the hash symbol: "#222"
If you're fixing it, use something like "Fixes #222"
No

Please write a summary of your test approach:

  • What kind of manual testing did you do?
    Manual resets of application data to continuously recompute X3DH, testing with multiple OSX devices
  • Did you write any new tests?
    Yes, 3 unit tests and 1 extra benchmark.
  • What operating systems did you test with? (please use specific versions: http://whatsmyos.com/)
    m1 OSX Venture 13.5
  • What other devices did you test with? (other Desktop devices, Android, Android Simulator, iOS, iOS Simulator)
    m1 OSX

This PR will be dependent on the corresponding Signal-Desktop PR (signalapp/Signal-Desktop#7908)

We were unable to rebase & test this code by our deadline, but we will return to do this before we take this PR out of draft.

Meanwhile, here's an internal PR to an older version of libsignal to preview just the diff: 21pchangkachith#9

Team members:
Phoenix Changkachith
Minh Dang
Natasha Jha
Mary Hemker

Research credit:
Stanislaw Jarecki
Phillip Nazarian
Apurva Rai

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