-
-
Notifications
You must be signed in to change notification settings - Fork 261
Conversation
Can you please also implement EthereumVerifyMessage? It would be nice to have implemented both. |
Sure |
Thank you very much Leonid! My colleagues @szymonlesisz and @Runn1ng will review the request. |
Just to give you some context - we need this change, cause after a lot of requests from Trezor users we decided to support your amazing device during the https://0xproject.com token launch, which is starting on the 9th of August and lasts 3 days. We're happy to help with anything if needed. |
Err, I am afraid this will not work for such short notice. Not because of us, we can update connect even today, but because of wrong implementation of SignMessage in Ethereum. See here for more details: ethereum/go-ethereum#14794 I don't see into detail how your token launch will work, but I'd suggest you look deeper into that issue and how it interacts with how you use Sign/Verify message methods. |
I agree that the current standard could be better. |
I think - for now we can implement this: https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign to be compatible with all major ethereum clients/wallets. |
No, you don't understand. Signing code is in the TREZOR firmware and it is using the new method already, because the original method is vulnerable. |
Ok. We can special-case trezor, cause we check signatures server-side. |
Great! |
Are we still waiting on @szymonlesisz and @Runn1ng to review the PR? |
Yes, @szymonlesisz will review it |
sorry guys, i was doing some changes in connect and i didn't want to mess up branches. |
@szymonlesisz @Runn1ng Why is |
@saleemrashid it looks like you're right. |
@szymonlesisz I haven't tested it (and I most likely won't because I don't use Ethereum), that was just a quick review of the code |
@LogvinovLeon @fabioberger |
Ok @szymonlesisz, the sooner the better. Thanks. |
@szymonlesisz good morning! Any progress on this? |
@szymonlesisz can you please post the raw signature that you were able to generate but not verify? Perhaps we can help you debug the verification issue. |
@fabioberger sure, this is signature i get: { |
@LogvinovLeon @fabioberger |
Thats fantastic @szymonlesisz! Thanks for all the hard work! 💃 Please let me know when I can successfully call these methods from Trezor connect. |
@fabioberger yes you can test it locally with #69 before we put it in production, it's builded with new version of trezor.js (6.1.0) |
Closing, implemented in #69 |
#66