jw-pkg/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann b78d922f0a
lib.ec.ssh.AsyncSSH: Actually hide password
_connect_kwargs(hide_secrets = True) is used to log the connection
parameters when a connection fails, without leaking the password. The
filtered dictionary is built before the password is replaced with
'<hidden>', and the replacement is applied to the local kwargs
dictionary afterwards, after the filtered copy has already been made.
The dictionary that ends up in the log therefore still contains the
real password.

Hide the password before building the filtered dictionary.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.84.2
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-08-22 10:07:58 +02:00
..
python lib.ec.ssh.AsyncSSH: Actually hide password 2026-08-22 10:07:58 +02:00
Makefile projects.py: Move bulk of code into module 2025-11-15 11:08:52 +01:00