1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Merge branch 'support-all-signing-key-types' into 'master'

support all APK signing key types: DSA, EC, RSA

The lovely python getsig replacement was only looking for .RSA files, but the signing key is defined as: "A signature block file with a .DSA, .RSA, or .EC extension"
https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html

For more info:
https://f-droid.org/forums/topic/binary-repo-whatsapp-error

See merge request !51
This commit is contained in:
Ciaran Gultnieks 2015-05-14 16:12:04 +00:00
commit 76332e7c0e

View File

@ -329,7 +329,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):