status-go/protocol/common
Andrea Maria Piana 605fe40e32 Fix encryption metadata issues #4613
This commit fixes a few issues with communities encryption:

Key distribution was disconnected from the community description, this created a case where the key would arrive after the community description and that would result in the client thinking that it was kicked.
To overcome this, we added a message that signals the user that is kicked. Also, we distribute the key with the community description so that there's no more issues with timing.
This is a bit expensive for large communities, and it will require some further optimizations.

Key distribution is now also connected to the request to join response, so there are no timing issues.

Fixes an issue with key distribution (race condition) where the community would be modified before being compared, resulting in a comparison of two identical communities, which would result in no key being distributed. This commit only partially address the issue.
2024-02-07 10:25:41 +00:00
..
shard feat: implemented a mechanism to retrieve shard information for a given community ID (#4499) 2023-12-22 13:37:37 +01:00
chat_entity.go Skip wrapping emojis in private group chats 2021-01-26 09:39:47 +01:00
crypto.go Added device name set on Messenger.Start() 2022-11-25 11:33:58 +00:00
crypto_test.go Added device name set on Messenger.Start() 2022-11-25 11:33:58 +00:00
errors.go Use ErrRecordNotFound instead of sql.ErrNoRows 2020-10-08 13:23:00 +02:00
feature_flags.go Add basic peersyncing 2024-01-23 12:46:17 +00:00
media_server_image_id.go feature: Unfurl status links (#4033) 2023-10-13 13:25:34 +01:00
message.go feat(BridgeMessage): Add new type of chat message content: BridgeMessage 2024-01-30 12:14:54 +01:00
message_linkpreview.go feat: Profile showcase data sharing (#4209) 2023-11-09 22:59:01 +04:00
message_sender.go Fix encryption metadata issues #4613 2024-02-07 10:25:41 +00:00
message_sender_test.go Add basic peersyncing 2024-01-23 12:46:17 +00:00
message_test.go (fix/status-go) fix profile picture update/removal (#4570) 2024-01-24 12:09:28 -08:00
pin_message.go Always use protobufs by reference & generate handlers 2023-08-22 12:08:54 +01:00
raw_message.go Add basic peersyncing 2024-01-23 12:46:17 +00:00
raw_messages_persistence.go chore: cleanup message segments 2023-11-15 16:52:35 +01:00
timesource.go Handle organisation membership requests 2020-12-23 17:20:55 +01:00