From aa80662642ce6fb71db1ea7369b50f6fe149ffde Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 21 Oct 2020 15:16:12 +0200 Subject: [PATCH] init: enable apksigner by default so v2/v3 APK signatures validate Ultimately we want to get to using apksigner by default everywhere, this gets us closer to that by setting up all new repos to use apksigner by default in the config.py --- fdroidserver/init.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fdroidserver/init.py b/fdroidserver/init.py index 20596130..64f63f73 100644 --- a/fdroidserver/init.py +++ b/fdroidserver/init.py @@ -162,6 +162,10 @@ def main(): # now that we have a local config.py, read configuration... config = common.read_config(options) + # enable apksigner by default so v2/v3 APK signatures validate + if common.find_apksigner() is not None: + test_config['apksigner'] = common.find_apksigner() + # the NDK is optional and there may be multiple versions of it, so it's # left for the user to configure