so i've started to read about this technology, and i have few questions i don't quite understand:
- i understand that anyone can create enclaves, and they should be trusted because they are signed by a specific author - but what denies a malicious attacker to just replace the enclave, and re-sign it? certificates usually work around that because they are signed with a trusted root
- let's say i want to use an enclave to store an encryption key, what denies a malicious app to just call the eclave and get my key? because if i use enclave to perform a trusted area that lets say encrypts, someone needs to decrypt it (which will be also the enclave no?)
thanks