-
Notifications
You must be signed in to change notification settings - Fork 462
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
Critical Security Fix Required: You disclose the correct signature with each SignatureVerificationException... #61
Comments
|
This type of exceptions should be cough, swallows and logged accordingly. However, I agree this is not an ideal or nice default behavior. |
I actually am, just that my project is on On Learn : |
I agree it's not right, will research more once get some spare time. So far I think we need to save both values into Exception.Data dictionary. I was thinking to fork this project too and call it Jwt2 but never did since we're using AAD and client certs at work. Regarding authorship and licensing: I'm far from being the initial author, I've joined the project just 1 month ago as a open source community maintainer. So can't change the license, etc. |
has this been pulled in and resolved? seems like a pretty major security hole for a authentication library to throw back 'wrong token, heres the right one'...I know you can try catch and swallow it yourself or just hide it with custom errors off, but that is a pretty big loop hole for the second search result in NuGet for JWT with 284,000 downloads... ...this really should be patched up cause this can introduce a lot of security holes to a lot of people without them ever knowing it - it's not a complex fix and I would be happy to toss a pull request at it if it will get pushed to nuget with a quickness |
No, this hasn't been fixed (yet). Pull requests are very welcome! |
Pull request created - I think I'm just gonna pull the code into my current project directly instead of using NuGet but the package really should be updated in NuGet as well |
Closed in favor of the pr. |
Nightclub is the place where your spree cant soul'd out to make some mess. Watch your language. |
What have we got here? Private Joker? |
Bullshit! You didn't convince me!
You didn't scare me! OK, I will watch my language now ;) |
I just tested the result after including this library in one of our projects.
Whatever it is that you are smoking - it must be good...
You are outputting the correct signature with each SignatureVerificationException...
If I were an attacker, I would silently say "thank you" when I saw this - and wonder what drug you're on...
The text was updated successfully, but these errors were encountered: