Skip to content

Commit

Permalink
refactor(runtime): remove JWT key2 min_len validation and update .git…
Browse files Browse the repository at this point in the history
…ignore

- Remove minimum length validation for key2 in JWT configuration
- Update .gitignore to uncomment "*" for ignoring everything
  • Loading branch information
godcong committed Dec 20, 2024
1 parent 07f53b9 commit 7630008
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ FodyWeavers.xsd
# Recommended: Go.AllowList.gitignore

# Ignore everything
*
# *

# But not these files...
!/.gitignore
Expand Down
1 change: 0 additions & 1 deletion proto/security/jwt/v1/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ message Config {
];
string key2 = 3 [
json_name = "key2",
(validate.rules).string.min_len = 1,
(gnostic.openapi.v3.property) = {description: "The secondary key used for signing the token."}
];
string keyfunc = 4 [
Expand Down

0 comments on commit 7630008

Please sign in to comment.