gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r29484 - gnunet-planetlab/gplmt/gplmt


From: gnunet
Subject: [GNUnet-SVN] r29484 - gnunet-planetlab/gplmt/gplmt
Date: Mon, 23 Sep 2013 13:52:29 +0200

Author: wachs
Date: 2013-09-23 13:52:28 +0200 (Mon, 23 Sep 2013)
New Revision: 29484

Modified:
   gnunet-planetlab/gplmt/gplmt/Worker.py
Log:
do not print password in log


Modified: gnunet-planetlab/gplmt/gplmt/Worker.py
===================================================================
--- gnunet-planetlab/gplmt/gplmt/Worker.py      2013-09-23 11:44:49 UTC (rev 
29483)
+++ gnunet-planetlab/gplmt/gplmt/Worker.py      2013-09-23 11:52:28 UTC (rev 
29484)
@@ -287,7 +287,7 @@
             g_logger.log (self.node.hostname + " : Trying to connect to '" 
+Util.print_ssh_connection (self.node) + "'")
             if self.node.username is not None: #credentials are supplied in 
node file
                 if (self.node.password is not None):
-                    g_logger.log (self.node.hostname + " : Using node 
information username '" + self.node.username + " and password '" 
+self.node.password +"'")                      
+                    g_logger.log (self.node.hostname + " : Using node 
information username '" + self.node.username + " and password '" +'***' +"'")   
                   
                     self.ssh.connect (self.node.hostname,
                                 port=self.node.port or 22,
                                 username=self.node.username,
@@ -300,7 +300,7 @@
                                  username=self.node.username,
                                  timeout=10)                                   
     
             elif ("" != g_configuration.ssh_username):
-                g_logger.log (self.node.hostname + " : Using node information 
username '" + g_configuration.ssh_username  + "' and password '" + 
g_configuration.ssh_password +"'")
+                g_logger.log (self.node.hostname + " : Using node information 
username '" + g_configuration.ssh_username  + "' and password '" + '***' +"'")
                 self.ssh.connect (self.node.hostname,
                          port=self.node.port or 22,
                          username=g_configuration.ssh_username, 
@@ -308,7 +308,7 @@
                          timeout=10,
                          key_filename=keyfile)
             elif ("" != g_configuration.ssh_password):
-                g_logger.log (self.node.hostname + " : Using node information 
password '" + g_configuration.ssh_password + "'")
+                g_logger.log (self.node.hostname + " : Using node information 
password '" + '***' + "'")
                 self.ssh.connect (self.node.hostname,
                              port=self.node.port or 22,
                              password=g_configuration.self.ssh_password,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]