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: SDJWT V5 (#33) #3617

Closed mishasizov-SK closed 1 year ago

mishasizov-SK commented 1 year ago

Title: SD JWT V5 Support

Description: https://www.ietf.org/archive/id/draft-ietf-oauth-selective-disclosure-jwt-02.html https://www.ietf.org/archive/id/draft-ietf-oauth-selective-disclosure-jwt-05.html

Summary:

  1. Changes in issuance, holder and verifier logic.
codecov[bot] commented 1 year ago

Codecov Report

Merging #3617 (ef0deab) into main (50313f0) will increase coverage by 0.04%. The diff coverage is 91.34%.

@@            Coverage Diff             @@
##             main    #3617      +/-   ##
==========================================
+ Coverage   86.90%   86.94%   +0.04%     
==========================================
  Files         362      367       +5     
  Lines       49360    50011     +651     
==========================================
+ Hits        42895    43481     +586     
- Misses       4899     4945      +46     
- Partials     1566     1585      +19     
Files Changed Coverage Δ
component/models/sdjwt/verifier/keybidning.go 76.92% <76.92%> (ø)
component/models/sdjwt/verifier/holderbidning.go 77.77% <77.77%> (ø)
component/models/verifiable/jws.go 80.43% <80.00%> (ø)
pkg/doc/verifiable/verifiable.go 10.20% <80.00%> (+7.93%) :arrow_up:
component/models/sdjwt/common/verification.go 85.60% <85.60%> (ø)
component/models/verifiable/credential_jwt.go 90.00% <88.23%> (-0.11%) :arrow_down:
component/models/sdjwt/issuer/v5.go 90.78% <90.78%> (ø)
component/models/sdjwt/common/common.go 96.15% <91.37%> (+1.94%) :arrow_up:
component/models/sdjwt/issuer/v2.go 92.00% <92.00%> (ø)
component/models/sdjwt/issuer/issuer.go 92.65% <94.64%> (-0.35%) :arrow_down:
... and 10 more