aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-01-20 05:28:22 +0100
committerSven Gothel <[email protected]>2023-01-20 05:28:22 +0100
commit3987a767d0edeaf74a23ea5d4d9c4793f4c3c8c1 (patch)
tree638009687bd0093e21eeb95a80ab861c19a754ee
parent6a215f61d7aa882f4f02b031b015a678525c8642 (diff)
jogamp-androidtasks: Update key and sign parameter: sigalg 'SHA256withRSA', keyalg 'RSA', keysize '2048', validity '365', digestalg 'SHA256'
-rw-r--r--make/jogamp-androidtasks.xml15
1 files changed, 9 insertions, 6 deletions
diff --git a/make/jogamp-androidtasks.xml b/make/jogamp-androidtasks.xml
index bb9b935..9236496 100644
--- a/make/jogamp-androidtasks.xml
+++ b/make/jogamp-androidtasks.xml
@@ -194,6 +194,7 @@
<arg line="--min-api ${android.api.level}"/>
+ <!-- arg line="- -no-desugaring"/ -->
<arg line="--release"/>
<!-- arg line="- -debug"/ -->
@@ -237,11 +238,13 @@
<!-- Be Java6 keytool/jarsigner compatible, and hence Android compatible -->
<arg value="-sigalg"/>
- <arg value="MD5withRSA"/>
+ <arg value="SHA256withRSA"/>
<arg value="-keyalg"/>
<arg value="RSA"/>
<arg value="-keysize"/>
- <arg value="1024"/>
+ <arg value="2048"/>
+ <arg value="-validity"/>
+ <arg value="365"/>
<arg value="-keystore" />
<arg value="${m.aapt.build.apk}/debug.keystore" />
@@ -262,8 +265,8 @@
<!-- Be Java6 keytool/jarsigner compatible, and hence Android compatible -->
<echo>aapt.signed ${m.aapt.apkbasename}: signing w/ key @{keystore.alias} @ ${m.aapt.keystore.file}</echo>
<!-- signjar
- sigalg="MD5withRSA"
- digestalg="SHA1"
+ sigalg="SHA256withRSA"
+ digestalg="SHA256"
jar="${m.aapt.unsigned.package.file.name}"
signedjar="${m.aapt.signed.file.name}"
keystore="${m.aapt.keystore.file}"
@@ -275,9 +278,9 @@
<exec dir="." executable="jarsigner" failonerror="true">
<!-- Be Java6 keytool/jarsigner compatible, and hence Android compatible -->
<arg value="-sigalg"/>
- <arg value="MD5withRSA"/>
+ <arg value="SHA256withRSA"/>
<arg value="-digestalg"/>
- <arg value="SHA1"/>
+ <arg value="SHA256"/>
<arg value="-keystore" />
<arg value="${m.aapt.keystore.file}" />