-
Notifications
You must be signed in to change notification settings - Fork 0
Review
- Sample
config
andhook.sh
(both are in the "current" directory) -
dehydrated
is checked out in subdirectoryletsencypt.sh
and called from the "current" directory with following script:
export LC_ALL=C.UTF-8
exec letsencrypt.sh/letsencrypt.sh -c "$@"
I do not review it to check it for errors. I do review it such, that I am certain, nobody introduces harmful things, for example things, which break my setup.
All important issues (important from my perspective) found with source review are noted here.
I currently run
dehydrated
with a minimum setup and a hook. Hence I need compatibility to, how it was at the beginning. Things before v0.3.0 are documented out of my memory.
Overall status: Codebase is used at my side. It is believed to be OK. I was only partially reviewed as follows:
- 61f0b7ed7a2e805e08aa1f2412fb9b869a04fdeb was the first commit and never reviewed.
- 61f0b7ed7a2e805e08aa1f2412fb9b869a04fdeb..7d0ef222393ce419b6345b094b9dc385d3b24adc was not reviewed
- 7d0ef222393ce419b6345b094b9dc385d3b24adc not thoroughly checked, but was the first version used by me
- 7d0ef222393ce419b6345b094b9dc385d3b24adc..d5b285868e35992027599d25411d80dfd0bf1048 I do not remember, so we must assume it was not reviewed
- d5b285868e35992027599d25411d80dfd0bf1048 was used by me for several months. I believe it is OK.
- d5b285868e35992027599d25411d80dfd0bf1048..992beecbdbf89ec071624af6d46814239d808bcc completely reviewed
Note:
- SHAa..SHAb means, that the patches were reviewed, not the complete code.
- SHA means, that the code seen in the given SHA was reviewed
- default for
WELLKNOWN
changed from"${BASEDIR}/.acme-challenges"
to/var/www/letsencrypt
- new option
-g
which comes handy forcron
usage
echo 'WELLKNOWN="${BASEDIR}/.acme-challenges"' >> config
-
config.sh
was renamed toconfig
mv config.sh config
-
hook.sh
may see a new actionunchanged_cert
. In my case this is simply ignored.
Update
hook.sh
accordingly
-
hook.sh
got one more parameter, thetimestamp
No changes needed usually
-
hook.sh
sees actions fordeploy_challenge
,clean_challenge
anddeploy_cert
.
Create
hook.sh
andconfig.sh
-
I did not start with v0.1.0, I did start with commit 7d0ef222393ce419b6345b094b9dc385d3b24adc, which already included timestamps for
hook.sh
. Because I needed this. -
My first
hook.sh
usedscp
andssh
to do things on the remote. So it needed a full blownssh
access. -
I did not update to v0.2.0, instead I jumped to commit d5b285868e35992027599d25411d80dfd0bf1048, because
config.sh
was renamed toconfig
at that point. -
hook.sh
was updated to usesftp
only. This made it possible to removessh
access and replace it bysftp-only
access ("internal sftp-server" ofssh
)