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

Clearly protect against algorithm confusion attack #197

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

desfero
Copy link
Contributor

@desfero desfero commented Sep 27, 2023

This PR improves the validation logic to catch JWT algorithm confusion attacks earlier and not assume that it's handled by internals of jsonwebtoken verification logic.

@stefanprokopdev
Copy link
Owner

stefanprokopdev commented Oct 18, 2023

Hello @desfero 👋 Thanks for the PR! Could you please run the npm run format command? 🙏 It seems like the code is not formatted properly but I am not sure.

I will check the implementation and let you. And very sorry for the delay 😞

# Conflicts:
#	src/test/verifyAppleIdToken.test.ts
@desfero
Copy link
Contributor Author

desfero commented Nov 6, 2023

@stefanprokopdev seems everything is formatted properly as no changes after running npm run format

@stefanprokopdev stefanprokopdev merged commit a79c2d8 into stefanprokopdev:main Nov 15, 2023
3 checks passed
@stefanprokopdev
Copy link
Owner

@stefanprokopdev seems everything is formatted properly as no changes after running npm run format

@desfero thank you so much! Already released v3.1.0 🎉

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