<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/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/"><channel><title>Please do not use the .NET 2.0 HMACSHA512 and HMACSHA384 Classes</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx</link><description>We’ve recently discovered a bug in the HMACSHA512 and HMACSHA384 classes which shipped in the .NET Framework 2.0. This bug will cause these algorithms to produce incorrect results which are not consistent with other implementations of HMAC-SHA-512 and</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Microsoft informa sobre un bug en las clases HMACSHA512 y HMACSHA384</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#1567134</link><pubDate>Wed, 31 Jan 2007 23:45:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1567134</guid><dc:creator>Jorge Serrano - MVP Visual Developer - Visual Basic</dc:creator><description>&lt;p&gt;Microsoft ha informado p&amp;#250;blicamente de un bug detectado hace poco en sus clases de criptograf&amp;#237;a HMACSHA512&lt;/p&gt;
</description></item><item><title>.Net Security Blog : Please do not use the .NET 2.0 HMACSHA512 and HMA</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#1567250</link><pubDate>Thu, 01 Feb 2007 00:24:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1567250</guid><dc:creator>SecurityKicks.com</dc:creator><description>&lt;p&gt;You've been kicked (a good thing) - Trackback from SecurityKicks.com&lt;/p&gt;
</description></item><item><title>Inconsistencias en HMACSHA512 y HMACSHA384</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#1575783</link><pubDate>Thu, 01 Feb 2007 23:37:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1575783</guid><dc:creator>[ punto net ]</dc:creator><description>&lt;p&gt;El equipo de Seguridad del CLR del Microsoft .NET Framework ha anunciado que existen ciertas inconsistencias...&lt;/p&gt;
</description></item><item><title>.NET 2.0 : Bug dans les classes HMACSHA512 et HMACSHA384 (System.Security.Cryptography)</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#1585410</link><pubDate>Sat, 03 Feb 2007 01:40:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1585410</guid><dc:creator>CoqBlog</dc:creator><description>&lt;p&gt;Un bug a &amp;#233;t&amp;#233; d&amp;#233;couvert dans le Framework .NET 2.0 : les classes HMACSHA512 et HMACSHA384 sont susceptible&lt;/p&gt;
</description></item><item><title>deploying an asmx webservice on a fips windows 2003 server</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#1689564</link><pubDate>Fri, 16 Feb 2007 19:26:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1689564</guid><dc:creator>webstudy</dc:creator><description>&lt;p&gt;I get this error when I publish my asmx webservice file to a windows 2003 server with FIPS enabled:&lt;/p&gt;
&lt;p&gt;This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms&lt;/p&gt;
&lt;p&gt;Is there a document that describes how to host a webservice on a FIPS compliant webserver?&lt;/p&gt;</description></item><item><title>re: Please do not use the .NET 2.0 HMACSHA512 and HMACSHA384 Classes</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#1722713</link><pubDate>Tue, 20 Feb 2007 09:17:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1722713</guid><dc:creator>Nytewolf</dc:creator><description>&lt;p&gt;Now I wonder why this wasn't found sooner....&lt;/p&gt;</description></item><item><title>MSDN Flash Ireland - International Resources - 21 Feb 2007</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#1726446</link><pubDate>Tue, 20 Feb 2007 17:05:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1726446</guid><dc:creator>Robert Burke's Weblog</dc:creator><description>&lt;p&gt;[Default] Spotlight on: Windows Vista Innovate on Windows Vista Innovate on Windows Vista helps fast-track&lt;/p&gt;
</description></item><item><title>re: Please do not use the .NET 2.0 HMACSHA512 and HMACSHA384 Classes</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#1727572</link><pubDate>Tue, 20 Feb 2007 19:27:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1727572</guid><dc:creator>Omri</dc:creator><description>&lt;p&gt;&amp;quot;The next service pack to the .NET Framework will contain a fix for this bug...&amp;quot;&lt;/p&gt;
&lt;p&gt;There is a release date for the next SP?&lt;/p&gt;</description></item><item><title>re: Please do not use the .NET 2.0 HMACSHA512 and HMACSHA384 Classes</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#1728701</link><pubDate>Tue, 20 Feb 2007 22:19:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1728701</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;I don't believe that we have announced a date for that service pack. &amp;nbsp;You should start to see this change appear in future CTPs of Orcas and other pre-release versions of the framework until the service pack is released however.&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item><item><title>re: Please do not use the .NET 2.0 HMACSHA512 and HMACSHA384 Classes</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#1774830</link><pubDate>Wed, 28 Feb 2007 20:14:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1774830</guid><dc:creator>required</dc:creator><description>&lt;p&gt;I would suggest to keep away from the buggedHMACMode otherwise you'll be incompatible in the real world.&lt;/p&gt;</description></item><item><title>re: Please do not use the .NET 2.0 HMACSHA512 and HMACSHA384 Classes</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#1920662</link><pubDate>Tue, 20 Mar 2007 20:50:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1920662</guid><dc:creator>kurtrus</dc:creator><description>&lt;p&gt;We're using System.Security.Cryptography.SHA256Managed as a way to encrypt passwords stored in our application database. Is that affected as well?&lt;/p&gt;</description></item><item><title>re: Please do not use the .NET 2.0 HMACSHA512 and HMACSHA384 Classes</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#1989580</link><pubDate>Thu, 29 Mar 2007 20:27:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1989580</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;SHA256Managed is not affected, only the HMACSHA384 and HMACSHA512 algorithms are affected by the bug.&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item><item><title>re: Please do not use the .NET 2.0 HMACSHA512 and HMACSHA384 Classes</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#2225121</link><pubDate>Sun, 22 Apr 2007 05:23:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2225121</guid><dc:creator>David Taylor</dc:creator><description>&lt;p&gt;Hi Shawn,&lt;/p&gt;
&lt;p&gt;A few months ago I found another bug with .NET 2 when using the XML Serializer under a certain condition.&lt;/p&gt;
&lt;p&gt;The bug is when deserializing XML that has elements referencing other inline elements by ID and when the element is a nillable primitive.&lt;/p&gt;
&lt;p&gt;I found this when integrating to web services on BEA WebLogic because it uses the specific type of encoding by default which triggers the bug on the .NET side. &amp;nbsp;You would not have picked this bug up when testing .NET against .NET because ASMX web services and the XML Serializer do not serialize out this particular way.&lt;/p&gt;
&lt;p&gt;I am *very* sure this bug is a runtime bug introduced by the new Nullable primitive support (ie Nullable&amp;lt;int&amp;gt;) and the mapping done when the XML is supplied in this specific format.&lt;/p&gt;
&lt;p&gt;Note that if you use the .NET 2 WSDL.exe utility (or VS 2005) to generate the proxy you see this bug; however if you use the .NET 1.1 WSDL.exe utility and them import the generated proxy into the VS 2005 project you do not see the bug. &amp;nbsp;This is because only the .NET 2 wsdl.exe tool uses the new nullable&amp;lt;T&amp;gt; feature rather than doing the prior (ie adding an additional boolean field to note if the value was supplied).&lt;/p&gt;
&lt;p&gt;Sorry for the long winded explanation - but I have not had enough time to follow this up with Microsoft; and if you are really doing a service pack to the v2 libraries you should include this.&lt;/p&gt;
&lt;p&gt;If you want more information ping me at: davidandrewtaylor [at] hotmail.com&lt;/p&gt;</description></item><item><title>re: Please do not use the .NET 2.0 HMACSHA512 and HMACSHA384 Classes</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#2225134</link><pubDate>Sun, 22 Apr 2007 05:26:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2225134</guid><dc:creator>David Taylor</dc:creator><description>&lt;p&gt;BTW Shawn: Our solution to the bug I just posted was quite ugly -&amp;gt; A SoapExtension to intercept and reformat the incoming XML to reformat the incoming XML so the referenced IDs are not used; which gets around the specific bug in the .NET 2 deserializer.&lt;/p&gt;</description></item><item><title>re: Please do not use the .NET 2.0 HMACSHA512 and HMACSHA384 Classes</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#2466891</link><pubDate>Mon, 07 May 2007 22:05:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2466891</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;You can file your bug report on the MSDN Product Feedback Center (&lt;a rel="nofollow" target="_new" href="http://connect.microsoft.com/site/sitehome.aspx?SiteID=210"&gt;http://connect.microsoft.com/site/sitehome.aspx?SiteID=210&lt;/a&gt;) in order to see if the XML team has fixed that bug already or to get it on their radar.&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item><item><title>re: Please do not use the .NET 2.0 HMACSHA512 and HMACSHA384 Classes</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#9388293</link><pubDate>Sun, 01 Feb 2009 15:03:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9388293</guid><dc:creator>Rich</dc:creator><description>&lt;p&gt;I happened to browsing the event log now in 2009 and noticed this error message. &amp;nbsp; I have a PhD in computer science but am a general Windows XP user. &amp;nbsp;The error message said I should come here for more information. &amp;nbsp;But this information is lousy. &amp;nbsp;I have no idea what I am supposed to actually *do*. &amp;nbsp;I'm not really interested in spending two hours figuring out if (1) I need to do something (2) what I have to do (3) what file I actually need to edit. &amp;nbsp; Could you add a pointer for poor suckers like me who land on this page, for some actual information?&lt;/p&gt;</description></item><item><title>re: Please do not use the .NET 2.0 HMACSHA512 and HMACSHA384 Classes</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#9391147</link><pubDate>Mon, 02 Feb 2009 21:49:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9391147</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;Hi Rich,&lt;/p&gt;
&lt;p&gt;If your application does not need to interact with HMAC-SHA-384 or HMAC-SHA-512 data that was created with the .NET framework v2.0 RTM, then you can ignore this message. &amp;nbsp;In order to suppress the event log message, you can use a .exe.config file for your application using with the legacyHMACWarning switch set to 0 (you can see an example in the blog post).&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item><item><title>re: Please do not use the .NET 2.0 HMACSHA512 and HMACSHA384 Classes</title><link>http://blogs.msdn.com/shawnfa/archive/2007/01/31/please-do-not-use-the-net-2-0-hmacsha512-and-hmacsha384-classes.aspx#9724263</link><pubDate>Wed, 10 Jun 2009 17:19:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9724263</guid><dc:creator>Rich</dc:creator><description>&lt;p&gt;Still not satisfied. &amp;nbsp; I'm not writing an application. &amp;nbsp; I'm using standard Microsoft applications and other 3rd party software.&lt;/p&gt;
&lt;p&gt;I suspect it is Microsoft Dynamics CRM that is triggering the events, since Dynamics CRM is pretty fragile in general.&lt;/p&gt;</description></item></channel></rss>