MS Crypto Library and Keys

C

CWDonSkype

Using the following:
Provider Name: Microsoft Enhanced RSA and AES Cryptographic Provider
Type: AES
Algorithm: AES 128
Mode: CBC
Ok, I thought when encrypting and decrypting string data (not communications), the MS crypto library would create a new key if one was not available. For a setup with just a workstation (Win 7 Pro in this case), the path to the keys is:
C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys or
C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18
Which is were I find keys that are dated from a few weeks ago, to last year. If I delete the keys in both folders, and decrypt using the above setup, no new keys are created. And if I encrypt data and store it, no keys are created.
The encryption and decryption work with no errors and the string data is successfully viewed after it is decrypted.
I did notice sometimes there is a new Folder, dated the same date and time as my decryption took place, in:
C:\Users\MyUserName\AppData\Roaming\Microsoft\Crypto\RSA
But, the folder is empty, or at least Windows Explorer says it's empty.

Under what circumstances would the MS Crypto library create a new key(s)?
And, where would the key(s) be located?

Thanks in advance,

Carl

Continue reading...
 

Similar threads

A
Replies
0
Views
23
Anonymous23243545342
A
D
  • Article
Replies
0
Views
47
David Weston, Vice President Enterprise and OS
D
T
Replies
0
Views
54
TechGuy007
T
Back
Top Bottom