mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-01-12 16:28:20 +01:00
build: Explicitly set signing algorithms
Newer versions of jarsigner default to SHA256, which is unsupported for some versions of Android we support.
This commit is contained in:
parent
f466b1c127
commit
93c0ff5ff6
2
Makefile
2
Makefile
@ -75,7 +75,7 @@ _build/$(PACKAGE_NAME).debug.unsigned-apk: AAPT_PACKAGE_FLAGS+=--rename-manifest
|
||||
# OPTS can be used to pass -storepass or -keypass options to jarsigner
|
||||
_build/%.signed-apk: _build/%.unsigned-apk %-keystore.conf
|
||||
eval `cat $(word 2,$^)` && \
|
||||
jarsigner -keystore "$$KEYSTORE" $$OPTS -signedjar "$@" "$<" "$$KEYNAME"
|
||||
jarsigner -sigalg SHA1withRSA -digestalg SHA1 -keystore "$$KEYSTORE" $$OPTS -signedjar "$@" "$<" "$$KEYNAME"
|
||||
|
||||
# Package
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user