https://bugs.winehq.org/show_bug.cgi?id=52330
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net Component|-unknown |crypt32
--- Comment #12 from Zebediah Figura z.figura12@gmail.com --- I managed to get it to run with just `winetricks corefonts` and also starting the start menu .lnk rather than trying to manually run the executable. Not sure if one of those alone was necessary.
Anyway, I can reproduce an error trying to authorize the free serial for Vocal Doubler. +crypt plus some extra traces yields this:
0114:0118:trace:crypt:PFXImportCertStore pfx 000000000011BE70, password L"", flags 0. 0114:0118:trace:crypt:gnutls_log <9> salt.size: 8 0114:0118:trace:crypt:gnutls_log <9> iterationCount: 2048 0114:0118:trace:crypt:gnutls_log <3> ASSERT: pkcs12.c[gnutls_pkcs12_simple_parse]:1688 GnuTLS error: The requested data were not available.
I'm not an expert in certificate nonsense, but from what I can tell, it fails because we are trying to pass a PKCS #12 blob to gnutls_pkcs12_simple_parse() that doesn't actually have a private key in it, only a certificate.
Given that (and assuming that PFXImportCertStore() is supposed to handle this), I guess the question is whether gnutls_pkcs12_simple_parse() is supposed to handle this—the documentation is not exactly clear—and if not I guess we need to parse things more manually.
Hans, would you mind checking this diagnosis to make sure it sounds sane?