Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document "split-bitcoin" (watching / cold wallet) implementation #1966

Closed
mfc opened this issue May 6, 2016 · 11 comments
Closed

document "split-bitcoin" (watching / cold wallet) implementation #1966

mfc opened this issue May 6, 2016 · 11 comments
Labels
C: website P: minor Priority: minor. The lowest priority, below "default." T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality.
Milestone

Comments

@mfc
Copy link
Member

mfc commented May 6, 2016

it is a lot simpler than this qubes-users thread:

https://groups.google.com/d/msg/qubes-users/AkZo8xOxi18/-pgvSV6FDwAJ

first section of page would introduce the concept, maybe highlight which clients have the cold wallet / watching wallet capability. second section would go through how one would set it up with one example client. I set it up with electrum and it was quite easy, just had to install jessie-backports.

very low priority but something that is likely of interest to Qubes users (or potential users). There may already be documentation out there on it, just not in the google group.


How to set up offline "cold storage" bitcoin wallet and an online watching-only bitcoin wallet:

  1. Create a Debian 8 backports template using the Qubes VM Manager or running
    qvm-clone debian-8 debian-8-backports in dom0.

  2. Add backports to the sources for the new template by opening a terminal in
    the new template, run sudo vi /etc/apt/sources.list and add
    deb http://http.debian.net/debian jessie-backports main.

    (If you are new to vi text editing, type i to be able to edit, and when
    done editing press ESC then type :x and press ENTER.)

  3. Update source list: sudo apt-get update.

  4. Install electrum from backports:
    sudo apt-get -t jessie-backports install electrum.

  5. shut down your debian-8-backports template

  6. create an offline-bitcoin qube based on debian-8-backports using the Qubes VM Manager or running qvm-create -t debian-8-backports -l black offline-bitcoin and qvm-prefs -s offline-bitcoin netvm none in dom0.

  7. follow the electrum documentation in creating an offline wallet

  8. create a watching-bitcoin qubes based on debian-8-backports connecting to the internet how ever you prefer using the Qubes VM Manager or running for example qvm-create -t debian-8-backports -l green watching-bitcoin and qvm-prefs -s watching-bitcoin netvm sys-whonix in dom0.

  9. follow the electrum documentation in creating an online watching-only wallet

@mfc mfc added the C: website label May 6, 2016
@mfc mfc added this to the Documentation/website milestone May 6, 2016
@andrewdavidwong andrewdavidwong added T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality. P: major Priority: major. Between "default" and "critical" in severity. labels May 6, 2016
@bnvk
Copy link

bnvk commented May 9, 2016

This is really nifty, perhaps we should add Bticoin or cryptocurrency enthusiast as a persona type in #1906

@andrewdavidwong andrewdavidwong added P: minor Priority: minor. The lowest priority, below "default." and removed P: major Priority: major. Between "default" and "critical" in severity. labels May 17, 2016
@mfc
Copy link
Member Author

mfc commented May 20, 2016

@andrewdavidwong when you have the chance could you super-briefly frame this guide like you did for Martus and put it up (I guess in the privacy section)? you did a great job with that one.

andrewdavidwong added a commit to QubesOS/qubes-doc that referenced this issue May 20, 2016
marmarek added a commit to QubesOS/qubesos.github.io that referenced this issue May 20, 2016
_doc:
    tag adw_0865bda4
    tagger Andrew David Wong <adw@qubes-os.org> 1463779077 -0700

    Tag for commit 0865bda4720ea7d0e5eecae980fe3458a2dff9be
    gpg: Signature made Fri 20 May 2016 11:17:57 PM CEST using RSA key ID 2A019A17
    gpg: Good signature from "Axon (Qubes Documentation Signing Key)"

    0865bda Start Split Bitcoin page (QubesOS/qubes-issues#1966)
@andrewdavidwong
Copy link
Member

Sure thing. It's available here. (I decided to put it in /security because I think it'll be a slightly better fit for that section.)

@mfc
Copy link
Member Author

mfc commented Jul 5, 2016

added content to that, would be great to push it up if it looks good.

@andrewdavidwong
Copy link
Member

@mfc: Looks good; merged. :)

Does anything else need to be done for this issue?

@mfc
Copy link
Member Author

mfc commented Jul 5, 2016

all good :)

@mfc mfc closed this as completed Jul 5, 2016
@adrelanos
Copy link
Member

This still needs to be added to documentation index https://www.qubes-os.org/doc/?

@andrewdavidwong
Copy link
Member

Ah, of course. Added. Thanks, Patrick.

@TomzBench
Copy link

electrum 2.7.9 has a offline transaction signing bug and the qubes documented repository only has this version. Is there a recommended way to update the template electrum to 2.7.11 with bug fix?

Some references to mention of bug links:

spesmilo/electrum#2146

https://labs.riseup.net/code/issues/12323

@marmarek
Copy link
Member

Any more information on this bug? I do use the above setup without any problem...
Anyway, you can use Fedora template - Fedora 25 have electrum 2.8.3.

@TomzBench
Copy link

It is bug in electrum only specific to version 2.7.9. When signing transactions the offline mode electrum still will try to connect to network and you get timeout error. Downgrading would fix problem also.

I used the template documented in qubes-os docs. So I think the qubes docs should change the template in the instructions, or upgrade or downgrade electrum package in the template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: website P: minor Priority: minor. The lowest priority, below "default." T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality.
Projects
None yet
Development

No branches or pull requests

6 participants