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

Added some checks for none algorithm #402

Merged
merged 11 commits into from
Jun 4, 2022

Conversation

hartmark
Copy link
Contributor

@hartmark hartmark commented Jun 4, 2022

Added some tests for none algorithm and also implemented that signature MUST not be sent according to spec in:

src/JWT/Builder/JwtBuilder.cs Outdated Show resolved Hide resolved
src/JWT/Builder/JwtBuilder.cs Outdated Show resolved Hide resolved
@abatishchev
Copy link
Member

Awesome, thanks much for the contribution and for quickly making the suggested changes too!

Please bump the version slightly inside JWT.csproj and it's almost good to go.

@hartmark
Copy link
Contributor Author

hartmark commented Jun 4, 2022

Cool, I'll look at bumping the version later tonight.

Btw, have your had any chance to look at my other PR for system.text.json #401

abatishchev
abatishchev previously approved these changes Jun 4, 2022
@abatishchev
Copy link
Member

Btw, have your had any chance to look at my other PR for system.text.json #401

Will very definitely do!

@hartmark
Copy link
Contributor Author

hartmark commented Jun 4, 2022

There, I'm done now :)

Reduced some duplicated code in JwtDecoder and reverted WithValidator to previous state

@abatishchev abatishchev merged commit c0e9d85 into jwt-dotnet:main Jun 4, 2022
@hartmark hartmark deleted the harre/alg-none-fixes branch June 4, 2022 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants