aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-08-11 22:36:39 +0200
committerChristian Schneppe <christian@pix-art.de>2016-08-11 22:36:39 +0200
commit40126b39dc699686ae44a35c8fbea1523e058a42 (patch)
treee59dd2aadf03338d431a93e9983e3a8554c40f89
parent6556154f28baea01ac0aab9d358d5b731a24dd8b (diff)
don't show plaintext passwords in adb logs
-rw-r--r--src/main/java/de/pixart/messenger/services/ExportLogsService.java1
-rw-r--r--src/main/java/de/pixart/messenger/ui/WelcomeActivity.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/services/ExportLogsService.java b/src/main/java/de/pixart/messenger/services/ExportLogsService.java
index e7c72e5bb..ff63a6dbb 100644
--- a/src/main/java/de/pixart/messenger/services/ExportLogsService.java
+++ b/src/main/java/de/pixart/messenger/services/ExportLogsService.java
@@ -175,7 +175,6 @@ public class ExportLogsService extends Service {
String EncryptionKey = mAccount.getPassword(); //get account password
- Log.d(Config.LOGTAG,"Password for " + mAccount.getJid().toString() + " is " + EncryptionKey);
// encrypt database from the input file to the output file
try {
EncryptDecryptFile.encrypt(InputFile, OutputFile, EncryptionKey);
diff --git a/src/main/java/de/pixart/messenger/ui/WelcomeActivity.java b/src/main/java/de/pixart/messenger/ui/WelcomeActivity.java
index b97dcbcfd..5cf4b28e2 100644
--- a/src/main/java/de/pixart/messenger/ui/WelcomeActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/WelcomeActivity.java
@@ -167,7 +167,6 @@ public class WelcomeActivity extends Activity {
FileOutputStream OutputTemp = new FileOutputStream(TempFile);
try {
- Log.d(Config.LOGTAG,"Try decryption to temp with password: " + DecryptionKey);
EncryptDecryptFile.decrypt(InputFile, OutputTemp, DecryptionKey);
} catch (NoSuchAlgorithmException e) {
Log.d(Config.LOGTAG,"Database importer: decryption failed with " + e);