-
Notifications
You must be signed in to change notification settings - Fork 337
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
enable jwt.ParsePublicKeyFromPEM to parse PKCS1 Public Key #120
Commits on Nov 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 810825e - Browse repository at this point
Copy the full SHA 810825eView commit details -
Add test for parsing PKCS1 Public Key
Tom Anderson committedNov 6, 2021 Configuration menu - View commit details
-
Copy full SHA for 38ebe4b - Browse repository at this point
Copy the full SHA 38ebe4bView commit details -
Tom Anderson committed
Nov 6, 2021 Configuration menu - View commit details
-
Copy full SHA for 6296976 - Browse repository at this point
Copy the full SHA 6296976View commit details -
Tom Anderson committed
Nov 6, 2021 Configuration menu - View commit details
-
Copy full SHA for 327371d - Browse repository at this point
Copy the full SHA 327371dView commit details
Commits on Mar 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a8b39b0 - Browse repository at this point
Copy the full SHA a8b39b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2c1236 - Browse repository at this point
Copy the full SHA d2c1236View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cda0ca - Browse repository at this point
Copy the full SHA 7cda0caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1680a87 - Browse repository at this point
Copy the full SHA 1680a87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d1fcaa - Browse repository at this point
Copy the full SHA 0d1fcaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 682e394 - Browse repository at this point
Copy the full SHA 682e394View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8aec33 - Browse repository at this point
Copy the full SHA e8aec33View commit details -
remove unnecessary for loop in token signing string for readability (g…
…olang-jwt#34) * remove unnecessary for loop in token signing string for readability - add testcase - add benchmark - improve performance slightly * Fix benchtests on token_test.go * Update token_test.go to v4 Co-authored-by: hyeonjae <hyeonjae@ip-192-168-1-3.ap-northeast-2.compute.internal> Co-authored-by: Luis Gabriel Gomez <lggomez@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8f8aa33 - Browse repository at this point
Copy the full SHA 8f8aa33View commit details -
updated README.md to contain more extensions (golang-jwt#155)
* updated README.md to contain more extensions * Update README.md Co-authored-by: Luis Gabriel Gomez <lggomez@users.noreply.github.com> Co-authored-by: Luis Gabriel Gomez <lggomez@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 112e1d4 - Browse repository at this point
Copy the full SHA 112e1d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab7eab6 - Browse repository at this point
Copy the full SHA ab7eab6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 661e258 - Browse repository at this point
Copy the full SHA 661e258View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f99f76 - Browse repository at this point
Copy the full SHA 0f99f76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92549f2 - Browse repository at this point
Copy the full SHA 92549f2View commit details -
feat: port clockskew support (golang-jwt#139)
Co-authored-by: Kolawole Segun <Kolawole.Segun@kyndryl.com> Co-authored-by: Christian Banse <oxisto@aybaze.com>
Configuration menu - View commit details
-
Copy full SHA for 42eb419 - Browse repository at this point
Copy the full SHA 42eb419View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11636c8 - Browse repository at this point
Copy the full SHA 11636c8View commit details -
Revert "feat: port clockskew support (golang-jwt#139)" (golang-jwt#184)
This reverts commit d489c99.
Configuration menu - View commit details
-
Copy full SHA for ad1bcff - Browse repository at this point
Copy the full SHA ad1bcffView commit details -
Configuration menu - View commit details
-
Copy full SHA for d85463c - Browse repository at this point
Copy the full SHA d85463cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c8bc44 - Browse repository at this point
Copy the full SHA 0c8bc44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3558b63 - Browse repository at this point
Copy the full SHA 3558b63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0eef781 - Browse repository at this point
Copy the full SHA 0eef781View commit details -
CI check for Go code formatting (golang-jwt#206)
Signed-off-by: jay-dee7 <jasdeepsingh.uppal@gmail.com> Co-authored-by: jay-dee7 <jasdeepsingh.uppal@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 519e4fe - Browse repository at this point
Copy the full SHA 519e4feView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2de1da - Browse repository at this point
Copy the full SHA d2de1daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f40bbd - Browse repository at this point
Copy the full SHA 8f40bbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 780e930 - Browse repository at this point
Copy the full SHA 780e930View commit details -
Configuration menu - View commit details
-
Copy full SHA for a73dea4 - Browse repository at this point
Copy the full SHA a73dea4View commit details -
fix: link update for README.md for v4 (golang-jwt#217)
Co-authored-by: Christian Banse <oxisto@aybaze.com>
Configuration menu - View commit details
-
Copy full SHA for c2a8826 - Browse repository at this point
Copy the full SHA c2a8826View commit details -
Implement a BearerExtractor (golang-jwt#226)
* Implement a BearerExtractor This is a rather common extractor; it extracts the JWT from the HTTP Authorization header, expecting it to include the "Bearer " prefix. This patterns is rather common and this snippet is repeated in enough applications that it's probably best to just include it upstream and allow reusing it. * Ignore case-sensitivity for "Bearer"
Configuration menu - View commit details
-
Copy full SHA for f677bad - Browse repository at this point
Copy the full SHA f677badView commit details -
Bump matrix to support latest go version (go1.19) (golang-jwt#231)
* Bump matrix to support latest go version (go1.19) * Fix comment
Configuration menu - View commit details
-
Copy full SHA for ece1575 - Browse repository at this point
Copy the full SHA ece1575View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a02da3 - Browse repository at this point
Copy the full SHA 8a02da3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6abd521 - Browse repository at this point
Copy the full SHA 6abd521View commit details -
Configuration menu - View commit details
-
Copy full SHA for 057b27f - Browse repository at this point
Copy the full SHA 057b27fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4fcde4 - Browse repository at this point
Copy the full SHA e4fcde4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28173c8 - Browse repository at this point
Copy the full SHA 28173c8View commit details -
Allow strict base64 decoding (golang-jwt#259)
By default base64 decoder works in non-strict mode which allows tweaking signatures having padding without failing validation. This creates a potential problem if application treats token value as an identifier. For example ES256 signature has length of 64 bytes and two padding symbols (stripped by default). Therefore its base64-encoded value can only end with A, Q, g and w. In non-strict mode last symbol could be tweaked resulting in 16 distinct token values having the same signature and passing validation. This change adds backward-compatible global config variable DecodeStrict (similar to existing DecodePaddingAllowed) that enables strict base64 decoder mode. See also golang/go#15656. Signed-off-by: Alexander Yastrebov <yastrebov.alex@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bfff091 - Browse repository at this point
Copy the full SHA bfff091View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54ef79d - Browse repository at this point
Copy the full SHA 54ef79dView commit details -
v5
Pre-Release (golang-jwt#234)Co-authored-by: Micah Parks <66095735+MicahParks@users.noreply.github.com> Co-authored-by: Michael Fridman <mf192@icloud.com>
Configuration menu - View commit details
-
Copy full SHA for a02d89c - Browse repository at this point
Copy the full SHA a02d89cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03042d1 - Browse repository at this point
Copy the full SHA 03042d1View commit details -
Update MIGRATION_GUIDE.md (golang-jwt#289)
* Update MIGRATION_GUIDE.md Saw one typo, spent a few minutes improving a few paragraphs.
Configuration menu - View commit details
-
Copy full SHA for 17b0e60 - Browse repository at this point
Copy the full SHA 17b0e60View commit details -
Moving
DecodeSegement
toParser
(golang-jwt#278)* Moving `DecodeSegement` to `Parser` This would allow us to remove some global variables and move them to parser options as well as potentially introduce interfaces for json and b64 encoding/decoding to replace the std lib, if someone wanted to do that for performance reasons. We keep the functions exported because of explicit user demand. * Sign/Verify does take the decoded form now
Configuration menu - View commit details
-
Copy full SHA for 7efc1c8 - Browse repository at this point
Copy the full SHA 7efc1c8View commit details -
Adjusting the error checking example (golang-jwt#270)
This PR adjusts the error checking example so that a check for an invalid signature is also included. See discussion in golang-jwt#143
Configuration menu - View commit details
-
Copy full SHA for b6ef509 - Browse repository at this point
Copy the full SHA b6ef509View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dc9063 - Browse repository at this point
Copy the full SHA 1dc9063View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca71027 - Browse repository at this point
Copy the full SHA ca71027View commit details