Skip to content

Make signature check case insensitive #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def remove_old_pkg_variants(orig_dict):
assert os.path.isfile(base_apk_path)

base_apk_signature = load_signature(base_apk_path)
if (base_apk_signature not in pkg_signatures):
if (base_apk_signature.lower() not in [signature.lower() for signature in pkg_signatures]):
raise Exception("unknown signature of " + base_apk_path + ", SHA-256: " + base_apk_signature)

# This is needed to prevent App Store from attempting to install minSdk 31 version of this package on SDK 35+
Expand Down