<?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 Automatically decrypt root filesystem systemd/dm-crypt/cryptsetup/crypttab in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Automatically-decrypt-root-filesystem-systemd-dm-crypt/m-p/1938128#M227571</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have followed the document AN12714.pdf and the IMX Linux User guide(IMXLUG_6.6.23_2.0.0) on how to use the CAAM module to encrypt and decrypt a partition. Since the operations performed there are manually I want to have this done automatically.&lt;/P&gt;&lt;P&gt;It is possible to script these steps and introduce a script at boot in my initramfs to do this, but I have also looked into using third-party components such as the module systemd-cryptsetup of systemd and the usage of a /etc/crypttab file. I can however not yet determine if this is usable with the CAAM module as in the examples in the documents the keys are imported into the keyring and then use dmsetup to decrypt the partition.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Does somebody have a explanation on how this should work with the combination of the CAAM module?&lt;/LI&gt;&lt;LI&gt;And did anybody managed to get this combination working or is there some reference forum post where this is working/discussed?&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Thu, 22 Aug 2024 06:54:56 GMT</pubDate>
    <dc:creator>beestarbush</dc:creator>
    <dc:date>2024-08-22T06:54:56Z</dc:date>
    <item>
      <title>Automatically decrypt root filesystem systemd/dm-crypt/cryptsetup/crypttab</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Automatically-decrypt-root-filesystem-systemd-dm-crypt/m-p/1938128#M227571</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have followed the document AN12714.pdf and the IMX Linux User guide(IMXLUG_6.6.23_2.0.0) on how to use the CAAM module to encrypt and decrypt a partition. Since the operations performed there are manually I want to have this done automatically.&lt;/P&gt;&lt;P&gt;It is possible to script these steps and introduce a script at boot in my initramfs to do this, but I have also looked into using third-party components such as the module systemd-cryptsetup of systemd and the usage of a /etc/crypttab file. I can however not yet determine if this is usable with the CAAM module as in the examples in the documents the keys are imported into the keyring and then use dmsetup to decrypt the partition.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Does somebody have a explanation on how this should work with the combination of the CAAM module?&lt;/LI&gt;&lt;LI&gt;And did anybody managed to get this combination working or is there some reference forum post where this is working/discussed?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 22 Aug 2024 06:54:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Automatically-decrypt-root-filesystem-systemd-dm-crypt/m-p/1938128#M227571</guid>
      <dc:creator>beestarbush</dc:creator>
      <dc:date>2024-08-22T06:54:56Z</dc:date>
    </item>
  </channel>
</rss>

