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

Commit 791d76bb authored by Alex Klyubin's avatar Alex Klyubin Committed by Android (Google) Code Review
Browse files

Merge "Switch APK signing from MD5WithRSA to SHA1WithRSA." into jb-mr2-dev

parents 865cffc7 0aa559b2
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.