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

Cannot establish a secure SMS session anymore

Open chiiph opened this issue 12 years ago • 20 comments

With the latest update, I cannot start a secure SMS session with someone I previously had one with.

I also haven't been able to use the Push service, even after updating the Push Directory several times.

This is on a Samsung Galaxy S3 Mini, Android 4.1.2. I can reproduce this on another device which also is a S3 Mini with 4.1.2, so may be that's related in any way.

chiiph avatar Feb 27 '14 14:02 chiiph

Can you be more descriptive about what you mean when you say you "cannot start a secure SMS session?"

moxie0 avatar Feb 27 '14 23:02 moxie0

I have no idea how to start the key exchange by SMS. There's only the "call" button in the top right of the screen, the context menu only shows "add attachment", "add contact info" and "delete thread". Besides from that there's the "smiley" and "send" buttons in the lower part of the screen.

I vaguely recall having a "lock" button right beside the "call" one, but I don't see that anymore.

chiiph avatar Feb 27 '14 23:02 chiiph

You can't actually initiate SMS sessions if you're push registered. You can respond to them, or any of your push messages will be auto-encrypted just by sending a message.

moxie0 avatar Feb 28 '14 01:02 moxie0

Ok, that's far from clear from the UI. But if we ignore that fact, if I only leave Push enabled, every message that I send to another Push registered phone fails.

chiiph avatar Feb 28 '14 01:02 chiiph

How does it fail? Can you post a debug log?

moxie0 avatar Feb 28 '14 01:02 moxie0

It just doesn't even try to do Push, it tries to go SMS and says "Error sending message" bellow the message. I'll see if I can get the logcat output.

chiiph avatar Feb 28 '14 15:02 chiiph

hi moxie,

I'm having the same issues on a galaxy s advance (i9070) which has roughly the same HW/SW as the galaxy S3 mini (STEricsson/Android 4.1)

the problem is that i can't open a new conversation with anyone, i'm not yet having a key. as soon as someone messages me the first time, the key exchange seems to work, and I can then talk with that person...

the message is in green and states transport sms in details, even sms, mms and sms fallback are disabled. Below the msg it shows error sending msg

same just tried with my wifes S3 (i9300) on android 4.3. similar problems also exist on a Sony xperia U with android 4.0. but I tought it was because I had no 3g data on that one.

it seems to me that the problem is with people joined textsecure after me mostly, which is nearly everyone in my friend circle, co im pushing them todo so...

text secure is 2.0.3. from playstore

diego0815 avatar Mar 01 '14 17:03 diego0815

i forgot to mention that ush directory update and force closing the app doesn't help either

diego0815 avatar Mar 01 '14 17:03 diego0815

@moxie0, i found a workaround: Disable push, reenable push -> works

Not a solution, but maybe it helps tracking this down

diego0815 avatar Mar 02 '14 02:03 diego0815

@diego0815 If this happens again, please post a debug log here to help us track down what's happening. TextSecure Settings -> Advanced -> Debug log. Thanks!

moxie0 avatar Mar 02 '14 07:03 moxie0

@moxie0 I signed up my tablet with push and tried a couple of things back and forth with all my TS enabled devices. The bottomline is, I couldnt provoke it from happening again... sorry no logcat.

I will keep an eye on it and post a logcat as soon as it should happen again.

Thanks for your support and your great apps!

Diego

diego0815 avatar Mar 02 '14 12:03 diego0815

@moxie0 I have a question about the first issue (can't start secure sms session when regisitered to push): Why isn't it possible? I'm missing the "start secure session" button for sms contacts too. I think that there is no reason to disallow starting a secure session by sms even when i'm registered to push.

Please consider adding this feature! Thanks.

Joesen1 avatar Mar 07 '14 08:03 Joesen1

@Joesen1 We're actually thinking of SMS as a deprecated transport to some extent. We're supporting it as a legacy transport, so people who aren't push registered can initiate a session with you.

moxie0 avatar Mar 07 '14 16:03 moxie0

@Joesen1 the easiest way to force sms is to disable wifi and gsm to force sms fallback im using this to send messages to non 3g users to ask them to enable wifi

diego0815 avatar Mar 07 '14 16:03 diego0815

@moxie0 Thanks for the reply. I think that SMS needs to be a fallback option to initiate sessions too, because there are many situations where we have no data connection available and still want to initiate a session to a textsecure user. (e.g. roaming, bad reception) If you want to dismiss encryption over sms, then i think you have to drop the whole sms support making TextSecure a totally different messaging app. Maybe i'm wrong, i don't know. You know better! :-D

@diego0815 My problem is not about SMS fallback, it's just about initiating a secure session to unregistered / new TextSecure users over SMS. Because i'm registered to push, this isn't possible anymore!

Joesen1 avatar Mar 07 '14 17:03 Joesen1

@Joesen1 i know what you mean but as long as both your data connection and wifi are off and your gsm radio is on it should work. Unless key exchange wont work over sms anymore? @moxie0 In any case with ppl from my contacts whose keys are known it works with sms as a "forced" fallback

diego0815 avatar Mar 07 '14 17:03 diego0815

@moxie0 please don't consider SMS transport as (kind of) deprecated. i'd love to only use push but there are just too many people still depending mostly on SMS right now and it would be a pity not to support a quality hybrid service.

bungabunga avatar Mar 08 '14 17:03 bungabunga

@diego0815 That's the point: You can't run key exchange over sms anymore, if you're registered to the push service! @bungabunga +1

Joesen1 avatar Mar 10 '14 07:03 Joesen1

Been working on this all night. Same issue. The workaround is to reinstall and skip registering altogether. Lock will now appear in top right corner of conversation to initiate secure session. After secure session is initiated and key exchange go back into settings and enable push registration. Conversation will then remain secure and you are back on push.

This was Galaxy SIII Android 4.3

Sharky375 avatar May 23 '14 02:05 Sharky375

Going to close this since it's a conscious choice to not have session init button for SMS when push registered

mcginty avatar May 29 '14 04:05 mcginty