Re: RSA CryptoAPI storage bin problem(?)

From: Greg Merideth (beta-gm_at_forwardtechnology.net)
Date: 01/26/05


Date: Wed, 26 Jan 2005 16:49:38 -0500

I forgot to mention that I also set PersistKeyInCsp to false when I
create the RSACryptoServiceProvider class.

Greg Merideth wrote:
> I've finally got my client/server secure soap process working and I've
> just noticed that under the servers
> [base]\NetworkService\App[..]Data\MS\Crypto\RSA folder there are some
> 100+ paired sets of RSA keys.
>
> I don't setup RSACryptoServiceProvider using CspParameters and I didn't
> give the RSA initiator any paramters when I setup the class yet, each
> implementation of the RSA class, as a web service, is creating a
> cryptoAPI storage bin for the RSA public/private key. There's literally
> 100's of them in there from testing.
>
> Was there a change with beta 2 or .net 1.1 where creating an RSA key
> automatically stores the keys in the (in this case) networkservice
> crypto storage bin or do you have to specifically tell the RSA class not
> to store the generated keys?
>
> The local command line client "caller" test program creates two
> RSACryptoServiceProvider's yet it doesn't store the public keys anywhere
> on the local machine, this seem's to happen just to the web service.
>
> This is being done from vs 2003 to a win 2k3 machine running .net 1.1.
>
> Thanks for any help.



Relevant Pages

  • Re: A question about modular exponentiation
    ... > One can also compute the private exponent in a slightly different way: ... > I ran tests on this, generating primes to produce RSA keys ... Therefore, d is inverse of e both for mod lambda, and for phi. ...
    (sci.crypt)
  • Re: SSH keys: RSA vs DSA
    ... >> Ssh protocol version 2 can use RSA as well as DSA keys. ... > DSA is an old and fairly weak encryption, ...
    (comp.os.linux.security)
  • Re: CryptoAPI Hard Coding Keys, Help
    ... You can use RSA, DH/DSA or ECDSA - but you should first check what Windows ... // key container name. ... printf(" Create a default container and generate keys \n"); ... "Generating Keys \n"); ...
    (microsoft.public.platformsdk.security)
  • Re: newbie Qs about RSA, OAEP
    ... > Are there recommended minimum/maximum lengths for RSA keys? ... RSA block, you encrypt the message with a block cipher, and encrypt only ... each protocol has its own way of indicating length. ...
    (sci.crypt)
  • Re: How easy is it to break 128bit RSA
    ... RSA is an asymmetric algorithm meaning ... there are NOT 2^128 possible keys in a 128bit RSA key, ... > leak information, ...
    (comp.security.misc)