mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02:00
don't include .idsig files into the index
.idsig files contain an apksig v4 (https://source.android.com/security/apksigning/v4) new versions of apksigner make this signature by default and it ends up in /repo. Without this patch it would be included into the index as a file to be downloaded by users. F-Droid Client crashes when it encounters such an apk entry. It's fine to have these signature files in the repo though, maybe fdroidclient can make use of them at some point in the future (they are intended to support streaming app installations).
This commit is contained in:
parent
8c32cd2b43
commit
03b1adbe2b
@ -3731,6 +3731,7 @@ def is_repo_file(filename):
|
|||||||
return os.path.isfile(filename) \
|
return os.path.isfile(filename) \
|
||||||
and not filename.endswith(b'.asc') \
|
and not filename.endswith(b'.asc') \
|
||||||
and not filename.endswith(b'.sig') \
|
and not filename.endswith(b'.sig') \
|
||||||
|
and not filename.endswith(b'.idsig') \
|
||||||
and not filename.endswith(b'.log.gz') \
|
and not filename.endswith(b'.log.gz') \
|
||||||
and os.path.basename(filename) not in [
|
and os.path.basename(filename) not in [
|
||||||
b'index.jar',
|
b'index.jar',
|
||||||
|
Loading…
Reference in New Issue
Block a user