kevinlo

Results comments of kevinlo

@Tratcher Ok. I don't know the history and I am wondering why the options one is there and the use case of it. If it is old pattern for backward...

@Tratcher Could you explain how it works in this case? App2 read the encrypted key file, it cannot decrypt it so it creates its own unencrypted one. Is that key...

Just find DataProtection [Issue#286](https://github.com/aspnet/DataProtection/issues/286#issuecomment-348599427), it says > Decrypt is limited to search the store for a matching certificate So, is it that App2 reads the matching certificate through the store?...

@natemcmaster > Yes, DataProtection will attempt to read all keys in your storage location (in your case, "myDataProtectionPath"). If it can decrypt a key, it will load and use it....

Ok. I just test it more. I create the myCertificate in my testing server. It does add the certificate to the Personal store. After I delete that certificate in the...

Got it. The Utils.BuildBagOfCerts in System.Security.Cryptography.Xml read the certificates from the LocalMachine and CurrentUser store. Thanks all answering my questions. I''ll close this issue.

Can you handle the non-null and non empty collection case too? e.g. IEnumerable _data = new[] { "c" }; The Config data can have default value if it does not...

We just install .Net SDK 4.72 at [https://support.microsoft.com/en-us/help/4054530/microsoft-net-framework-4-7-2-offline-installer-for-windows](https://support.microsoft.com/en-us/help/4054530/microsoft-net-framework-4-7-2-offline-installer-for-windows) and the problem is gone. @bartonjs Do you have a Issue number so I can reference and make 4.6.2 a requirement?

@bartonjs Thanks for you reply. The main purpose is to clean up the MachineKey file when it is not used anymore. Firstly, does the Reset work differently if the certificate...

@bartonjs I just try the cert.GetRSAPrivateKey(). I get the RSACng whose Key is CngKey. I check the properties of CngKey, I cannot find the property that has string matching the...