-
Notifications
You must be signed in to change notification settings - Fork 5k
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
upgrade trezor-connect dependency to latest #8349
Comments
We are currently using 7.0.3. The set of breaking changes in v8 is here: |
bump |
When will the new version be released which addresses the trezor connect issue prusnak mentioned above? Thanks |
any update to this ? |
What specifically doesn't work? And under what circumstances doesn't it work? I don't understand and this issue doesn't have specific details. |
further details mentioned here: https://www.reddit.com/r/TREZOR/comments/hhs9k1/what_is_this_error_chrome_8304103116_official/ and a support ticket related to this issue: 38789 |
We'll hopefully update our Trezor logic in 8.1 but in the meantime I do believe it still works. |
Hello @whymarrh, #8866 was closed and I was asked to comment here. I do not believe these two tickets represent the same issue. This one is referring to the Trezor Connect API version 8.1.7, while the issue the user reported to support refers to the connection he/she is attempting to make to their physical Trezor wallet through the Metamask UI. It clearly mentions the 2.3.1 version in the screenshots posted inside the initial issue. Can you please advise? Regards, Emil |
Currently (with the outdated Trezor integration) one needs to type the Trezor passphrase in the browser which is not secure. A major security aspect of hardware wallets is to avoid typing secrets into potentially compromised devices (like a computer with internet access). Also, the passphrase needs to be typed in to sign every single transaction, which is bad UX and fairly annoying to be frank. According to the Trezor team (I sanity checked with them), if you upgrade the Trezor integration these 2 issues should be resolved. So that: |
Have a look at how Myetherwallet does it. They have it setup correctly, so
that you can type your passphrase on your device, rather than a keyboard.
…On Mon, Jun 29, 2020 at 3:54 PM ncsolar ***@***.***> wrote:
[image: Trezor-error]
<https://user-images.githubusercontent.com/8175508/86021101-57865d80-b9ee-11ea-871e-59b7f5c92269.png>
Same warning here, Chrome Version 83.0.4103.116 (Official Build) (64-bit)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8349 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP57EHBRNVZQEWZLX62WRBDRZCTLJANCNFSM4MKSI3ZA>
.
|
@epop-cs as @ncsolar and @dpazdan have shared, these do all seem to be related. @blockomoco thanks for the details, that is clearer. We'll be working to get this in 8.1, the version after next, and will update here with progress. We understand that this isn't a smooth process right now, we're working to fix it. |
Any update when this will be rolled out ? |
Nothing right now, I'll be sure to update here with progress |
As it seems the problem still exists. (I guess Brave Wallet is using MetaMask?!. -> So they are having the same problem.) It is NOT: "not going so smooth" Please fix this asap. |
+1 this is a serious security risk since the password should only be typed on the Trezor device directly and never on a computer with internet access. Please prioritize this fix. The right thing to do here is fixing and releasing the fix ASAP. |
I also have to second this - an urgent fix would be great. The issues I'm having: About two weeks ago it was working fine on the older version of the Trezor firmware that I was using. I updated to 2.3.2 and I have also updated Trezor Connect as well, but now this issue occurs. This is in Vivaldi, on Windows 10 Pro 2004, with adblock disabled. Error: link EDIT: I have confirmed that issue #1 and #2 were unrelated. However, like many others, issue #3 persists. |
So it sounds like one of the breaking changes Trezor introduced was related to how passwords are entered when connecting with MetaMask? Does that explain this user's experience? They claim they are unable to use BIP39 password derived accounts at all anymore. |
Bump - this issue effectively breaks secure use of Trezor with Metamask. Due to its ubiquity, Trezor users are forced to rely on Metamask to interact with web3 applications. Current version of Metamask effectively breaks possibility of secure Trezor use. |
What is the status of this ? It is shocking that this is still unresolved. Security issues must have the highest priority and urgency. Especially for hardware wallets where people may store significant amount of funds. Please take action. |
This comment has been minimized.
This comment has been minimized.
We've begun work on this issue, but have encountered some problems, documenting here to share with Trezor: The problem is that when trying to connect Trezor, we are redirected to https://connect.trezor.io/8/popup.html#loading and it’s getting stuck on loading screen (exactly the same way when we manually open this site), there’s nothing more we can do. I have latest firmware on my model T and latest trezor-bridge versions.
Any tips or suggestions will be appreciated. |
Thx for working on this. @prusnak can you folks please help. Thx |
@whymarrh @danfinlay @yohaaan |
@snazzybytes Thanks for trying to make it done ! Maybe we should try to contact them on twitter or any other way. |
@stx233 yea no problem, sadly i do not have tribal knowledge to actually get it properly done obviously (i work as software engineer, but on the backend side of things with different set of technologies JVM and Golang and other things and languages, not the NPM and javascript on the daily though as is the case here, sorry) @stx233 also Jacob from MetaMask added the "S1-High" label below your reply, which is a good sign it will be prioritized and squashed soon I hope I'd imagine logically 👨🚀 speaking (tagging you twice, in case you notice the good news sooner, cuz it certainly put a smile on my face) |
@yohaaan wrote:
This is inaccurate. The MetaMask official replies have ironically become buried by people asking where our replies are. I'm going to lock the thread so that my response here can be more easily found, and we'll be providing updates here as we develop this issue. We had a developer spend a week on this integration a couple months ago, but ran into some issues introduced by the new Trezor library update that we were not able to overcome with the time allotted to it. We will be spending more time tracking these issues down soon, but needed to focus on some wider-impact improvements, like transaction reliability. Here were the outputs of his efforts:
Those efforts are on some slightly stale branches, so we're going to bring them up to date before sharing again here, where we're happy to get input from the Trezor team. We'll also try out the suggested cache-clearing idea during the next sprint we give to Trezor. We'd also love to have more direct communication with the Trezor team, maybe we could get a shared Slack or Discord going like we have with Ledger, so we can interact a bit more tightly. Please do reach out. Again, locking this thread as our official replies keep getting buried with wild speculation. |
@prusnak Thank you for reporting this issue and driving us forward! After a few days of debugging, I've found the same issue that the previous engineer found (#8349 (comment)). Essentially, the No error or warning is reported in the JS console, nor does a promise catch -- just infinite loading screen. The MetaMask code that calls the A community-submitted PR, #10131 , effectively shims MetaMask to use Any advice would be appreciated. This is my top priority and I'll be looking to act as quickly as your team can help. Thank you! |
@darkwing Are you 100% sure there is no browser extension messing up with the communication? (privacy badger, adblock, etc.) Have you tried Chrome also? Pinging @szymonlesisz our Connect guru: Szymon, any ideas, what might be wrong with the Connect integration used by Metamask? |
I read the changelog for 8.0.0 (https://github.com/trezor/connect/blob/develop/CHANGELOG.md#800) and the first point mentioned a communication change but if postMessage is a fallback, I would think everything should work properly on that front, since version 7 has worked for us without problems. I look forward to any advice from @szymonlesisz ; one question to consider is what could cause the connect website to infinitely show a loading screen. Thank you! |
I've just been testing with MetaMask/eth-trezor-keyring#46 on Chrome (Version 87.0.4280.88 (Official Build) (64-bit)) on Ubuntu, by linking that version of |
Today we found that there was a seemingly undocumented breaking change to Trezor Connect 8 that, once we fixed, will allow Trezor to work on that version: https://gist.github.com/darkwing/b68125069533628ea2c27445cb253b99 I'm working to complete the upgrade in MetaMask/eth-trezor-keyring#46; the only current blocker is that our test suite's |
@darkwing Which Metamask browser version is going to include this change ? edit: Ok I see it is under https://github.com/MetaMask/metamask-extension/releases/tag/v9.0.4. |
Any eta for this? I’m still unable to connect my Trezor... |
Hey the latest Metamask already solved this, v9.0.4. PS: Thanks to the team, very glad to be able to use Trezor with Metamask now |
I’m using v9.0.4 and it doesn’t work for me. Gave up on it... |
It really should work. To be clear, we are talking about the issue of inserting passphrase on Trezor T device, not computer. Do you mean you cannot connect Trezor? |
I simply can’t connect Metamask to Trezor. It opens a popup for a second in another tab and then disappears, and then I get an ever going spinning wheel and that’s it. Tried it with two different trezors, and in both Brave and Chrome. Always the same |
@shaimo you're likely experiencing a different problem than what is described in this issue. Could you create a separate issue, and provide any details you can to help us reproduce the problem? |
Version 9.0.4 is okay. It recognized trezor model T and we can use it with metamask. But there is an issue. Here is what I found :
how can I display the output message of in order to help you ? Edit : Transaction 0 failed! Error : Unsupported chain id is displayed |
Hi all after firmware 2.3.5 | 10 February 2021 I can confirm you that everything is working with bsc : metamask and trezor. Now validation on bsc is triggered on the Model T. |
Please upgrade the trezor-connect[1] dependency of your application to
latest (8.1.5 atm), otherwise your users won't be able to enter the
passphrase on the device.
Thanks!
[1] https://www.npmjs.com/package/trezor-connect
The text was updated successfully, but these errors were encountered: