Not being able to send messages in a group if Autocrypt-Gossip
was lost
#6525
Labels
bug
Something is not working
Autocrypt-Gossip
was lost
#6525
Delta Chat distributes the keys using
Autocrypt
andAutocrypt-Gossip
headers.Autocrypt
header is sent in every message, so when you receive a messagefrom 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 addedor 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
The text was updated successfully, but these errors were encountered: