diff --git a/install/generator-cyphernode/generators/app/templates/installer/testfeatures.sh b/install/generator-cyphernode/generators/app/templates/installer/testfeatures.sh index a1f7f65..68eb103 100644 --- a/install/generator-cyphernode/generators/app/templates/installer/testfeatures.sh +++ b/install/generator-cyphernode/generators/app/templates/installer/testfeatures.sh @@ -124,7 +124,7 @@ checksparkwallet() { echo -en "\r\n\e[1;36mTesting Spark Wallet... " > /dev/console local rc - rc=$(curl -s -o /dev/null -w "%{http_code}" --cacert /gatekeeper/certs/cert.pem https://gatekeeper/sparkwallet/) + rc=$(curl -s -o /dev/null -w "%{http_code}" http://sparkwallet:9737) [ "${rc}" -ne "401" ] && return 400 echo -e "\e[1;36mSpark Wallet rocks!" > /dev/console diff --git a/install/generator-cyphernode/generators/app/templates/lightning/c-lightning/README.md b/install/generator-cyphernode/generators/app/templates/lightning/c-lightning/README.md new file mode 100644 index 0000000..d2989c1 --- /dev/null +++ b/install/generator-cyphernode/generators/app/templates/lightning/c-lightning/README.md @@ -0,0 +1,5 @@ +# How to create the hmac for the cookie file: + +``` +# echo -n "access-key" | openssl dgst -hmac "cyphernode:sparkwallet" -sha256 -binary | base64 | sed 's/[\+\W]//g' +``` diff --git a/install/generator-cyphernode/generators/app/templates/lightning/c-lightning/cookie b/install/generator-cyphernode/generators/app/templates/lightning/c-lightning/cookie index 247ec65..830e6e6 100644 --- a/install/generator-cyphernode/generators/app/templates/lightning/c-lightning/cookie +++ b/install/generator-cyphernode/generators/app/templates/lightning/c-lightning/cookie @@ -1,2 +1 @@ -# echo -n "access-key" | openssl dgst -hmac "cyphernode:sparkwallet" -sha256 -binary | base64 | sed 's/[\+\W]//g' -cyphernode:sparkwallet:FoeDdQw5yl7pPfqdlGy3OEk/txGqyJjSbVtffhzs7kc= +cyphernode:sparkwallet:FoeDdQw5yl7pPfqdlGy3OEk/txGqyJjSbVtffhzs7kc= \ No newline at end of file