Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix code scanning alert no. 2: Clear-text logging of sensitive inform…
…ation (In test code only) (#26) Fixes [https://github.com/andreasgriffin/bitcoin-safe/security/code-scanning/2](https://github.com/andreasgriffin/bitcoin-safe/security/code-scanning/2) To fix the problem, we need to ensure that sensitive information such as passwords is not logged in clear text. Instead of logging the actual password, we can log a generic message indicating that a password was created without revealing the password itself. This change will maintain the functionality of informing that a password was created while protecting the sensitive information. We will modify the line that logs the password to log a generic message instead. No additional imports or methods are needed for this change. _Suggested fixes powered by Copilot Autofix. Review carefully before merging._ Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
- Loading branch information