FedML icon indicating copy to clipboard operation
FedML copied to clipboard

Add: Homomorphic Encryption FL using TenSEAL

Open wzjin2017 opened this issue 1 year ago • 4 comments

Extra env needed: pip install tenseal

Test Example is at:

/FedML/python/examples/cross_silo/mqtt_s3_fedavg_fhe_mnist_lr_example

wzjin2017 avatar Mar 22 '23 23:03 wzjin2017

⚠️ GitGuardian has uncovered 8 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id Secret Commit Filename
4621627 Generic High Entropy Secret d0766b79fadcaf54ea3e792c58d3dc3f08f7e8d2 python/examples/cross_silo/mqtt_s3_fedavg_mnist_lr_example/custom_data_and_model/config/fedml_config.yaml View secret
4621627 Generic High Entropy Secret a9d65e7acc48a45793a4dc75d5b15fca8a209062 python/examples/cross_silo/mqtt_s3_fedavg_mnist_lr_example/custom_data_and_model/config/fedml_config.yaml View secret
4672198 Generic High Entropy Secret 6b70b8999616cc7c625a7353a14e4a43ebfb401e python/examples/cross_silo/mqtt_web3storage_fedavg_mnist_lr_example/custom_data_and_model/config/fedml_config.yaml View secret
4672198 Generic High Entropy Secret 6b70b8999616cc7c625a7353a14e4a43ebfb401e python/examples/cross_silo/mqtt_web3storage_fedavg_mnist_lr_example/one_line/config/fedml_config.yaml View secret
4672198 Generic High Entropy Secret 6b70b8999616cc7c625a7353a14e4a43ebfb401e python/examples/cross_silo/mqtt_web3storage_fedavg_mnist_lr_example/step_by_step/config/fedml_config.yaml View secret
4672198 Generic High Entropy Secret 3a7af99014e3fc4f3dbc4f048155b55fd8c4d4d7 python/examples/cross_silo/mqtt_web3storage_fedavg_mnist_lr_example/custom_data_and_model/config/fedml_config.yaml View secret
4672198 Generic High Entropy Secret 3a7af99014e3fc4f3dbc4f048155b55fd8c4d4d7 python/examples/cross_silo/mqtt_web3storage_fedavg_mnist_lr_example/one_line/config/fedml_config.yaml View secret
4672198 Generic High Entropy Secret 3a7af99014e3fc4f3dbc4f048155b55fd8c4d4d7 python/examples/cross_silo/mqtt_web3storage_fedavg_mnist_lr_example/step_by_step/config/fedml_config.yaml View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

gitguardian[bot] avatar Apr 24 '23 19:04 gitguardian[bot]

Extra env needed: pip install tenseal

Test Example is at:

/FedML/python/examples/cross_silo/mqtt_s3_fedavg_fhe_mnist_lr_example

The file does not exist

mstc-xqp avatar Jun 20 '23 13:06 mstc-xqp

Extra env needed: pip install tenseal Test Example is at:

/FedML/python/examples/cross_silo/mqtt_s3_fedavg_fhe_mnist_lr_example

The file does not exist

Are you on the right branch? Here is the link.

wzjin2017 avatar Jun 20 '23 14:06 wzjin2017

@wzjin2017 Can you please rerun this PR over dev branch? This needs to be merged.

fedml-dimitris avatar Oct 21 '23 21:10 fedml-dimitris