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

{"aud": null } should be ignored #669

Closed
dajiaji opened this issue Jul 15, 2021 · 0 comments · Fixed by #670
Closed

{"aud": null } should be ignored #669

dajiaji opened this issue Jul 15, 2021 · 0 comments · Fixed by #670

Comments

@dajiaji
Copy link
Contributor

dajiaji commented Jul 15, 2021

It is a rare case but I found an example that {”aud”: null }is set.
According to RFC7519(JWT), it is usually a list of strings or a string, but there is no specification about the type of "aud".

Expected Result

{"aud": null} should be treated the same as unspecified.

Actual Result

If the ”aud” parameter is not specified, an error will occur.

Reproduction Steps

See https://dgcg.covidbevis.se/tp/

public key:
https://dgcg.covidbevis.se/tp/cert

JWT:
https://dgcg.covidbevis.se/tp/trust-list

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 a pull request may close this issue.

1 participant