[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [vidalia/master] Provide a hashed password instead of a plain text one
commit 35efb16c7e51d758334a381ca1312d69d2efe533
Author: Tomas Touceda <chiiph@xxxxxxxxxxxxxx>
Date: Thu Jul 28 14:17:21 2011 -0300
Provide a hashed password instead of a plain text one
And remove useless debug print.
---
src/vidalia/MainWindow.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/vidalia/MainWindow.cpp b/src/vidalia/MainWindow.cpp
index 0173c69..5634e63 100644
--- a/src/vidalia/MainWindow.cpp
+++ b/src/vidalia/MainWindow.cpp
@@ -2033,9 +2033,8 @@ MainWindow::updateBrowserEnv() {
}
if(settings.getAuthenticationMethod() == TorSettings::PasswordAuth) {
- env << QString("TOR_CONTROL_PASSWD=%1").arg(settings.getControlPassword());
+ env << QString("TOR_CONTROL_PASSWD=%1").arg(TorSettings::hashPassword(settings.getControlPassword()));
env << QString("TOR_CONTROL_PORT=%1").arg(_autoControlPort);
- qWarning() << env;
}
return env;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits