Redesign database for secagg to add LOM secagg context #1113
Labels
done
issue is completed, it meets the DoD and was merged to the next release integration branch
sprint backlog
the development team adds an entry to the sprint backlog
Milestone
Secure aggregation contexts are save in the database respecting certain formats respecting the type of context:
In Tinydb there are different tables for Servkey and Biprime.
This issue focuses on how database should be redesign after adding LOM context. LOM context is different that other context since it consist of key-pairs between a node and other nodes. For example,
This is an example secagg context that is going to be saved in
node-1
database in a FL experiment. There arenode-2
andnode-3
in the experiment:<key-pair-node-1-node-2>, key-pair-node-1-node-3
During the encryption phase,
-
and+
signs are assigned to these individual keys to sum or subtract from an integer depending on the id of the node that is paired. Therefore, it is important to know the identity of the node that the key is paired. Respecting this information please provide:context
property of db entry should be design: Dict, List, Set etc.(*) if
a.1
decides to merge the existing secagg tables, then an additional issue needs to be created for updatingSecaggServkeyManager
andSecaggBiprimeManager
:type
(servkey, biprime, lom) to be able to easily associate a secagg entry to its typeSecaggServkeyManager
andSecaggBiprimeManager
(eg for "remove" aSecaggServkeyManager.remove()
should never be able to remove a biprime key, even if we provide the correct secagg_id)The text was updated successfully, but these errors were encountered: