Bitcoin-Standup-Scripts icon indicating copy to clipboard operation
Bitcoin-Standup-Scripts copied to clipboard

Try installing Tor first then using bitcoincore.org's hidden service to fetch binaries

Open Fonta1n3 opened this issue 5 years ago • 9 comments

For improved privacy we ought to try an amend the script to download bitcoin binaries and signatures from bitcoincore.org's new hidden service: http://6hasakffvppilxgehrswmffqurlcjjjhd76jgvaqmsg6ul25s7t3rzyd.onion/

See blog post

Fonta1n3 avatar Jun 11 '20 07:06 Fonta1n3

I just finished testing the setup using the onion site and it works. This is the script i'm working on as part merging Linode and StandUp scripts and upgrading the script.

ss.sh

I've tested it on Debian 10 VM, still need to test on a VPS. ~hence, the entire HOSTNAME block is untested. Not sure if i'm doing it right.~ HOSTNAME block done finished but, still needs testing on VPS.

Please give your comments, if you spot anything that i can do better or not doing right.

jodobear avatar Jul 06 '20 14:07 jodobear

@shannona Could you look over the script today while you are looking over the Tor docs for the course?

ChristopherA avatar Jul 07 '20 18:07 ChristopherA

Good theory, looks right. My only question would be if those Onion addresses stay the same from version to version. If so, then the real question (as with most shell scripts) is it runs right.

shannona avatar Jul 07 '20 19:07 shannona

i'm not sure of that, but if it changes then we can change it with the version number?

Also, the script is successfully tested on Debian10.4 vm and it works, even the divided script i just pushed in this dir: scripts

jodobear avatar Jul 07 '20 19:07 jodobear

Great.

It'd be good to document how to look up those addresses, just in case they do change.

shannona avatar Jul 07 '20 20:07 shannona

(Probably in comments in the script.)

shannona avatar Jul 07 '20 20:07 shannona

I just finished testing the setup using the onion site and it works. This is the script i'm working on as part merging Linode and StandUp scripts and upgrading the script.

ss.sh

I've tested it on Debian 10 VM, still need to test on a VPS. ~hence, the entire HOSTNAME block is untested. Not sure if i'm doing it right.~ HOSTNAME block done finished but, still needs testing on VPS.

Please give your comments, if you spot anything that i can do better or not doing right.

Looks great! I have not tested it yet but will get around to it, looks like I can learn a thing or two from you. I ran into a few issues when last using Standup.sh recently but I do believe the fixes were merged. Again as soon as I have time I'll test this out and would like to rework the script so that all three Bitcoin networks are installed with each one getting a dedicated hidden service and systemd service so that we mirror the functionality of the macos version which is pretty great to use in practice. This would also narrow down the Bitcoin install options to simply pruned or not.

Fonta1n3 avatar Jul 10 '20 05:07 Fonta1n3

rework the script so that all three Bitcoin networks are installed with each one getting a dedicated hidden service and systemd service so that we mirror the functionality of the macos version which is pretty great to use in practice. This would also narrow down the Bitcoin install options to simply pruned or not.

Sounds great! Also, if you go into the scripts directory in my fork, i've divided the scripts for better code management and add modular structure to the whole thing. (ss_lightning.sh is wip - not currently working)

And i will take a look at the macos script to see if i can improve this one and pick better practices from there.

jodobear avatar Jul 10 '20 11:07 jodobear

rework the script so that all three Bitcoin networks are installed with each one getting a dedicated hidden service and systemd service so that we mirror the functionality of the macos version which is pretty great to use in practice. This would also narrow down the Bitcoin install options to simply pruned or not.

Sounds great! Also, if you go into the scripts directory in my fork, i've divided the scripts for better code management and add modular structure to the whole thing. (ss_lightning.sh is wip - not currently working)

And i will take a look at the macos script to see if i can improve this one and pick better practices from there.

This would be the one to look at: https://github.com/BlockchainCommons/Bitcoin-Standup-MacOS/blob/master/XCode/StandUp/Scripts/StandUp.command

Fonta1n3 avatar Jul 10 '20 12:07 Fonta1n3