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

chore: Additional hash algorithms; check for _sd claim #3503

Closed sandrask closed 1 year ago

sandrask commented 1 year ago

Add SHA-384 and SHA-512 algorithms to SHA-256. Also, check for _sd claim in claims before creating SD-JWT.

Closes #3502

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

codecov[bot] commented 1 year ago

Codecov Report

Merging #3503 (5db9a99) into main (8fd56ce) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #3503   +/-   ##
=======================================
  Coverage   87.70%   87.71%           
=======================================
  Files         351      351           
  Lines       48169    48191   +22     
=======================================
+ Hits        42247    42269   +22     
  Misses       4389     4389           
  Partials     1533     1533           
Impacted Files Coverage Δ
pkg/doc/sdjwt/common/common.go 92.50% <100.00%> (+0.19%) :arrow_up:
pkg/doc/sdjwt/issuer/issuer.go 92.13% <100.00%> (+0.46%) :arrow_up:

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