Adding support for DSA and ECDSA signatures.

This commit is contained in:
Markus Kilås 2016-06-17 12:58:52 +02:00
parent 3e88b7444d
commit cf320f2e9a

View file

@ -1848,7 +1848,7 @@ def place_srclib(root_dir, number, libpath):
if not placed:
o.write('android.library.reference.%d=%s\n' % (number, relpath))
apk_sigfile = re.compile(r'META-INF/[0-9A-Za-z]+\.(SF|RSA)')
apk_sigfile = re.compile(r'META-INF/[0-9A-Za-z]+\.(SF|RSA|DSA|EC)')
def verify_apks(signed_apk, unsigned_apk, tmp_dir):