Coder Social home page Coder Social logo

trezor-on-tails's Introduction

trezor-on-tails

Installation guide for using your Trezor with Electrum on Tails.

Tested on Tails 2.7

⭐ UPDATE: Tails 3.0

Tails 3.0 now includes Trezor support for Electrum as standard so the installation steps in this guide are no longer necessary and remain only for reference.

⚠️ Privacy warning ⚠️

myTREZOR and Electrum are thin clients. This means that when you connect your Trezor they fetch the balances of your addresses by transmitting them to a remote server. As you cannot trust the logging behaviour of these remote servers:

If you have used your Trezor outside of Tails, it is likely any generated addresses have been associated with your IP address.

For this reason it is recommended to:

  1. Enable Passphrase encryption on your Trezor
  2. Choose a unique password you will only use for privacy sensitive transactions
  3. Only use this password when you are using your Trezor on Tails.

Set up

  1. When Tails Greeter appears, choose "Yes" for more options.
  2. Set an Administration password
  3. Open a terminal and run:
```
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
    python-pip python-dev build-essential libusb-1.0-0-dev libudev-dev
sudo torify pip install -U setuptools
sudo torify pip install trezor==0.6.13
sudo chmod -R ugo+rX /usr/local/lib/python2.7/dist-packages/
sudo sh -c 'torify curl -sL' \
    'https://raw.githubusercontent.com/trezor/trezor-common/master/udev/51-trezor.rules' \
    '> /lib/udev/rules.d/51-trezor.rules'
sudo chmod 644 /lib/udev/rules.d/51-trezor.rules
```
  1. Open Electrum
  2. Select "Create a new Wallet" and "Hardware wallet"
  3. Next choose "Use a device you have already set up" and "TREZOR wallet" as the type of hardware wallet

Duplicate devices

Duplicate devices in Electrum

With newer firmwares Electrum may show a duplicate device and will ask you to choose. It doesn't appear to matter which you pick.

tl;dr give me a script to run

Usual "don't curl unsolicited shell scripts into a root shell" disclaimer applies.

torify curl -sL \
    https://raw.githubusercontent.com/lwfitzgerald/trezor-on-tails/master/install-trezor.sh \
    | sudo sh

Enabling Passphrase encryption

myTREZOR

myTREZOR passphrase encryption enabling

  1. Go to myTrezor
  2. Click the name of your device and then switch to the "Advanced" tab
  3. Tick the OK box and click "Enable passphrase encryption"
  4. Disconnect and Reconnect your Trezor

Electrum

Electrum passphrase encryption enabling

  1. Click the small Trezor icon in the Electrum status bar
  2. Switch to the "Advanced" tab and click "Enable Passphrases"
  3. Close Electrum
  4. Disconnect and Reconnect your Trezor
  5. Restart Electrum and create a new Electrum wallet

trezor-on-tails's People

Contributors

lwfitzgerald avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.