Description
The crypto provider function NCryptEnumKeysFn is optional and may respond with NTE_NOT_SUPPORTED. Using dotnet-mage with such a crypto provider traps the application in the while loop of the Certificate.GetContainersFromCngProvider method.
Configuration
I am using dotnet-mage 7.0.0 on Windows 10 with a custom KSP implementation like this:
dotnet-mage -Sign TestClickOnce.exe.manifest -CertFile .\ACME.cer -CryptoProvider "MyKSP" -KeyContainer "MyKeyContainer"
Regression?
I don't think so.
Other information
None