Skip to content

Commit 315d3e9

Browse files
committed
fix: annotate jwt placeholder secret
1 parent 5a0ef44 commit 315d3e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • backend/pkg/utils/jwtclaims

backend/pkg/utils/jwtclaims/jwt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const (
8787
// KnownInsecureJWTSecret is the placeholder shipped in config.go's struct
8888
// tag; it must never sign real tokens. Keep in sync with the `default:` tag
8989
// on Config.JWTSecret.
90-
KnownInsecureJWTSecret = "default-jwt-secret-change-me" //nolint:gosec // public placeholder config default, intentionally rejected for production signing
90+
KnownInsecureJWTSecret = "default-jwt-secret-change-me" // #nosec G101: public placeholder config default, intentionally rejected for production signing
9191
// MinJWTSecretLength matches the 32-byte floor enforced for ENCRYPTION_KEY.
9292
MinJWTSecretLength = 32
9393
)

0 commit comments

Comments
 (0)