<?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>Test Key Signing</title><link>http://blogs.msdn.com/shawnfa/archive/2005/10/24/484170.aspx</link><description>One feature that will start to show up on the latest CTP of Whidbey is test key signing -- basically delay signing++. Lets do a quick review of what delay signing is , and then see where test key signing takes over. Recall a delay signed assembly is one</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Test Key Signing</title><link>http://blogs.msdn.com/shawnfa/archive/2005/10/24/484170.aspx#484924</link><pubDate>Wed, 26 Oct 2005 02:59:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:484924</guid><dc:creator>Kevin Westhead</dc:creator><description>&amp;quot;Note that you need to register the test public key only, attempting to register the full keypair will result in the message: 'The public key supplied for test signing is invalid.'&amp;quot;&lt;br&gt;&lt;br&gt;Doesn't this mean that the line&lt;br&gt;&lt;br&gt;D:\src&amp;gt;sn -Vr assembly.dll testKey.snk&lt;br&gt;&lt;br&gt;should actually be&lt;br&gt;&lt;br&gt;D:\src&amp;gt;sn -Vr assembly.dll testPublicKey.snk&lt;br&gt;&lt;br&gt;You also mentioned a couple of problems with managing test keys. Is this feature currently in use on the CLR and BCL teams? If so, how are they managing their test keys?</description></item><item><title>re: Test Key Signing</title><link>http://blogs.msdn.com/shawnfa/archive/2005/10/24/484170.aspx#489276</link><pubDate>Sat, 05 Nov 2005 02:42:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:489276</guid><dc:creator>shawnfa</dc:creator><description>Hi Kevin -- you're write, I meant to register the public key, and I've updated it.&lt;br&gt;&lt;br&gt;This feature is not currently used by the CLR and BCL teams (we used delay signing for Whidbey), but we could move towards it in the future.&lt;br&gt;&lt;br&gt;-Shawn</description></item><item><title>Delay signing and VS 2005 challenges</title><link>http://blogs.msdn.com/shawnfa/archive/2005/10/24/484170.aspx#530984</link><pubDate>Mon, 13 Feb 2006 18:57:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:530984</guid><dc:creator>Teucer's Quiver</dc:creator><description /></item><item><title>re: Test Key Signing</title><link>http://blogs.msdn.com/shawnfa/archive/2005/10/24/484170.aspx#1886679</link><pubDate>Thu, 15 Mar 2007 14:45:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1886679</guid><dc:creator>hevean</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;what's the different between 'sn -TS....' and 'sn -Ra'. and what's the different between the re-signed .dll file via 'sn -TS....' and via 'sn -TS....'. &lt;/p&gt;
&lt;p&gt;Thanks :) &lt;/p&gt;</description></item><item><title>re: Test Key Signing</title><link>http://blogs.msdn.com/shawnfa/archive/2005/10/24/484170.aspx#1890240</link><pubDate>Fri, 16 Mar 2007 01:37:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1890240</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;SN -TS test signs an assembly as I described in this post. &amp;nbsp;That means the assembly will not load unless the machine has registerd the test key pair for that assembly.&lt;/p&gt;
&lt;p&gt;SN -Ra re-signs an assembly, leaving it with a valid signature. &amp;nbsp;Since the signature is valid, it does not require any special configuration to verify on the user's machine.&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
</description></item><item><title>re: Test Key Signing</title><link>http://blogs.msdn.com/shawnfa/archive/2005/10/24/484170.aspx#2633019</link><pubDate>Mon, 14 May 2007 23:58:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2633019</guid><dc:creator>Steve</dc:creator><description>&lt;p&gt;Am I trying to understand the world of digital signing, so I'm probably missing something ... but if an internal signing authority can resign a delay signed or test signed assembly, what prevents a malicious person from re-signing an assembly that I have deployed? &amp;nbsp;Does this imply that there needs to be some link between the test and official keys? &amp;nbsp;I assume there is some way to re-sign a delay signed assembly with a different public key if the original key is lost or compromised?&lt;/p&gt;</description></item><item><title>re: Test Key Signing</title><link>http://blogs.msdn.com/shawnfa/archive/2005/10/24/484170.aspx#2651374</link><pubDate>Tue, 15 May 2007 18:31:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2651374</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;Hi Steve,&lt;/p&gt;
&lt;p&gt;The intent is that you never deploy a test signed assembly. &amp;nbsp;Once you are ready to ship your final bits, then you'll apply the real signature. &amp;nbsp;This signature can only be calculated if you have both the private and public key for the assembly.&lt;/p&gt;
&lt;p&gt;A third party could of course resign your assembly with their own key. &amp;nbsp;This would have the effect of changing the public key of the assembly however, which gives the assembly an entirely different identity.&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;
&lt;p&gt;(The link between the test key and the public key that you mention is kept in the registry in the skip verification entries by the way.)&lt;/p&gt;
</description></item><item><title>re: Test Key Signing</title><link>http://blogs.msdn.com/shawnfa/archive/2005/10/24/484170.aspx#2655272</link><pubDate>Tue, 15 May 2007 22:30:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2655272</guid><dc:creator>Steve</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. &amp;nbsp;I have a situation where I inherited a project that was delay signed but I only have the public key - the original key pair is not available. &amp;nbsp;The assemblies have not been deployed, so I am trying to find out what my options are when deployment time comes. &amp;nbsp;I tried generating another key pair and delay signed a test assembly that was previous signed with the original public key with the new public key. &amp;nbsp;When I tried to use this test assembly it would load, saying it had been tampered with. &amp;nbsp;Do you know how I can resolve this issue? &amp;nbsp;Thanks again,&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;</description></item><item><title>re: Test Key Signing</title><link>http://blogs.msdn.com/shawnfa/archive/2005/10/24/484170.aspx#2818117</link><pubDate>Wed, 23 May 2007 18:52:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2818117</guid><dc:creator>shawnfa</dc:creator><description>&lt;p&gt;If you've lost the private key for the assembly's public key, your only option is to generate a new key pair to sign the assemblies with. &amp;nbsp;This will of course end up changing the identity of the assemblies -- however if we allowed anyone to sign assemblies who did not have the corresponding private key, this would totally invalidate the purpose of the signatures :-)&lt;/p&gt;
&lt;p&gt;-Shawn &lt;/p&gt;
</description></item><item><title>David DeWinter &amp;raquo; The AllowPartiallyTrustedCallersAttribute (APTCA) &amp;ndash; #6</title><link>http://blogs.msdn.com/shawnfa/archive/2005/10/24/484170.aspx#9634580</link><pubDate>Fri, 22 May 2009 04:14:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9634580</guid><dc:creator>David DeWinter &amp;raquo; The AllowPartiallyTrustedCallersAttribute (APTCA) &amp;ndash; #6</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blogs.rev-net.com/ddewinter/2009/05/21/the-allowpartiallytrustedcallersattribute-aptca-6/"&gt;http://blogs.rev-net.com/ddewinter/2009/05/21/the-allowpartiallytrustedcallersattribute-aptca-6/&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>