Currently no DSA Certs are parsed, but chilkat understands them as well.
diff -r 1e64755cd512 androguard/core/bytecodes/apk.py
--- a/androguard/core/bytecodes/apk.py Sun Mar 24 15:08:12 2013 -0700
+++ b/androguard/core/bytecodes/apk.py Fri Aug 02 12:26:42 2013 +0200
@@ -634,14 +634,14 @@
return None
def get_signature_name(self):
- signature_expr = re.compile("^(META-INF/)(.*)(\.RSA)$")
+ signature_expr = re.compile("^(META-INF/)(.*)(\.RSA|\.DSA)$")
for i in self.get_files():
if signature_expr.search(i):
return i
return None
def get_signature(self):
- signature_expr = re.compile("^(META-INF/)(.*)(\.RSA)$")
+ signature_expr = re.compile("^(META-INF/)(.*)(\.RSA|\.DSA)$")
for i in self.get_files():
if signature_expr.search(i):
return self.get_file(i)
Original issue reported on code.google.com by 5hp...@gmail.com on 2 Aug 2013 at 10:28
Original issue reported on code.google.com by
5hp...@gmail.com
on 2 Aug 2013 at 10:28