When I first ventured into the realm of SGX, the trusted execution environment that ships with almost all Intel server chips, my understanding was muddled with misconceptions. I held inaccurate mental models of its functioning, and, more significantly, I anticipated a different programming approach. All this made the learning process more difficult than necessary.