Fix: JAR files signed with the MD5 algorithm as unsigned

This commit is contained in:
RameshRavone 2018-05-05 12:06:45 +05:30
parent 27e349d161
commit d3182248c4
No known key found for this signature in database
GPG Key ID: 90B471D9AC10312A
1 changed files with 2 additions and 2 deletions

View File

@ -1643,9 +1643,9 @@ public:
List<String> args; List<String> args;
args.push_back("-digestalg"); args.push_back("-digestalg");
args.push_back("SHA1"); args.push_back("SHA-256");
args.push_back("-sigalg"); args.push_back("-sigalg");
args.push_back("MD5withRSA"); args.push_back("SHA256withRSA");
String tsa_url = EditorSettings::get_singleton()->get("export/android/timestamping_authority_url"); String tsa_url = EditorSettings::get_singleton()->get("export/android/timestamping_authority_url");
if (tsa_url != "") { if (tsa_url != "") {
args.push_back("-tsa"); args.push_back("-tsa");