mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
btcpay to v1.12.3, lowercase certthumbprint (#4336)
This commit is contained in:
parent
98dfd49f6e
commit
a7ae5162e7
1 changed files with 11 additions and 11 deletions
|
@ -5,20 +5,20 @@
|
||||||
# https://github.com/dgarage/NBXplorer/tags
|
# https://github.com/dgarage/NBXplorer/tags
|
||||||
NBXplorerVersion="v2.4.3"
|
NBXplorerVersion="v2.4.3"
|
||||||
# https://github.com/btcpayserver/btcpayserver/releases
|
# https://github.com/btcpayserver/btcpayserver/releases
|
||||||
BTCPayVersion="v1.12.0"
|
BTCPayVersion="v1.12.3"
|
||||||
|
|
||||||
# check who signed the release (person that published release)
|
# check who signed the release (person that published release)
|
||||||
PGPsigner="nicolasdorier"
|
#PGPsigner="nicolasdorier"
|
||||||
PGPpubkeyLink="https://keybase.io/nicolasdorier/pgp_keys.asc"
|
#PGPpubkeyLink="https://keybase.io/nicolasdorier/pgp_keys.asc"
|
||||||
PGPpubkeyFingerprint="AB4CFA9895ACA0DBE27F6B346618763EF09186FE"
|
#PGPpubkeyFingerprint="AB4CFA9895ACA0DBE27F6B346618763EF09186FE"
|
||||||
# ---
|
# ---
|
||||||
#PGPsigner="Kukks"
|
#PGPsigner="Kukks"
|
||||||
#PGPpubkeyLink="https://github.com/${PGPsigner}.gpg"
|
#PGPpubkeyLink="https://github.com/${PGPsigner}.gpg"
|
||||||
#PGPpubkeyFingerprint="8E5530D9D1C93097"
|
#PGPpubkeyFingerprint="8E5530D9D1C93097"
|
||||||
# ---
|
# ---
|
||||||
#PGPsigner="web-flow"
|
PGPsigner="web-flow"
|
||||||
#PGPpubkeyLink="https://github.com/web-flow.gpg"
|
PGPpubkeyLink="https://github.com/web-flow.gpg"
|
||||||
#PGPpubkeyFingerprint="4AEE18F83AFDEB23"
|
PGPpubkeyFingerprint="4AEE18F83AFDEB23"
|
||||||
|
|
||||||
# command info
|
# command info
|
||||||
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
||||||
|
@ -69,8 +69,8 @@ nomigrateevts=1
|
||||||
}
|
}
|
||||||
|
|
||||||
function BtcPayConfig() {
|
function BtcPayConfig() {
|
||||||
# set thumbprint
|
# set thumbprint (remove colons and make lowercase)
|
||||||
FINGERPRINT=$(openssl x509 -noout -fingerprint -sha256 -inform pem -in /home/btcpay/.lnd/tls.cert | cut -d"=" -f2)
|
FINGERPRINT=$(openssl x509 -noout -fingerprint -sha256 -inform pem -in /home/btcpay/.lnd/tls.cert | cut -d"=" -f2 | tr -d ':' | awk '{print tolower($0)}')
|
||||||
# set up postgres
|
# set up postgres
|
||||||
if sudo -u postgres psql -c '\l' | grep btcpaymainnet; then
|
if sudo -u postgres psql -c '\l' | grep btcpaymainnet; then
|
||||||
echo "# btcpaymainnet database already exists"
|
echo "# btcpaymainnet database already exists"
|
||||||
|
@ -191,7 +191,7 @@ if [ "$1" = "status" ]; then
|
||||||
echo "ip2torID='${id}'"
|
echo "ip2torID='${id}'"
|
||||||
echo "ip2torIP='${ip}'"
|
echo "ip2torIP='${ip}'"
|
||||||
echo "ip2torPort='${port}'"
|
echo "ip2torPort='${port}'"
|
||||||
# check for LetsEnryptDomain on IP2TOR
|
# check for LetsEncryptDomain on IP2TOR
|
||||||
error=""
|
error=""
|
||||||
source <(sudo /home/admin/config.scripts/blitz.subscriptions.letsencrypt.py domain-by-ip $ip)
|
source <(sudo /home/admin/config.scripts/blitz.subscriptions.letsencrypt.py domain-by-ip $ip)
|
||||||
if [ ${#error} -eq 0 ]; then
|
if [ ${#error} -eq 0 ]; then
|
||||||
|
@ -824,4 +824,4 @@ if [ "$1" = "update" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "# FAIL - Unknown Parameter $1"
|
echo "# FAIL - Unknown Parameter $1"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue