[Bug 16420] Certificate chaining error trying to use Microsoft signcode tool

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 11 19:08:56 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=16420





--- Comment #17 from Juan Lang <juan_lang at yahoo.com>  2008-12-11 19:08:56 ---
Dumb question:  does this SPC cert and this version of signcode.exe work for
you under Windows?  If so, which version?

I wrote some tests for CryptQueryObject.  As I would have expected,
CryptQueryObject fails when given a base64-encoded input and the fourth
parameter (dwExpectedFormatTypeFlags) doesn't specify
CERT_QUERY_FORMAT_FLAG_BASE64_ENCODED.  As can be seen in the +crypt log,
signcode.exe calls CryptQueryObject with dwExpectedFormatTypFlags set to 2
(CERT_QUERY_FORMAT_FLAG_BINARY).  Thus, I'd expect signcode.exe to fail under
Windows too.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.



More information about the wine-bugs mailing list