<?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>LPC MicrocontrollersのトピックRe: LPC55S69 Signed Image Boot - Questions on using Certificate Chains?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Signed-Image-Boot-Questions-on-using-Certificate-Chains/m-p/1013460#M39676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If I put any revocation IDs anywhere else up in the chain, they would be ignored.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes this is correct, it has to be the final certificate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not a problem, glad to help!&lt;/P&gt;&lt;P&gt;If you have any questions in the future don't hesitate to contact us again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Sabina&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2020 04:03:43 GMT</pubDate>
    <dc:creator>Sabina_Bruce</dc:creator>
    <dc:date>2020-03-27T04:03:43Z</dc:date>
    <item>
      <title>LPC55S69 Signed Image Boot - Questions on using Certificate Chains?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Signed-Image-Boot-Questions-on-using-Certificate-Chains/m-p/1013457#M39673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've read through &lt;A href="https://www.nxp.com/docs/en/application-note/AN12283.pdf"&gt;Application Note 12283&lt;/A&gt;&amp;nbsp;(LPC55Sxx Secure Boot) and am trying to work through exactly how a certificate chain, if it is used, is walked on the processor.&amp;nbsp; My confusion is that the App Note only ever talks about one certificate - the root.&amp;nbsp; It mentions in section 3.4 that you can and should create a certificate chain, but then, how does the ROM validate the chain?&amp;nbsp; Figure 5 (Signed image format) only shows one x509 certificate that would be included in the firmware file.&amp;nbsp; What if my chain has a root -&amp;gt; intermediary -&amp;gt; end entity?&amp;nbsp; Is it expecting that one x509 certificate to include the entire chain in it?&amp;nbsp; If so, are there any length restrictions?&amp;nbsp; This just isn't clear :-(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when generating certificate chains, there is the sequence id that has the revocation id, but each cert in the chain could have their own sequence numbers.&amp;nbsp; What is best practice here?&amp;nbsp; Should all of the sequence numbers in the chain be the same for the purpose of anti-rollback?&amp;nbsp; Or, is only the end entity sequence number checked?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry if these questions seem silly, but considering the probability of me&amp;nbsp;bricking&amp;nbsp;my dev kit is high if I make a mistake in this stuff, I'd rather ask silly questions than be left with a paperweight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 01:02:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Signed-Image-Boot-Questions-on-using-Certificate-Chains/m-p/1013457#M39673</guid>
      <dc:creator>jlongo</dc:creator>
      <dc:date>2020-03-25T01:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 Signed Image Boot - Questions on using Certificate Chains?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Signed-Image-Boot-Questions-on-using-Certificate-Chains/m-p/1013458#M39674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jeffrey,&lt;/P&gt;&lt;P&gt;Hope you are doing well.&lt;/P&gt;&lt;P&gt;I recommend to take a look at Chapter 7 of the&amp;nbsp;&lt;A href="https://www.nxp.com/webapp/Download?colCode=UM11126"&gt;reference manual&lt;/A&gt;. It explains with the details of what you are looking for, such as the structure, length, considerations, etc.&lt;/P&gt;&lt;P&gt;Specifically, section 7.3.5 where you will find the certificate block structure and its requirements and recommendations.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/103520i32A5458001565210/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the revocation ID, The x509 serial number field in the &lt;STRONG&gt;image signing certificate&lt;/STRONG&gt; is used the following way: byte 0&lt;BR /&gt;shall be 0x3c, byte 1 shall be 0xc3, byte 2 and byte 3 form an unsigned 16-bit integer whose value is compared with the IMAGE_KEY_REVOKE value in the PFR. On mismatch, the image authentication process will fail.&lt;/P&gt;&lt;P&gt;The image signing certificate is the final certificate of the certificate table. It's not a problem if you use one certificate, for more details on the structure you can refer to the last part of section&amp;nbsp;7.3.5.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need any further information or have any further questions, please do not hesitate to get back to me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 16:13:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Signed-Image-Boot-Questions-on-using-Certificate-Chains/m-p/1013458#M39674</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-03-26T16:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 Signed Image Boot - Questions on using Certificate Chains?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Signed-Image-Boot-Questions-on-using-Certificate-Chains/m-p/1013459#M39675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/sabinabruce"&gt;sabinabruce&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the pointer to the additional information in the UM.&amp;nbsp; The explanation in the user manual that the "Certificate" is really a "Certificate Table" where it can contain multiple certificates was immensely helpful and cleared up a lot of my confusion around that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, from what I understand from your explanation, it is the revocation ID in the end entity (image signing certificate) that is used to enforce rollback protection.&amp;nbsp; If I put any revocation IDs anywhere else up in the chain, they would be ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you get a chance to confirm my understanding, that would be great. Thanks so much for your reply!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 16:23:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Signed-Image-Boot-Questions-on-using-Certificate-Chains/m-p/1013459#M39675</guid>
      <dc:creator>jlongo</dc:creator>
      <dc:date>2020-03-26T16:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 Signed Image Boot - Questions on using Certificate Chains?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Signed-Image-Boot-Questions-on-using-Certificate-Chains/m-p/1013460#M39676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If I put any revocation IDs anywhere else up in the chain, they would be ignored.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes this is correct, it has to be the final certificate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not a problem, glad to help!&lt;/P&gt;&lt;P&gt;If you have any questions in the future don't hesitate to contact us again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Sabina&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2020 04:03:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Signed-Image-Boot-Questions-on-using-Certificate-Chains/m-p/1013460#M39676</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-03-27T04:03:43Z</dc:date>
    </item>
  </channel>
</rss>

