Hi,
I'm writing builtin-gbdt-train python sample script. I got a problem about
rewrite the registering input and output files. I imitated the code like
register_function like making a RegisterInputFileRequest class and so on, but I
invalid request error. Here is my code:
def register_input_file(self):
url = "http://localhost:6789/fixtures/functions/gbdt_training/train.enc"
cmac = "881adca6b0524472da0a9d0bb02b9af9"
crypto_info = "0000000000000000"
request = RegisterInputFileRequest(self.metadata, urlparse(url),
FileAuthTag(cmac), TeaclaveFile128Key(crypto_info))
write_message(self.channel, request)
response = read_message(self.channel)
return reponse["content"]["data_id"]
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/314