Re: sn -tp mykeys.snk fails with Bad version of provider

From: Nicole Calinoiu (calinoiu)
Date: 01/21/05


Date: Fri, 21 Jan 2005 12:32:25 -0500

Joe,

sn -tp should not be run on a snk file that contains both the private and
public keys. Try first extracting the public key using sn -p, then running
sn -tp on the file that contains only the public key. If this still doesn't
work, perhaps your key pair file is corrupted, in which case generating a
new key pair using sn -k might be your best bet.

HTH,
Nicole

"Joe" <J_no_spam@_no_spam_Fishinbrain.com> wrote in message
news:OqMTuv9$EHA.2316@TK2MSFTNGP15.phx.gbl...
>I create a key pair using sn -k mykeys.snk. When I try to view the keys
> using sn -tp mykeys.snk I get an error:
>
> Failed to convert key to token -- Bad Version of provider.
>
> Any ideas? I can't strong name an asembly with the generated file.
>
>



Relevant Pages

  • Re: Private & Public Key storage location
    ... public/private key pair." ... C] Is it that the CSR contains both the private & public keys of the website? ... My public key is sent to the CA alomg with my certificate request. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Hash code with virtual memory address then encrypt, possible to attack?
    ... > It replaces the general-purpose processor with a box ... Could this key pair be generated by the processor ... the public key to the owner of the processor. ... The software producer needs the public key to encrypt ...
    (sci.crypt)
  • Re: Encryption question
    ... What you are saying, "take Alice's public key and create a key pair", is as ... > Alice encrypts her email to Bob using his public key. ...
    (Security-Basics)
  • Re: strong naming fails if delay signed
    ... key pair file using sn -p). ... >> I think it is possible that the delaysigned public key is not ... >> assemblies and key pairs. ... >> key file(with private key info)? ...
    (microsoft.public.dotnet.framework)
  • Re: Fighting stupidity
    ... What we want is that if a public key ... "himself" the private key is a step for such a procedure, ... the key pair; he will use some hardware system, ... where server-side key generation is ...
    (sci.crypt)