Import encrypted backup does not accept correct password
Hello,
I got my whole family to use TextSecure but sometime after the last update a few issues turned up. One family member kept getting removed from our group ("X has left the group") and re-adding her did not help. We also could not send her any messages ("Error sending message").
I decided to reinstall TextSecure on her phone (SGS4), after creating an encrypted backup.
However, using the import feature, the old password was rejected and we couldn't get past the password prompt.
Creating a new account with the old password and THEN importing the backup worked, for some reason, but all messages were unreadable. Randomly sending messages to other family members, she was able to re-exchange keys (despite importing the backup, she now had a new key/ID) with some people, but not with me, for example. I still can't exchange messages with her and I don't see any option to exchange keys again.
So this is half bug report and half plea for help to get things working again...
Encrypted backups are basically broken right now: https://github.com/WhisperSystems/TextSecure/issues/1186 Did you try the fixes from https://github.com/WhisperSystems/TextSecure/issues/252 to get the encrypted messages into a readable format again?
You will have to go into more details how messaging between you two is broken. Can any of you write/receive anything the other does?
Not sure what caused this, but you may try to end the encrypted session (settings button in the conversation) and to unregister and reregister from push messages (turn push messages off and on again in the settings).
May be of interest: https://github.com/WhisperSystems/TextSecure/issues/1048
Please close this ticket, because all topics are already discussed somewhere else. If messaging between you two still doesn't work after the fixes I proposed, describe the problem in detail in https://github.com/WhisperSystems/TextSecure/issues/970. Thanks!
Thank you for your reply.
I forgot to mention this but the messages from the backup became readable again after re-exchanging keys with other contacts.
I tried now to disable/re-enable push on my phone but it did not help.
As for how the messaging is broken: I receive all of her messages as "Fehlerhaft verschlüsselte Nachricht" ("message with faulty encryption"?) and each time she gets a message (or group invite) from me it's "Fehlerhafte Schlüsselaustausch-Nachricht" ("faulty key exchange message"?).
Should I open a new ticket for this? It does not seem related to #970.
EDIT: I also tried to end the chat session and start a new one without success.
I recommended #970 because I didn't know what the exact problem was. Since the latest version 2.0.6 three different bugs that may lead to "bad encrypted messages" have been resolved. But both contacts have to have the latest version and then the encrypted session has to be restarted as I described above. Please check if both of you have the latest version and if not update and restart the session.
It worked!
We both were on v2.0.6 already and previously I had ended the chat on my phone and tried messaging her after, without success. This time we both closed the chat and I asked her to message me and this way a key-exchange was finally performed.
Thank you very much for your help!
You're welcome. Could you please close the ticket? Thanks!