mtrojnar / osslsigncode

OpenSSL based Authenticode signing for PE/MSI/Java CAB files
Other
806 stars 131 forks source link

Sign cat file #117

Closed Linshiqi closed 3 years ago

Linshiqi commented 3 years ago

I use osslsigncode to sign a test.cat file, the command returned Successed, and use osslsigncode verified ok.

But when I use signtool to verify the signed cat file, it shows "SignTool Error: No signature found".

D:\temp\osslsigncode_2.2_windows>signtool verify /v /pa testSigned.cat

Verifying: testSigned.cat

Signature Index: 0 (Primary Signature)
Hash of file (sha1): 88D560FC6CA26F258C2FED01F805243CAA8219D7

Signing Certificate Chain:
    Issued to: AAA Certificate Services
    Issued by: AAA Certificate Services
    Expires:   Mon Jan 01 07:59:59 2029
    SHA1 hash: D1EB23A46D17D68FD92564C2F1F1601764D8E349

        Issued to: Sectigo Public Code Signing Root R46
        Issued by: AAA Certificate Services
        Expires:   Mon Jan 01 07:59:59 2029
        SHA1 hash: 329B78A5C9EBC2043242DE90CE1B7C6B1BA6C692

            Issued to: Sectigo Public Code Signing CA R36
            Issued by: Sectigo Public Code Signing Root R46
            Expires:   Sat Mar 22 07:59:59 2036
            SHA1 hash: 0BC5E76773D2E44FC9903D4DFEFE451553BBEC4A

                Issued to: ()
                Issued by: Sectigo Public Code Signing CA R36
                Expires:   Wed Aug 17 07:59:59 2022
                SHA1 hash: FFB0884875041B84039A1D5A82DDC160B0EDE9CD

File is not timestamped.

SignTool Error: No signature found.

Number of files successfully Verified: 0
Number of warnings: 0
Number of errors: 1

osslsigncode version : 2.2