-
Notifications
You must be signed in to change notification settings - Fork 834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User Names and Passwords exposed in Logs #362
Open
sgu07ght opened this issue
Feb 22, 2023
· 1 comment
· Fixed by sam2kb/sftp#3 or TaridaGeorge/sftp#2 · May be fixed by #367
Open
User Names and Passwords exposed in Logs #362
sgu07ght opened this issue
Feb 22, 2023
· 1 comment
· Fixed by sam2kb/sftp#3 or TaridaGeorge/sftp#2 · May be fixed by #367
Comments
vkg23
added a commit
to vkg23/sftp
that referenced
this issue
Feb 22, 2023
PR submitted on this matter. #363 |
kimdre
added a commit
to kimdre/sftp
that referenced
this issue
Mar 14, 2023
Replace password in log output with asterisks Fixes atmoz#362 ## Results: Before: `[bash] Parsing user data: "user:abc!123:3000:4000:/user/home"` After: `[bash] Parsing user data: "user:******:3000:4000:/user/home"`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem:
During bootup while reading users.conf from a secret / configmaps whole line gets dumped into logs that includes the credentials.
Observation/Solution:
We may need to tweak the 'log' function inside the create-sftp-user.
Planning to submit a PR on this matter.
Proof, snap:
The text was updated successfully, but these errors were encountered: