Skip to content

Invalid signature after re-signing #11

@netmackan

Description

@netmackan

I'm trying jsign (v1.2) to sign a binary which seems to work fine however, Windows complains on the signature and running signtool verify gives an error message (see below output).

Using the signtool I am able to sign the same binary and verify then gives no error so I suspect the issue is with jsign (or my usage of it).

Any ideas?

Best regards,
Markus


signtool.exe verify /pa /v c:\temp\pidgin-signed-7.exe

Verifying: c:\temp\pidgin-signed-7.exe
Hash of file (sha1): E3B61AFB75FC8E7132ADF407A598B5116B00E249

Signing Certificate Chain:
    Issued to: DSS Root CA 10
    Issued by: DSS Root CA 10
    Expires:   Tue May 27 09:14:27 2036
    SHA1 hash: 5BBB15488C0ED21579ACE90B47E0C701F0EE51C1

    Issued to: AuthCode Signer 1
    Issued by: DSS Root CA 10
    Expires:   Sun Mar 03 10:39:10 2030
    SHA1 hash: 7837BC0F2B0DE7CACCD73872C66CD238D23DF7AA

The signature is timestamped: Tue Mar 03 13:25:25 2015
Timestamp Verified by:
    Issued to: UTN-USERFirst-Object
    Issued by: UTN-USERFirst-Object
    Expires:   Tue Jul 09 19:40:36 2019
    SHA1 hash: E12DFB4B41D7D9C32B30514BAC1D81D8385E2D46

    Issued to: COMODO Time Stamping Signer
    Issued by: UTN-USERFirst-Object
    Expires:   Mon May 11 00:59:59 2015
    SHA1 hash: 3DBB6DB5085C6DD5A1CA7F9CF84ECB1A3910CAC8

Number of files successfully Verified: 0
Number of warnings: 0
Number of errors: 1
SignTool Error: WinVerifyTrust returned error: 0x80096010
    Det gick inte att verifiera objektens digitala signatur.

(The last line translated is something like "Not possible to verify the objects digital signature")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions