<?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 Re: Securing Flash Partition in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Securing-Flash-Partition/m-p/1947508#M228046</link>
    <description>&lt;P&gt;I am thinking of revising my plan. I am not familiar with security but I want to do the following.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Log in as root over a serial connection&lt;/LI&gt;&lt;LI&gt;Run caam-keygen to create a key ie. caam_key&lt;/LI&gt;&lt;LI&gt;Store caam_key to the securednand partition&lt;/LI&gt;&lt;LI&gt;Use dm-crypt to encrypt securednand with a password file to be stored in&amp;nbsp;/root/dm-crypt-pw&lt;/LI&gt;&lt;LI&gt;Use the caam_key to encrypt the file /root/dm-crypt-pw&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Now on boot I need to decrypt&amp;nbsp;securednand using&amp;nbsp;/root/dm-crypt-pw to get&amp;nbsp;caam_key. This seems like a cyclic dependency. Not sure how to get around this.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2024 19:09:42 GMT</pubDate>
    <dc:creator>MichaelBMiner</dc:creator>
    <dc:date>2024-09-04T19:09:42Z</dc:date>
    <item>
      <title>Securing Flash Partition</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Securing-Flash-Partition/m-p/1947493#M228045</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to use the Yocto project and CAAM to create a secure flash partition on my custom board. Note I cannot use the SNVS as the device will not always be powered, the design does not allow for a battery.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my yocto project I am going to create a new 8MB partition and call it securednand. As the device is to ship out the door there is an End of Line configuration step. Here we will run a script as root to do the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Log in as root over a serial connection&lt;/LI&gt;&lt;LI&gt;Run caam-keygen to create a key ie. caam_key&lt;/LI&gt;&lt;LI&gt;Store caam_key to the&amp;nbsp;securednand partition&lt;/LI&gt;&lt;LI&gt;Use dm-crypt to encrypt&amp;nbsp;securednand with a password file to be stored in /root (or another user protected folder)&lt;/LI&gt;&lt;LI&gt;When the caam_key is needed, a service will be run to decrypt the&amp;nbsp;securednand, read the caam_key and use it as needed.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Is there anything else I need to be doing? Is this a moderately deceny security strategy?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 18:27:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Securing-Flash-Partition/m-p/1947493#M228045</guid>
      <dc:creator>MichaelBMiner</dc:creator>
      <dc:date>2024-09-04T18:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Securing Flash Partition</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Securing-Flash-Partition/m-p/1947508#M228046</link>
      <description>&lt;P&gt;I am thinking of revising my plan. I am not familiar with security but I want to do the following.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Log in as root over a serial connection&lt;/LI&gt;&lt;LI&gt;Run caam-keygen to create a key ie. caam_key&lt;/LI&gt;&lt;LI&gt;Store caam_key to the securednand partition&lt;/LI&gt;&lt;LI&gt;Use dm-crypt to encrypt securednand with a password file to be stored in&amp;nbsp;/root/dm-crypt-pw&lt;/LI&gt;&lt;LI&gt;Use the caam_key to encrypt the file /root/dm-crypt-pw&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Now on boot I need to decrypt&amp;nbsp;securednand using&amp;nbsp;/root/dm-crypt-pw to get&amp;nbsp;caam_key. This seems like a cyclic dependency. Not sure how to get around this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 19:09:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Securing-Flash-Partition/m-p/1947508#M228046</guid>
      <dc:creator>MichaelBMiner</dc:creator>
      <dc:date>2024-09-04T19:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Securing Flash Partition</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Securing-Flash-Partition/m-p/1948912#M228138</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please have the reference - the section &amp;lt;10.5 Disk encryption acceleration&amp;gt; of&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf" target="_self"&gt;IMX_LINUX_USERS_GUIDE.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 08:40:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Securing-Flash-Partition/m-p/1948912#M228138</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2024-09-06T08:40:21Z</dc:date>
    </item>
  </channel>
</rss>

