Skip to content

Commit

Permalink
Fix L3-iGrant/api#726: Include cnf claim in 'all' credentials issued …
Browse files Browse the repository at this point in the history
…to Wallet Unit possessing WUA
  • Loading branch information
albinpa authored and georgepadayatti committed Nov 19, 2024
1 parent 379ecb4 commit 4f6c1de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdjwt/sdjwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ def create_w3c_vc_jwt_with_disclosure_mapping_v2(
expiry_in_seconds: typing.Optional[int] = None,
credential_metadata: typing.Optional[dict] = None,
status: typing.Optional[dict] = None,
cnf: typing.Optional[dict] = None,
) -> str:
if not expiry_in_seconds:
expiry_in_seconds = 2592000
Expand Down Expand Up @@ -655,6 +656,7 @@ def iterate_mapping(obj, path):
iat=issuance_epoch,
exp=expiration_epoch,
status=status,
cnf=cnf if cnf else None,
)
sd_disclosures = ""
if disclosure_mapping:
Expand Down

0 comments on commit 4f6c1de

Please sign in to comment.