38 Star 93 Fork 107

openEuler/secGear

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
secGear

secGear

介绍

secGear是开源的机密计算项目,致力于提供简单、易用的机密计算软件栈及解决方案,降低机密计算的使用门槛,推动机密计算生态发展。

组件

目录 用途
sdk/src 统一SDK:屏蔽Intel SGX、鲲鹏Trustzone以及RISC-V蓬莱TEE等SDK差异,提供统一API,实现不同架构共源码,提供代码生成工具,使用户聚焦业务,提升开发效率。开发可参考HelloWorld开发流程
sdk/component 安全组件:提供通用安全组件货架,支持传统lib库集成方式快速集成,构建机密计算解决方案。
service 提供通用安全服务,如远程证明统一框架 ,支持快速集成、部署远程证明服务。

Quick start

Quick start with Intel SGX

环境要求

  • 处理器:需要支持 Intel SGX (Intel Software Guard Extensions)功能
  • 操作系统:openEuler 21.03、openEuler 20.03 LTS SP2或更高版本

Build and Run

// install build require
sudo yum install -y cmake ocaml-dune linux-sgx-driver sgxsdk libsgx-launch libsgx-urts intel-sgx-ssl-devel

// clone secGear repository
git clone https://gitee.com/openeuler/secGear.git

// build secGear core sdk
/* 
 * note: secGear component/secure_channnel requires service/attestation/attestation-agent, 
 *       which should be built first.
 */
cd secGear/sdk
source environment
mkdir debug && cd debug && cmake -DENCLAVE=GP .. && make && sudo make install

// build an example after installing secGear, e.g. helloworld
cd examples/helloworld
mkdir debug && cd debug
cmake -DENCLAVE=GP ..
make && sudo make install

// run helloworld
./examples/helloworld/host/secgear_helloworld

Quick start with ARM TrustZone

环境搭建

  • 参考鲲鹏官网
  • 操作系统:openEuler 21.03、openEuler 20.03 LTS SP2或更高版本

Build and Run

// install dependencies
sudo yum install -y cmake ocaml-dune itrustee_sdk-devel openssl-devel

// clone secGear repository
git clone https://gitee.com/openeuler/secGear.git

// build secGear core sdk
/* 
 * note: secGear component/secure_channnel requires service/attestation/attestation-agent, 
 *       which should be built first.
 */
cd secGear/sdk
source environment
mkdir debug && cd debug && cmake -DENCLAVE=GP .. && make && sudo make install

// build an example after installing secGear, e.g. helloworld
cd examples/helloworld
mkdir debug && cd debug
cmake -DENCLAVE=GP ..
make && sudo make install

// run helloworld
/vendor/bin/secgear_helloworld

使用sdk进行开发,请参考Guide

编译&部署远程证明服务框架及组件,请参考attestation/README

如何贡献

我们非常欢迎新贡献者加入到项目中来,也非常高兴能为新加入贡献者提供指导和帮助。在您贡献代码前,需要先签署CLA

如果您有任何疑问或讨论,请通过issue或发送邮件到dev@openeuler.org和我们进行联系。

  • 会议

    每个月单周周四下午14:30-15:30召开SIG组例会,您可通过订阅dev@openeuler.org方式收到例会会议通知。

License

Mulan Permissive Software License Version 2

空文件

简介

Confidential computing framework for developing enclave apps on top of hardware TEE 展开 收起
取消

发行版 (3)

全部
10个月前

openEuler_sig-confidential-computing 开源评估指数

productivity 生产力
niche_creation 创新力
robustness 稳健性
collaboration 协作
contributor 贡献者
software 软件

近期动态

10天前评论了 PR !353 docs: add confidential_container.md
10天前合并了 PR #353 docs: add confidential_container.md
10天前推送了新的提交到 master 分支,2cf5663...21f119c
10天前评论了 PR !353 docs: add confidential_container.md
10天前评论了 PR !353 docs: add confidential_container.md
加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler/secGear.git
git@gitee.com:openeuler/secGear.git
openeuler
secGear
secGear
master

搜索帮助