- martin
Post a reply
Topic review
- tattdogg
Will it work with a
PrivateKeyPassphrase
?
sessionOptions.PrivateKeyPassphrase = "abc";
- tattdogg
thank you
- martin
Re: password in log
This request has been added to the tracker:
Issue 1475 – Mask out password in .NET assembly output log
I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.
Issue 1475 – Mask out password in .NET assembly output log
I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.
- tattdogg
Re: password in log
This is what I do right now. I just wondering if I could use some property to exclude the password from your output stream.
The password can be stolen from the memory stream that way... Is it possible to add this functionality in next versions of package?
The password can be stolen from the memory stream that way... Is it possible to add this functionality in next versions of package?
- martin
Re: password in log
So, it's your log file. Filter the password before writing the entry to the log.
- tattdogg
Re: password in log
session.OutputDataReceived += SessionOnOutputDataReceived;
...
private void SessionOnOutputDataReceived(object sender, OutputDataReceivedEventArgs args)
{
Logger.Trace(args.Data);
}
- martin
Re: password in log
What log is that?
- tattdogg
Password in log
Is there any way not to show password in logs?
winscp> open "sftp://logn:password@127.0.0.1:22" -hostkey="ssh-rsa 2048 ..." -timeout=15