Commit 24eb1e8a authored by BogDan Vatra's avatar BogDan Vatra
Browse files

Android: Fix OpenJDK 7 package sign.

Add "-digestalg SHA1 -sigalg MD5withRSA" to jarsign parameters as suggested by
https://code.google.com/p/android/issues/detail?id=19567



Change-Id: I0c809517d8cd3b1225b6a557f9f91227dbf42cf9
Reviewed-by: default avatarEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent ebb787cd
......@@ -744,7 +744,9 @@ bool AndroidPackageCreationStep::createPackage()
QByteArray keyPass = m_certificatePasswdForRun.toUtf8();
build.clear();
build << QLatin1String("-verbose") << QLatin1String("-keystore") << m_keystorePathForRun.toUserOutput()
build << QLatin1String("-verbose") << QLatin1String("-digestalg") << QLatin1String("SHA1")
<< QLatin1String("-sigalg") << QLatin1String("MD5withRSA")
<< QLatin1String("-keystore") << m_keystorePathForRun.toUserOutput()
<< QLatin1String("-storepass") << m_keystorePasswd
<< m_apkPathUnsigned.toUserOutput()
<< m_certificateAlias;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment