<?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>Generating Larger Keys with SN</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx</link><description>A while back, I wrote about using the StrongNameKeyGenEx API to generate keys to sign assemblies with. That API lets you pass in a dwKeySize parameter to specify the number of bits to generate in the key. If you're calling the API from your own code,</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Generating Larger Keys with MSI</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx#358637</link><pubDate>Sat, 22 Jan 2005 13:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:358637</guid><dc:creator>Nicole Calinoiu</dc:creator><description>Did anyone actually try to sign an assembly with the max size key?  I'm wondering if there's a practical limit on key size for assemblies compiled to any given PE file alignment size.</description></item><item><title>What Happens When You Sign With A Larger Key</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx#359862</link><pubDate>Tue, 25 Jan 2005 03:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:359862</guid><dc:creator>.Net Security Blog</dc:creator><description /></item><item><title>re: Generating Larger Keys with SN</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx#359863</link><pubDate>Tue, 25 Jan 2005 00:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:359863</guid><dc:creator>Shawn</dc:creator><description>Nope, we just increase the size of the area used to store the signature.  More details here: &lt;a target="_new" href="http://blogs.msdn.com/shawnfa/archive/2005/01/24/359861.aspx"&gt;http://blogs.msdn.com/shawnfa/archive/2005/01/24/359861.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;-Shawn</description></item><item><title>re: Generating Larger Keys with SN</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx#360470</link><pubDate>Tue, 25 Jan 2005 23:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:360470</guid><dc:creator>William</dc:creator><description>Can you get the actual signature bytes from the PE file?</description></item><item><title>re: Generating Larger Keys with SN</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx#360472</link><pubDate>Tue, 25 Jan 2005 23:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:360472</guid><dc:creator>Shawn</dc:creator><description>Absolutely ... you might want to look at &lt;a target="_new" href="http://blogs.msdn.com/shawnfa/archive/2005/01/24/359861.aspx"&gt;http://blogs.msdn.com/shawnfa/archive/2005/01/24/359861.aspx&lt;/a&gt; for some hints as to how.  But this seems like a good topic for another post.&lt;br&gt;&lt;br&gt;-Shawn</description></item><item><title>re: Generating Larger Keys with SN</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx#361344</link><pubDate>Thu, 27 Jan 2005 05:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:361344</guid><dc:creator>dominick baier</dc:creator><description>Hi, &lt;br&gt;&lt;br&gt;so why didn't microsoft choose 2048 bits from the beginning - and why is 1024 still the default?&lt;br&gt;&lt;br&gt;three years ago it was easily forseeable that 1024 are not sufficient anymore -&amp;gt; &lt;a target="_new" href="http://www.win.tue.nl/~klenstra/key.pdf"&gt;http://www.win.tue.nl/~klenstra/key.pdf&lt;/a&gt;&lt;br&gt;&lt;br&gt;wondering..&lt;br&gt;dominick</description></item><item><title>re: Generating Larger Keys with SN</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx#361737</link><pubDate>Thu, 27 Jan 2005 18:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:361737</guid><dc:creator>Shawn</dc:creator><description>Hi Dominick,&lt;br&gt;&lt;br&gt;The paper you point to actually doesn't say that 1024-bit RSA will be broken in 2002, in fact it says &amp;quot;Note that it does not follow from Table 1 or the default settings that 1024-bit RSA keys will be safe only until 2002&amp;quot;.&lt;br&gt;&lt;br&gt;Thinking about what a strong name is vs what it isn't is also instructive here.  First and foremost, strong names exist to help form the name of an assembly.  They are not used to make your assembly tamper-proof by a malicious user, rather they work in the reverse way.  If you provide me a signed assembly, I can use the strong name to verify that nobody has modified it since it left your development shop.  However, if I want to modify it, removing the strong name is a relatively easy task.&lt;br&gt;&lt;br&gt;The reason we stuck with 1024 bits for Whidbey is that, while we do want to give users the option to use longer keys if necessary, we also needed to think about backwards compatibility.&lt;br&gt;&lt;br&gt;-Shawn</description></item><item><title>re: Generating Larger Keys with SN</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx#361739</link><pubDate>Thu, 27 Jan 2005 18:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:361739</guid><dc:creator>Shawn</dc:creator><description>And to re-reply to William, check out &lt;a target="_new" href="http://blogs.msdn.com/shawnfa/archive/2005/01/26/361109.aspx"&gt;http://blogs.msdn.com/shawnfa/archive/2005/01/26/361109.aspx&lt;/a&gt; for some sample code to pull out the signature itself.&lt;br&gt;&lt;br&gt;-Shawn</description></item><item><title>A Few Observations about Raw Signatures</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx#362904</link><pubDate>Sat, 29 Jan 2005 05:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:362904</guid><dc:creator>.Net Security Blog</dc:creator><description /></item><item><title>re: Generating Larger Keys with SN</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx#369629</link><pubDate>Wed, 09 Feb 2005 06:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:369629</guid><dc:creator>dominick baier</dc:creator><description>hi shawn, &lt;br&gt;&lt;br&gt;i don't quite agree with you - e.g. you can base CAS policy on SN evidence, can't you?&lt;br&gt;&lt;br&gt;&lt;a target="_new" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/strongNames.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/strongNames.asp&lt;/a&gt;&lt;br&gt;&lt;br&gt;dominick&lt;br&gt;www.leastprivilege.com</description></item><item><title>re: Generating Larger Keys with SN</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx#369895</link><pubDate>Wed, 09 Feb 2005 17:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:369895</guid><dc:creator>Shawn</dc:creator><description>Yes, you can.  But cracking a 1024 bit encryption, and being able to fake a signature are two different beasts.  And as I said above, the paper explicitly says:  &amp;quot;Note that it does not follow from Table 1 or the default settings that 1024-bit RSA keys will be safe only until 2002&amp;quot;. &lt;br&gt;&lt;br&gt;-Shawn</description></item><item><title>What's New in Security for v2.0</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx#455587</link><pubDate>Wed, 24 Aug 2005 17:46:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:455587</guid><dc:creator>.Net Security Blog</dc:creator><description>There's a ton of new and enhanced security features coming with the v2.0 release of the CLR.&amp;amp;amp;nbsp; However,...</description></item><item><title>What's New in Security for v2.0</title><link>http://blogs.msdn.com/shawnfa/archive/2005/01/21/358528.aspx#458650</link><pubDate>Thu, 01 Sep 2005 00:08:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:458650</guid><dc:creator>.Net Security Blog</dc:creator><description>There's a ton of new and enhanced security features coming with the v2.0 release of the CLR.&amp;amp;amp;nbsp; However,...</description></item></channel></rss>