-
Notifications
You must be signed in to change notification settings - Fork 2k
Go: Add JWT Algorithm Confusion and JWT decoding without Signature Verification #14081
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
4f2d15e
Initial JWT Library
Kwstubbs fafdee5
Finish
Kwstubbs 7730ad6
Finish
Kwstubbs 8d2bc38
removed user files
Kwstubbs 01a28eb
update docs
Kwstubbs 1d6a805
Spelling
Kwstubbs ecbde43
Formatting and errors
Kwstubbs 3a2b66e
change note
Kwstubbs 1370bac
Big upgrade
Kwstubbs 21fa77d
grammar
Kwstubbs 84359fe
Finish
Kwstubbs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
Finish
- Loading branch information
commit 7730ad61cb3ac97d5f714d7e9b94d4207f917e40
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "folders": [ | ||
| { | ||
| "path": "../../../../.." | ||
| }, | ||
| { | ||
| "name": "[JWT_good__or_bad source archive]", | ||
| "uri": "codeql-zip-archive://0-44/Users/kstubbin/JWT/JWT_good__or_bad/src.zip" | ||
| }, | ||
| { | ||
| "name": "[lestrrat-JWT source archive]", | ||
| "uri": "codeql-zip-archive://0-49/Users/kstubbin/lesstrat-JWT/lestrrat-JWT/src.zip" | ||
| }, | ||
| { | ||
| "name": "[python source archive]", | ||
| "uri": "codeql-zip-archive://0-146/Users/kstubbin/Library/Application Support/Code/User/workspaceStorage/db72dba15c9beaace6cf497bdbee92ec/GitHub.vscode-codeql/redash/python/src.zip" | ||
| } | ||
| ], | ||
| "settings": {} | ||
| } |
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
40 changes: 0 additions & 40 deletions
40
go/ql/test/query-tests/Security/CWE-347/JWTInsecureParsingLestrrat.go
This file was deleted.
Oops, something went wrong.
Empty file.
1 change: 0 additions & 1 deletion
1
go/ql/test/query-tests/Security/CWE-347/JWTParsingAlgorithim.qlref
This file was deleted.
Oops, something went wrong.
Empty file.
1 change: 0 additions & 1 deletion
1
go/ql/test/query-tests/Security/CWE-347/JWTParsingSignature.qlref
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
...est/query-tests/Security/CWE-347/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/LICENSE
This file was deleted.
Oops, something went wrong.
72 changes: 0 additions & 72 deletions
72
...sts/Security/CWE-347/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/README.md
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
...Security/CWE-347/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/compressedbytepoints.go
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This model isn't used anywhere. Did you mean to use it somewhere? Or did you model it for completeness? Consider deleting - the model can easily be added in future if it is needed.