summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdicewords2
-rwxr-xr-xletsencrypt-helpers/request-letsencrypt2
-rwxr-xr-xqr4
3 files changed, 4 insertions, 4 deletions
diff --git a/dicewords b/dicewords
index 49d9230..5bb4ddc 100755
--- a/dicewords
+++ b/dicewords
@@ -36,5 +36,5 @@ if ! [ -e "$dictionary" ]; then
exit 1
fi
-egrep '^[a-z]{1,6}$' "$dictionary" | shuf | head -n "$count" | tr '\n' '-' | sed -e 's/-$//'
+egrep '^[a-z]{1,6}$' "$dictionary" | shuf | head -n "$count" | tr '\n' '.' | sed -e 's/\.$//'
echo
diff --git a/letsencrypt-helpers/request-letsencrypt b/letsencrypt-helpers/request-letsencrypt
index 06bb266..f20dab0 100755
--- a/letsencrypt-helpers/request-letsencrypt
+++ b/letsencrypt-helpers/request-letsencrypt
@@ -43,7 +43,7 @@ tmp="`tempfile`"
trap "rm -f '$tmp'" EXIT
echo $PATH
-acme --account-key ~/account.key --csr "$cn".csr --acme-dir ~/acme-challenge/ > "$tmp"
+acme --disable-check --account-key ~/account.key --csr "$cn".csr --acme-dir ~/acme-challenge/ > "$tmp"
if [ -e "$cn-letsencrypt.pem" ]; then
savelog "$cn-letsencrypt.pem"
fi
diff --git a/qr b/qr
index f736178..4c82369 100755
--- a/qr
+++ b/qr
@@ -67,7 +67,7 @@ done
shift $(($OPTIND - 1))
-img="$(tempfile --suffix .png)"
+img="$(mktemp --suffix .png)"
trap "rm -f '$img'" EXIT
@@ -86,7 +86,7 @@ elif [ "$have_msg" -eq 0 ]; then
fi
if [ "$#" -eq 0 ]; then
- stdin="$(tempfile)"
+ stdin="$(mktemp)"
trap "rm -f '$img' '$stdin'" EXIT
cat > "$stdin"
set -- "$stdin"