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

Not being able to send messages in a group if Autocrypt-Gossip was lost #6525

Open
link2xt opened this issue Feb 7, 2025 · 0 comments
Open
Labels
bug Something is not working

Comments

@link2xt
Copy link
Collaborator

link2xt commented Feb 7, 2025

Delta Chat distributes the keys using Autocrypt and Autocrypt-Gossip headers.

Autocrypt header is sent in every message, so when you receive a message
from someone, you always have their key, and it is nearly impossible
to have no key for someone in 1:1 chat unless it's a chat with webmail or Thunderbird.

Autocrypt-Gossip headers are however only sent when new member is added
or after 2 days (gossip_period config). This means if a new member is added,
but someone has not received a "member added" message,
they don't have the key for the new member.
For added member it's even worse, such new member
possibly does not have the key for many group members.

If the group is not protected,
an user missing the key can still send unencrypted message.

But if the group is protected,
users get an error
"proper enc-key for ... missing, cannot encrypt"
and the message is not sent at all.
User cannot even leave the group.

Possible solution is to send the message
to every contact that has a verified key
and for others either don't include them in recipient list
or send the message that they will not be able to decrypt.
The error should be still displayed on the sender side.

Related issue: #4828

@link2xt link2xt added the bug Something is not working label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

No branches or pull requests

1 participant