<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Sign Android images with new generated keys. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Sign-Android-images-with-new-generated-keys/m-p/1088933#M159672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're trying to sign target files with our own keys (generated with the mkkeys.sh script, as described in the FAQ pdf ), but are getting an error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;rewriting BOOT/RAMDISK/default.prop:&lt;BR /&gt; replace: ro.bootimage.build.fingerprint=Android/var_mx6/var_mx6:8.0.0/1.0.0-ga/2020072402:user/dev-keys&lt;BR /&gt; with: ro.bootimage.build.fingerprint=Android/var_mx6/var_mx6:8.0.0/1.0.0-ga/2020072402:user/release-keys&lt;BR /&gt;rewriting RECOVERY/RAMDISK/default.prop:&lt;BR /&gt;rewriting RECOVERY/RAMDISK/prop.default:&lt;BR /&gt; replace: ro.bootimage.build.fingerprint=Android/var_mx6/var_mx6:8.0.0/1.0.0-ga/2020072402:user/dev-keys&lt;BR /&gt; with: ro.bootimage.build.fingerprint=Android/var_mx6/var_mx6:8.0.0/1.0.0-ga/2020072402:user/release-keys&lt;BR /&gt; replace: ro.build.display.id=1.0.0-ga dev-keys&lt;BR /&gt; with: ro.build.display.id=1.0.0-ga&lt;BR /&gt; replace: ro.build.tags=dev-keys&lt;BR /&gt; with: ro.build.tags=release-keys&lt;BR /&gt; replace: ro.build.description=var_mx6-user 8.0.0 1.0.0-ga 2020072402 dev-keys&lt;BR /&gt; with: ro.build.description=var_mx6-user 8.0.0 1.0.0-ga 2020072402 release-keys&lt;BR /&gt; replace: ro.build.fingerprint=Android/var_mx6/var_mx6:8.0.0/1.0.0-ga/2020072402:user/dev-keys&lt;BR /&gt; with: ro.build.fingerprint=Android/var_mx6/var_mx6:8.0.0/1.0.0-ga/2020072402:user/release-keys&lt;BR /&gt; signing: BasicDreams.apk (/home/nvilaca/.android-certs//platform)&lt;BR /&gt;java.security.NoSuchAlgorithmException: 1.2.840.113549.1.5.13 SecretKeyFactory not available&lt;BR /&gt; at java.base/javax.crypto.SecretKeyFactory.&amp;lt;init&amp;gt;(SecretKeyFactory.java:122)&lt;BR /&gt; at java.base/javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:168)&lt;BR /&gt; at com.android.signapk.SignApk.decryptPrivateKey(SignApk.java:238)&lt;BR /&gt; at com.android.signapk.SignApk.readPrivateKey(SignApk.java:261)&lt;BR /&gt; at com.android.signapk.SignApk.main(SignApk.java:1024)&lt;/P&gt;&lt;P&gt;ERROR: signapk.jar failed: return code 1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it the way the keys are generated? Or something missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ubuntu 18.04.1&lt;/P&gt;&lt;P&gt;OpenSSL 1.1.1&amp;nbsp; 11 Sep 2018&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jul 2020 17:12:27 GMT</pubDate>
    <dc:creator>NunoVilaca</dc:creator>
    <dc:date>2020-07-24T17:12:27Z</dc:date>
    <item>
      <title>Sign Android images with new generated keys.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Sign-Android-images-with-new-generated-keys/m-p/1088933#M159672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're trying to sign target files with our own keys (generated with the mkkeys.sh script, as described in the FAQ pdf ), but are getting an error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;rewriting BOOT/RAMDISK/default.prop:&lt;BR /&gt; replace: ro.bootimage.build.fingerprint=Android/var_mx6/var_mx6:8.0.0/1.0.0-ga/2020072402:user/dev-keys&lt;BR /&gt; with: ro.bootimage.build.fingerprint=Android/var_mx6/var_mx6:8.0.0/1.0.0-ga/2020072402:user/release-keys&lt;BR /&gt;rewriting RECOVERY/RAMDISK/default.prop:&lt;BR /&gt;rewriting RECOVERY/RAMDISK/prop.default:&lt;BR /&gt; replace: ro.bootimage.build.fingerprint=Android/var_mx6/var_mx6:8.0.0/1.0.0-ga/2020072402:user/dev-keys&lt;BR /&gt; with: ro.bootimage.build.fingerprint=Android/var_mx6/var_mx6:8.0.0/1.0.0-ga/2020072402:user/release-keys&lt;BR /&gt; replace: ro.build.display.id=1.0.0-ga dev-keys&lt;BR /&gt; with: ro.build.display.id=1.0.0-ga&lt;BR /&gt; replace: ro.build.tags=dev-keys&lt;BR /&gt; with: ro.build.tags=release-keys&lt;BR /&gt; replace: ro.build.description=var_mx6-user 8.0.0 1.0.0-ga 2020072402 dev-keys&lt;BR /&gt; with: ro.build.description=var_mx6-user 8.0.0 1.0.0-ga 2020072402 release-keys&lt;BR /&gt; replace: ro.build.fingerprint=Android/var_mx6/var_mx6:8.0.0/1.0.0-ga/2020072402:user/dev-keys&lt;BR /&gt; with: ro.build.fingerprint=Android/var_mx6/var_mx6:8.0.0/1.0.0-ga/2020072402:user/release-keys&lt;BR /&gt; signing: BasicDreams.apk (/home/nvilaca/.android-certs//platform)&lt;BR /&gt;java.security.NoSuchAlgorithmException: 1.2.840.113549.1.5.13 SecretKeyFactory not available&lt;BR /&gt; at java.base/javax.crypto.SecretKeyFactory.&amp;lt;init&amp;gt;(SecretKeyFactory.java:122)&lt;BR /&gt; at java.base/javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:168)&lt;BR /&gt; at com.android.signapk.SignApk.decryptPrivateKey(SignApk.java:238)&lt;BR /&gt; at com.android.signapk.SignApk.readPrivateKey(SignApk.java:261)&lt;BR /&gt; at com.android.signapk.SignApk.main(SignApk.java:1024)&lt;/P&gt;&lt;P&gt;ERROR: signapk.jar failed: return code 1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it the way the keys are generated? Or something missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ubuntu 18.04.1&lt;/P&gt;&lt;P&gt;OpenSSL 1.1.1&amp;nbsp; 11 Sep 2018&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2020 17:12:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Sign-Android-images-with-new-generated-keys/m-p/1088933#M159672</guid>
      <dc:creator>NunoVilaca</dc:creator>
      <dc:date>2020-07-24T17:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sign Android images with new generated keys.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Sign-Android-images-with-new-generated-keys/m-p/1088934#M159673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which MPU are you running it at? -Anyway, the purpose of this is to sign OTA packages, for that, you will need to use the mkkey.sh script for generating the keys, but please remember that it will be required to be run 4 times (for each key) specifying the key name and password for each. The detailed description is addressed in chapter 29 of the following document:&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/reference-manual/Android_Frequently_Asked_Questions.pdf" title="https://www.nxp.com/docs/en/reference-manual/Android_Frequently_Asked_Questions.pdf"&gt;https://www.nxp.com/docs/en/reference-manual/Android_Frequently_Asked_Questions.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Ivan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2020 18:59:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Sign-Android-images-with-new-generated-keys/m-p/1088934#M159673</guid>
      <dc:creator>IvanRuiz</dc:creator>
      <dc:date>2020-07-31T18:59:54Z</dc:date>
    </item>
  </channel>
</rss>

