1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
Thomas Huang
1e4855fc0e Whoops missed some modules 2017-05-04 15:21:51 -07:00
Thomas Huang
0b13429daf Lint tests 2017-05-04 14:35:10 -07:00
Dan Finlay
fba7a50e1b Fixed encoding 2017-03-07 11:43:59 -08:00
Dan Finlay
99b49b11f6 Fix test name 2017-03-06 17:36:37 -08:00
Dan Finlay
70e14b8a6f Fixed internal encoding test case 2017-03-06 17:36:08 -08:00
Dan Finlay
e66e755766 Fix normalizeMsgData function to always return hex prefixed 2017-03-06 16:33:33 -08:00
Dan Finlay
af337dfae5 Fix function names 2017-03-06 15:17:45 -08:00
Dan Finlay
9bd8c5f723 Render personal_sign messages as utf-8 text
Calls to `personal_sign` are now:

- When hex encoded, preserved as hex encoded, but displayed as utf-8 text.
- When not hex encoded, decoded as utf-8 text as hex for signing.
- The messages proposed for signing are displayed as UTF-8 text.
- When the message cannot be rendered as UTF-8 text, it is displayed as hexadecimal.

Fixes #1173
2017-03-06 15:04:11 -08:00
Dan Finlay
0584988688 Move sigUtil and keyrings to external modules
These external modules now have their own test coverage and build enforcement. This allowed me to somewhat more easily add good tests around our personalSign strategy (held now in [eth-sig-util](https://github.com/flyswatter/eth-sig-util), and allow each of the keyrings to import that, etc.
2017-02-21 14:25:47 -08:00