mycelium-com / wallet-android

Mycelium Bitcoin Wallet for Android
http://mycelium.com
Other
668 stars 323 forks source link

Implement Trezor/Keepkey/Ledger check for update #484

Open sergeylappo opened 5 years ago

sergeylappo commented 5 years ago

Currently wallet have functionality to notify if firmware of hardware device is outdated, but last firmware versions currently are hardcoded. Here's how this could be done for Trezor https://github.com/trezor/trezor-common/blob/7d618036ab50504e245ad8651c4558d413596228/tools/coin_info.py#L274 https://beta-wallet.trezor.io/data/firmware/2/releases.json - Model T https://beta-wallet.trezor.io/data/firmware/1/releases.json - ONE Keepkey https://github.com/keepkey/kk-binary-librarian/blob/7e5faebcc1d3e904a81e21bdf740ed0e3e7c7c64/src/index.js#L6 https://api.github.com/repos/keepkey/keepkey-firmware/releases Ledger Ledger have some websocket implementation: https://github.com/LedgerHQ/ledger-live-desktop/blob/0ff2aa618f5c06d9e34d52460d42ebb93e168b45/src/helpers/urls.js#L15

keepkeyjon commented 5 years ago

FYI we're working on standing up some sort of releases.json with links to our own infra so you won't have to hit github for firmware images.