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

Comments

Projects
None yet
6 participants
@mfc
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

@bnvk

This comment has been minimized.

Show comment
Hide comment
@bnvk

bnvk May 9, 2016

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

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 and removed P: major labels May 17, 2016

@mfc

This comment has been minimized.

Show comment
Hide comment
@mfc

mfc May 20, 2016

Member

@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.

Member

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

autoupdate: _doc
_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

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong May 20, 2016

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.)

Member

andrewdavidwong commented May 20, 2016

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 mfc referenced this issue in QubesOS/qubes-doc Jul 5, 2016

Merged

added content #170

@mfc

This comment has been minimized.

Show comment
Hide comment
@mfc

mfc Jul 5, 2016

Member

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

Member

mfc commented Jul 5, 2016

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

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jul 5, 2016

Member

@mfc: Looks good; merged. :)

Does anything else need to be done for this issue?

Member

andrewdavidwong commented Jul 5, 2016

@mfc: Looks good; merged. :)

Does anything else need to be done for this issue?

@mfc

This comment has been minimized.

Show comment
Hide comment
@mfc

mfc Jul 5, 2016

Member

all good :)

Member

mfc commented Jul 5, 2016

all good :)

@mfc mfc closed this Jul 5, 2016

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Jul 5, 2016

Member

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

Member

adrelanos commented Jul 5, 2016

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

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jul 5, 2016

Member

Ah, of course. Added. Thanks, Patrick.

Member

andrewdavidwong commented Jul 5, 2016

Ah, of course. Added. Thanks, Patrick.

@FlashOfJhana

This comment has been minimized.

Show comment
Hide comment
@FlashOfJhana

FlashOfJhana Jun 27, 2017

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

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

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 27, 2017

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.

Member

marmarek commented Jun 27, 2017

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.

@FlashOfJhana

This comment has been minimized.

Show comment
Hide comment
@FlashOfJhana

FlashOfJhana Jun 27, 2017

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.

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