mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +01:00
adding jwt tokens with padding format "=" (#1031)
* adding jwt tokens with padding format = * forgot to run go run main.go * manually putting database.refractorlog back Co-authored-by: Esther <esther.ay@snaptravel.com>
This commit is contained in:
1 parent
7f229faf12
commit
f77493274a
2 files changed
+3
-3
No files matched your search
@@ -2099,7 +2099,7 @@ keywords = [
|
||||
[[rules]]
|
||||
description = "JSON Web Token"
|
||||
id = "jwt"
|
||||
regex = '''(?i)\b(ey[0-9a-z]{30,34}\.ey[0-9a-z-\/_]{30,500}\.[0-9a-zA-Z-\/_]{10,200})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
||||
regex = '''(?i)\b(ey[0-9a-z]{30,34}\.ey[0-9a-z-\/_]{30,500}\.[0-9a-zA-Z-\/_]{10,200}={0,2})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
||||
keywords = [
|
||||
"ey",
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user