473,396 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 1874
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Andy Atherton | last post by:
When using SQL 2000 personal desktop (i.e MSDE) on win 98 Machine with our VB6 application we sometimes get this error CryptoAPI function 'CryptAcquireContext' failed. Error 0x8009001d:...
0
by: Kim HM | last post by:
I Have a .NET program sending mails using CDOEX. These mail I need to sign. I god a tip that i shoud use CAPICOM. That worked fine sending a mail with signature. BUT the problem is that I have...
4
by: Dave Bailey | last post by:
I have an application installed on a web server. When forst intalled it worked fine. The administrator rebooted the server and then when accessing the app the folowing error appears: CryptoAPI...
0
by: no game | last post by:
I have a problem with signature using RSACryptoServiceProvider I use signature=privKey.SignData(byteData, new MD5CryptoServiceProvide), and get a byte array of signature. The other...
0
by: Namratha Shah \(Nasha\) | last post by:
Hey Group, After a long week end I am back again. Its nice and refreshing after a short vacation so lets get started with .NET once again. Today we will discuss about Isolated Storage. This is...
0
by: Bonj | last post by:
Hi i have a question regarding the CryptoAPI. I can seemingly call CryptAcquireContext, and if I pass any random string as the key container name and NULL as the provider name, with...
0
by: Mike P | last post by:
This is a very weird problem, when I boot my IIS server I get a CryptoAPI cryptographic service provider (CSP) for this implementation could not be acquired exception. However, once I access my...
0
by: =?Utf-8?B?VmVuZWRpY3Q=?= | last post by:
Hi All, I have a program written in VB6 which utilize CryptoAPI to encrypt bitmap file. I'm writting a new program in C# 2005 to decrypt those encrypted bitmap file by adding the CryptoAPI...
1
by: MichaelAni | last post by:
Hi, I have a requirement to develop an component in VC++ and .net for encryption/decryption. I am deriving a key from a password. But when i encrypt the data VC++(cryptoapi) component and .net...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.