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

Front-and-center e2ee makes the app feel too technical #1565

Open
the-moog opened this issue Aug 26, 2020 · 14 comments
Open

Front-and-center e2ee makes the app feel too technical #1565

the-moog opened this issue Aug 26, 2020 · 14 comments
Labels
A-E2EE O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Minor Impairs non-critical functionality or suitable workarounds exist T-Enhancement Z-FTUE

Comments

@the-moog
Copy link

Is your suggestion related to a problem? Please describe.
I'm fully behind the EEE as a default but the current implementation is not great for a new user,

They login and get 'spammed' with questions to which they don't know the answer.
Backup your keys and authenticate your device.

Describe the solution you'd like
Make the experience less 'techy' better for the average non savvy user.

Describe alternatives you've considered
Use Google/Apple APIs for automatically storing keys, sure keep the features as it but make it less scary.

Additional context
For desktops this is still an issue as there are no standard cloud database APIs.
Perhaps disable EEE for desktop unless the user knows what they are doing.

@notramo
Copy link

notramo commented Aug 29, 2020

Use Google/Apple APIs for automatically storing keys, sure keep the features as it but make it less scary.

Why use Google/Apple API? Why don't simply upload the keys to the Matrix server unencrypted?

@Keridos
Copy link

Keridos commented Sep 1, 2020

Use Google/Apple APIs for automatically storing keys, sure keep the features as it but make it less scary.

Why use Google/Apple API? Why don't simply upload the keys to the Matrix server unencrypted?

Because that completely defeats E2E Encryption

@the-moog
Copy link
Author

the-moog commented Sep 2, 2020

So how can it be made less confusing and scary for new users?

They get asked to store keys or store a long string of characters.
Most users won't know what to do with that and probably won't keep the keys in a retrievable location.

The also get spammed to "Review where you are logged in". This latter is usually confusing as logging in on the same computer with a different browser or session prompts this message. Again this confuses new users and makes them think that somebody else is logged in on their account.

Even my account has 27 unverified sessions. I mostly use just three PCs and mostly Firefox but still there are "Untrusted" sessions. Of course there is no way to confirm them as they have been closed for months or years. I'll raise another bug for that but I assume that's a Synapse issue not an Element one.

@turt2live turt2live changed the title First impression for new user - too techy Front-and-center e2ee makes the app feel too technical Sep 2, 2020
@notramo
Copy link

notramo commented Sep 3, 2020

Use Google/Apple APIs for automatically storing keys, sure keep the features as it but make it less scary.

Why use Google/Apple API? Why don't simply upload the keys to the Matrix server unencrypted?

Because that completely defeats E2E Encryption

So Google/Apple/AnyOtherCommercialCloud doesn't defeat it? It does. So maybe store the keys encrypted on these clouds. You are back to asking the user a password for encrypting the keys.

@notramo
Copy link

notramo commented Sep 3, 2020

They login and get 'spammed' with questions to which they don't know the answer.
Backup your keys and authenticate your device.

They know the answer for the key backup question. Every instruction is displayed in the app, so if someone reads the text displayed, they know the answer. If it is not enough, display "?" or lightbulb buttons for opening help with longer description.
My suggestion is make it less distractive, e.g. easier to skip it.

@jryans
Copy link

jryans commented Sep 3, 2020

Even my account has 27 unverified sessions. I mostly use just three PCs and mostly Firefox but still there are "Untrusted" sessions. Of course there is no way to confirm them as they have been closed for months or years.

A bit off topic, but if you have sessions you are not using / can't access, you should remove them from your account in settings. When people send you encrypted messages, they encrypt them to each of your sessions individually, so it means each message sender is doing wasted work for sessions you can't actually access. By removing unused sessions, your entire account can be verified (assuming you verify the active sessions), and also it avoids encryption work to unused sessions. These multiple goals combined are the reasoning for toasts to review unused sessions.

@the-moog
Copy link
Author

the-moog commented Sep 3, 2020

