scan-for-secrets 0.3 (opens in new tab)
<p><strong>Release:</strong> <a href=" 0.3</a></p> <blockquote> <ul> <li>New <code>-r/--redact</code> option which shows the list of matches, asks for confirmation and then replaces every match with <code>REDACTED</code>, taking escaping rules into account.</li> <li>New Python function <code>redact_file(file_path: str | Path, secrets: list[str], replacement: str = "REDACTED") -> int</code>.</li> </ul> </blockquote> <p>Tags: <a href="
Read the original article