-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add support for PNI fields and fix fetching (encrypted groups) #224
Conversation
@rubdos did you investigate by any chance how one can "upgrade" an existing account and upload some PNI keypair? I don't care that much for linking, as one can simply ask to relink (without losing any data). |
75a476b
to
8c53ed1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not looked into the migration logic here, no. I would rather actually implement the migration. It's not because relinking is supported in-protocol, that we can do that easily in Whisperfish already 🙈
Yes this is what I figured. I can look into the migration, i suppose you can upload a PNI private and public key, and get some UUID back. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick on the docstrings for the ServiceIdType.
To what extend did you look at the migration, yet?
Co-authored-by: Ruben De Smet <ruben.de.smet@rubdos.be>
To repeat what was said on Matrix, it looks like the migration is as easy as registering pre-keys with the server for |
Tested in
presage
which should get us started with #206 and fix #223.This requires to be able to provide two separate store implementations to the underlying
libsignal
. See https://github.com/signalapp/Signal-Android/blob/b4f6177e873cfd23cbce8fdbea8b573af8faf45d/app/src/main/java/org/thoughtcrime/securesms/crypto/storage/SignalServiceAccountDataStoreImpl.java#L26 for the requirements inSignal-Android
.