From b08d54cb90ed5a70bce4e365f770a3f1f921c21c Mon Sep 17 00:00:00 2001 From: "Felix C. Stegerman" Date: Wed, 14 Apr 2021 23:52:13 +0200 Subject: [PATCH] fix metadata_find_signing_files() --- fdroidserver/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index c388fa63..86cc6403 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -3006,8 +3006,8 @@ def metadata_find_signing_files(appid, vercode): + glob.glob(os.path.join(sigdir, '*.RSA')) ) signature_block_pat = re.compile(r'(\.DSA|\.EC|\.RSA)$') - apk_signing_block = os.path.isfile(os.path.join(sigdir, "APKSigningBlock")) - apk_signing_block_offset = os.path.isfile(os.path.join(sigdir, "APKSigningBlockOffset")) + apk_signing_block = os.path.join(sigdir, "APKSigningBlock") + apk_signing_block_offset = os.path.join(sigdir, "APKSigningBlockOffset") if os.path.isfile(apk_signing_block) and os.path.isfile(apk_signing_block_offset): v2_files = apk_signing_block, apk_signing_block_offset else: