Hi, I was wondering if anyone here could help me with a conceptual question about secret contracts. Mainly, is it possible for an Enigma secret contract to keep data hidden that it can access autonomously without a user sending a message to retrieve it?
As a specific example, let’s say that I as a user send a message using a Dapp to the Enigma network. The secret contract encrypts and stores this message with a key that it holds, but no one else can access. Now I want the contract to be able to retrieve and decrypt this message on its own, using that key.
From the docs, it seems like this data would either be encrypted with my public key, or the derived key composed from the client’s private key and the enclave public key. I don’t know if Enigma would have access to the client’s private key in order to decrypt this data on its own.