PySyft icon indicating copy to clipboard operation
PySyft copied to clipboard

generate_triple in base.py

Open iamtrask opened this issue 7 years ago • 2 comments

Describe the bug Cryptography logic is inside of the generic worker class, which is not a proper decoupling of messaging infrastructure from cryptography protocols.

To Reproduce Visit... https://github.com/OpenMined/PySyft/blob/dev/syft/workers/base.py#L825

Expected behavior This method should instead live in a new file syft/frameworks/torch/crypto/beaver.py as a method called "request_triple" where you also pass in the worker you'd like to request the triple from.

iamtrask avatar Aug 08 '19 16:08 iamtrask

I would like to work on it.

Yugandhartripathi avatar Aug 09 '19 08:08 Yugandhartripathi

@iamtrask please review

Yugandhartripathi avatar Aug 17 '19 18:08 Yugandhartripathi