A subset of the keys to perform computation and decryption

Hello.

We are using the Python wrapper and working with CKKS.

In the threshold example with 5 parties, openfhe-python/examples/pke/threshold-fhe-5p.py at main · openfheorg/openfhe-python, all 5 keys are used for decryption.

Is it possible to generate keys for all parties, and then use a subset of these parties to perform computation and decryption using only the keys of this subset? An example is federated averaging / federated learning.

Thanks in advance for any replies.

Svetlana

Currently, the only type of threshold decryption supported in OpenFHE (C++ library) is the experimental one described here. However, this is not exposed to the python wrapper, so you would need to do some scaffolding work for this.