diff --git a/otsclient_docker/Dockerfile b/otsclient_docker/Dockerfile index 2497169..f9d8632 100644 --- a/otsclient_docker/Dockerfile +++ b/otsclient_docker/Dockerfile @@ -4,7 +4,7 @@ RUN apk add --update --no-cache \ git \ jq \ su-exec \ - && git clone --branch bitcoinconf_props https://github.com/Kexkey/javascript-opentimestamps.git \ + && git clone --branch parsecommon https://github.com/Kexkey/javascript-opentimestamps.git \ && cd javascript-opentimestamps \ && npm install -g diff --git a/otsclient_docker/script/otsclient.sh b/otsclient_docker/script/otsclient.sh index 66d9a09..cb3da41 100644 --- a/otsclient_docker/script/otsclient.sh +++ b/otsclient_docker/script/otsclient.sh @@ -60,8 +60,8 @@ upgrade() { local returncode if [ "${TESTNET}" -eq "1" ]; then - trace "[upgrade] ots-cli.js -l \"https://testnet.calendar.kexkey.com/\" upgrade -c \"https://testnet.calendar.kexkey.com/\" ${hash}.ots" - result=$(cd /otsfiles && ots-cli.js -l "https://testnet.calendar.kexkey.com/" upgrade -c "https://testnet.calendar.kexkey.com/" ${hash}.ots 2>&1) + trace "[upgrade] ots-cli.js -l \"https://testnet.calendar.kexkey.com/\" --no-default-whitelist upgrade -c \"https://testnet.calendar.kexkey.com/\" ${hash}.ots" + result=$(cd /otsfiles && ots-cli.js -l "https://testnet.calendar.kexkey.com/" --no-default-whitelist upgrade -c "https://testnet.calendar.kexkey.com/" ${hash}.ots 2>&1) returncode=$? else trace "[upgrade] ots-cli.js upgrade ${hash}.ots" @@ -113,8 +113,8 @@ verify() { echo "${base64otsfile}" | base64 -d > /otsfiles/otsfile-$$.ots if [ "${TESTNET}" -eq "1" ]; then - trace "[verify] ots-cli.js -l \"https://testnet.calendar.kexkey.com/\" verify -d ${hash} /otsfiles/otsfile-$$.ots" - result=$(ots-cli.js -l "https://testnet.calendar.kexkey.com/" verify -d ${hash} /otsfiles/otsfile-$$.ots 2>&1) + trace "[verify] ots-cli.js -l \"https://testnet.calendar.kexkey.com/\" --no-default-whitelist verify -d ${hash} /otsfiles/otsfile-$$.ots" + result=$(ots-cli.js -l "https://testnet.calendar.kexkey.com/" --no-default-whitelist verify -d ${hash} /otsfiles/otsfile-$$.ots 2>&1) returncode=$? else trace "[verify] ots-cli.js verify -d ${hash} /otsfiles/otsfile-$$.ots"