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

Add trust level indicator to conversation screen

Open virtualritz opened this issue 12 years ago • 68 comments

In #766 @lindworm suggested adding display of trust level with the other party to the conversation screen. This requires a separate issue from the aforementioned ticket.

There were different suggestions as to how this should be done.

  • @lindworm suggested coloring the lock icon in the top bar (green = manually verified, black/yellow = unverified/automatic key exchange/, red = unencrypted).
  • I suggested overlaying the other party's avatar with an icon instead. Icon indicates they're a manually verified contact. No icons means they're not.

Specifically I also suggested not mixing the information of whether a conversation is encrypted or not with the information of how well the other party is trusted, into one icon. Least not by color. There are color vision impaired users and this information, if displayed at all, needs to be unambiguous.

virtualritz avatar Mar 01 '14 17:03 virtualritz

I like @Kiwii 's icon suggestion for the avatar overlay (http://goo.gl/mYzOJh) as used in Skype. Lots of users will already understand the meaning from using Skype in the past. Color should be neutral, ofc.

A badge with a checkmark is also right what comes up first when you google image search for "verified icon".

There are lots of variations. E.g. a friend silhouette with a checkmark (http://www.ecommercebytes.com/abblog/uploads/verified_icon.jpg) or a crest/shield (http://www.freelance-pilot.org/img-style/verify-big.png) as the outer shape, instead of a badge.

virtualritz avatar Mar 01 '14 17:03 virtualritz

@virtualritz I'd like to clear some things up, so we don't mess up three perfectly good issues ;-)

First I feel like I should explain why I want to do something that's technically wrong (aka combining two similar but different concepts):

1. Do we agree that trust is already established well enough for most users, because TS does verify the user actually received an SMS to the number he told TS? If so, your proposal in combination @Kiwii 's icon suggestion is safe enough and I don't see the need for the green state.

2. If that is not the case and we consider manual key comparison something every user should do, we have to find a solution that let's them know they should do it.

My point is that the average user has no idea that those are two different properties which in combination give the user different levels of security (from beeing owned). To the user it doesn't matter, if he gets hurt because somebody listened in to his conversations or because somebody impersonated who he wanted to talk to - the worst case is the same.

Nobody who understands the differences is not mislead - they know what both things mean and might be a little annoyed that we didn't differentiate them as clearly as possible. But those that don't know that there is even a difference know that yellow is not as "good" as green. If they have no contacts with a checkmark to begin with, they won't even know that there could be one. I'm sure they would notice the difference, and with apps like skype, where the badge/checkmark just appears that's just fine. In TS however you would have to actively go to some hidden menu to make the badge appear.

I wanted to force these two things into one icon, because we need a way to let the user know that, even when it's encrypted, he can do better.

I proposed the combination of color and lock, because it conveys the message well (every non-geek I talked to loves Threema for that). But if we find a method that works equally well to indicate that they can do something to improve their safety and make nerds like myself happy, I'm sold!

To do that we may put a badge with a crossed out checkmark or a greyed out checkmark next to all non-validated TS users.

3. The most important color is red The only thing I'm very sure about is, that we have to make it as clear as possible when the user is going to send an unencrypted SMS. We want the layperson to think about TextSecure as the secure messenger - aka "everything I do with the app is safe". Unencrypted SMS break this paradigm and nobody ever checks if the little black lock is there or not. Right now we just remove the lock when writing unencrypted. We don't even change the lock symbol by opening it. From a design perspective this is the worst thing we could do.

That is why I am positive we should have an open lock in the color every user associates with the necessity to stop: red. Traffic lights, stop lights, beetles and mushrooms have burned it into everybody's brain that they have to stop in their tracks and think what the hell they are about to do.

4. The color vision impaired (I was to lazy to type that up again and copied it from one of my other posts). Bringing color blind people up is a valid point, but we can not make design choices for a small minority, that will negatively impact the usability for the huge majority. If you argue like that, we also shouldn't use the green/blue color scheme to indicate the transport channel, because there aren't just red/green color vision impaired people. I think we should really consider adding a third theme in addition to the light and dark ones, with high contrasts and/or different shapes. This is supposedly a positive example: http://wearecolorblind.com/example/ichat/

generalmanager avatar Mar 01 '14 19:03 generalmanager

I'm not a crypto expert, but, since I've seen this a couple of times lately: Yes, yes we need "manual verification". The fact that we do D-H-Key Exchanges gives us some advantages (Perfect Forward Secrecy), but we cannot magically know who's on the other side of the conversation. In other words: _Manual key verification is just as important in TextSecure as it is in Threema, Telegram, PGP, younameit_. It's a simple equation that has nothing to do with the actual protocol: You can never be sure who just told you "that's my key!" - until you asked him in person.

@moxie0 you're the resident crypto guru. Could you verify this?

tinloaf avatar Mar 01 '14 19:03 tinloaf

