OpenMined / KotlinSyft

The official Syft worker for secure on-device machine learning
https://www.openmined.org
Apache License 2.0
85 stars 28 forks source link

Change authentication logic to be per-job #260

Open vvmnnnkv opened 4 years ago

vvmnnnkv commented 4 years ago

What?

Currently we authenticate once with model/version supplied in newJob, get worker_id from PyGrid and use it for all jobs. Instead, we should authenticate for every newJob and store worker_id for given job only.

Why?

Each FL model has own auth settings, hence each job will have individual worker_id that works with corresponding model only.

Breakdown

Additional Context

See https://github.com/OpenMined/PyGrid/issues/628

vvmnnnkv commented 4 years ago

Let's also rename worker_id to job_id!