status-go/services/shhext/chat
Andrea Maria Piana 1f6cccd0fc
Add enabling/disabling of installations (#1264)
This commit adds a list new table, installations, which is used to keep
track of which installation are active for a given identity key.

In general, we limit the number of installation that we keep
synchronized to 5, to avoid excessive usage of resources.

Any installation coming from our own identity, will have to be manually
enabled, otherwise we trust the other peer has correctly paired their
devices.

We use a timestamp to decide which installations to keep synchronized as
a logical clock would have make the creation of the bundle more
complicated, but this can always be converted to a logical clock at
later stages without breaking compatibility.
2018-11-06 09:05:32 +01:00
..
crypto Add extract group membership signatures (#1226) 2018-10-04 18:53:48 +02:00
migrations Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
chat.pb.go Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
chat.proto Add x3dh key exchange (#1127) 2018-09-24 20:07:34 +02:00
encryption.go Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
encryption.pb.go Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
encryption.proto Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
encryption_multi_device_test.go Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
encryption_test.go Change handling of skipped/deleted keys & add version (#1261) 2018-11-05 20:00:04 +01:00
persistence.go Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
protocol.go Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
protocol_test.go Change handling of skipped/deleted keys & add version (#1261) 2018-11-05 20:00:04 +01:00
rpc.go Add x3dh key exchange (#1127) 2018-09-24 20:07:34 +02:00
sql_lite_persistence.go Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
sql_lite_persistence_keys_storage_test.go Change handling of skipped/deleted keys & add version (#1261) 2018-11-05 20:00:04 +01:00
sql_lite_persistence_test.go Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
test.db Add x3dh key exchange (#1127) 2018-09-24 20:07:34 +02:00
whisper.go Add bundles.added signal & pairing endpoint (#1237) 2018-10-16 12:31:05 +02:00
whisper_test.go Add bundles.added signal & pairing endpoint (#1237) 2018-10-16 12:31:05 +02:00
x3dh.go Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
x3dh_test.go Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00