diff --git a/rootfs/standard/usr/bin/mynode_post_upgrade.sh b/rootfs/standard/usr/bin/mynode_post_upgrade.sh index 13cffcff..62ab769b 100755 --- a/rootfs/standard/usr/bin/mynode_post_upgrade.sh +++ b/rootfs/standard/usr/bin/mynode_post_upgrade.sh @@ -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 diff --git a/rootfs/standard/usr/share/mynode/mynode_app_versions.sh b/rootfs/standard/usr/share/mynode/mynode_app_versions.sh index d474b9a9..f28ac0fa 100644 --- a/rootfs/standard/usr/share/mynode/mynode_app_versions.sh +++ b/rootfs/standard/usr/share/mynode/mynode_app_versions.sh @@ -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") diff --git a/setup/setup_device.sh b/setup/setup_device.sh index 87624f38..3908c8d2 100755 --- a/setup/setup_device.sh +++ b/setup/setup_device.sh @@ -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