mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-20 08:14:00 +01:00
added note about newline encoded in accounts directory hashes (resolves #730)
This commit is contained in:
@@ -232,6 +232,10 @@ load_config() {
|
||||
fi
|
||||
|
||||
# Create new account directory or symlink to account directory from old CA
|
||||
# dev note: keep in mind that because of the use of 'echo' instead of 'printf' or
|
||||
# similar there is a newline encoded in the directory name. not going to fix this
|
||||
# since it's a non-issue and trying to fix existing installations would be too much
|
||||
# trouble
|
||||
CAHASH="$(echo "${CA}" | urlbase64)"
|
||||
[[ -z "${ACCOUNTDIR}" ]] && ACCOUNTDIR="${BASEDIR}/accounts"
|
||||
if [[ ! -e "${ACCOUNTDIR}/${CAHASH}" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user