Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Cardano: getAddres + getPublicKey #306

Closed
szymonlesisz opened this issue Aug 13, 2018 · 6 comments
Closed

Cardano: getAddres + getPublicKey #306

szymonlesisz opened this issue Aug 13, 2018 · 6 comments

Comments

@szymonlesisz
Copy link

CardanoGetAddress shows:

  1. export address confirmation
  2. derivation path confirmation

getaddress

CardanoGetPubliKey shows:

  • derivation path confirmation

getpublickey

I think in both cases there shouldn't be derivation path confirmation, it's not intuitive for the user

@tsusanka
Copy link
Contributor

tsusanka commented Aug 14, 2018

I've removed the bip-32 display. The GetPublicKey and GetAddress messages will be probably merged later but that's part of #308

@refi93
Copy link
Contributor

refi93 commented Aug 20, 2018

@tsusanka we decided to display the derivation path to the user so they can be sure that the returned address does indeed belong to some "normal" derivation path.

Our line of thinking was that a man in the middle may somehow tamper with the derivation path sent by the wallet client to Trezor when requesting an address for receiving funds (for example by changing 0' to 84927383' in the request). A wallet usually works over a small range of addresses (e.g. 0' to 10') and this may cause loss of funds in the sense that the client may then receive funds to this "spoiled" address which will be subsequently unaccessible by the wallet client he is using, since it won't be able to discover it next time the user logs to the wallet.

Did you consider this scenario? Is it actually something to be concerned about? If not, why?

@prusnak
Copy link
Member

prusnak commented Aug 20, 2018

@refi93 This is in process of unification and refactoring, where we would like to unify dialogs across various coins to look similar. See #320 - where we address this.

@refi93
Copy link
Contributor

refi93 commented Aug 20, 2018

@prusnak I see, so can we expect in the foreseeable future that the derivation path will be displayed in this case?

@prusnak
Copy link
Member

prusnak commented Aug 20, 2018

Right

@tsusanka
Copy link
Contributor

Yes, exactly. Sorry about that, I should have pointed it out here as well

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants