Electron-cash: Ledger: Windows build fails on 2FA for Ledger Nano

Created on 14 Apr 2019  路  4Comments  路  Source: Electron-Cash/Electron-Cash

When trying to sign a transaction with the Windows build and a Ledger Nano / HW1 it will complain about missing websocket library. Not sure why this is not available in the Windows package. The error is produced in plugins/ledger/auth2fa.py. I think this might be solved by putting auth2fa.py into the Analysis call in deterministic.spec.

Fixed Windows bug hardware wallets

Most helpful comment

The whole pairing thing is broken as the service is not online anymore, so I'll try removing it tomorrow.

All 4 comments

To add to this, we should probably remove the websocket code from auth2fa.py as this service seems to have been discontinued by Ledger. The app for it also disappeared from the Google Play store.

I'm all in favor of removing it. Interestingly we have it in our requirements-binaries.txt as websocket-client (is that the one?).

There is no reference in the codebase to it except for in the ledger plugin. So getting rid of it would be safe.

Now -- of course, I lack a ledger. Could you see about removing the code? To me it looks like it's performing some critical functions related to pairing and whatnot for 2fa... Is it trivial to remove? Easy? Medium? Hard?

The whole pairing thing is broken as the service is not online anymore, so I'll try removing it tomorrow.

Closed by #1298 . Thanks @EchterAgo

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KarolTrzeszczkowski picture KarolTrzeszczkowski  路  4Comments

jcramer picture jcramer  路  4Comments

fyookball picture fyookball  路  6Comments

imaginaryusername picture imaginaryusername  路  5Comments

tracyspacy picture tracyspacy  路  6Comments