http://bugs.winehq.org/show_bug.cgi?id=58528 Bug ID: 58528 Summary: CRYPT_AcquirePrivateKeyFromProvInfo does not check machine store for private key Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: crypt32 Assignee: wine-bugs(a)winehq.org Reporter: katharina(a)hacked.xyz Distribution: --- When adding a Certificate via PFXImportCertStore with CRYPT_MACHINE_KEYSET, a subsequent call to CryptAcquireCertificatePrivateKey fails to find the added private key. This is due to CRYPT_AcquirePrivateKeyFromProvInfo issuing a CryptAcquireContextA call without specifying a keyset; thus always defaulting to CRYPT_USER_KEYSET. Minimal reproducer: https://gitlab.winehq.org/-/snippets/26 Thanks to Hans Leidekker for additional support in IRC. This affects the Iis extension from WiX-built MSI installers, i.e. a lot of real-world apps. Real-World breaking app is the installer for the 3DExperience Launcher. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.