views:

103

answers:

1

Hi,

Is it possible to get private assembly key in .NET using only public token?

Thanks, Alexey Z.

+11  A: 

No, because otherwise signing assemblies would be pointless.

The developer of the Assembly keeps their private key secret so that any user of a signed Assembly can be sure it comes from who it claims to be from, preventing spoofing attacks.

If it becomes practical to calculate private keys from public keys a lot of security measures - not just the signing of .NET Assemblies - will become worthless overnight.

Dave Webb