Skip to main content

is_weak_secret

Function
This function is defined in the protocols module.
Return True if value is empty or a known-weak/placeholder secret. Comparison is whitespace-stripped and case-insensitive.

Signature

Parameters

Optional[str]
required
No description available.

Returns

bool
The result of the operation.

Usage

Used By

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 2044