no, the 5.12 (Dev Build 7897 2017-11-21) shows no change.
the cleartext password is still shown in console window and logfile
(find attached log an ini part)
in both variants of session config with:
ProxyPassword and ProxyPasswordEnc
I use ProxyPassword in the ini file, because a special configuration program asks before the 1. transfer
the user only for Proxy username and password, in a own special dialog window.
then write it into the session part of the ini file, test the connection once, and let winscp.exe
write ProxyPasswordEnc to hide it in the ini.
if this keeps working, without a cleartext message, would be great.
thanks in advance
Stefan
. 2017-11-21 15:06:16.267 --------------------------------------------------------------------------
. 2017-11-21 15:06:16.267 WinSCP Version 5.12 (Dev Build 7897 2017-11-21) - Do NOT distribute (OS 6.1.7601 Service Pack 1 - Windows 7 Home Premium)
. 2017-11-21 15:06:16.267 Configuration: C:\Temp-Nabios\datatrans-test\winscp_sync\winscp.ini
. 2017-11-21 15:06:16.267 Log level: Normal
. 2017-11-21 15:06:16.267 Local account: vmwin7\stefans
. 2017-11-21 15:06:16.267 Working directory: C:\Temp-Nabios\datatrans-test\winscp_sync
. 2017-11-21 15:06:16.267 Process ID: 1640
. 2017-11-21 15:06:16.267 Command-line: winscp.exe /console /ini=winscp.ini /log=sync_test-testtrans_nabios.log /xmllog=sync_test-testtrans_nabios-xml.log /command "open nabios_22" "option echo on" "option batch abort" "option confirm off" "option transfer binary" "cd /home/testtrans" "put sync_test-testtrans_nabios.log.last /home/testtrans/sync_test-testtrans_nabios.log" "put sync_test-testtrans_nabios.run /home/testtrans/sync_test-testtrans_nabios.run.log" "option batch continue" "mkdir sync" "option batch abort" "synchronize remote -mirror -criteria=both ""C:\Temp\Testdata"" sync" "exit"
. 2017-11-21 15:06:16.267 Time zone: Current: GMT+1, Standard: GMT+1 (Mitteleuropäische Zeit), DST: GMT+2 (Mitteleuropäische Sommerzeit), DST Start: 26.03.2017, DST End: 29.10.2017
. 2017-11-21 15:06:16.267 Login time: Dienstag, 21. November 2017 15:06:16
. 2017-11-21 15:06:16.267 --------------------------------------------------------------------------
. 2017-11-21 15:06:16.267 Script: Retrospectively logging previous script records:
> 2017-11-21 15:06:16.267 Script: open nabios_22
< 2017-11-21 15:06:16.267 Script: In scripting you should not rely on saved sites, use this command instead:
< 2017-11-21 15:06:16.267 Script: open sftp://test@server.xxx/ -hostkey="ssh-rsa ...." -privatekey="privkey.ppk" -timeout=60 -rawsettings Compression=1 CacheDirectories=0 CacheDirectoryChanges=0 ProxyMethod=3 ProxyHost="proxyhost" ProxyPort=123 ProxyUsername="prouser" ProxyPassword="propwd"
. 2017-11-21 15:06:16.267 --------------------------------------------------------------------------
. 2017-11-21 15:06:16.267 Session name: nabios_22 (Site)
. 2017-11-21 15:06:16.267 Host name: XXXXXX (Port: 22)
. 2017-11-21 15:06:16.267 User name: test (Password: No, Key file: Yes, Passphrase: No)
. 2017-11-21 15:06:16.267 Tunnel: No
. 2017-11-21 15:06:16.267 Transfer Protocol: SFTP (SCP)
. 2017-11-21 15:06:16.267 Ping type: Off, Ping interval: 30 sec; Timeout: 60 sec
. 2017-11-21 15:06:16.267 Disable Nagle: No
. 2017-11-21 15:06:16.267 Proxy: HTTP
. 2017-11-21 15:06:16.267 HostName: proxyhost (Port: 123); Username: prouser; Passwd: Yes
..
winscp.ini:
[Sessions\nabios_22]
Timeout=60
HostName=xxxxxx
UserName=test
PublicKeyFile=privkey.ppk
ProxyHost=proxyhost
ProxyPort=123
ProxyUsername=prouser
RemoteDirectory=/home/testtrans
CacheDirectories=0
CacheDirectoryChanges=0
Compression=1
ProxyMethod=3
ProxyPasswordEnc=A35C4A46E36C3B68830CC3DAEAD88F5368614B8A17F9C3C89DE6AAA917042C2E33292F392E2C2E33242534332F282C2E332C2B38
Reply with quote