View Issue Details

IDProjectCategoryView StatusLast Update
0006746JEDI Code LibraryJclDebug*public2022-04-07 17:44
ReporterSeanAssigned To 
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0006746: 64bit executables created with makejcldbg.exe tool cause Microsoft's signtool.exe to report "not a valid Win32 application"
DescriptionWe've been adding code signatures to all our executables since 2018, using the Windows SDK utility "signtool.exe", together with a CA-issued Code Signing certificate.

Adding a map file to a 64 bit executable, e.g. ...

makejcldbg.exe -e /bin=example64.exe

... creates an exe that cannot be codesigned by Microsoft's signtool.exe
Steps To Reproduce1. Build any 64bit executable.
2. Use makejcldbg.exe to add the map as a section with the Portable Executable.
3. Use signtool.exe to apply a code signature (for example, with a suitable code-signing certificate installed in the Local Machine store use command signtool.exe sign /sm example.exe

Signtool.exe will report:

SignTool Error: SignedCode::Sign returned error: 0x800700C1
        For more information, please see
SignTool Error: An error occurred while attempting to sign: Example.exe

If the map file _hasn't_ been added to the executable, SignTool will work correctly.

TagsNo tags attached.
Fixed in GIT commit
Fixed in SVN revision
IDE versionAll


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-04-07 17:43 Sean New Issue