diff --git a/Scripts/LinodeStandUp.sh b/Scripts/LinodeStandUp.sh index c583f2a..e3f3612 100644 --- a/Scripts/LinodeStandUp.sh +++ b/Scripts/LinodeStandUp.sh @@ -82,7 +82,7 @@ fi # CURRENT BITCOIN RELEASE: # Change as necessary -export BITCOIN="bitcoin-core-23.0" +export BITCOIN="bitcoin-core-25.0" # Output stdout and stderr to ~root files exec > >(tee -a /standup.log) 2> >(tee -a /standup.log /standup.err >&2) @@ -135,6 +135,9 @@ apt-get install haveged -y # Install GPG apt-get install gnupg -y +# Install unzip +apt-get install unzip + # Set system to automatically update echo "unattended-upgrades unattended-upgrades/enable_auto_updates boolean true" | debconf-set-selections apt-get -y install unattended-upgrades @@ -273,8 +276,9 @@ sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/$BITCOINPLAIN-x86_64-l sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/SHA256SUMS.asc -O ~standup/SHA256SUMS.asc -a ~standup/.logs/wget sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/SHA256SUMS -O ~standup/SHA256SUMS -a ~standup/.logs/wget -sudo -u standup wget https://raw.githubusercontent.com/bitcoin/bitcoin/23.x/contrib/builder-keys/keys.txt -O ~standup/keys.txt -a ~standup/.logs/wget -sudo -u standup sh -c 'while read fingerprint keyholder_name; do gpg --keyserver hkps://keys.openpgp.org --recv-keys ${fingerprint}; done < ~standup/keys.txt' +sudo -u standup wget https://github.com/bitcoin-core/guix.sigs/archive/refs/heads/main.zip -O ~standup/guix.sigs-main.zip -a ~standup/.logs/wget +sudo -u standup unzip ~standup/guix.sigs-main.zip -d ~standup/ +sudo -u standup gpg --import ~standup/guix.sigs-main/builder-keys/* cat ~standup/.logs/wget >> /standup.log cat ~standup/.logs/wget >> /standup.err diff --git a/Scripts/StandUp.sh b/Scripts/StandUp.sh index 9dd578e..b16ff40 100644 --- a/Scripts/StandUp.sh +++ b/Scripts/StandUp.sh @@ -138,6 +138,9 @@ apt-get install gnupg -y # Install dirmngr apt-get install dirmngr +# Install unzip +apt-get install unzip + # Set system to automatically update echo "unattended-upgrades unattended-upgrades/enable_auto_updates boolean true" | debconf-set-selections apt-get -y install unattended-upgrades @@ -302,7 +305,7 @@ echo "$0 - Downloading Bitcoin; this will also take a while!" # CURRENT BITCOIN RELEASE: # Change as necessary -export BITCOIN="bitcoin-core-23.0" +export BITCOIN="bitcoin-core-25.0" export BITCOINPLAIN=`echo $BITCOIN | sed 's/bitcoin-core/bitcoin/'` sudo -u standup mkdir ~standup/.logs @@ -311,8 +314,9 @@ sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/$BITCOINPLAIN-x86_64-l sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/SHA256SUMS.asc -O ~standup/SHA256SUMS.asc -a ~standup/.logs/wget sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/SHA256SUMS -O ~standup/SHA256SUMS -a ~standup/.logs/wget -sudo -u standup wget https://raw.githubusercontent.com/bitcoin/bitcoin/23.x/contrib/builder-keys/keys.txt -O ~standup/keys.txt -a ~standup/.logs/wget -sudo -u standup sh -c 'while read fingerprint keyholder_name; do gpg --keyserver hkps://keys.openpgp.org --recv-keys ${fingerprint}; done < ~standup/keys.txt' +sudo -u standup wget https://github.com/bitcoin-core/guix.sigs/archive/refs/heads/main.zip -O ~standup/guix.sigs-main.zip -a ~standup/.logs/wget +sudo -u standup unzip ~standup/guix.sigs-main.zip -d ~standup/ +sudo -u standup gpg --import ~standup/guix.sigs-main/builder-keys/* cat ~standup/.logs/wget >> /standup.log cat ~standup/.logs/wget >> /standup.err