diff --git a/app/lint.xml b/app/lint.xml index e93e67d8e..382ff38f8 100644 --- a/app/lint.xml +++ b/app/lint.xml @@ -23,6 +23,7 @@ + diff --git a/app/src/full/java/kellinwood/security/zipsigner/optional/PasswordObfuscator.java b/app/src/full/java/kellinwood/security/zipsigner/optional/PasswordObfuscator.java index 352c0b30d..34c0b2f5b 100644 --- a/app/src/full/java/kellinwood/security/zipsigner/optional/PasswordObfuscator.java +++ b/app/src/full/java/kellinwood/security/zipsigner/optional/PasswordObfuscator.java @@ -65,6 +65,13 @@ public class PasswordObfuscator { return result; } + /** + * This uses the AES-ECB cipher which is known to be insecure + * + * @see The ECB Penguin + */ + @Deprecated + @SuppressWarnings("GetInstance") public String encode(String junk, char[] password) { if (password == null) return null; try { @@ -84,6 +91,13 @@ public class PasswordObfuscator { return null; } + /** + * This uses the AES-ECB cipher which is known to be insecure + * + * @see The ECB Penguin + */ + @Deprecated + @SuppressWarnings("GetInstance") public char[] decode(String junk, String password) { if (password == null) return null; try {