Skip to content

PrivateV1 Convo Ids#54

Merged
jazzz merged 11 commits intomainfrom
jazzz/convo_id
Feb 11, 2026
Merged

PrivateV1 Convo Ids#54
jazzz merged 11 commits intomainfrom
jazzz/convo_id

Conversation

@jazzz
Copy link
Collaborator

@jazzz jazzz commented Feb 11, 2026

This PR implements Convo ID's for PrivateV1.

ref: #26

In addition the following related issues were addressed:

  • handle_payload returns Ok instead of error if ConvoId is not found. This is the expected case without conversation hinting.
  • Inbox sets is_new_convo flag on initial message ContentData.
  • Adds integration test for Context, this tests the core functionality without the added complexity of FFI.

@jazzz jazzz requested review from kaichaosun and osmaczko February 11, 2026 06:45
Comment on lines +57 to +58
local_convo_id: String,
remote_convo_id: String,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't find the local/remote convo ID distinction in the PRIVATE1 spec. Is the motivation preventing an observer from correlating bidirectional traffic by a shared convo ID? If so, would RPI supersede this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't find the local/remote convo ID distinction in the PRIVATE1 spec

Correct. Convo-Ids are not yet defined in specs.

Is the motivation preventing an observer from correlating bidirectional traffic by a shared convo ID?

Correct. This is an approach to for Conversation hinting, which masks binding identifiers, while providing lookup of recipient encryption state.

If so, would RPI supersede this?

Correct. RPI Research is needed. In the meantime this PR implements asymmetric identifiers derived from the seed key, and roles

Further refactoring will be needed in this area. In particular:

  • Is the client/context responsible for conversation_hinting or is this a protocol level requirement?
  • Is a symmetric base Conversation valuable for applications?

jazzz and others added 3 commits February 11, 2026 13:15
Co-authored-by: osmaczko <33099791+osmaczko@users.noreply.github.com>
Co-authored-by: osmaczko <33099791+osmaczko@users.noreply.github.com>
@jazzz jazzz merged commit 3b69f94 into main Feb 11, 2026
3 checks passed
@jazzz jazzz deleted the jazzz/convo_id branch February 11, 2026 22:10
This was referenced Feb 12, 2026
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