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

Removing signature/--force #72

Open
melvyn2 opened this issue Apr 7, 2023 · 1 comment
Open

Removing signature/--force #72

melvyn2 opened this issue Apr 7, 2023 · 1 comment
Labels
apple-codesign apple-codesign crate and rcodesign CLI tool enhancement New feature or request

Comments

@melvyn2
Copy link
Contributor

melvyn2 commented Apr 7, 2023

There are some problems where re-signing an a binary will lead to a bad signature/unlaunchable app. It would be useful to have an operation that matches codesign's --remove-signature flag. Additionally, a flag --force or --overwrite for sign operations that first removes the signature would be useful when running into these bugs.

Currently I just run codesign --remove-signature before signing, but obviously this removes the benefit of not having to rely on apple tools.

@indygreg indygreg added apple-codesign apple-codesign crate and rcodesign CLI tool enhancement New feature or request labels Nov 9, 2023
@indygreg
Copy link
Owner

indygreg commented Nov 9, 2023

The main branch has a few bug fixes related to re-signing a binary. I consider failure to re-sign a bug. Please file issues for any problems re-signing.

In addition, I think it makes sense to offer a command to strip signatures. It is something that codesign can do and is somewhat common in user workflows. So tagging accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apple-codesign apple-codesign crate and rcodesign CLI tool enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants