Skip to main content

assert_gateway_secret_strong

Function
This function is defined in the protocols module.
Fail closed if value is a known-weak/placeholder gateway secret.

Signature

Parameters

Optional[str]
required
The resolved secret to validate.

Exceptions

If value matches a known-weak value.

Uses

  • is_weak_secret
  • WeakGatewaySecretError

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 2062

Gateway Feature