Upgrade LND to v0.15.4; Verify sig from roasbeef or guggero

This commit is contained in:
Taylor Helsper 2022-11-01 12:51:21 -05:00
parent 0be8ecd637
commit 3b97dc16e1
3 changed files with 11 additions and 6 deletions

View File

@ -393,9 +393,11 @@ if [ "$CURRENT" != "$LND_VERSION" ]; then
wget $LND_UPGRADE_URL
wget $LND_UPGRADE_MANIFEST_URL -O manifest.txt
wget $LND_UPGRADE_MANIFEST_SIG_URL -O manifest.txt.sig
wget $LND_UPGRADE_MANIFEST_ROASBEEF_SIG_URL -O manifest_roasbeef.txt.sig || true
wget $LND_UPGRADE_MANIFEST_GUGGERO_SIG_URL -O manifest_guggero.txt.sig || true
gpg --verify manifest.txt.sig manifest.txt
gpg --verify manifest_roasbeef.txt.sig manifest.txt || \
gpg --verify manifest_guggero.txt.sig manifest.txt
if [ $? == 0 ]; then
# Install LND
tar -xzf lnd-*.tar.gz

View File

@ -21,12 +21,13 @@ BTC_VERSION=$(get_app_version "$BTC_VERSION" "bitcoin")
BTC_VERSION_FILE=/home/bitcoin/.mynode/bitcoin_version
BTC_LATEST_VERSION_FILE=/home/bitcoin/.mynode/bitcoin_version_latest
LND_VERSION="v0.15.2-beta"
LND_VERSION="v0.15.4-beta"
LND_VERSION=$(get_app_version "$LND_VERSION" "lnd")
LND_VERSION_FILE=/home/bitcoin/.mynode/lnd_version
LND_LATEST_VERSION_FILE=/home/bitcoin/.mynode/lnd_version_latest
LND_UPGRADE_MANIFEST_URL=https://github.com/lightningnetwork/lnd/releases/download/$LND_VERSION/manifest-$LND_VERSION.txt
LND_UPGRADE_MANIFEST_SIG_URL=https://github.com/lightningnetwork/lnd/releases/download/$LND_VERSION/manifest-roasbeef-$LND_VERSION.sig
LND_UPGRADE_MANIFEST_ROASBEEF_SIG_URL=https://github.com/lightningnetwork/lnd/releases/download/$LND_VERSION/manifest-roasbeef-$LND_VERSION.sig
LND_UPGRADE_MANIFEST_GUGGERO_SIG_URL=https://github.com/lightningnetwork/lnd/releases/download/$LND_VERSION/manifest-guggero-$LND_VERSION.sig
LOOP_VERSION="v0.20.1-beta"
LOOP_VERSION=$(get_app_version "$LOOP_VERSION" "loop")

View File

@ -456,9 +456,11 @@ if [ "$CURRENT" != "$LND_VERSION" ]; then
wget $LND_UPGRADE_URL
wget $LND_UPGRADE_MANIFEST_URL -O manifest.txt
wget $LND_UPGRADE_MANIFEST_SIG_URL -O manifest.txt.sig
wget $LND_UPGRADE_MANIFEST_ROASBEEF_SIG_URL -O manifest_roasbeef.txt.sig || true
wget $LND_UPGRADE_MANIFEST_GUGGERO_SIG_URL -O manifest_guggero.txt.sig || true
gpg --verify manifest.txt.sig manifest.txt
gpg --verify manifest_roasbeef.txt.sig manifest.txt || \
gpg --verify manifest_guggero.txt.sig manifest.txt
tar -xzf lnd-*.tar.gz
mv $LND_ARCH-$LND_VERSION lnd