https://bugs.winehq.org/show_bug.cgi?id=37250
Bug ID: 37250 Summary: Problems when trying to sign a document under WINE with PDFXChange Editor 5.5(build 309.0). Product: Wine Version: 1.6.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: idohlp2@gmail.com
Created attachment 49538 --> https://bugs.winehq.org/attachment.cgi?id=49538 Crash details
I am a debian linux user and I have PDFXChange Editor installed with WINE.
- When choosing "use certificate from system store", the editor crashes.
- When choosing "use certificate from file", after the file is chosen the editor prompts for a password. Though after it is inserted, the signature file is ignored. i.e. it behaves as no signature file was ever selected.
I contacted the company and their response was:
"...
The issue is because some CryptoAPI functions the editor uses are not implemented (or implemented as stubs) in WINE. The solution on our side is not trivial and we will not fix it in the next build. I would recommend him to submit a WINE bug report ..."
https://bugs.winehq.org/show_bug.cgi?id=37250
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://www.tracker-software | |.com/product/pdf-xchange-ed | |itor/download CC| |focht@gmx.net Summary|Problems when trying to |PDFXChange Editor 5.5 build |sign a document under WINE |309.0 crashes on |with PDFXChange Editor |unimplemented function |5.5(build 309.0). |cryptui.dll.CryptUIDlgSelec | |tCertificateFromStore when | |trying to sign a document Ever confirmed|0 |1
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still a stub.
Source: http://source.winehq.org/git/wine.git/blob/d15d45e5d1006bfee502ebec3447ed59e...
--- snip ---- 6 stub CryptUIDlgSelectCertificateFromStore --- snip ----
MSDN: https://msdn.microsoft.com/en-us/library/windows/desktop/aa380288%28v=vs.85%...
$ sha1sum PDFXVE5.x86.msi 5233b3b7be0309ca5283dcac608a5e0e93b2c5a7 PDFXVE5.x86.msi
$ du -sh PDFXVE5.x86.msi 35M PDFXVE5.x86.msi
$ wine --version wine-1.7.34-126-g0b811ee
Regards
https://bugs.winehq.org/show_bug.cgi?id=37250
--- Comment #2 from Austin English austinenglish@gmail.com --- Created attachment 50659 --> https://bugs.winehq.org/attachment.cgi?id=50659 stub
Please test.
https://bugs.winehq.org/show_bug.cgi?id=37250
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=37250
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |crypt32
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello Austin,
you need to fix the .spec file: stub -> stdcall.
With the fixed .spec file, the app doesn't crash anymore when clicking the "browse" button:
--- snip --- fixme:cryptui:CryptUIDlgSelectCertificateFromStore 0x413ad18 0x400ee L"Select Certificate" L"Please select Digital Certificate You want to use for Document Signing" 0 0 (nil): stub --- snip ---
Providing an actual implementation (even as semi-stub) could be subject to another bug though.
Tidbit: the app suffers from bug 35367
$ wine --version wine-1.7.35-89-gbad99c9
Regards
https://bugs.winehq.org/show_bug.cgi?id=37250
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5ed719d590adbb17d72d200e04f | |8b2a319ae1e5f Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Austin English austinenglish@gmail.com --- https://source.winehq.org/git/wine.git/commitdiff/5ed719d590adbb17d72d200e04...
https://bugs.winehq.org/show_bug.cgi?id=37250
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.36.