chiark / gitweb /
support all APK signing key types: DSA, EC, RSA
authorHans-Christoph Steiner <hans@eds.org>
Wed, 13 May 2015 21:50:08 +0000 (17:50 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Thu, 14 May 2015 16:04:46 +0000 (12:04 -0400)
"A signature block file with a .DSA, .RSA, or .EC extension"
https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html

fdroidserver/update.py

index ee7435e7b81eb7b77839a9c1ba6693b464c1f341..b5fac3b8718df099b758d885b0798e3a0419f3fb 100644 (file)
@@ -328,7 +328,8 @@ def resize_all_icons(repodirs):
                 resize_icon(iconpath, density)
 
 
-cert_path_regex = re.compile(r'^META-INF/.*\.RSA$')
+# A signature block file with a .DSA, .RSA, or .EC extension
+cert_path_regex = re.compile(r'^META-INF/.*\.(DSA|EC|RSA)$')
 
 
 def getsig(apkpath):