Choice of security presets during setup
If we want TextSecure to compete with W**_sapp, F_book and other less privacy/security focused apps and plattforms, it has to be as user friendly as them. And it should be. Otherwise it'll never get a significant market share with the average users. But we also want to provide maximum security for people who depend on it with their lives, maybe because they live in an undemocratic country and have an unpopular opinion, maybe because they are protesting the regime in Syria, maybe they are gay and happen to live in Uganda or any of the other 82 coutries where that can get you in jail or even executed.
As TextSecure is supposed to be secure and user friendly there are going to be more and more cases where we will have to decide on a default behaviour, often between the safer and the more convenient option. Many of the convenient features, which many users want, because they know and love them from W**_sapp, F_book and other less privacy/security focused apps and plattforms leak data, which, in some really bad cases, could lead to people getting hurt or worse.
An example would be a notification popup with the message content like #798 requests. In some cases even mentioning the sender alone can be a threat (#308 and #366). It gets really bad if this can even happen on a locked phone (#198).
If we neither want to force the average user to go deep into the advanced settings to manually activate all the features they expect (really bad usability) nor want to endanger some users by choosing insecure but convenient defaults, we should ask the user at the setup level what their use case is:
- casual user
- moderately security concious user
- tinfoilhat™ / protester in $nodemocracyhere
Based on their choice we'll set default settings for the above mentioned features, as well as security features like #175, #226 and #328 and future convenience features.
It should also be possible to re-run this from the advanced settings.
One of the most important presets for the paranoid mode would be to turn off SMS messages entirely, because the metadata, which is the most important tool in modern surveillance, can't be hidden. The network providers can also easily scan the traffic and find out who uses TS, which will put people at risk.
With data that problem doesn't exist, because the relay (GCM) probably isn't controlled by the "enemy" and it works like an anonymizing proxy, because lots of normal apps use GCM. As long as HTTPS (TLS) isn't broken (again...), data should be safe.
Wizards are a high bar for the average user to take. They are struggeling to accept to type in their phone number, why the heck they would like to adjust a thousand settings before start messaging? The average userhas to be considered to be dumb and lazy. That's the way Apple designs their products. They are pretty successfull with this concept.
@LotP you misunderstand the idea, I want to achieve the opposite - people should have to make as few choices as possible. There are going to be more and more convenience features most users want, but which may endanger very few users. We would have to disable those to protect the few, at the cost of convenience for many. The same is true for advanced security features like faking messages to thwart traffic analysis (#328): most users won't and shouldn't use it, but this means most of the endangered people won't be protected either. I propose a simple choice between three security presets:
- Many convenience features, low security
- Less convenience features, moderate security
- No possibly dangerous features, paranoid security
This would be one click for every person installing TS, but we can hide as many advanced settings behind this, which 99% of the user base will never (have to) see.
Well I think that everybody deserves paranoid security by default with the possibility to opt-out from certain elements. And what should the average user think if he has to choose between safe and convenient? Well, we have to think of a concept that on the one hand is championing security and are on the other hand easy to use, too.
For example, a random amount of maximum 25 messages to random accounts of friends via push could be a feature which the user can't opt-out. Furthermore, an implementation a la "We send a small number of dummy messages a day, you can set your maximum value to (100/200/300/1000) messages a day" in the advanced panel. But 25 as the absolute minimum. Always remember the spartacus principle: in order to protect the people who really need protection, we all have to look the same - that also means that everyone should use the maximum security settings available. Another thing that could be opt-in in the advanced menu: enabling a read confirmation, for example only for a selected group of contacts. That makes communication much more direct and lifelike.
To prevent timing attacks: Am I right that the receiver of the message can only be determined by the server? If true, the server could be configured to "pulse" out new messages only every 5 seconds. That would, in the worst case, be a disadvantage to users who sent their message at the beginning of a new cycle, because their message would have to wait 4,5s on the server cache, but the chance for an attacker with a privileged position to see which message is going where would be reduced dramatically.
I think i mixed up my answer with issue #878. They are very similar context wise.
@LotP You can always edit your own comments. Where possible TextSecure already provides maximum security with great usability. But in many cases we will have to make a choice for one or the other and whatever choice we make for the user would either annoy the hell out of the typical W***sapp user (and loose a massive amount of possible users) or endanger the wellbeing of the few people that really need the best security possible.
That's why we will have to ask the user what he wants and if we explain it nicely with simple examples (aka lockscreen popup with picture of friend with beer in hand, asking when you'll be there, while you are explaining you'll have to leave early to support your sick child) nobody will bat an eye.
@lindworm: I really like your idea of asking the user to choose between these levels, so he doesn't have to go through all the settings and choose the right options. In my opinion, we should make it very clear that even the first level ("high convinience + medium security") results in a very good security level, at least way better than the security other apps like Wh**_app offer and even better than what you get from Threema (they don't have perfect forward secrecy for example). So the average user who comes from easy-to-use messengers like Wh**_app or F***book would choose the first option. Otherwise many users will probably choose the second option, although they don't really want to use security features like a passphrase.
Additionally, it would be a good idea to tell the user in a simple way what the levels mean. We could include a help function here with easy to understand use cases, maybe something like this:
- high convinience + medium security - recommended for most users: You want to chat with other users without someone being able to read your messages and it should just be easy to use (so you don't get bothered with security functions like choosing a passphrase for example).
- medium convenience + high security - for security-conscious users: Security is very important for you and you don't want anybody to be able to read your messages. Here you get additional security functions which can have some impacts on the usability.
- low convinience + paranoid security: You don't want a three-letter-agency to track you down? Or you organize protests but your government shouldn't know? This will enable all security features.
We should of course be careful giving promises here we maybe cannot hold, but this should really just give an idea of my point that the average user should be able to choose the right option for him.
Just one last point: It should be possible to change these options later on in the settings and I would also introduce "extended settings" in the settings, where the user can en-/ disable all security functions himself if he really wants to. (Maybe someone likes the idea of sending dummy messages as suggested in #328 but doesn't want to use a passphrase for example.)
I agree, the TS transport is the safest one that's currently available and we should point that out. This is really important for acceptance. I remember that condom manufacturers in India wanted the people to wear the right sized condoms, but they didn't. So they switched from small, medium and large to large, extra large and extra extra large. It worked ;-)
How about we rephrase the cases like that:
- high convinience + high security
- medium convenience + very high security
- low convinience + paranoid security
I also really like the short descriptions (nice wording) right in the dialog and the extended settings too. Maybe we make those settings available by long clicking each option and tell the user about it?
The extended settings (of the app, not the conversation) should certainly also contain all the settings, as well as an option to re-run this dialog.
Yes, that sounds really good. Users hear from others that TextSecure offers very good security and they should know that even the first case is suitable for that. Your new descriptions of the cases should do that pretty good.
And yes, long clicking an option to get the description should be a good solution, because it also works on small devices. A short hint telling the user about it (maybe at the bottom) should also work well.
@L3st3r
And yes, long clicking an option to get the description should be a good solution, because it also works on small devices. A short hint telling the user about it (maybe at the bottom) should also work well.
Sorry, I phrased that ambiguously (fixed it now). I meant to make the settings available on long click. That way the user can instantly see which settings will be affected and modify them.
If it's not possible to display the descriptions on small devices (or would look bad), I'd like an obvious help button that shows the descriptions with one click.
Guys guys guys. You're missing the point. Asking the user to choose between security levels is confusing and will hinder adoption. DON'T.
What might be OK: Asking the user something like "Does your personal security or life depend on keeping your messages out of reach of third parties who might be in possession of your phone?", maybe with a "what does this mean?" link. Your average WhatsApp or FB Messenger user will chuckle and go for "no", maybe thinking "wow, those guys are serius". Somebody who is truly dependant on the utmost secrecy that TextSecure can provide will have a different view and will go with stealth paranoia mode.
Everything else is way to confusing and not an option for a product to be used by the masses.
I tend to agree with @lorenzhs but it really depends on how this is implemented and what exactly the setting will do. Just from the "levels" you described here I am not sure how even a technical user would be able to chose what he really needs... how would a non technical user be able to make this convinience vs security tradeoff?
@lindworm You're very active here at the moment, so please let me repeat this. Users don't have the same level of understanding that you might have. You MUST NOT face them with choices such as the one suggested above. Always think of your dumb teenage neighbour when thinking about changing something that affects user experience. Would they get it? If no, then the answer has to be "back to the drawing board!". Everything else will be a major obstacle on the path to wide-spread adoption, and that is a no-go.
Asking the user to choose between security levels is confusing
At least it's less confusing than dozens of technical options hidden away in the advanced settings ;-)
However your solution is certainly better. I still think we should stick with the three modes, but take a different approach to implement them:
- First Question: "Does your personal security or life depend on keeping your messages out of reach of third parties who might be in possession of your phone?" Answers: no -> send user to the next step. yes -> question 2 is shown.
- Second Question: "Are you really in great danger?" Answers: "Yes, do everything possible to protect me" > Popup with explanation, that many convenient features have to be turned off and link to edit all settings "No, but I still like my privacy" > Popup with explanation, that it may be less convenient and link to edit all settings
Edit: damn, the close button is too close to the comment button ;-)
At least it's less confusing than dozens of technical options hidden away in the advanced settings ;-)
@lindworm NO! It is way more confusing, because it's utterly vague. Hell, most people in this thread wouldn't know what to choose!
And I oppose that second step. There should not be a medium setting, that just gives a false sense of security. Simplicity is absolutely essential.
There should not be a medium setting, that just gives a false sense of security.
I think the medium setting is essential for all the privacy concious people that are not willing to give up on all the convenient features and don't want to do crazy things like sending dozens of paid SMS messages a day to thwart traffic analysis (#328), while a few data messages would be ok.
Several of the options the paranoid setting will enforce are crazy enough that not even the most privacy loving folks will want to activate them, if their life doesn't depend on it.
Your view of the average user as a thirteen year old is probably spot on. But they aren't brain dead. Every kid would know how to answer these two questions. ~95% of the users will only see the first question and won't be bothered. ~4% will want privacy, but not at a huge cost in usability ~1% really depend on it and will choose the maximum setting.
We can omit the second question by doing something like this:
- First step: "Does your personal security or life depend on keeping your messages out of reach of third parties who might be in possession of your phone?" Answers: no -> send user to the next step in the setup process. yes -> go to step 2
- Second Step: two big buttons with the following labels:
- do everything possible to protect me -> paranoia mode (with explanation)
- I'm an expert, show me the settings -> all the advaced settings but with the options of the medium setting preselected. Long click on an item explains it.
We can preselect the paranoid setting, use a bold font, color it or highlight it otherwise, while using a smaller normal font for the expert setting.
You have a lot of confidence in 13yolds. As I stated above, people in this thread are unable to answer this question because they don't understand the implications. So no, your suggestion is not an option. Face it, this community is a bubble and "normal people" have no idea what that stuff means that you're talking about.
And a biased choice UI must be just about the worst idea anyone's come up with so far.
If my previous suggestion hasn't led you to the conclusion that what you're suggesting won't work, ask yourself this instead: could this be an Apple product?, because user experience is the single most important thing in building and keeping a user base. If you're not designing your menus, dialogues, etc with that in mind, you won't reach mass adoption.
A problem I see here is that the thirteen year old could read the question whether his life might depend on the confidentiality of his messages and than think: "Oh, this is not the right app for me. This sounds like a complicated app and I just want to chat with my friends."
Maybe we should clear first which security functions we have that are optional. And than we can argue whether they justify adding new choices to the wizard.
@lorenzhs
user experience is the single most important thing in building and keeping a user base
So what's your solution? Only normal and maximum security? Have you the issues I linked to? The normal setting will be secure enough for most users and they'll use it.
I also think that you underestimate how high the security of the "medium" setting is supposed to be. This would activate things like a pop-up warning whenever you are about to start an unencrypted conversation via SMS, asking if you really want to do that. Other examples would be a 1-click shortcut to wipe the whole database and uninstall TS or making all messages editable so it can't be used as proof against you.
Even the lowest setting is far safer than any other messaging app.
The paranoid setting however would do some things that really mess up usability (no unencrypted at all, dozens of paid SMS, which aren't usually free in Europe or outside of the US. And the list will grow the more advanced security features become implemented.
How are the implications of something along the lines of "will you die if somebody reads your texts or knows who you text" unclear in any way?
Your average user will rightfully click no and that's it. -> Nothing hinders mass adoption.
But if you take away the expert options with reasonable privacy settings from those who know what they are doing, you just messed with the current core userbase. They are the ones who recommend it to their non-technical friends. Or they don't, because they just paid 15€ after two days of preventing traffic analysys or something that's similarily useless when you want privacy but aren't Edward Snowden (whose phone would be taken over anyway).
@L3st3r
A problem I see here is that the thirteen year old could read the question whether his life might depend on the confidentiality of his messages and than think: "Oh, this is not the right app for me. This sounds like a complicated app and I just want to chat with my friends."
I think most people would be rather amused instead of afraid. And if they think what you wrote, they won't stop the setup and uninstall it right away. They'll click "no" and won't be bothered with any complicated security related questions.
Maybe we should clear first which security functions we have that are optional. And than we can argue whether they justify adding new choices to the wizard.
I already linked and referenced many proposed privacy settings we may want to activate, as well as convenience settings we may want to turn off. The reality is that there are many more going to come in the next weeks and months, of which we can't possibly know yet.
But nearly every time when you are faced with two extremes, a compromise is usually the way to go.
"There should not be a medium setting, that just gives a false sense of security."
Not if that setting and its alternatives are all explained accurately in terms of how much security they offer. Then it will be a correct and appropriate sense of security in each case. ;)
@donjoe0 well but that's a big usability issue. You can't make the user read a ton of stuff before getting started. There must not be an extensive setup routine, otherwise nobody will use the app. Users get confused really easily, and you can hardly do any worse than confuse somebody before they've even started using the app.
Also, somebody concerned about prosecution for their opinions should not use SMS in the first place (network operator knows the recipient). Push is way better in that regard. So the argument for the smokescreen texts is maybe not the best. Additionaly, if you do stuff that's obviously designed to hide your tracks and leave false trails, that is rather likely to make whoever is after you have a closer look at you. Having settings like that is just a shit idea, as long as not everyone's install does that. And good luck telling the average western user that this app will send 100 texts a day to random people around the world because that may make some dude in some country more safe. To summarise: the idea isn't thought through. You could do that kind of stuff over push though, because nobody cares about an extra 2KB a day, and you don't even need a setting for it (just enable it for everyone).