Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Messages get stuck as "Decrypting, please wait..."

Open Bujiraso opened this issue 13 years ago • 19 comments

Hi, I have noticed an issue where a message is received and it says "Decrypting, please wait..."and it doesn't decrypt until you lock and unlock the database.

This occurred for me when I first turned on the phone (mine is a SGS2, i9100m) and the database was locked but I received new messages. The TextSecure app was also updating (either in progress, or just finished, I didn't notice which) if that's relevant.

Maybe a feature to individually re-decrypt messages that are stuck would help? Thanks

Bujiraso avatar Jul 03 '13 13:07 Bujiraso

I have noticed this but only in the following scenario:

  • restart phone, thus TextSecure not running
  • receive an SMS message
  • TextSecure says "Decrypting message ...."
  • I realize that I haven't entered my password yet to unlock
  • I enter my password
  • The "Decrypting message..." remains until I power cycle the phone and sign in to TextSecure again.
  • New text messages are received ok, but the original one received before signing in to TextSecure remains in this state.

mikemee avatar Jul 12 '13 15:07 mikemee

This happens for me directly after an update (the last 3 at least).

I just press the padlock symbol (in the notification area) to clear the password cache and then enter the password again.

Prillan avatar Jul 12 '13 15:07 Prillan

This happens occasionally to me too. (just yesterday on V.0.9.9.8) on Android 4.1.1, Motorola Atrix HD. Phone was on and TextSecure was locked. When I entered my password the new message stayed encrypted for an hour or so and then it became a bad encrypted message.

darkwisperer avatar Jul 26 '13 16:07 darkwisperer

I just had this happen in TextSecure 1.0.6, Android 4.4.2 KOT49H, Nexus 5. Phone was powered on but the screen was off, passphrase is disabled (phone is full-device encrypted), and the sender was not using TextSecure. I killed the running TextSecure tasks and the message became readable when I re-opened TextSecure.

ryancdotorg avatar Jan 16 '14 05:01 ryancdotorg

This just happened with TextSecure 2.0.1, Android 4.4.2, Nexus 5. After killing the TextSecure process and opening it again it was able to open the SMS. The sender of these messages doesn't have TextSecure installed, I'm not using full device encryption and I don't have a passphrase set in TextSecure.

dserodio avatar Feb 25 '14 16:02 dserodio

@dserodio did it happen on the first start after an upgrade?

moxie0 avatar Feb 25 '14 17:02 moxie0

@moxie0 Yes, it did. I'll comment here in case it happens again.

dserodio avatar Feb 25 '14 17:02 dserodio

Got it, we'll look into that.

moxie0 avatar Feb 25 '14 18:02 moxie0

This happens to me occasionally when receiving normal (unencrypted) SMS. Last time when it happened, I closed the app by swiping it out of the recent apps menu. After reopening it, the previously stuck message was shown. I did not set-up a password.

I am on CM maguro nightly for Galaxy Nexus (11-2014220-NIGHTLY-maguro) and I set-up whisper-push prior to installing TextSecure 2.0.3.

sebfisch avatar Feb 28 '14 08:02 sebfisch

@sebfisch We should have a fix in the next release.

moxie0 avatar Mar 01 '14 22:03 moxie0

Just tried sending a picture via MMS to one of my friends through a secure conversation, he sent one to me, both of us never could decrypt the other's MMS. :P Is this still in the pipeline @moxie0 ?

osdiab avatar Jul 26 '14 07:07 osdiab

@osdiab Is it showning the "decrypting, please wait message" or are you maybe having this problem (which is generally not an MMS issue): https://github.com/WhisperSystems/TextSecure/issues/1432

AFAIK the "traditional" problem with decrypting messages was indeed fixed a long time ago, but there are several problems with MMS which still break things.

generalmanager avatar Jul 26 '14 22:07 generalmanager

@generalmanager Yesterday I recieved 2 normal SMS, and they failed to decrypt. This issue is definitely not solved :( Any tips hot to decrypt them?

skibbipl avatar Nov 25 '14 13:11 skibbipl

This seems to only affect SMS/MMS when they are candidates for encryption, which is deprecated.

This can probably be closed.

patcon avatar Mar 17 '15 19:03 patcon

Issue persists, request this not be closed as TextSecure is the default SMS app for most TextSecure / Signal users. While SMS encryption may be deprecated, TS still needs to be able to properly handle unencrypted SMS.

Scenario

  • Phone on airplane mode
  • Normal, non TextSecure SMS' sent and cached by the network
  • SMS' received when phone set out of airplane mode
  • Several "Decrypting, please wait..." messages unable to be read

Troubleshooting steps taken

  • Lock TextSecure and unlock
  • Reboot device
  • Run updates to ensure latest version of TextSecure

Debug log submitted

itys avatar Mar 30 '15 19:03 itys

@itys you're saying that before the airplane mode changes you had no Decrypting, please wait... messages, and then after disabling airplane mode you received SMS messages and had multiple Decrypting, please wait... messages? Are there one per message? Is this is one or multiple conversations?

that would be super surprising as we've heard of nothing like this months, possibly years.

rhodey avatar Apr 10 '15 22:04 rhodey

@rhodey Multiple per message and multiple conversations as shown in the debug log. I appreciate your cautious doubt and surprise - however, yes, this has happened a couple times over the past month.

itys avatar Apr 12 '15 16:04 itys

Just had this happen on v3.18.3. I opened the app as the notification appeared even though the message was sent minutes before. Locking and unlocking the app fixed it.

Note, this was also a pushed message, not sms.

arleslie avatar Sep 12 '16 02:09 arleslie

GitHub Issue Cleanup: See #7598 for more information.

automated-signal avatar Apr 02 '18 21:04 automated-signal