Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Closed Issue: Passwords in memory [1169]

$
0
0
Hello! I wrote a simple application for forwarding local ports, it works great and was really easy! But i have one concern, when investigating the memory of my application i found that my password was found no less then 13 times. I tried to remove it but setting _password (in PasswordConnectionInfo) to null after successful authentication but without luck. Would it be possible to either encrypt the password stored in memory or after authentication, remove it completely from memory?   Also, my application clears the passwordbox used for entering the password. This is how i establish a connection:    void initSSHClient() { client = new SshClient(tbHost.Text, tbUsername.Text, pbPassword.Password); client.ConnectionInfo.AuthenticationBanner += new EventHandler(ConnectionInfo_AuthenticationBanner); client.Connect(); if (client.IsConnected) { pbPassword.Clear(); } }
Comments: No response, assumed fixed

Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>