aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2020-09-12 10:32:08 -0700
committerScott Jackson <daneren2005@gmail.com>2020-09-12 10:32:08 -0700
commit85194adc64c211fd9e7c0b2de57b16366f39f98d (patch)
tree1b870a1ffe21d20dd3a8879f3522360929cf9835 /app/src/main/java
parent139fc4eb9fb47f803740ffb289d4812cabd56a57 (diff)
downloaddsub-85194adc64c211fd9e7c0b2de57b16366f39f98d.tar.gz
dsub-85194adc64c211fd9e7c0b2de57b16366f39f98d.tar.bz2
dsub-85194adc64c211fd9e7c0b2de57b16366f39f98d.zip
Stop the constant logcat spam from decrypting passwords
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/KeyStoreUtil.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/util/KeyStoreUtil.java b/app/src/main/java/github/daneren2005/dsub/util/KeyStoreUtil.java
index 10ec9497..057ac833 100644
--- a/app/src/main/java/github/daneren2005/dsub/util/KeyStoreUtil.java
+++ b/app/src/main/java/github/daneren2005/dsub/util/KeyStoreUtil.java
@@ -108,7 +108,6 @@ public class KeyStoreUtil {
}
public static String decrypt(@NonNull String encryptedString) {
- Log.d(TAG, "Decrypting password...");
try {
// Retrieve secret key
final Key key = getKey();
@@ -135,9 +134,7 @@ public class KeyStoreUtil {
String decryptedString = new String(cipher.doFinal(encryptedBytes));
// Return the decrypted password string
- Log.d(TAG, "Password successfully decrypted");
return decryptedString;
-
} catch (Exception e) {
Log.w(TAG, "Password decryption failed");
Log.w(TAG, Log.getStackTraceString(e));