From 76d7e31981164985685f3d7198f99c0d1e77d6bf Mon Sep 17 00:00:00 2001 From: Lukas Schauer Date: Tue, 28 Apr 2020 21:00:47 +0200 Subject: [PATCH] added note about newline encoded in accounts directory hashes (resolves #730) --- dehydrated | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dehydrated b/dehydrated index b75a2e3..fe00b3e 100755 --- a/dehydrated +++ b/dehydrated @@ -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