qascade / dcr

A PoC framework to orchestrate interoperable Differentially Private Data Clean Room Services using Intel SGX hardware as root of trust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat(service): automate csv assignment inside enclave.json

qascade opened this issue · comments

Description

CSVs can't be moved inside enclaves unless explicitly mentioned inside the enclave.json. Check files field in service/temp_enclave.json. I want that to be automated and to be picked from Yaml, not through temporary CSV's.
The enclave.json is to created/modified before ego-sign using sources specified in yaml.

How are you planning to resolve this issue?

One of the following strategies may be used. You are free to create you own strategy as well.

  1. Use basic json Writers to manipulate the file.
  2. Use some templates and use pongo2 templating engine.

I would like to work on this issue, please assign this issue to me under GSSoC'23.

Hey, @harshsingh32 assigning this issue to you. Please rename the new branch to feat.enclave_automation. Please go through all the spec docs and guidelines of this project and stick to the conventions of this project properly.

Hey @harshsingh32, any updates?

hello @qascade, I wd like to work on it.

@prakrit55 Assigning this to you.

hey @qascade, do I need to create yaml files to automate the task ?

No, currently we are embedding temp_enclave.json and copying it on the go app just before compilation. Currently we are using CSV files to take input tables, but the file paths has to be mentioned before hand inside the enclave.json in files field. Otherwise service run fails. I want you to automate the csv filling inside the json to be automatic. You need to pick the csv filenames from source.yaml of Collaborators itself.

ohh, then where can I find the yamls ?

In samples folder