Giter Site home page Giter Site logo

sgxfail's Introduction

SGX从入门到放弃

本项目仅代表个人立场,与任何其他个人/组织无关

搞SGX也有快两年了,我觉得取这个名字还是挺恰当——从入门到放弃,虽然到现在我还在坚持。

SGX难学的一个主要理由是知识体系太碎了,没有什么统一的文档把东西都串起来,甚至有些知识点Intel自己都在含糊其辞。从我个人的经验看来,不吃透 SGX SDK 代码是很难写出一个“正确”的SGX程序的,我个人也没看到什么写的“正确”的SGX应用。

目前打算开个blog坑,每周写大概一个小时。尽量把我在捣鼓SGX里的经验和走的弯路都写一写。如果弃坑了也不要奇怪,抬头看看标题。┓( ´∀` )┏

本文的第一个读者(和第一个coauthor)应该是 @zhengmin1989 如果他能看得懂的话应该还可以的吧……

License是取的比较严的 CC-BY-NC-ND 。毕竟是很随意的东西,大家看看就好。

欢迎提issue,PR。个人对SGX的理解可能是有错误的,欢迎指出。

最后打个广告,这一年多做的 rust-sgx-sdk 自认为还是挺靠谱的。是唯一一个在 Intel SGX SDK 首页上被推荐的第三方SDK,已经有几个基于可信计算的区块链创业项目应用了这个SDK,比如 Berkeley Oasis Labs 的 Ekiden,MIT 的 Engima 等等。

更新:Chainlink 已经应用了 rust-sgx-sdk 并使用了我们移植的 WebAssembly 解释器! Cargo.toml

Index

00 SGX能做什么

01 运行第一个SGX程序

02 CVE-2017-5753 upgrade 参考译文

03 Edger8r upgrade 参考译文

04 移植

05 比 Fortanix 强在哪里

06 Intel(R) Software Guard Extensions Developer Guide 部分参考译文

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

sgxfail's People

Contributors

dingelish avatar eighteenzi avatar bradyjoestar avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.