Browse Source

Merge pull request #18627 from RameshRavone/patch-2

Fix: JAR files signed with the MD5 algorithm as unsigned (godot 3)
Max Hilbrunner 7 years ago
parent
commit
c32b24da70
1 changed files with 2 additions and 2 deletions
  1. 2 2
      platform/android/export/export.cpp

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

@@ -1643,9 +1643,9 @@ public:
 
 			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("export/android/timestamping_authority_url");
 			if (tsa_url != "") {
 				args.push_back("-tsa");