show end-to-end encryption state of chat

when you want to be sure end-to-end crypto is used, you have to manually check if you reply to a message with a lock symbol. else your message will get sent unencrypted.

there should be a notification, when end-to-end crypto is downgraded to disabled.

also a force encryption option may be useful: #246.
similar to #212.

(This proposal has been moved from the issue tracker)

10 Likes

I also think there should be a more visible way to at least warn the user the message will be sent unencrypted (ex. when peer unexpectedly disabled encryption), users may expose sensitive information unintentionally!!!

5 Likes

this is a great idea!!! and i agree on force encryption.

1 Like

What about this:
one red point if the next message will be sent unencrypted
two orange points if it is end-to-end encrypted
three yellow points if it is end-to-end encrypted and the chat partner scanned my (static) qr code
four green points if I scanned my chat partner’s qr code (or later if they scanned my dynamic qr code, this is not implemented currently; @testbird’s proposal :wink:)

Show it somewhere atop of the screen

Or would you prefer a simple green lock/red crossed-out lock?

3 Likes

Any indicator outside of the text entry field, and especially on the send button, has the drawback that it may only come to the users attention after writing the text, if at all.

Nevertheless, (such) a clear, explicit indicator is still necessary.

However, a subject indication in the editor- like explained here may also serve to draw attention to the fact that the plain email sending mode is going to be used.

1 Like

For consitency, when composing a to-get-encrypted email-chat message, the editor may show the current
🔒- encryption icon with the background and the dash “-”, which would also hint to the (automatic) subject line that gets used. An alternatively icon may be a
🔑- key icon.

This subject line feature might then be even the only encryption state indicator that is necessary.

2 Likes

My thoughts on this:

Indicator whether the next message will be encypted.

Needs to come from the core and get live updates, so we can be sure it never sends unencrypted when displaying otherwise.

I suggest a small ingicator that has an info button or can otherwise be exapnded to show the reason.

Encrypted (verified chats)

All messages in verified chats must be encrypted

Encrypted

Has key of [user] and will send encrypted. Got the key verified contact / directly / gossiped from []

Unencrypted (no reply yet)

DC doesn’t have the key of this person yet, your messages will be unencrypted until they reply.

Unencrypted (reply, but no key)

Looks like your chatpartner hasn’t setup encryption.
Ask them to do so and tell them about autocrypt and deltachat, if they use plain email.

Unencrypted (error)

Can’t send encrypted: Key invalid [reason]

3 Likes

We need the same idea on IOs version. We can open the ‘info’ of message and reaad the state but would be better to see a color or lock.

This Feature Proposal is about all platforms so no worries there.

Great idea! I can add my somewhat disappointing “very first time user” experience:

  • Installed delta chat
  • Added a friend, sent a message
  • Checked IMAP server what happens behind the scenes
    –> Found a clear text message in the deltachat IMAP folder.

Me as a developers knows why it was not encrypted. But a clear warning that “this user is not yet using Delta Chat, your message will NOT BE ENCRYPTED” would have added a lot of trust for me. In the end it is only about managing the expectations for the user.

Hope this helps to improve the UX. DeltaChat is an awesome idea! Keep going!

1 Like

for example, if the message will be sent unencrypted, the send button could be something like:
android_send_insecure

3 Likes

this makes me wonder, if I can see my chats in the DELTA CHAT folder on my email provider is that only for the unencrypted chats? Will they appear scrambled on my email server if they’re encrypted? I’m worried about using this with google services that are scanned.

@lps When we can encrypt it, your Mail Server cannot read the contents. The Mail Server can always see the transport metadata (From, To). We use a blinded Subject when we can encrypt so there is nothing to be seen.

an idea I had recently when thinking about it:
(its also about forcing a state, but for this feature we could just display it read-only).
Also sorry that this isn’t more concrete, its just an idea dump after all:

as indicator symbol in the bottom corner, on click open a full-screen popup with the following options:

Set encryption mode for chat

  • Oportunistic, focus on deliverability
  • Force Encyption (is disabled until first handshake took place)
  • Disable Encryption (warning)

Also this screen could be reused for the global settings (minus the force encryption, because that would be confusing as it always requires a key that might not be available)

2 Likes

+1 :+1: just that “automatic” is probably better than “opportunistic” because this is clearer to the user.

The indicator could be threema-like
:red_circle: no encryption
:yellow_circle::yellow_circle: encryption, unverified
:green_circle::green_circle::green_circle: verified

(or we just take a lock)

2 Likes

What might be a little tricky is, where do we put the symbol? The bottom already is pretty full on mobile phones. Threema puts the dot indicator to the subtitle where we show the email address. Signal just shows a very small lock on the send button.
Options I see (can be combined):

  • show three dots (threema-like) before or behind the subtitle. Hard to make them clickable because they are small but we can show them again in the chat details view, where we show explanation and the options @Simon proposed when they are clicked. Might also not look as nice.
  • do what Signal does, show a small lock on the send button when sending encrypted. Looks clean but can’t be made clickable at all because this already is the send button.
    Screenshot_20200913-204503
  • somehow show a lock over the send button (in the bottom right corner of the messages view) as soon as the user starts to type. Can be clicked, as @Simon proposed.
1 Like

have a look in my Changed Setup for email@xyz.xx. I also had the problem, that the encryption broke.

being able to force encryption in some chats while forcing plain in another is something I miss a lot every day

1 Like

Signal shows a menu allowing to choose “Insecure SMS” on long tap.

1 Like