Skip to content

Commit

Permalink
Fix L3-iGrant/api#534: Presentation pending for SD-JWT in holder wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
albinpa authored and georgepadayatti committed Oct 22, 2024
1 parent ee4c8f3 commit 7a390ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdjwt/pex.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def decode_header_and_claims_in_jwt(token: str) -> Tuple[dict, dict]:
claims_encoded + "=" * (-len(claims_encoded) % 4)
)
headers_decoded = base64.urlsafe_b64decode(
headers_encoded + "=" * (-len(claims_encoded) % 4)
headers_encoded + "=" * (-len(headers_encoded) % 4)
)
return (json.loads(headers_decoded), json.loads(claims_decoded))

Expand Down

0 comments on commit 7a390ae

Please sign in to comment.