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

[TASK] Update LedgerEthChromeApp with Cross-Extension-Messaging #4383

Closed
ghost opened this issue May 28, 2018 · 5 comments
Closed

[TASK] Update LedgerEthChromeApp with Cross-Extension-Messaging #4383

ghost opened this issue May 28, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented May 28, 2018

re #4060 (was #717)


Goal

Allow bidirectional communication between MetaMask and Ledger Eth Wallet Chrome App, using Cross-Extension-Messaging (CEM) as described in:

CEM works for "Chrome Apps", too":

Sequence

  • Metamask Creates a Transaction
  • Requests Signature from Ledger (ledger-extension provides api via CEM)
  • Ledger-Extension communicates with Ledger, user signs
  • MetaMask gets the signed transaction via CEM
  • MetaMask continues as usual

PoC

An extension/app which simulates the Ledger part, just to proof that CEM can handle the above sequence

Implementation

Resources

LEGACY SOFTWARE

This is legacy software, will be replaced by

@danfinlay
Copy link
Contributor

Wouldn't this require the ledger having a browser extension of its own?

Would that extension not have the same problems connecting over the U2F protocol?

Are they maybe using a native app to connect to the extension?

This feature has been merged into master, and should be deployed to production by the end of the day:
#3997

@ghost
Copy link
Author

ghost commented May 30, 2018

This works with chrome apps, too, I've updated the text.

This should be the way to go.

#3997 is based on Cross-Extension-Messaging?

(Sidenote: I'm currently off-code, and I must stay off-code to keep my architectural thinking/creativity up. I usually have only one of the two (coding/architecture) abilities on "super-flow". Thus depending here totally on team-work, which seems to mean that I depend on the code-level work of e.g. jamespic. If this does not makes sense, just ignore this sidenote)

@ghost ghost changed the title [TASK] Provide Cross-Extension-Messaging based Com-Layer [TASK] Update LedgerEthChromeApp with Cross-Extension-Messaging Jun 3, 2018
@ghost
Copy link
Author

ghost commented Jun 16, 2018

@danfinlay although this would work, it's (soon-to-be) legacy-software. I'm closing as "wontfix". There is another path which uses the latest ledger software (e.g. no legacy, no need to dig into Scala etc.).

@ghost ghost closed this as completed Jun 16, 2018
@danfinlay
Copy link
Contributor

Looks like the same situation for Trezor. They now have a native app to connect to.

@ghost
Copy link
Author

ghost commented Jun 17, 2018

With Ledger, we have still an option (or even two) to avoid the Native App (thus MetaMask can work with Ledger without having to open the Native App). See within #4060, should be the final path now.

This issue was closed.
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

1 participant