mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-10 14:54:40 +01:00
cookie file cleaned
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
```
|
||||
@@ -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=
|
||||
Reference in New Issue
Block a user