Bad encrypted message from myself??
I have:
- [x] searched open and closed issues for duplicates
- [X] read https://github.com/WhisperSystems/Signal-Android/wiki/Submitting-useful-bug-reports
Bug description
30 minutes ago I got a message from my own phone number with "Fehlerhaft verschlüsselte Nachricht" - German for "Bad encrypted message". Before you now tell me that there are plenty of closed bugs for that: #509, #622, #2600, #4844,etc. But they do not address that problem: I did not send a message to myself. I didn't do anything. My phone rang twice within a minute, and there were two messages via Signal, sent from my own phone number. Sent on "2.Nov.2017.18:49:52 MEZ", received on "2.Nov.2017.18:49:57 MEZ"
Steps to reproduce
not possible to reproduce.
Actual result: Got a badly encrypted message from myself Expected result: I don't expect getting messages from myself if I don't send them.
Screenshots
Not possible in Android 6.0.1/Signal.
Device info
Device: Using a Fairphone 2, without Google Apps. Android version: 6.0.1 Signal version: 4.11.5
Link to debug log
https://gist.github.com/anonymous/5768f7be094d09d423c362c2e86bf54b
(I then sent a message to myself and deleted them afterwords, before creating this bug report.)
I think in order to synchronize devices, Signal Android/iOS and Signal Desktop communicate with each other via standard Signal messages (although they are not visible to the user). If something goes wrong with such a message, this can lead to the result you've described.
Yes, this could have been the cause, I was changing from the Signal Chrome App to the standalone Desktop App before. Totally forgot that. But shouldn't that be invisible (as you said?). Could I do anything to reproduce this - is there a need of a fix? I saw a Java Exception in the logs.
But shouldn't that be invisible (as you said?).
That's true for the messages themselves. But apparently not for error messages caused by them.
Could I do anything to reproduce this - is there a need of a fix? I saw a Java Exception in the logs.
My guess is that the issue is on the new Signal Desktop's side. But that's just a guess. I've had a similiar experience when setting it up initially.
Ok, so I leave it to you (@moxie0?) to close this or proceed here further - If you want me to add some more info by trying to create the Signal Desktop App initialization again etc., please tell me.
Exact same thing happened to me right after I removed the Chrome extension and installed the standalone app. Hadn't happened before, hasn't happened since.
I think these are messages you sent to another user. They are supposed to be encrypted with your own keys, so that you can decrypt them yourself, including your other devices. Apparently something goes wrong there, so you get those "badly encrypted messages" at times. In my case it doesn't have to do with switching from Chrome to Electron, since I didn't switch yet. I often have this using the Chrome App and Android. Restarting the encryption sometimes helps.
But i did not send a message to another user.
Just experienced this again linking with Signal Desktop v1.1.
Here are the logs.
Signal Android: https://gist.github.com/anonymous/b0edc4bdb4251c36cd7e2bc63c3c60c9
Signal Desktop: https://gist.github.com/8c8cc81e6231576136388a63dcf984f2
See here as well: https://whispersystems.discoursehosting.net/t/how-to-reset-the-secure-session-on-signal-ios/1770/6?u=riset
I'm researching the same problem on my devices (android phone, chromebook, macbook, several iMacs), and thus found this Github issue. I'm observing a feedback problem which accelerates the generation of the error messages. e.g. if I have my macbook running, and the Signal extension running, and my android phone awake and Signal running, I can observe these error messages coming in about one every two seconds. Attempts to delete the "conversation" are only marginally successful. Sooner or later they start up again. Resetting sessions slows things down for a while but does not stop the problem.
more detail, testing with android Signal (my "home" for Signal), and a chrome Signal extension on Macbook (OSX 10.6.8):
When I do anything at all on one device (e.g. android), an error message appears on other devices (e.g. macbook). This error message appears as a message sent from me to myself. On the macbook, the error is "Error Handling Incoming Message." (I can open this message, see screen capture). On the android phone the message is "Bad encrypted message" and I cannot open this message.
The feedback loop happens when I have the "error sessions" open in both devices at the same time. Then the receipt of the error message in one device generates the transmission of another error message, which is received by the other device, thus generating another error message, etc. It is impossible to shut down by deleting the sessions, as even this action transmits a (n invisible) message which will generate a (visible) error message, initiating a new "error session." The feedback can be shut down if only one "error session" is being looked at.
Suspecting my Signal Chrome extension on the Macbook, running on an out-dated, unsupported version of Chrome browser, which I cannot update because that's running on an out-dated unsupported version of OSX, which I cannot update because the computer is only ten years old(!).... anyway, suspecting this might be the source of trouble, I quit Signal on the Macbook, and so far have seen no more error messages. I continue to use the Signal Chrome extension on a much newer iMac (running El Cap OSX 10.11.x), and have not been able to replicate the error messages. Unfortunately the new standalone Signal app will probably not run on the Macbook, as the version of OS is earlier than what Signal shows as a requirement. (No surprise there, really) I hope this information helps someone. forgot to add screen capture from prior message... but maybe it's no longer relevant.
I'm seeing this with signal desktop v1.2.0 on Linux. I tried sending a message to a group, and one of the contacts in the group received it, while the other got the bad encrypted message. I also received a bad encrypted message from myself. I'm able to reproduce this consistently by attempting to re-import my groups and contacts.
GitHub Issue Cleanup: See #7598 for more information.