[Bug 58528] New: CRYPT_AcquirePrivateKeyFromProvInfo does not check machine store for private key
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.
http://bugs.winehq.org/show_bug.cgi?id=58528 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase Version|unspecified |10.12 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58528 Katharina Bogad <katharina(a)hacked.xyz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #1 from Katharina Bogad <katharina(a)hacked.xyz> --- Has been fixed by commit 9a378f1da6213d2fdaf7936a1b611ad9f9c474bd in wine master. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58528 Katharina Bogad <katharina(a)hacked.xyz> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9a378f1da6213d2fdaf7936a1b6 | |11ad9f9c474bd -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58528 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.13. -- 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.
participants (1)
-
WineHQ Bugzilla