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

Add patch to replace hexdump with od #66

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Conversation

teutat3s
Copy link
Member

@teutat3s teutat3s commented Aug 5, 2024

The hexdump binary is only required when using ZeroSSL as CA. This patch moves the check to the according function, unbreaking the script for Let's Encrypt CA.

Fixes #65. Tested script works on SmartOS with this change and Let's Encrypt as CA.

@teutat3s teutat3s requested a review from bahamat August 5, 2024 08:45
Copy link

@danmcd danmcd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.) Make sure you get @bahamat 's signoff before pushing.

2.) I hope the dehydrated-io/dehydrated#910 suggestion of clever use of od(1) in a pipe will cure this permanently upstream.

Copy link
Member

@bahamat bahamat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I've sunk some time into this today. I have a proposed patch in dehydrated-io/dehydrated#943, so I'd prefer to use that instead.

You can pull that patch in here even if it doesn't land upstream.

@teutat3s
Copy link
Member Author

teutat3s commented Aug 7, 2024

Done in 8303351.

@teutat3s teutat3s requested review from bahamat and danmcd August 7, 2024 10:11
@teutat3s teutat3s changed the title Add patch to move hexdump check to function that requires it Add patch to replace hexdump with od Aug 7, 2024
@bahamat bahamat merged commit c6a5a22 into master Aug 7, 2024
@bahamat bahamat deleted the fix-hexdump-check branch August 19, 2024 15:29
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.

Upstream hexdump check breaks usage on SmartOS
3 participants