472,146 Members | 1,266 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,146 software developers and data experts.

RSA CryptoAPI storage bin problem(?)

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.
Nov 16 '05 #1
1 1814
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.

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Andy Atherton | last post: by
reply views Thread by Kim HM | last post: by
reply views Thread by Namratha Shah \(Nasha\) | last post: by
reply views Thread by Bonj | last post: by
reply views Thread by =?Utf-8?B?VmVuZWRpY3Q=?= | last post: by
1 post views Thread by MichaelAni | last post: by
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.