mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-15 19:50:29 +03:00
index: always use jarsigner for verifying JAR signatures
apksigner v0.7 (build-tools 26.0.1), Google made it require that the AndroidManifest.xml was present in the archive before it verifies the signature. So this needs to stick with the jarsigner hack for JARs.
This commit is contained in:
parent
535f2afe90
commit
5dcb48831f
4 changed files with 31 additions and 23 deletions
|
|
@ -266,6 +266,7 @@ cp $WORKSPACE/tests/urzip.apk \
|
|||
sed -i 's,archive_older = [0-9],archive_older = 3,' config.py
|
||||
|
||||
$fdroid update --pretty --nosign
|
||||
echo "This will fail when jarsigner allows MD5 for APK signatures"
|
||||
test `grep '<package>' archive/index.xml | wc -l` -eq 5
|
||||
test `grep '<package>' repo/index.xml | wc -l` -eq 7
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue