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

[Bug]: Installer does not work on macOS #458

Closed
fkautz opened this issue May 30, 2024 · 0 comments · Fixed by #459
Closed

[Bug]: Installer does not work on macOS #458

fkautz opened this issue May 30, 2024 · 0 comments · Fixed by #459
Labels
bug Something isn't working

Comments

@fkautz
Copy link
Contributor

fkautz commented May 30, 2024

What steps did you take and what happened:

install-witness.sh fails to install witness on macos systems.

What did you expect to happen:

for witness to be installed.

Anything else you would like to add:

i got a patch coming next, creating this for completion.

Environment:

macos

@fkautz fkautz added the bug Something isn't working label May 30, 2024
@fkautz fkautz changed the title [Bug]: [Bug]: Installer does not work on macOS May 30, 2024
fkautz added a commit to fkautz/witness that referenced this issue May 30, 2024
… verification

The install-witness.sh script did not work on macOS due to the absence of the sha256sum command.
This patch adds a check to use shasum -a 256 if sha256sum is not available, ensuring the script
runs correctly on macOS.

- Added a conditional check to use shasum -a 256 when sha256sum is not found
- Updated the FILE_CHECKSUM assignment to support both commands

Closes in-toto#458

Signed-off-by: Frederick F. Kautz IV <frederick@testifysec.com>
jkjell pushed a commit to fkautz/witness that referenced this issue Jun 1, 2024
… verification

The install-witness.sh script did not work on macOS due to the absence of the sha256sum command.
This patch adds a check to use shasum -a 256 if sha256sum is not available, ensuring the script
runs correctly on macOS.

- Added a conditional check to use shasum -a 256 when sha256sum is not found
- Updated the FILE_CHECKSUM assignment to support both commands

Closes in-toto#458

Signed-off-by: Frederick F. Kautz IV <frederick@testifysec.com>
jkjell pushed a commit that referenced this issue Jun 1, 2024
… verification (#459)

The install-witness.sh script did not work on macOS due to the absence of the sha256sum command.
This patch adds a check to use shasum -a 256 if sha256sum is not available, ensuring the script
runs correctly on macOS.

- Added a conditional check to use shasum -a 256 when sha256sum is not found
- Updated the FILE_CHECKSUM assignment to support both commands

Closes #458

Signed-off-by: Frederick F. Kautz IV <frederick@testifysec.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant