Fix JAR files signed with the MD5 algorithm are not supported

This commit is contained in:
RameshRavone 2018-05-05 11:53:17 +05:30
parent f8c36e2266
commit 38b5679c49
No known key found for this signature in database
GPG Key ID: 90B471D9AC10312A

View File

@ -1282,9 +1282,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");