Skip to content

(POSTPONED) Synchronize "verification" events between devices and simplify securejoin.rs #4914

@hpk42

Description

@hpk42

Both for setup-contact and group join protocol we want to synchronize "verification" states in order to simplify securejoin code and reduce the network protocol. First we introduce two new sync messages for Alice and bob respectively:

  • when Alice determines that Bob is verified, send a sync message to Alice's other devices about it
  • when Bob determines Alice is verified, send a sync message to Bob's other devices about it

Once verifications are explicitely synced we can:

Note: maybe Alice does not need to send a sync message on verified group-join because alice's "vg-member-added" message is observable on her other devices anyway. But it probably makes sense to not try too hard to avoid verification-sync here, and rather have the "verification" sync independently from vg-member-added. In the case of setup-contact the verifications need to be synced because the other device doesn't have an observable message like the in vg-member-added group-join case.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions