-
Notifications
You must be signed in to change notification settings - Fork 0
Review
- Sample
configandhook.sh(both are in the "current" directory) -
dehydratedis checked out in subdirectoryletsencypt.shand 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
dehydratedwith 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
WELLKNOWNchanged from"${BASEDIR}/.acme-challenges"to/var/www/letsencrypt - new option
-gwhich comes handy forcronusage
echo 'WELLKNOWN="${BASEDIR}/.acme-challenges"' >> config
-
config.shwas renamed toconfig
mv config.sh config
-
hook.shmay see a new actionunchanged_cert. In my case this is simply ignored.
Update
hook.shaccordingly
-
hook.shgot one more parameter, thetimestamp
No changes needed usually
-
hook.shsees actions fordeploy_challenge,clean_challengeanddeploy_cert.
Create
hook.shandconfig.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.shusedscpandsshto do things on the remote. So it needed a full blownsshaccess. -
I did not update to v0.2.0, instead I jumped to commit d5b285868e35992027599d25411d80dfd0bf1048, because
config.shwas renamed toconfigat that point. -
hook.shwas updated to usesftponly. This made it possible to removesshaccess and replace it bysftp-onlyaccess ("internal sftp-server" ofssh)