MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / is_valid_jwt_secret

Function is_valid_jwt_secret

core/security.py:27–28  ·  view source on GitHub ↗
(secret: Any)

Source from the content-addressed store, hash-verified

25
26
27def is_valid_jwt_secret(secret: Any) -> bool:
28 return isinstance(secret, str) and len(secret) >= JWT_SECRET_MIN_LENGTH
29
30
31def is_config_initialized(config: dict[str, Any]) -> bool:

Callers 2

initialize_systemFunction · 0.90
prepare_security_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected