"End Secure Session" doesn't always end secure session
Sometimes the app continues to send encrypted messages after attempting to end the secure session.
IMHO "end secure session" does not mean that you end encryption at all. It only ends the current session, so that a new session key is negotiated when you start texting again.
Yep, this is the intended behaviour, as long as "sometimes" means every push conversation and the case where it works the way you want it to is with sms.
This wording is confusing. Maybe something like "Reset Secure Session" or "Reestablish Secure Session" would be more appropriate.
@kstrel But that would be incorrect. The session is ended, but if you are using push a new one starts when you are writing another message. And for SMS your proposal would be way more confusing, because those sessions are not restarted automatically if you write another message.
Personally, I'd like to eliminate the option all together. This is a great example of something that, regardless of what we name it, users don't (and shouldn't!) need to understand.
@moxie0 I agree with you that it's a no-go from a usability perspective. But there are still several cases where it's vital for users to be able to do this. The most important ones I can think if right now are the "bad encrypted message" errors that are fixed in 2.0.6, but need a new session. And for SMS this could certainly be of use in some edge cases. So I don't see that we can simply omit it, but maybe we can hide it a bit better. If it were one of the long-click options in the conversation list view, users won't see it until the FAQ or somebody here tells them to do it.
Or we introduce a setting, where we can restart all (push-)sessions at once. Not sure what to do about the SMS sessions though.
@generalmanager @moxie0 +1
It wasn't originally visible when we shipped 2.0. We re-enabled it as a result of the protocol errors, which should now be fixed. The original plan was that we'd offer a tap-action (similar to sms fallback) to end the secure session for every unencrypted SMS received in a conversation that has a valid session.
Sounds like a sane default, but I'd wait a month or two until everybody who experienced "bad encrypted messages" had the time to restart those. Or we disable it on the next release and forcibly restart every existing push conversation on the first start after the update.
And should someone with SMS get a plaintext or "bad encrypted" message, the option to end the secure session pops up.
I personally would like the option to downgrade the connection back to an unsecured channel.
@Fuzion24 In which case would this be useful? The data channel is encrypted by default and the SMS channel would open a little box, asking you if you want to downgrade, if something goes wrong with the encryption.
I have, on a handful of occasions, been stuck in state where I am not able to send a message. Although, downgrading to plaintext communication would be a hack and the real solution would be to work out any underlying issues causing these types of state.
A more valid use-case for downgrading a channel would be:
A person may send a plaintext SMS to me, say via Google voice. I would want to respond to them in plaintext assuming they are on a platform not capable of the upgrading to a secure communication channel. I current have no way to do so, so long as I'm using TextSecure.
@Fuzion24 The protocol errors causing these problems should be a thing of the past now.
The second use case is exactly what moxie proposed: If you receive an unencrypted message, a little tap-action like the one asking you for sms fallback would ask if you would like to continue in plaintext.
I think that's as smooth and hasslefree as it can get.
How about calling it "Initialise secure session"?
This makes it clear that future messages are still secure, while also implying that the current session is over/the slate is clean/the new session hasn't started yet.
@ykarm This would simply be wrong on push and wrong and misleading on SMS. Also the whole option can be removed, because there isn't any use for it anymore after people have switched to a later version of TS without the protocol errors.
This is totally unclear to a uninformed user (I had to read the issue comments to find out the real behaviour) and should be really removed or at least reworded. I of course expected that this would reset the encrypted conversation to a non-encrypted one, because I now did run into #845 and am stuck with a user which is no longer using TextSecure. To get rid of this situation I tried to use this function, but with no avail. Now I know why.
@wp9015362 Keep doing this and we'll ban you from the repo.
The Option is still placed pretty prominently in the UI, which lead me here (Because I wanted to know what it does). I would suggest hiding it way lower in the settings with something like "End all secure Sessions" for users experiencing problems. That way, no one will be irritated by the option, while it stays accessible for specific use cases.
I actually had this option come in handy a couple weeks ago when the session with my mom went wacky. This solved the issue and it hasn't returned. Yes, I have my mom using TS. :smile:
@moxie0 wrote:
Personally, I'd like to eliminate the option all together. This is a great example of something that, regardless of what we name it, users don't (and shouldn't!) need to understand.
Could you please eliminate the "End secure session" option now?
I still don't know what it actually does and when to use it and when not.
Also, from reading the comments here, it might have had to do something with encrypted SMS?
So, since the encrypted SMS feature has been removed, the option could be removed as well?
And if you won't remove the option (for whatever reason) then could you please at least explain the option somewhere? Like in the Wiki for example:
https://github.com/WhisperSystems/TextSecure/wiki/Using-TextSecure
?