Isn't SGX not so secure ? [1]
Specifically this claim
"In a semi-synchronous attack, we extract 96% of an RSA private key from a single trace. We extract the full RSA private key in an automated attack from 11 traces within 5 minutes."
[1] https://www.schneier.com/blog/archives/2017/03/using_intels_...