Merge pull request #18626 from RameshRavone/2.1

Fix: JAR files signed with the MD5 algorithm as unsigned (godot 2)
This commit is contained in:
Rémi Verschelde 2018-05-08 15:26:02 +02:00 committed by GitHub
commit 326fd3503a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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");