<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>extracting signature from DFU package</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50214/extracting-signature-from-dfu-package</link><description>Our device is based on nrf52840 + SDK 15.0.0 
 We use nrfutil application for packaging sw update (application) and use DFU for uploading &amp;amp; verify authentication 
 We also authenticate messages and data during device normal operation so we can&amp;#39;t enter</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Dec 2020 10:08:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50214/extracting-signature-from-dfu-package" /><item><title>RE: extracting signature from DFU package</title><link>https://devzone.nordicsemi.com/thread/283994?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 10:08:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:381975ee-0498-400b-a025-7393f97f604f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I understand. I don&amp;#39;t know the steps to do this with openssl, but I see already you got some advice in this post: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/63773/cross-checking-nrfutil-boot_validation_signature-for-validate_ecdsa_p256_sha256-with-openssl-command-line"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/63773/cross-checking-nrfutil-boot_validation_signature-for-validate_ecdsa_p256_sha256-with-openssl-command-line.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: extracting signature from DFU package</title><link>https://devzone.nordicsemi.com/thread/283936?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 01:45:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cc467a2-f7a7-48eb-9a19-4f87eb26e5c6</guid><dc:creator>Wendel</dc:creator><description>&lt;p&gt;Hi, Vidar&lt;/p&gt;
&lt;p&gt;I afraid the answer is No, because our key-server is openssl-based, we want to sign the init packet with openssl rather than nrfutil.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: extracting signature from DFU package</title><link>https://devzone.nordicsemi.com/thread/283764?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 10:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d08a22fd-3602-4784-858c-1291143678f5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure if there&amp;#39;s an easy way to do this with openssl. Did you consider the option of modifying nrfutil to use this elliptic curve?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: extracting signature from DFU package</title><link>https://devzone.nordicsemi.com/thread/283698?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 06:51:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23396c82-ed38-4940-b5c5-e657dee8b393</guid><dc:creator>Wendel</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Any suggestion on how to sign the init packet with OpenSSL command-line tool?&lt;/p&gt;
&lt;p&gt;The key was generated with command:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;openssl ecparam -name prime256v1 -genkey -out private_key.pem&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: extracting signature from DFU package</title><link>https://devzone.nordicsemi.com/thread/200666?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2019 07:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f01fdbf-326c-468a-88c1-5ffbb20e53c0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think&amp;nbsp;nrfutil is a good option for this.&amp;nbsp; It&amp;#39;s made specifically to sign DFU packages for our DFU solution.&amp;nbsp;It signs the init packet, not the FW image itself.&amp;nbsp;If you have some experience with python it may be easier to make your own script based on nrfutil and the crypto module it uses. Or maybe you can use the OpenSSL command-line tool.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>