Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #1352

Closed
Open
Opened Apr 12, 2025 by luo fuyun@lfm

长安链隐私计算

1、长安链的隐私计算平台现在支持长安链v2.3以上的版本吗,还是只能支持v2.2.1_private_contract这个分支 长安链隐私计算平台是go,solidity,rust合约都支持吗 2、按下面这个教程部署隐私计算 https://docs.chainmaker.org.cn/v2.3.6/html/cryptography/%E9%9A%90%E7%A7%81%E8%AE%A1%E7%AE%97%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97.html 模拟模式gramine-direct ./enclave-server -module=1能正常运行,enclave-server是在https://git.chainmaker.org.cn/chainmaker/graphene项目下生成的,然后运行gateway报错 2025/04/14 09:17:21 starting sgx server InitializeEnclave failed

{"level":"info","ts":"2025-04-14 09:17:21.477589","caller":"bridge/bridge.go:90","msg":"8193"}

报错地方代码 ret = C.sgx_create_enclave((*C.char)(C.CString(EnclaveFileName)), (C.int)(1), (*C.sgx_launch_token_t)(&lanchToken), (*C.int)(&update), (*C.sgx_enclave_id_t)(&GlobalEid), (*C.sgx_misc_attribute_t)(C.NULL)) if ret != C.SGX_SUCCESS { loggers.Info(ret) return -1 }

其中EnclaveFileName的值是../Enclave/enclave.signed.so,graphene项目下没有这个文件,改成graphene下的enclave-server也没用,为啥是用../Enclave下的enclave.signed.so

Edited Apr 14, 2025 by luo fuyun
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#1352

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。