WeIdentity icon indicating copy to clipboard operation
WeIdentity copied to clipboard

基于区块链的符合W3C DID和Verifiable Credential规范的分布式身份解决方案

Results 22 WeIdentity issues
Sort by recently updated
recently updated
newest added

在getWeIdDocument函数中,底层有一行代码(com/webank/weid/service/impl/engine/fiscov2/WeIdServiceEngineV2.java,272行),这一行会随着块高不断增长时延不断提高,目前我的块高是20000多,这一行需要执行6秒。而且它会随着块高增加越来越慢。getWeIdDocument()在验证CredentiialPojo、Evidence都有引用,也使得这两个接口执行时间变得十分缓慢。 ![WechatIMG258](https://user-images.githubusercontent.com/88823403/164954217-e3eb03dc-982d-4996-9518-93537be7b151.jpeg)

- 开发分支存放于 `feature/support-javasdk` - 版本分支存放于`release/1.8.5` - 连接FISCO BCOS的sdk从`web3sdk`切换到`fisco-bcos-java-sdk`,根据链上加密类型自动切换为ECDSA或国密算法; - 支持FISCO BCOS v3.0正式版,当前适配的为3.0.0-rc3的sdk 将同步更新WeIdentity-Build-Tools 1.3.0,欢迎使用并向我们反馈建议或意见

new version

官方提供的postmandemo里面,针对这个数据授权接口的请求参数是如何构建的:http://{{host}}:{{httpport}}/weid/api/authorize/fetch-data

执行 TestCrypt 类中的 testEcies_withPadding() 方法进行ecies 加解密 报错如下 Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: File /WeDPR_dynamic_lib/ffi_ecies.dll was not found inside JAR. at com.webank.wedpr.ecies.NativeInterface.(NativeInterface.java:33)

## Summary 1. 升级web3sdk到java-sdk

Proof里面有nonce和domain,这些字段应该和credential的metadata,claim的hash一起算一个整的hash,再对整的hash签名。我看到现在的实现好像不包含proof里面的其他属性? Signature.signatureValue应该是对credential除去Signature.signatureValue这一个字段外的其他所有字段做签名,而不是出去Signature字段外的所有字段做签名。

feat(Task23): 在Utils类中添加方法支持导出Pem/P12格式私钥 参照 fisco-bcos-java-sdk-2.9.0 代码实现

有3.1.1_rc.1的jar包 没有相应的源代码

使用注册权威凭证发行者时,出现了weid无效的提示(weidentity版本为3.0.0-rc.2) ![image](https://github.com/WeBankBlockchain/WeIdentity/assets/65380493/61e8b81c-efe4-4c0e-b29c-62dddd3142a1)

com.webank.weid.blockchain.protocol.response.ResponseData resp = evidenceBlockchainService.createEvidence( hashValue, signature, extra, timestamp, privateKey ); if (resp.getErrorCode() == ErrorCode.SUCCESS.getCode()) { return new ResponseData(resp.getResult(), ErrorCode.SUCCESS); } else { return new ResponseData(StringUtils.EMPTY, resp.getErrorCode(), resp.getErrorMessage()); } 该处的 return...