codesign issue with files with space #122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
Thank you very much for the sigtool addition!
Just a small remark, it fails to sign files with spaces.
In file /cctools/include/stuff/port.h
On line 60:
snprintf(codesign_command, sizeof(codesign_command), "%s -s - -f %s", codesign, filename);
Can be replaced with something like (quotes added):
snprintf(codesign_command, sizeof(codesign_command), "%s -s - -f '%s'", codesign, filename); \
Hi,
thanks for the hint. I think it should be replaced by
execvpor something similar to get rid of the issue. Adding quotes doesn't fix the issue entirely. The entire macro needs some rework. There seem to be some obvious bugs.