https://bugs.winehq.org/show_bug.cgi?id=42652
--- Comment #1 from Sagawa sagawa.aki+winebugs@gmail.com --- Hi, Thanks for reporting and good testcase. My test shows CryptImportKey() with a public key doesn't update a key container on native. However, on wine, it does. I'll send a patch for the issue. After patching, your test application works well.