I don't know about your users, but mine certainly don't "... know the answer for the key backup question." They are non technical and would still rather use WhatsApp. People are turned off by stuff they don't understand. Matrix/Element need to appeal to all users not just geeks (confession I AM a geek).

@the-moog
Copy link
Author

the-moog commented Sep 3, 2020

On the OT of unused sessions, if there is a performance hit for them to remain, perhaps the server should vacuum ones that have not been used for some period of time then.

@t3chguy
Copy link
Member

t3chguy commented Sep 3, 2020

On the OT of unused sessions, if there is a performance hit for them to remain, perhaps the server should vacuum ones that have not been used for some period of time then.

So if you have a laptop you seldom use you think that session should get irreversibly nuked?

@the-moog
Copy link
Author

the-moog commented Sep 3, 2020

If your keys are saved surely you can log in again even if there is no active session. That would be the same as starting a new session on a previously unused device. Or can I never change my phone again?

@t3chguy
Copy link
Member

t3chguy commented Sep 3, 2020

The keys for existing encrypted messages would still be there, but since you removed it from the list of devices to encrypt for it may not be able to access messages since it was forcibly removed. Not everyone wishes to use Key Backup

@notramo
Copy link

notramo commented Sep 20, 2020

I don't know about your users, but mine certainly don't "... know the answer for the key backup question." They are non technical and would still rather use WhatsApp. People are turned off by stuff they don't understand. Matrix/Element need to appeal to all users not just geeks (confession I AM a geek).

There are no answers to the key backup "question". It is an instruction to save the displayed characters to a paper, or a secure storage on your PC. But if they are so dumb, then they could simply download the key to their PC despite it is unencrypted.

@mlaily
Copy link

mlaily commented Nov 8, 2020

There are no answers to the key backup "question". It is an instruction to save the displayed characters to a paper, or a secure storage on your PC. But if they are so dumb, then they could simply download the key to their PC despite it is unencrypted.

@notramo I don't know if you realize, but you come as very aggressive, especially against someone doing a first impressions feedback... If you are not ready to try to understand an outsider's point of view and don't want matrix to be used more broadly, you could say so explicitly...

I agree with @the-moog. As I said multiple times in the past, E2EE is IMO not a feature users want if they have to trade convenience for it, and I rather agree with them. IMO, simply having my own homeserver is already a big improvement compared to other IM apps, and I don't feel like E2EE makes a big difference in my case...

Anyway, since Matrix and Element devs are apparently not seriously involved in making E2EE an opt-in, at least let's try to make it less of a hassle!

Until a user actually use E2EE, they should not be prompted with complicated and useless messages like device verification and key backup.
There is already element-hq/element-web#11684 for the key backup prompt appearing when not using E2EE, but I did not find an open issue for the verification prompt when logging-in (except maybe element-hq/element-web#15672)

@ara4n ara4n added the P1 label Nov 8, 2020
@notramo
Copy link

notramo commented Nov 11, 2020

@mlaily I also want Matrix to be more widespread, and I'm actually doing a "research" by curiousity to understand te UX for newcomers.
But I sometimes get tired of stupid people who want to get answers for questions that aren't actually exist. I think adding more info to the interface would answer some of these questions, like element-hq/element-web#15565 (It's very little work, but it would greatly improve the UX for the newcomer, and me too, because I wouldn't get so much questions from newcomers about what to do. Sadly, the devs doesn't care.)

Possible solution:
Don't enforce setting up SSSS (secure secret storage and sharing). It also greatly degrades the security of Megolm-encrypted conversations.
If the user is logged on from multiple devices, automatically back up the keys to these devices by gossiping after they have been QR scanned.

@t3chguy t3chguy added S-Minor Impairs non-critical functionality or suitable workarounds exist O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience and removed P1 labels Jul 14, 2022
@t3chguy t3chguy transferred this issue from element-hq/element-web May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Minor Impairs non-critical functionality or suitable workarounds exist T-Enhancement Z-FTUE
Projects
None yet
Development

No branches or pull requests

8 participants