Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0aa559b2 authored by Alex Klyubin's avatar Alex Klyubin
Browse files

Switch APK signing from MD5WithRSA to SHA1WithRSA.

While we're at it, remove duplicates of app-signing.jd.

Bug: 9000563
Change-Id: Ib7e08e719b6b9c9b1e8116e6e2a77611f046b276
parent 7c6ebac7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -466,7 +466,7 @@ the keystore containing your private key.</td>
</tr>
<tr>
<td><code>-sigalg</code></td><td>The name of the signature algorithim to use in signing the APK.
Use the value {@code MD5withRSA}.</td>
Use the value {@code SHA1withRSA}.</td>
</tr>
<tr>
<td><code>-digestalg</code></td><td>The message digest algorithim to use in processing the entries
@@ -492,7 +492,7 @@ way, your password is not stored in your shell history.</p></td>
<code>my_application.apk</code>, using the example keystore created above.
</p>

<pre>$ jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore my-release-key.keystore
<pre>$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore
my_application.apk alias_name</pre>

<p>Running the example command above, Jarsigner prompts you to provide
+0 −618

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −618

File deleted.

Preview size limit exceeded, changes collapsed.