Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sdjwtvc decode hasher dependency #121

Merged
merged 2 commits into from
Jul 5, 2024

Conversation

auer-martin
Copy link
Contributor

This PR fixes two small problems.

In the VcIssuer file, the issuer is determined by decoding the credential into a standardized format with an issuer field.
Decoding the issuer requires a hash implementation for compact sdjwt's. To work around this, I made the issuer an argument.
The second problem concerns the implementation of token validation in combination with a PIN and compatibility with v11 and v13.

@nklomp
Copy link
Contributor

nklomp commented Jul 4, 2024

Hmzz, probably some tests will fail as this one has overlap with #118

@nklomp
Copy link
Contributor

nklomp commented Jul 4, 2024

@auer-martin Suggest to leave out the tx_code fix. We will then address that in #118

@auer-martin
Copy link
Contributor Author

@nklomp done

Copy link
Contributor

@nklomp nklomp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thx

@nklomp nklomp merged commit b1d0422 into Sphereon-Opensource:develop Jul 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants