Walletwasabi: Export private key from address

Created on 20 Mar 2019  路  6Comments  路  Source: zkSNACKs/WalletWasabi

Is your feature request related to a problem? Please describe.

It is useful to export private keys to spend coins outside of wasabi after mixing.

However, with the current export format, it requires users to have to derive private keys, exposes them to arduous work with high likelihood of irreversible catastrophic fuckup 馃槅

Describe the solution you'd like

  • Right-click on a utxo, export the private key
  • "show active keys" option in the current wallet info page where all private keys that have a balanced are displayed in WIF.

Describe alternatives you've considered

Doing everything manually. 鈿狅笍 Danger 鈱汿ime-consuming 馃鈥嶁檪锔廵xpert knowledge required

featurenhancement

Most helpful comment

If you do this, you send all your Wasabi addresses to 3rd party Electrum servers, losing the anonymity against those entities, so you must make a judgement call by being aware of this.

Yes, I should have made that clear. I edited my comment.

All 6 comments

Concept ACK. Maybe we should put it to the "Advanced Info" tab, because it requires a password and I'm having difficulty to figure out where we'd put the password if it'd be in the context menu.

Until this issue gets picked up, I'm trying to write a short script to recover the private key of a wallet. I need it to sign a multisig transaction. I would love to share that script here once done, as a stopgap, last resort tool which other users might find useful.

What I've done so far:

If I understand correctly, in order to recover the private key of a wallet, I need to:

  1. extract the EncryptedSecret from Wallets/{the-wallet-name}.json
  2. decrypt the EncryptedSecret with the matching password

Is that correct ?

  1. extract the EncryptedSecret from Wallets/{the-wallet-name}.json
  2. decrypt the EncryptedSecret with the matching password

yes @guillaumekh, I think this is correct.

FYI, for the original feature request, this can be done in the Coin Details Tab, shown after password input. Well, the private key is of the address, not of the coin, and this would only work for unspent coins... so idk...

OK, so for anyone ending up here while researching how to extract their addresses' private keys :

Just install Electrum & import your wallet there, following Wasabi's official tutorial. Once there, go to the "_Addresses_" tab, right-click on your address & select "_Private key"_.

Edit: see privacy consequences in comment below from @yahiheb

Just install Electrum & import your wallet there

If you do this, you send all your Wasabi addresses to 3rd party Electrum servers, losing the anonymity against those entities, so you must make a judgement call by being aware of this.

To gain some privacy by using Electrum you should setup Tor on Network preferences or by installing your own Electrum server via Electrum Personal Server, ElectrumX or Electrs.

If you do this, you send all your Wasabi addresses to 3rd party Electrum servers, losing the anonymity against those entities, so you must make a judgement call by being aware of this.

Yes, I should have made that clear. I edited my comment.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MaxHillebrand picture MaxHillebrand  路  3Comments

yahiheb picture yahiheb  路  3Comments

yahiheb picture yahiheb  路  3Comments

gabridome picture gabridome  路  3Comments

MaxHillebrand picture MaxHillebrand  路  3Comments