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
Cannot re-establish trust after Signal App reinstall (java.lang.AssertionError) #530
Comments
Did some more digging:
I tried to fix this by removing the faulty entry manually from the file. It works so far as signal-cli now received the correct safetynumber and puts it into the store. |
And maybe another clarification: I could successfully re-establish the trust with another App user and also a newly created signal-cli instance (using a different number) can communicate ok with the re-installed user. It's only the signal-cli instance that already communicated before re-installation that now has an issue. |
hm, might be an issue with the old session, which should be archived. |
Ok. I restored the untouched config (which I saved before editing) and tried send -e I guess we still need an option that sort of embeds the steps above : reset the session, make a "send" attempt to get the new safetykey and even delete the old safety key/number (not sure what damage two entries might do). Maybe a "deleteIdentity" command. That still leaves it with the user if they want to try a "-v" later, but at least the registry would be clean again. I'm keeping the old config, so I could try out any other scenarios if necessary (actually the above analysis is the result of several attempts) Exception from the first send -e: |
I've pushed a commit that should fix the issue. Though I'm not exactly sure how the session gets into this broken state ... |
Much better now. Though I think there is still room for improvement.
We now still have two trusted entries for the same number. |
I managed to kill my Signal App on the phone (I believe I deleted a contact used by Signal and then the app won't start anymore - constantly crashing).
So I reinstalled but now signal-cli complains about the trust.
I face several issues here:
1.) Using Dbus the error message can only be found in the syslog. Via Dbus I get something cryptic:
org.asamk.Signal.Error.Failure: org.whispersystems.signalservice.api.push.exceptions.NotFoundException: Not found
2.) The message in syslog tells me to either use "trust -v "FINGER_PRINT" 73cf7df7-0792-4...... (is that the user key?)
while the help on CLI tell me to do "-v VERIFIED_SAFETY_NUMBER number"
Using the finger print or the safety number with the user key or the phone number all don't work and lead to this exception:
Using this both ways is not causing any error, but I still get the missing trust error afterwards.
While I discovered this with Dbus orignally all issues happen on CLI as well. So I'm actually stuck and can't get my mobile trusted by the existing signal-cli registered number. I guess I can only delete the registration now and start over.
Issue found with signal-cli 0.8.0 release as well as the latest pull
The text was updated successfully, but these errors were encountered: