From e61554476ee4a1aa83a30cf2cf7cf63c9a51719e Mon Sep 17 00:00:00 2001 From: Andreas Griffin <116060138+andreasgriffin@users.noreply.github.com> Date: Sat, 9 Nov 2024 18:50:40 +0100 Subject: [PATCH] Fix code scanning alert no. 2: Clear-text logging of sensitive information Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- bitcoin_safe/gui/qt/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin_safe/gui/qt/dialogs.py b/bitcoin_safe/gui/qt/dialogs.py index d98bee3..dc687d1 100644 --- a/bitcoin_safe/gui/qt/dialogs.py +++ b/bitcoin_safe/gui/qt/dialogs.py @@ -285,6 +285,6 @@ def filename(self) -> str: dialog = PasswordCreation() password = dialog.get_password() if password: - print(f"Password created: {password}") + print("Password created successfully.") sys.exit(app.exec()) quit()