<?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>Compiling ‘dfu_public_key.c’ error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17519/compiling-dfu_public_key-c-error</link><description>&amp;quot;....\dfu_public_key.c(20): error: #35: #error directive: &amp;quot;Debug public key not valid for production. Please see github.com/NordicSemiconducto.. . to generate it. 
 i found answers for linux OS in devzone, i need it for windows</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Nov 2016 11:55:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17519/compiling-dfu_public_key-c-error" /><item><title>RE: Compiling ‘dfu_public_key.c’ error</title><link>https://devzone.nordicsemi.com/thread/67359?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2016 11:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b72faad2-ff25-44d7-bc5c-80756d7be246</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you get it working? You can use &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrfutil/nrfutil_keys_generate_display.html?cp=5_4_5"&gt;nrfutil&lt;/a&gt; to create the keys in the correct format. You are supposed to store the generated public key in a new &lt;em&gt;dfu_public_key.c&lt;/em&gt; file that replaces the old &amp;quot;debug-file&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling ‘dfu_public_key.c’ error</title><link>https://devzone.nordicsemi.com/thread/67358?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2016 05:33:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:252c8e67-05cb-458a-98e4-112b3ad243bf</guid><dc:creator>Webmobi</dc:creator><description>&lt;p&gt;I used this &lt;a href="https://kjur.github.io/jsrsasign/sample-ecdsa.html"&gt;kjur.github.io/.../sample-ecdsa.html&lt;/a&gt; to generate public key.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling ‘dfu_public_key.c’ error</title><link>https://devzone.nordicsemi.com/thread/67357?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 11:30:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e54debf2-8439-4e58-9435-0df07c5d1e11</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If you are just testing out the DFU examples, you can use the project found in the &lt;code&gt;[board_name]_debug&lt;/code&gt; folder in the secure DFU bootloader example. This will add a define that lets you use the template key. If you are using DFU for production, you will have to generate your own private/public key pair and add the public key to &lt;code&gt;dfu_public_key.c&lt;/code&gt;, as described &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/ble_sdk_app_dfu_bootloader.html?cp=4_0_0_4_3_1_4#ble_sdk_app_dfu_bootloader_test"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>