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 23
    • Issues 23
    • 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
  • #625

Closed
Open
Opened Mar 31, 2023 by zeng raoli@zengraoli

隐私计算,在上传upload_report时出现问题,提示not enough participants support this action

按照此链接文章:https://docs.chainmaker.org.cn/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

执行到1.2.4.6. 验证信息上链,使用到的命令为 ./cmc tee upload_report \ --sdk-conf-path=./testdata/sdk_config.yml \ --report=/home/ubuntu/chainmaker-tee/gateway/out_report.dat \ --admin-key-file-paths=./testdata/crypto-config/wx-org1.chainmaker.org/user/admin1/admin1.sign.key \ --admin-crt-file-paths=./testdata/crypto-config/wx-org1.chainmaker.org/user/admin1/admin1.sign.crt

出现错误如下: buntu@VM-0-3-ubuntu:~/chainmaker-go/tools/cmc$ ./cmc tee upload_report \ --sdk-conf-path=./testdata/sdk_config.yml \ --report=/home/ubuntu/chainmaker-tee/gateway/out_report.dat \ --admin-key-file-paths=./testdata/crypto-config/wx-org1.chainmaker.org/user/admin1/admin1.sign.key \ --admin-crt-file-paths=./testdata/crypto-config/wx-org1.chainmaker.org/user/admin1/admin1.sign.crt Error: tx verify failed, verify tx authentation failed, authentication error for PRIVATE_COMPUTE-SAVE_ENCLAVE_REPORT: authentication fail: not enough participants support this action: 3 valid endorsements required, 1 valid endorsements received, txId:1751600ed4541bd1caff5f78085deb7f8e5d31f326c74e7a8f6363afb5cb3bd6, sender:2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d49494365444343416836674177494241674944445045754d416f4743437147534d343942414d434d49474b4d517377435159445651514745774a44546a45510a4d4134474131554543424d48516d5670616d6c755a7a45514d4134474131554542784d48516d5670616d6c755a7a45664d4230474131554543684d57643367740a62334a6e4d53356a61474670626d3168613256794c6d39795a7a45534d4241474131554543784d4a636d39766443316a5a584a304d53497749415944565151440a45786c6a5953353365433176636d63784c6d4e6f59576c75625746725a58497562334a6e4d4234584454497a4d444d794f5441334e54597a4e316f58445449340a4d444d794e7a41334e54597a4e316f77675a4578437a414a42674e5642415954416b4e4f4d5241774467594456515149457764435a576c716157356e4d5241770a4467594456515148457764435a576c716157356e4d523877485159445651514b45785a3365433176636d63784c6d4e6f59576c75625746725a58497562334a6e0a4d513877445159445651514c45775a6a62476c6c626e51784c44417142674e5642414d5449324e73615756756444457563326c6e6269353365433176636d63780a4c6d4e6f59576c75625746725a58497562334a6e4d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a304441516344516741453855324954524f410a6530594c2b48636c64322f38435948637256762f474f2f79576d544747452f2b544248756d5a614870572f376f43454a66555138324c356f384d3947304858790a2f324237417055346359694f464b4e714d47677744675944565230504151482f42415144416762414d436b4741315564446751694243432b4a784574446174380a7838356171316d4c3539452f4e726f6548756c7070536b7377665a61754261312f7a417242674e5648534d454a444169674344544153774f786c6e65514f2b6e0a7a655a495231552f46574d316671486156636a35466e2b3371346d78417a414b42676771686b6a4f5051514441674e494144424641694541377a586268476c630a4a6130326430486b462f516639585468646d336b4677355a5a4e656d74397675565a674349436e68487a52636e493435496138343452646749633676477471310a6a767a6f4c37325a635073644f4244520a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a Usage: cmc tee upload_report [flags]

参考链接:https://www.jianshu.com/p/e0d6466b881c,其使用版本为v2.0.0,上传命令如下: root@iZ2zefgt7bxps4bisz90chZ:~/chainmaker-tee/gateway# cmc tee upload_report --sdk-conf-path=./sdk_config.yml --report=./out_report.dat command execute successfully.

并未需要使用到--admin-key-file-paths和--admin-crt-file-paths,想问问这个admin是谁的?

如果是跟sdk_config.yml中指定的sdk_config.yml一致,则应该为org1的admin,在使用cmc的执行合约时候是正确的

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#625

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