Github - Script to update Tails for Trezor and Electrum
I've updated the script to install Electron Cash from AppImage (and check sigs). Should include both Trezor and Ledger udev rules, but I've only tested Trezor. Here's a list of what is verified:
wallet.trezor.io
Through Tor Browser in Tails- Electron Cash AppImage v4.0.6 over Tor network
- Electron AppImage v3.6.6 over Tor network
trezorctl
python utility v0.11.3
I would HIGHLY recommend that you backup your Tails instance before running this script. I've seen some of the portions of the script corrupt the persistent volume if the right thing goes wrong at the right time. Be warned!!!
Here's a rundown of what the script does:
- Modifies Tor Browser
prefs.js
to allowwallet.trezor.io
to function. - Installs APT packages to build latest Trezor python libraries.
- Installs latest Trezor python libraries (0.11.3) and their dependent PIP libraries.
- Installs latest AppImage copy of Electron Cash (4.0.6) with a link in the Applications menu.
- Installs latest AppImage copy of Electrum (3.3.6) with a link in the Applications menu.
- Installs latest Bridge (2.0.27) software for Trezor.
- Adds
iptables
entry to open127.0.0.1:21325
for Bridge communication. - Adds Tor proxy to gnome network properties with a
localhost
exclusion for Bridge communication. - Adds a
localhost
exclusion to Tor Browser for Bridge communication. - Adds configuration files for chromium, though I opted not to install it.
- Commits all the above changes to persistent storage (requires reboot).
Errata
- The script may not be completely restartable. That is next on my list.
- The APT packages to build the libraries do not need to persist. Only the bridge needs to persist.
- I've decided later that 90% could run from the AppImage, but it is about one rev back.
- I committed a cardinal sin by opening a localhost port on Tails.. please forgive me.
- The bridge communication is only required for the Tor Browser. Chromium could use WebUSB.
- You should never run a script recommended by some poster on reddit!
Issues
- Please log issues here if you find any.
- Please issue feature requests here if you have any.
Tips
The smallest footprint install for Electron Cash would be the following (in first 30 lines of bootstrap.sh)
```
05_swap
10_udev 15_bash
20_gnome
25_python_trezor
30_bridge
35_chromium
40_electrum_btc
45_electron_bch ```
This will skip most of the other stuff and only install the udev rules, shell proxy settings, and electron cash.
[link] [comments]
source https://www.reddit.com/r/btc/comments/bzzwul/wip_trezor_electron_cash_install_script_for_usb/
No comments:
Post a Comment