Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/vastsa/FileCodeBox
/ generate_jwt_secret
Function
generate_jwt_secret
core/security.py:23–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
22
23
def
generate_jwt_secret() -> str:
24
return
secrets.token_urlsafe(48)
25
26
27
def
is_valid_jwt_secret(secret: Any) -> bool:
Callers
3
initialize_system
Function · 0.90
update_config
Method · 0.90
prepare_security_config
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected