Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Linux with dossier_codesigning_reader.py #2539

Merged

Conversation

brentleyjones
Copy link
Collaborator

On Linux there is no keychain or the security command. To codesign on Linux you’ll have to use something like https://gregoryszorc.com/docs/apple-codesign/0.17.0/apple_codesign_rcodesign.html, with a wrapper that translates codesign arguments to rcodesign arguments.

Using that method requires using .cer files instead of identity strings (which are part of the subject of a certificate). The change made here assumes you are using that method, which has worked for us in our internal project.

On Linux there is no keychain or the `security` command. To codesign on Linux you’ll have to use something like https://gregoryszorc.com/docs/apple-codesign/0.17.0/apple_codesign_rcodesign.html, with a wrapper that translates `codesign` arguments to `rcodesign` arguments.

Using that method requires using `.cer` files instead of identity strings (which are part of the subject of a certificate). The change made here assumes you are using that method, which has worked for us in our internal project.

Signed-off-by: Brentley Jones <[email protected]>
Signed-off-by: Brentley Jones <[email protected]>
@brentleyjones brentleyjones merged commit b4a1d1e into master Sep 25, 2024
10 checks passed
@brentleyjones brentleyjones deleted the bj/support-linux-with-dossier_codesigning_reader.py branch September 25, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants