Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 980 Bytes

README.linux.md

File metadata and controls

32 lines (21 loc) · 980 Bytes

Running applesign on Linux

It is possible to use applesign outside the Apple ecosystem, but this requires the rcodesign tool to be installed:

$ cargo install apple-codesign

Self Signed certificates

You can read more about rcodesign and certificates in:

$ rcodesign generate-self-signed-certificate --person-name pancake > a.pem
$ rcodesign analyze-certificate --pem-source a.pem

With this a.pem file you can now sign a binary like this:

$ rcodesign sign --pem-source a.pem --code-signature-flags runtime /path/to/binary

Codesign Requirements

Apple requires a csreq to be signed inside the binary. this is an evaluated expression that defines the conditions that must