Projects tigase _server tigase-pubsub Issues #139
Add OMEMO identities restrictions enforcer (#139)
Andrzej Wójcik (Tigase) opened 6 months ago

During normal operation OMEMO device identity key shouldn't be changed for the same device id. If would be good to be able to enforce that on the server side, to make sure that identity of a device will remain unchanged.

Additionally, it would be good to restrict no. of OMEMO identities/devices that can be used by a user at a single item.

Andrzej Wójcik (Tigase) added "Related" Customers/Bridge#3 6 months ago
Andrzej Wójcik (Tigase) changed state to 'In Progress' 6 months ago
Previous Value Current Value
Open
In Progress
Referenced from commit 6 months ago
Andrzej Wójcik (Tigase) commented 6 months ago

I've added following options:

  • omemo-identities-limit - setting it to 2 will enforce that only 2 nodes with OMEMO bundles can be created
  • omemo-unique-device-identity - setting it to true will enforce that identity key for OMEMO device id cannot be changed

Example configuration:

pubsub () {
    'item-validator' () {
        'omemo-identities-limit' = 2
        'omemo-unique-device-identity' = true
    }
}
Andrzej Wójcik (Tigase) changed state to 'In QA' 6 months ago
Previous Value Current Value
In Progress
In QA
issue 1 of 1
Type
Task
Priority
Normal
Assignee
Version
tigase-server-8.5.0
Sprints
n/a
Customer
n/a
Iterations
Issue Votes (0)
Watchers (3)
Reference
tigase/_server/tigase-pubsub#139
Please wait...
Page is in error, reload to recover