What I'd like to see in short, in addition @virtualritz's improvements to the send icon: If we answer "yes" to 1.

  • all encrypted conversations have a black lock symbol in the top bar and above the send icon (paper plane). Light grey for the dark theme.
  • unencrypted SMS conversations have a wide open red lock in the top bar and above the send icon (paper plane)
  • manually verified contacts have a green badge with a checkmark
  • unverified contacts don't have any badges.

If we answer "no" to 1.

  • all encrypted and trusted conversations have a light green lock symbol in the top bar and above the send icon (paper plane).
  • all encrypted conversations have a yellow lock symbol in the top bar and above the send icon (paper plane).
  • unencrypted SMS conversations have a wide open red lock in the top bar and above the send icon (paper plane)
  • manually verified contacts have a green badge with a checkmark
  • unverified contacts have greyed out or crossed out badges, to indicate that you should act on it.

generalmanager avatar Mar 01 '14 19:03 generalmanager

Hey guys, I just made up some different top bar icon sets for the light skin. The matching send icons have been posted in #766

  • Set 1: black (encrypted) and red (unencrypted)

lock_icons_secure_light_blacklock_icons_not_secure_light_red

  • Set 2: green (trusted), black (encrypted) and red (unencrypted)

lock_icons_secure_light_greenlock_icons_secure_light_blacklock_icons_not_secure_light_red

  • Set 3: green (trusted), orange (encrypted) and red (unencrypted)

lock_icons_secure_light_greenlock_icons_secure_light_orangelock_icons_not_secure_light_red

Tell me what you think ;-)

generalmanager avatar Mar 02 '14 09:03 generalmanager

Here's my take.

Two variants. One has more visual clutter and repetition, the other less. In the 1st version, a verified badge is overlaid on the lock at the top and the avatar of the contact. This copies the suggestion from @lindworm to alter the lock, but it avoids relying on color.

It also uses an icon to that millions of users already recognize to convey trust level: , the badge with the the check mark. Twitter uses this for verified accounts. Facebook uses round badge for verified pages.

I like it when one symbol becomes a industry-wide accepted/recognized standard. This makes it easy for users to instantly grasp the same concept across different apps. I may add that there is not a single app that comes close to twitter or FB in number of users, that uses color to convey trust level.

The 2nd variant just has the badge next to the user name, in the top bar. No repetition. The badge would ofc. still be overlaid each of the resp. contacts, in the contacts list.

textsecure2_icons1 textsecure2_icons2

virtualritz avatar Mar 02 '14 11:03 virtualritz

Sweet! I really like the first version with the badge in the top bar and next to the picture. Personally I'd prefer the shape of the badge to be either circle or shield shaped instead of bottle cap shaped. What do you think about the two other things I mentioned:

  • Grey (and/or crossed out)and green badges so that users unaware of the need to verify identities get a hint that they can improve. They don't know they can have a badge because of the chicken/egg problem that no contact has a badge when you haven't already verified one.
  • The open lock is colored red to make sure the user never thinks he is communicating encrypted when in fact he is not.

This would not break the distinction between trusted and encrypted. And a maximum of 4 combined states should not overwhelm anyone.

With those little additions I'd definitely prefer your version over mine.

generalmanager avatar Mar 02 '14 14:03 generalmanager

I would prefer the second version from @virtualritz. Because the badge status shouldn't change often and is less important than the lock icon (imho) there ahould be only one for less visual clutter. Also I like seeing it next to the name of the contact because that's what if conveys: The contact is really who he says he is. The icon overlayed on top of the lock is not so clear imho.

As an alternative approach for showing the user that the trust level can be improved, I suggest adding a gray (=not too annoying, but still visible) version of the trust badge with a queationmark inside instead of a checkmark. This would clearly show "Username (?)" and I guess most people would understand that this means it is not 100% sure who they are talking with.

I second the idea of making an open lock red, because it is very important to show the user that the connection is currently not secure. It would also be no problem for colorblinded people since the lock is still distinguishable as locked even without any color information. The color would be only to make it even easier to spot.

eikowagenknecht avatar Mar 02 '14 15:03 eikowagenknecht

@virtualritz I really like the first one, too and I personally like the shape of the badge. The second proposition might be problematic for group chats with mixed verified/unverified participants.

@lindworm For unverified sessions, the checkmark in the badge on the lock symbol in the top bar could be replaced with a question mark. That should make new users tap on it and the drop down menu gives them the option to verify their recipient.

Edit: I was typing too slow and didn't see @phenx-de's reply before posting mine. In my humble opinion the badge on the lock in the top bar makes sense, since that's the button that allows a user to verify the keys.

Kiwii avatar Mar 02 '14 15:03 Kiwii

@phenx-de I also see the problem with group chats - there we'd definitely have to put the badge next to the picture or the little name. @phenx-de and @Kiwii Yes, the questionmark in the badge would be great - no confusion because it contains a checkmark any more and a simple ? states uncertainty.

