Walletwasabi: Verify receiving address on hardware wallet

Created on 25 May 2019  路  6Comments  路  Source: zkSNACKs/WalletWasabi

Problem

When generating a receiving address, the user does not know if it actually belongs to the HD wallet of the hardware wallet.

Solution

Right click on receiving address, menu: Verify address on hardware wallet.
Of course this only works when the hww is actually connected.

featurenhancement

All 6 comments

I didn't know there's such a thing possible. What's the HWI command for this?

Wait, what's the point of this?

If I don't trust the software I'm running, then the verification would pass when the software is malicious.

It is possible for Ledger and Trezor, both for their own software and electrum.
I'm not sure about HWI command, maybe @Achow101 knows...

If I don't trust the software I'm running, then the verification would pass when the software is malicious.

Well, this is the point! I don't trust Wasabi to give me a receiving address that belongs to my hardware wallet. So I click Verify on HWW, and then it shows on the HWW screen the address. If it shows the same, then I know it's mine, if it shows a different, I know Wasabi is trying to MITM.

Aaah, ok, I misunderstood. The hardware wallet shows the "verified" label or whatever. Makes sense now.

You can use the displayaddress command for this. This will display the address at a given derivation path on the screen of the device (if it has one, otherwise it will return an error) and return that same address as output of that command if nothing has gone wrong.

This allows for 3 different checks that can be done:

  • Address in Wasabi matches the address shown on device
  • Addresses returned by the command matches the address shown on device
  • Address in Wasabi matches the address returned by the command

If any one of those three checks fails, then something is trying to MITM or just generally broken.

Was this page helpful?
0 / 5 - 0 ratings