diff --git a/rootfs/standard/usr/bin/mynode_post_upgrade.sh b/rootfs/standard/usr/bin/mynode_post_upgrade.sh index 855022b5..22f6f8bf 100755 --- a/rootfs/standard/usr/bin/mynode_post_upgrade.sh +++ b/rootfs/standard/usr/bin/mynode_post_upgrade.sh @@ -362,10 +362,12 @@ if [ "$CURRENT" != "$POOL_VERSION" ]; then wget $POOL_UPGRADE_URL wget $POOL_UPGRADE_MANIFEST_URL -O manifest.txt - wget $POOL_UPGRADE_MANIFEST_SIG_URL -O manifest.txt.sig + wget $POOL_UPGRADE_MANIFEST_SIG_URL -O manifest.txt.asc - gpg --verify manifest.txt.sig manifest.txt + gpg --verify manifest.txt.asc if [ $? == 0 ]; then + sha256sum -c manifest.txt --ignore-missing + # Install Pool tar -xzf pool-*.tar.gz mv $POOL_ARCH-$POOL_VERSION pool diff --git a/rootfs/standard/usr/share/mynode/mynode_app_versions.sh b/rootfs/standard/usr/share/mynode/mynode_app_versions.sh index 7896cea2..41ee4c7b 100644 --- a/rootfs/standard/usr/share/mynode/mynode_app_versions.sh +++ b/rootfs/standard/usr/share/mynode/mynode_app_versions.sh @@ -16,11 +16,11 @@ LOOP_LATEST_VERSION_FILE=/home/bitcoin/.mynode/loop_version_latest LOOP_UPGRADE_MANIFEST_URL=https://github.com/lightninglabs/loop/releases/download/$LOOP_VERSION/manifest-$LOOP_VERSION.txt LOOP_UPGRADE_MANIFEST_SIG_URL=https://github.com/lightninglabs/loop/releases/download/$LOOP_VERSION/manifest-$LOOP_VERSION.txt.sig -POOL_VERSION="v0.5.0-alpha" +POOL_VERSION="v0.5.1-alpha" POOL_VERSION_FILE=/home/bitcoin/.mynode/pool_version POOL_LATEST_VERSION_FILE=/home/bitcoin/.mynode/pool_version_latest POOL_UPGRADE_MANIFEST_URL=https://github.com/lightninglabs/pool/releases/download/$POOL_VERSION/manifest-$POOL_VERSION.txt -POOL_UPGRADE_MANIFEST_SIG_URL=https://github.com/lightninglabs/pool/releases/download/$POOL_VERSION/manifest-$POOL_VERSION.txt.sig +POOL_UPGRADE_MANIFEST_SIG_URL=https://github.com/lightninglabs/pool/releases/download/$POOL_VERSION/manifest-$POOL_VERSION.txt.asc LIT_VERSION="v0.5.0-alpha" LIT_VERSION_FILE=/home/bitcoin/.mynode/lit_version diff --git a/setup/setup_device.sh b/setup/setup_device.sh index f483f060..c7e2530c 100755 --- a/setup/setup_device.sh +++ b/setup/setup_device.sh @@ -433,10 +433,12 @@ if [ "$CURRENT" != "$POOL_VERSION" ]; then wget $POOL_UPGRADE_URL wget $POOL_UPGRADE_MANIFEST_URL -O manifest.txt - wget $POOL_UPGRADE_MANIFEST_SIG_URL -O manifest.txt.sig + wget $POOL_UPGRADE_MANIFEST_SIG_URL -O manifest.txt.asc - gpg --verify manifest.txt.sig manifest.txt + gpg --verify manifest.txt.asc if [ $? == 0 ]; then + sha256sum -c manifest.txt --ignore-missing + # Install Pool tar -xzf pool-*.tar.gz mv $POOL_ARCH-$POOL_VERSION pool