Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent E2EE iconography #26327

Open
HarHarLinks opened this issue Oct 6, 2023 · 8 comments
Open

Inconsistent E2EE iconography #26327

HarHarLinks opened this issue Oct 6, 2023 · 8 comments
Labels
A-Appearance A-E2EE O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@HarHarLinks
Copy link
Contributor

Steps to reproduce

  1. enable labs new room headers on develop.element.io
  2. e.g. view a DM with someone you've xsigned but who has a new yet unverified device

Outcome

What did you expect?

image

What happened instead?

image

An issue is that

  • verification use the shield iconography
  • this circled ! icon is already used for something else:
    image
    to show that a message couldn't be sent

Operating system

arch

Browser information

Firefox 117

URL for webapp

develop.element.io

Application version

Element version: 22f2b1f-react-54fa9a572e1c-js-02ca5c78cf4e Olm version: 3.2.14

Homeserver

matrix.org

Will you send logs?

Yes

@weeman1337 weeman1337 added S-Minor Impairs non-critical functionality or suitable workarounds exist O-Occasional Affects or can be seen by some users regularly or most users rarely S-Tolerable Low/no impact on users X-Needs-Info This issue is blocked awaiting information from the reporter X-Needs-Design and removed S-Minor Impairs non-critical functionality or suitable workarounds exist S-Tolerable Low/no impact on users O-Occasional Affects or can be seen by some users regularly or most users rarely labels Oct 9, 2023
@weeman1337
Copy link
Contributor

weeman1337 commented Oct 9, 2023

Not sure if this is a bug or a feature 😉

I would expect a shield there but designs also say circle/exclamation

image

Pinged design to have a look at it.

@americanrefugee
Copy link

@weeman1337 The "!" inside a circle is indeed the correct icon. Some context...

  • We are trying to get rid of / replace the shield icons everywhere because they combine two separate concepts (encryption + verification) and are therefore confusing or misleading
  • For verified status, we should use the new Verified icon
  • For any critical errors that the user can or must take action on, always use the Error icon
    • In this case, the other user was previously verified. So, we display an Error icon to inform the user that the other user is no longer verified and must be verified again since the encryption keys changed
    • An Error icon may also be used in other contexts

@nadonomy and @janogarcia Do you have any objections?

@weeman1337
Copy link
Contributor

Thanks @americanrefugee . Closing the issue because it is not a bug.

@weeman1337 weeman1337 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2023
@germain-gg germain-gg reopened this Oct 9, 2023
@germain-gg
Copy link
Contributor

@weeman1337 Sorry, reopening as this raises a different question.
We're changing some of the iconography related to E2E and this is probably a good issue to track this and ensure we do not have inconsistencies in the rolling out plan of this change.

We'll discuss this internally on Thursday

@germain-gg germain-gg added Z-Labs A-E2EE A-Appearance S-Minor Impairs non-critical functionality or suitable workarounds exist O-Occasional Affects or can be seen by some users regularly or most users rarely and removed X-Needs-Info This issue is blocked awaiting information from the reporter X-Needs-Design labels Oct 9, 2023
@github-actions github-actions bot removed the Z-Labs label Oct 9, 2023
@HarHarLinks
Copy link
Contributor Author

That explains things, thank you.

You've probably considered this, but

critical errors that the user can or must take action on

what action is the user supposed to take? Inform the other user that they've an unverified device?

I'm surprised it's using the generic icon and not a red version of the new verified icon, which makes it hard to distinguish between some error vs the trust state at a glance.

@americanrefugee
Copy link

@HarHarLinks

On the action that the user should take:

  • They must verify the other user again (since we can no longer guarantee the other user's authenticity)

On using a generic icon vs. a red version of the verified icon:

  • We can't rely on color alone to communicate something for accessibility reasons
  • That's why it's important to use a distinct icon that signifies "something is wrong" in addition to the color

To clarify... You had difficulty distinguishing between a green checkmark in a multi-pointed star (verified) vs. an "!" inside a red circle (error)? Or rather you weren't expecting the change of icon altogether?

@HarHarLinks
Copy link
Contributor Author

HarHarLinks commented Oct 9, 2023

They must verify the other user again (since we can no longer guarantee the other user's authenticity)

Wait, what? That's not how this works!

I mean, I guess one could do that, but really the other user should cross-sign their new device/session! ....if that client supports cross-signing.... which leads me to the fact that this will just keep being red shields generic error icons for those of us who try different clients now and then.

To clarify...

With only a single generic error icon, I know have difficulty distinguishing between an "actual" error where something in this room is not working vs it "just" being that the other person has been trying out some client that can't cross-sign yet. (Partially, I've been trained by the last 6 years of using Element/Riot what the shield icon means, so I'm not sure how heavy to weigh this argument.)

@americanrefugee
Copy link

Some context @HarHarLinks ...

  • The red critical error in this case would be very rare, and is the one special case @pmaier1 and I identified ages back. You're correct about how the other user should cross-sign their new devices. In the future I believe we even want to make this mandatory before being able to read/send messages. However, if the other user you previously verified signs out everywhere and looses access to / didn't save their recovery key, then they would have to reset their encryption keys. And since you cared enough to verified them in the first place, you would likely want to know about that as this could be an intruder.

  • We will use a gray Info icon in pretty much all other cases to identify things like "unable to decrypt". So, you shouldn't see red Error icons everywhere :)

Does that make sense / help?

@HarHarLinks HarHarLinks changed the title New room header uses red exclamation mark instead of shield Inconsistent E2EE iconography Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Appearance A-E2EE O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

No branches or pull requests

4 participants