Python utility library
- Python 98.5%
- Makefile 1.3%
- Shell 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Add two functions, add_hide_log_patterns() and clear_hide_log_patterns(). Their intended purpose is to keep secrets from leaking into logging. add_hide_log_patterns() takes compiled regular expressions, strings or arrays thereof that are added to the global pattern list. It defaults to ["secret", "password", "token"], case-insensitive. clear_hide_log_patterns() clears the list, so the caller must start from scratch building one. This keeps sensitive keys visible for debugging while suppressing their child values from log output. In addition to these two functions, debug logging was removed in some places where the effort of keeping would have outweighed the gain. Signed-off-by: Jan Lindemann <jan@janware.com> |
||
| .github/workflows | ||
| bin | ||
| conf | ||
| make | ||
| scripts | ||
| src | ||
| test | ||
| .gitignore | ||
| HASH | ||
| Makefile | ||
| RELEASES | ||
| VERSION | ||