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

feat: calculate sd_hash automatically in present function #108

Closed
lukasjhan opened this issue Feb 25, 2024 · 1 comment · Fixed by #117
Closed

feat: calculate sd_hash automatically in present function #108

lukasjhan opened this issue Feb 25, 2024 · 1 comment · Fixed by #117
Assignees
Labels
feature New functionality.

Comments

@lukasjhan
Copy link
Member

lukasjhan commented Feb 25, 2024

see: https://www.ietf.org/archive/id/draft-ietf-oauth-selective-disclosure-jwt-07.html#section-5.3.1

sd_hash = Hasher("<Issuer-signed JWT>~<Disclosure 1>~<Disclosure 2>~...~<Disclosure N>~", <algorithm from the disclosed JWT>)

@lukasjhan lukasjhan added the feature New functionality. label Feb 25, 2024
@lukasjhan lukasjhan self-assigned this Feb 25, 2024
@lukasjhan
Copy link
Member Author

To summarize, what is needed when verifying KB jwt is
Verification of sd_hash value,
Verification of nonce value if necessary,
and 3. Verification of kb jwt signature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant