IBM / fhe-toolkit-linux

IBM Fully Homomorphic Encryption Toolkit For Linux. This toolkit is a Linux based Docker container that demonstrates computing on encrypted data without decrypting it! The toolkit ships with two demos including a fully encrypted Machine Learning inference with a Neural Network and a Privacy-Preserving key-value search.
MIT License
1.44k stars 158 forks source link

API issue with saving secret Key #135

Open dowem opened 3 years ago

dowem commented 3 years ago

There is an issue where the following code does not behave as expected. Both saved output files are identical and we would expect one to be much smaller:

bool withSecretKey = true; hePtr->saveToFile(clientContext, withSecretKey); // save client context hePtr->saveSecretKeyToFile(clientSecretKey); // Change add to save the secret key

@aehud indicated in issue https://github.com/IBM/fhe-toolkit-linux/issues/126 he would try to put something out for that soon. Thanks to @yangjudy for reporting it in that other bug.