Skip to content

fix: Rerun the full securejoin protocol if the address was outdated#8358

Merged
Hocuri merged 10 commits into
mainfrom
hoc/rerun-full-securejoin-on-outdated-addr
Jun 25, 2026
Merged

fix: Rerun the full securejoin protocol if the address was outdated#8358
Hocuri merged 10 commits into
mainfrom
hoc/rerun-full-securejoin-on-outdated-addr

Conversation

@Hocuri

@Hocuri Hocuri commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Alternative to #8355, fixes #8329

hpk42 and others added 4 commits June 22, 2026 04:24
…heir singular relay and added a new one and then perform a securejoin
…ropped their singular relay and added a new one and then perform a securejoin"

This reverts commit a9d19bc.
@Hocuri Hocuri changed the title Hoc/rerun full securejoin on outdated addr fix: Rerun the full securejoin protocol if the address was outdated Jun 22, 2026
Comment thread src/securejoin/qrinvite.rs Outdated
Contact {
contact_id: ContactId,
fingerprint: Fingerprint,
addr: String,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

QrInvite is serialized into the database, so this addr should likely be passed next to the QrInvite as a separate argument.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Or you need to put #[serde(default)] on it for when it is deserialized from the bob state table.

Comment thread src/securejoin/bob.rs Outdated

@iequidoo iequidoo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Overall looks easy to read, but link2xt's comment looked unobvious for me

Comment thread src/securejoin/bob.rs Outdated

@hpk42 hpk42 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm, also maybe make sense to to generate multi-address invite links soon.

Comment thread src/securejoin/bob.rs Outdated
@Hocuri Hocuri enabled auto-merge (squash) June 25, 2026 16:51
@Hocuri Hocuri merged commit abb84ef into main Jun 25, 2026
31 checks passed
@Hocuri Hocuri deleted the hoc/rerun-full-securejoin-on-outdated-addr branch June 25, 2026 16:59
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.

Scanning QR for existing contact doesn't update relay list

4 participants