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

Commit 45e56fd5 authored by Alex Klyubin's avatar Alex Klyubin Committed by Scott Main
Browse files

cherypick from mr2: Ib7e08e719b6b9c9b1e8116e6e2a77611f046b276

Switch APK signing from MD5WithRSA to SHA1WithRSA.

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

Change-Id: I3b5441bc61107a4f6d9b67366517785e6792cf9e
parent f943b6de
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.