Comments (3)
Mh.. that's news to me. Hexdump also exists on MacOS and FreeBSD, and a lot of other systems, I'd also assume that it's available on Illumos and similar systems since I've heard about quite a few dehydrated users on those platforms, but since the use of hexdump is relatively new maybe nobody else ran into that issue yet.
For now it should only be used for EAB handling so it's not critical for most users, but dehydrated checks for its existence in any case, so if it's not available dehydrated will refuse to work. Since that also should only be important for registration I could at least move the check into that function so it doesn't disrupt any other operation..
Unfortunately xxd
doesn't seem to exist in busybox systems while hexdump does, so I'd still prefer hexdump here. A solution without external tools would be ideal but I don't think that's possible with bash.
If you can suggest a replacement that's available everywhere and ideally pre-installed on even minimal systems I'd reconsider changing it, but for now I think I'll stay with hexdump and will consider moving the check to right before it's actually been required. Leaving this ticket open for now as a reminder.
from dehydrated.
Moving that check would solve my problems, at least.
It seems like it ought to be possible to use awk to do this. I think even the busybox awk should be capable. And awk is already on the requirements list.
from dehydrated.
I recently upgraded a SmartOS (Illumos derived) system and hit this issue.
For Linux and SmartOS (the only platforms I have readily available) the following seems equivalent so I thought I'd mention it even though I appreciate that it may not meet your portability requirements to other platforms and I've not tested it within dehydrated.
od -t x1 -An | tr -d " \n"
from dehydrated.
Related Issues (20)
- Failed to renew - Problem connecting to server [FreeBSD, curl, SSL cert problem] HOT 9
- hook.sh: line 217: $1: unbound variable HOT 2
- /bin/config: line 6: use: command not found HOT 1
- Add support for Google Trust Services ACME HOT 2
- empty
- Argument to get certalias in hook script HOT 1
- Local file write when using http-01 and hook script HOT 1
- Managing multiple certificates and servers
- Incorrect validation certificate for tls-alpn-01 challenge HOT 4
- Failing with error "/usr/bin/env: ‘bash\\r’: No such file or directory" HOT 1
- OVH hooks in bash
- Preserve cert alias case
- The problem of getting a certificate from staging mode HOT 1
- Will dehydrated be broken after Sep 30th, 2024? HOT 1
- Selfhost.(de|eu) hook
- need help configuring things that the docs don't mention HOT 1
- Phase in key rollover
- Respect domain-specific hooks when using dns-01 challenge type HOT 1
- init config file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dehydrated.