ソースを参照

Merge pull request #18626 from RameshRavone/2.1

Fix: JAR files signed with the MD5 algorithm as unsigned (godot 2)
Rémi Verschelde 7 年 前
コミット
326fd3503a

+ 1 - 1
platform/android/AndroidManifest.xml.template

@@ -201,6 +201,6 @@ $$ADD_PERMISSION_CHUNKS$$
 <uses-permission android:name="godot.custom.18"/>
 <uses-permission android:name="godot.custom.19"/>
 
-<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="23"/>
+<uses-sdk android:minSdkVersion="18" android:targetSdkVersion="27"/>
          
 </manifest> 

+ 2 - 2
platform/android/export/export.cpp

@@ -1292,9 +1292,9 @@ Error EditorExportPlatformAndroid::export_project(const String &p_path, bool p_d
 
 		List<String> args;
 		args.push_back("-digestalg");
-		args.push_back("SHA1");
+		args.push_back("SHA-256");
 		args.push_back("-sigalg");
-		args.push_back("MD5withRSA");
+		args.push_back("SHA256withRSA");
 		String tsa_url = EditorSettings::get_singleton()->get("android/timestamping_authority_url");
 		if (tsa_url != "") {
 			args.push_back("-tsa");