Miguel Verdaguer Velázquez

Results 72 comments of Miguel Verdaguer Velázquez

As seen [here](https://macblog.org/sign-scripts/) and in the [Technical Note for Code Signing](https://developer.apple.com/library/archive/technotes/tn2206/_index.html), scripts can be signed and are signed the same, using `--sign`. All non-Mach-o executables store the signing in their...

### Update Added code to compress and decompress the Login Item using tar in branch https://github.com/wazuh/wazuh-jenkins/tree/1917-macos-package-generation-fixes-jenkins . The package builder has been left running creating a package with the new...

Back in progress due to closing https://github.com/wazuh/wazuh-packages/issues/1962

## Update After some tests, it has been proved that `tar` preserves the extended attributes where the sign of the script is. The compressing and decompressing of the file still...

With the last changes, script `Wazuh` in `/Library/StartupItems/WAZUH` has managed to be signed ,as can be seen in this log: ``` ec2-user@ip-172-31-43-176 ~ % installer -pkg wazuh-agent-4.5.0-1917.pkg -target / installer:...

To try and test if the solution of signing the script will actually work, `com.wazuh.agent.plist` has been changed after installation to point to the actual script in `/Library/StartupItems/WAZUH`, but, even...

The part where `com.wazuh.agent.plist` was overwritten has been found to be script [darwin-init.sh](https://github.com/wazuh/wazuh/blob/master/src/init/darwin-init.sh) in the source code. After removing the call to it (everything it does overlaps the new way...

On hold for https://github.com/wazuh/wazuh-jenkins/issues/4652

The test has been done with the package created yesterday and the installation finishes correctly. The Startup Item is correctly signed, but the Launch daemon isn't, as it hasn't been...