diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-08-11 22:36:39 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-08-11 22:36:39 +0200 |
commit | 40126b39dc699686ae44a35c8fbea1523e058a42 (patch) | |
tree | e59dd2aadf03338d431a93e9983e3a8554c40f89 | |
parent | 6556154f28baea01ac0aab9d358d5b731a24dd8b (diff) |
don't show plaintext passwords in adb logs
-rw-r--r-- | src/main/java/de/pixart/messenger/services/ExportLogsService.java | 1 | ||||
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/WelcomeActivity.java | 1 |
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); |