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 Verifier: Verify Holder Binding #3475

Closed sandrask closed 1 year ago

sandrask commented 1 year ago

If Holder Binding is required, verify that the Holder Binding JWT is signed by the Holder and valid.

Closes #3471

Signed-off-by: Sandra Vrtikapa sandra.vrtikapa@securekey.com

codecov[bot] commented 1 year ago

Codecov Report

Merging #3475 (c5f9294) into main (45c55c6) will increase coverage by 0.01%. The diff coverage is 89.76%.

@@            Coverage Diff             @@
##             main    #3475      +/-   ##
==========================================
+ Coverage   87.67%   87.68%   +0.01%     
==========================================
  Files         350      350              
  Lines       47554    47670     +116     
==========================================
+ Hits        41692    41799     +107     
- Misses       4349     4355       +6     
- Partials     1513     1516       +3     
Impacted Files Coverage Δ
pkg/doc/sdjwt/holder/holder.go 100.00% <ø> (ø)
pkg/doc/sdjwt/issuer/issuer.go 94.85% <50.00%> (+1.71%) :arrow_up:
pkg/doc/sdjwt/verifier/verifier.go 92.20% <90.32%> (-2.58%) :arrow_down:
pkg/doc/jwt/jwt.go 98.23% <100.00%> (ø)

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