Tylous / Limelighter

A tool for generating fake code signing certificates or signing real ones
MIT License
876 stars 129 forks source link

cmd.Run() failed with exit status 0xffffffff #10

Open barman1337 opened 1 year ago

barman1337 commented 1 year ago

any idea why ?

2023-01-23_02-13-01

Tylous commented 1 year ago

Can you tell me the version of OSSLSIGNCODE and Openssl running on that box?

kayji commented 1 year ago

I'm encountering similar issues with cmd.Run() failed with exit status 1. These are my osslsigncode and openssl versions.

osslsigncode 2.5, using: OpenSSL 1.1.1f 31 Mar 2020 (Library: OpenSSL 1.1.1f 31 Mar 2020) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Tylous commented 1 year ago

your issue is the version of osslsigncode you need to have 2.3.0. Here is my hotfix script for OSX https://gist.github.com/Tylous/3a973879ef72a16ec585b71ce71f6c54 it may need to be tweaked it.

Not-my commented 1 year ago

cmd.Run() failed with exit status 1 image

5uck1ess commented 1 year ago

@Not-my One solution is to make sure you're applying the signature to a previously unsigned binary. I've had the same error but the binary has been once signed and stripped of signature because I messed with its resources.