Re: strong naming fails if delay signed
From: Nicole Calinoiu (calinoiu)
Date: 02/21/05
- Next message: Nicole Calinoiu: "Re: strong naming fails if delay signed"
- Previous message: Russ Ferrill: "Forcing traffic to a proxy server"
- In reply to: David Thielen: "RE: strong naming fails if delay signed"
- Next in thread: Steven Cheng[MSFT]: "RE: strong naming fails if delay signed"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Feb 2005 13:55:50 -0500
David,
What you're seeing is the normal, expected behaviour. When running sn -t on
a key file, the file must contain only the public key (as extracted from a
key pair file using sn -p). The documentation on sn.exe does state this,
even if the statement is rather easy to miss.
HTH,
Nicole
"David Thielen" <thielen@nospam.nospam> wrote in message
news:9A1A728C-0761-454D-B5E4-0E7E0D028A6F@microsoft.com...
> That's what I thought too. So I did sn -Tp on the assembly each step of
> the
> process - and it was always the same token.
>
> One weird thing though - sn -t on my public key matches the token for
> sn -T
> on the dll. But sn -t on the keypair is a different token.
>
> I just ran "sn -p keypair.snk public.snk" and still the different tokens
> between the two files. Is that a problem?
>
> thanks - dave
>
>
> "Steven Cheng[MSFT]" wrote:
>
>> Hi Dave,
>>
>> Thanks for your posting. As for the delaysign/Resign problem you
>> mentioned,
>> I think it is possible that the delaysigned public key is not
>> corresponding
>> to the privatekey when we resign it. Have you tried testing on some other
>> assemblies and key pairs. Or would provide the detailes steps when you
>> generate the key pair, delaysign the assembly , and resigen them with
>> which
>> key file(with private key info)?
>> From my local test, the delaysign/resign works correctly without any
>> problem, so I think the problem is still something with the key pair
>> info.
>>
>> If any other questions or finding, please feel free to post here.
>>
>> Thanks & Regards,
>>
>> Steven Cheng
>> Microsoft Online Support
>>
>> Get Secure! www.microsoft.com/security
>> (This posting is provided "AS IS", with no warranties, and confers no
>> rights.)
>>
>>
- Next message: Nicole Calinoiu: "Re: strong naming fails if delay signed"
- Previous message: Russ Ferrill: "Forcing traffic to a proxy server"
- In reply to: David Thielen: "RE: strong naming fails if delay signed"
- Next in thread: Steven Cheng[MSFT]: "RE: strong naming fails if delay signed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|