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@winehq.org Reporter: katharina@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.
http://bugs.winehq.org/show_bug.cgi?id=58528
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase Version|unspecified |10.12
http://bugs.winehq.org/show_bug.cgi?id=58528
Katharina Bogad katharina@hacked.xyz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Katharina Bogad katharina@hacked.xyz --- Has been fixed by commit 9a378f1da6213d2fdaf7936a1b611ad9f9c474bd in wine master.
http://bugs.winehq.org/show_bug.cgi?id=58528
Katharina Bogad katharina@hacked.xyz changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9a378f1da6213d2fdaf7936a1b6 | |11ad9f9c474bd