generalmanager avatar Mar 02 '14 15:03 generalmanager

@Kiwii and @lindworm You are right about group chats. I did not think about those since I don't use them myself.

I also see the point in having the badge on the button that is used to actually do the verification. Also, for longer names, the "badge-behind-the-name" might take too much space on smaller screens. So I'm more or less convinced about that as well, though from a semantic point of view, I would still prefer to see it attached to the user's name somehow.

eikowagenknecht avatar Mar 02 '14 17:03 eikowagenknecht

The way I see it, verifying a user has two purposes: to make sure that I am communicating with the right person (or at least the right phone) and to make sure that nobody else is listening (MITM).

For the first one it makes sense to have the icon along with the username/picture, whereas for the second it makes sense to have it on the lock, assuming the lock indicates some sort of (non)readability of messages by a third party. I don't know how group chat is implemented, but I suppose this second point is also valid for group chats; even if I might communicate with the right persons, I would have to verify all of them to establish that nobody outside of group is listening.

Therefore the first of virtualritz's pictures seems like the best choice, and it would also work in a group chat by having the badge on the picture for each verified user, but on the lock only if all are verified.

mreppen avatar Mar 03 '14 03:03 mreppen

I fully agree with @mreppen's points.

Kiwii avatar Mar 03 '14 03:03 Kiwii

@mreppen: Couldn't have said it better myselft (and certainly not with the same amount of words ;-)

generalmanager avatar Mar 03 '14 03:03 generalmanager

I just put some message designs up for discussion in #945 and matching send icons in #766

generalmanager avatar Mar 03 '14 07:03 generalmanager

@mreppen Verifying does not give you added security as far as a 3rdparty listening in goes. It is the same as before. If a 3rdparty has the keys and can listen in, you knowing that the 2ndparty is who they say they are doesn't alter this fact.

But I totally see the need to address group chats. We could overlay two badge icons at the top bar, one with the check mark, overlaid with an offset (50% to the left) with a badge with question mark. This question mark badge could even be a shade of red. Using this approach again avoids modifying the lock icon. We can go with the 2nd version I posted and keep visual clutter minimal.

virtualritz avatar Mar 03 '14 08:03 virtualritz

As may be obvious from my previous comment, I very much like the suggestion of @phenx-de about a question mark badge.

As for group chats, let's think about what a user wants. If they want to raise the trust level of the group chat, they need all recipients verified. So they're not interested in seeing, all the time, during the chat, who is verified and who isn't.

What they're interested in is getting a list of people whom they need to verify with, in this chat. Clicking on the question mark badge in the top bar should simply produce this list on a separate screen. This allows us to (a) keep visual clutter minimal, even in group chat, and (b) solve the actual use case which is who do I need to verify to rise trust level in this group chat and not show me all the time, during group chat, whom I haven't verified yet.

I will open a new ticket for this.

I btw. think that group chat trust level is a good example to remind us of the right (and only right) approach in UX design.

  1. Clearly understand what the problem is the user wants to solve.
  2. Think about an interface for this.

The 1st point is often not done properly and then leads to a great interface for a misjudged or even non existing use case that causes heaps of grief and/or confusion on the user's side.

As my HCI professor reminded us again and again, this is a classic mistake by people who do not have a theoretical background in HCI.

We should strive to avoid it by reminding each other to ask ourselves the 1st question all the time, again and again.

virtualritz avatar Mar 03 '14 09:03 virtualritz

@virtualritz, verification does give me added security by eliminating the possibility of a man-in-the-middle attack.

I have no experience with UX design so I'll leave that to other people, but I believe that understanding both purposes of verification is needed to properly answer question 1. To me personally the security part is the driving factor that causes me to verify.

mreppen avatar Mar 03 '14 12:03 mreppen

I made some mockups using five grey badges and the first example from @virtualritz. I modified the conversation view to resemble the redesigned data connection view from #945. And the icons are now circles instead of beercaps. Checkmarks in grey and green and questionmarks in grey, orange and red.

textsecure2-conversation_badges_cm_grey textsecure2-conversation_badges_cm_green

textsecure2-conversation_badges_qm_grey

textsecure2-conversation_badges_qm_orange

textsecure2-conversation_badges_qm_red

Personally I prefer the green checkmark to show that the conversation partner is verified and the grey questionmark to show that he isn't I feel that the green checkmark positively reassures the user that he did well by verifying the conversation partner.

We may consider the more agressive orange and red questionmarks to bother people until they verify the other.

generalmanager avatar Mar 03 '14 13:03 generalmanager

I personally prefer the grey versions, because the app looks too colourful to me with colours for the send symbol, the badge and the sent messages. I would even make them more transparent, because most users probably just won't care about verifying all their contacts and we shouldn't nag them too much. Everyone who wants to verify their contacts should have the option to do so and every user should see that there is an option for doing it, but it shouldn't affect the user experience.

L3st3r avatar Mar 03 '14 15:03 L3st3r