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

Link secondary devices as primary device #193

Merged
merged 2 commits into from
Jun 8, 2024

Conversation

Schmiddiii
Copy link
Contributor

@Schmiddiii Schmiddiii commented Oct 5, 2023

Currently does not work due to an issue on the secondary-side:

ProvisioningError(InvalidData { reason: "missing client UUID" })

The code was mostly copied from what Whisperfish is doing.

Depends on whisperfish/libsignal-service-rs#250

@Schmiddiii
Copy link
Contributor Author

The above mentioned issue seems to be due to PNI fields not being set from the primary-device side here. So I guess this MR is blocked by whisperfish/libsignal-service-rs#206.

@Schmiddiii Schmiddiii force-pushed the link-secondary-as-primary branch 2 times, most recently from 0a33e4e to 7fb2d40 Compare October 11, 2023 12:48
@Schmiddiii Schmiddiii force-pushed the link-secondary-as-primary branch 2 times, most recently from 9019a2a to 18d83a6 Compare November 18, 2023 10:48
@Schmiddiii Schmiddiii force-pushed the link-secondary-as-primary branch 2 times, most recently from eed6c9c to af72b47 Compare November 20, 2023 15:56
@Schmiddiii Schmiddiii force-pushed the link-secondary-as-primary branch 2 times, most recently from 668bb1f to 75b0ae3 Compare December 5, 2023 14:44
@Schmiddiii Schmiddiii force-pushed the link-secondary-as-primary branch 3 times, most recently from 6c11f55 to 83dbac0 Compare December 19, 2023 18:21
@Schmiddiii Schmiddiii force-pushed the link-secondary-as-primary branch 3 times, most recently from 41a43c5 to e74ea1b Compare January 4, 2024 11:37
@Schmiddiii Schmiddiii force-pushed the link-secondary-as-primary branch 2 times, most recently from e4b913d to 2a3bd59 Compare January 24, 2024 14:54
@Schmiddiii Schmiddiii force-pushed the link-secondary-as-primary branch 2 times, most recently from 0c30605 to de9c6d0 Compare March 19, 2024 10:12
@Schmiddiii Schmiddiii marked this pull request as ready for review May 31, 2024 09:02
@Schmiddiii
Copy link
Contributor Author

After #245 was merged, this is now finally workind and ready for review.

@Schmiddiii
Copy link
Contributor Author

Note that as mentioned in the WF chat, something is wrong with the device name querying the linked devices. It is some base64-encoded string. I don't know how to solve that yet.

@gferon
Copy link
Collaborator

gferon commented May 31, 2024

If it is anything like it used to be for secondary linking, the device name was (at least at some point) encrypted.

@Schmiddiii
Copy link
Contributor Author

Yes, something similar was mentioned in the chat. I may need to investigate this closer before this can be merged.

@Schmiddiii
Copy link
Contributor Author

After whisperfish/libsignal-service-rs#300, it should now be ready.

@gferon gferon self-requested a review June 8, 2024 18:27
@gferon
Copy link
Collaborator

gferon commented Jun 8, 2024

Great addition, thanks!

@gferon gferon merged commit 5bf74db into whisperfish:main Jun 8, 2024
4 checks passed
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