hyperledger-archives / aries-framework-go

Hyperledger Aries Framework Go provides packages for building Agent / DIDComm services.
https://wiki.hyperledger.org/display/ARIES/aries-framework-go
Apache License 2.0
240 stars 161 forks source link

feat: SD-JWT: Add NewFromVC to Issuer #3492

Closed sandrask closed 1 year ago

sandrask commented 1 year ago

Pass VC into NewFromVC and the issuer will create selective disclosures for everything in vc->credential subject and add the fields from options.

Closes #3491

codecov[bot] commented 1 year ago

Codecov Report

Merging #3492 (6563762) into main (5778522) will decrease coverage by 0.01%. The diff coverage is 87.23%.

@@            Coverage Diff             @@
##             main    #3492      +/-   ##
==========================================
- Coverage   87.66%   87.65%   -0.01%     
==========================================
  Files         350      350              
  Lines       47804    47837      +33     
==========================================
+ Hits        41906    41933      +27     
- Misses       4373     4377       +4     
- Partials     1525     1527       +2     
Impacted Files Coverage Δ
pkg/doc/sdjwt/issuer/issuer.go 90.86% <82.85%> (-1.75%) :arrow_down:
pkg/doc/sdjwt/common/common.go 92.68% <100.00%> (+0.15%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.