How a client machine could put secrets into the sgx enabled server protecting from man in the middle considering server os as malicious and also I read somewhere on internet that you should not create secrets into enclave rather you should put secrets directly into enclave from your client considering client is not malicious.
When I say MIM I mean OS as man in the middle.
I know use of TLS connection.
I read about remote attestation, does the client needs to be an sgx enabled machine too and how could I directly put secrets into enclave if client is a non sgx machine while protecting from mim attack?