diff options
author | Scott Jackson <daneren2005@gmail.com> | 2020-09-12 10:32:08 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2020-09-12 10:32:08 -0700 |
commit | 85194adc64c211fd9e7c0b2de57b16366f39f98d (patch) | |
tree | 1b870a1ffe21d20dd3a8879f3522360929cf9835 /app/src/main | |
parent | 139fc4eb9fb47f803740ffb289d4812cabd56a57 (diff) | |
download | dsub-85194adc64c211fd9e7c0b2de57b16366f39f98d.tar.gz dsub-85194adc64c211fd9e7c0b2de57b16366f39f98d.tar.bz2 dsub-85194adc64c211fd9e7c0b2de57b16366f39f98d.zip |
Stop the constant logcat spam from decrypting passwords
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/util/KeyStoreUtil.java | 3 |
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)); |