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

Signature dialog account dropdown misleading #6057

Closed
ajm13 opened this issue Jan 22, 2019 · 1 comment
Closed

Signature dialog account dropdown misleading #6057

ajm13 opened this issue Jan 22, 2019 · 1 comment

Comments

@ajm13
Copy link

ajm13 commented Jan 22, 2019

Describe the bug
Requesting a signature using personal_sign or web3.personal.sign opens a dialog that has a dropdown in the top left corner to change accounts. Selecting a different account does not change which account signs the message; the account provided to personal_sign will be the one signing. This is potentially misleading as a user could interpret the dropdown as changing which account will sign the message.

To Reproduce
Steps to reproduce the behavior:

  1. Call web3.personal.sign(<message>, <account A>)
  2. Select <account B> in the top left dropdown
  3. Click 'sign'
  4. Derive public address from signature: <account A>

Expected behavior
Account dropdown should either not be visible, or not be clickable / changeable

Browser details

  • Chrome v71
  • MetaMask v5.3.1
@tmashuang
Copy link
Contributor

Thanks for the report. #6024 has already been merged to fix the issue. Will be out in the next release, sometime this week.

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

No branches or pull requests

2 participants