<?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>MCUboot  imgtool generating a keypair failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101880/mcuboot-imgtool-generating-a-keypair-failed</link><description>Procedure to reproduce this issue is as follows. 
 1. cd D:\ncs\v2.3.0\bootloader\mcuboot\scripts 
 2. python3 imgtool.py keygen -k mykey.pem -t rsa-2048 
 
 Log messages are as follows. 
 D:\ncs\v2.3.0\bootloader\mcuboot\scripts&amp;gt;python3 imgtool.py keygen</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Jul 2023 13:54:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101880/mcuboot-imgtool-generating-a-keypair-failed" /><item><title>RE: MCUboot  imgtool generating a keypair failed</title><link>https://devzone.nordicsemi.com/thread/436520?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 13:54:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83bf7757-50a9-4def-96c7-ef5c6b289f47</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Thanks for your reply!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUboot  imgtool generating a keypair failed</title><link>https://devzone.nordicsemi.com/thread/436491?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 13:05:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9a0ccda-d102-4e16-8e69-b2b9e6cedae5</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;From the error log, I guess this is an issue because of the conflicting python versions. May be your&amp;nbsp;&lt;span style="font-family:monospace;"&gt;pythonpath&lt;/span&gt;&amp;nbsp;is pointing at a different version of Python. Make sure you&amp;#39;ve installed your required Python version in path.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>