1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 23:38:09 +00:00
Commit Graph

7258 Commits

Author SHA1 Message Date
Tomas Susanka
12dd548938
Merge pull request #496 from trezor/tsusanka/pre-slip39
Store mnemonic as bytes
2019-03-12 11:23:25 +01:00
Tomas Susanka
d02d173e69 vendor: update trezor-common 2019-03-12 10:52:33 +01:00
Tomas Susanka
5c37e8dae2 common: introduce mnemonic module
To provide another layer between seed and mnemonic. First step to
introduce SLIP-39
2019-03-12 10:35:34 +01:00
Tomas Susanka
688d1ac03b vendor: update trezor-common 2019-03-12 10:32:59 +01:00
Tomas Susanka
d86abc473f
Merge pull request #494 from trezor/tsusanka/cardano-sign-verify
Cardano: remove sign/verify functions
2019-03-11 16:43:16 +01:00
Tomas Susanka
c5e54d7535 protob: add mnemonic type to DebugLinkState 2019-03-11 13:54:35 +01:00
Tomas Susanka
18ab357e2e debug: accept bytes in mnemonic field 2019-03-11 13:53:40 +01:00
Tomas Susanka
b591219c5d cardano: remove sign/verify functions
They are not currently used anyway. Protobuf messages are missing and they are not registered. Closes #492
2019-03-11 10:01:11 +01:00
Pavol Rusnak
18176441ee
defs: update supported coins; remove "soon" coins, will be added later 2019-03-10 00:33:03 +01:00
Pavol Rusnak
b2f1cb2b97
apps/webauthn: re-add generic icon 2019-03-09 20:20:52 +01:00
Pavol Rusnak
4e2741505a
defs/webauthn: initialize with new data 2019-03-09 19:01:22 +01:00
Pavol Rusnak
e02ab996a0
src/apps: rename fido_u2f app to webauthn app
add more WebAuthn facets
2019-03-09 18:59:42 +01:00
Pavol Rusnak
cbde3f4fdb
firmware: refactor U2F known apps, add WebAuthn entries 2019-03-09 18:24:49 +01:00
matejcik
1e9edf0cc5 trezorctl: support sending ERC20 tokens in ethereum-sign-tx 2019-03-07 19:10:11 +01:00
matejcik
3997b402b4 trezorctl: update ethereum-sign-tx to use web3 instead of ethjsonrpc
fixes #366
2019-03-07 17:49:17 +01:00
matejcik
c24a8770c5 build: change ethereum requirements 2019-03-07 17:45:50 +01:00
matejcik
a8b88bcb58 trezorlib: bump required firmware version
mainly because of ethereum-get-address changes
2019-03-07 17:44:28 +01:00
matejcik
c414e8abfa style: update isort and new relative-import sorting rules 2019-03-07 14:16:48 +01:00
Hsuan Lee
d60ac958a2 defs: add DEXON (#290) 2019-03-07 14:00:55 +01:00
matejcik
22376bede4 protobuf: drop legacy CopyFrom method 2019-03-07 13:49:11 +01:00
matejcik
97171a85f2 tools: simplify helloworld.py 2019-03-07 13:49:11 +01:00
brianddk
302b9d99e6 Fix trezorctl for protobuf changes in 0.11.2 (#365)
ethereum-sign-message     Leave `address` as text instead of encoding.
  ethereum-verify-message   Leave `address` as text instead of encoding.
  ethereum-sign-tx          Leave `to` as text instead of encoding.
2019-03-07 13:47:08 +01:00
Yegor Timoshenko
4c59b02d90 u2f: capitalize Bitwarden (#491) 2019-03-07 13:42:51 +01:00
Yegor Timoshenko
57d1fe948c u2f: fix "u2f.bin.coffee" label (#490) 2019-03-07 13:39:43 +01:00
Dusan Klinec
f75a93ceca
xmr: add version fields to check for protocol compatibility
- safe check in case hard fork number increases without Trezor being patched to that version. Same for monero software version - if major version update is detected, T may warn to do only in own risk without updating Trezor firmware compatible with new versions
2019-03-07 11:33:21 +01:00
Pavol Rusnak
8be4ed41bc
Merge branch 'secfix' 2019-03-06 17:33:57 +01:00
Pavol Rusnak
358ea93e80
Merge branch 'secfix' 2019-03-06 17:31:50 +01:00
matejcik
21f0d75d13 coins_details: regenerate 2019-03-06 14:07:08 +01:00
Pavol Rusnak
f13f065ac4
src/apps/wallet/sign_tx: fix style 2019-03-06 10:12:50 +01:00
ca333
3dc6637242 defs: add Komodo backend (#289) 2019-03-05 16:25:37 +01:00
Jan Pochyla
3f0e3a334e fido_u2f: properly close u2f layout when other layout starts
As it's currently impossible to close() the layout generator from the outside, loop.signal() was added, and any started layout signals to terminate.
2019-03-05 13:49:42 +01:00
代码脸
e8db62a5f5 Add Qtum support (#287) 2019-03-05 12:58:08 +01:00
Jan Pochyla
9b97b9e840 Revert "scons: disable bip39 seed cache"
This reverts commit 34f499fc04.
2019-03-04 17:31:58 +01:00
matejcik
1d177ed831 defs: update README with wallets.json 2019-03-04 14:43:36 +01:00
Tomas Susanka
84f5a0e393 protob: set PublicKey's node to optional to be consistent with other coins 2019-03-04 12:53:39 +01:00
Pavol Rusnak
a30586647a
tools: add trezor-otp.py 2019-03-01 12:39:35 +01:00
Pavol Rusnak
f40219dbb6
fsm: correctly set node in EthereumPublicKey response 2019-02-28 16:38:48 +01:00
Pavol Rusnak
61f403c421
tests: update test_msg_ethereum_getpublickey to test node field 2019-02-28 16:38:33 +01:00
Pavol Rusnak
79664a4d08
burntest: add test for T1/T2 2019-02-28 16:29:06 +01:00
Andrew Kozlik
c23ad89ee1 storage: Fix bug in U2F counter upgrade. 2019-02-27 18:27:09 +01:00
leoreinaux
f5e5516ed2 Adding SmartCash wallet (#282) 2019-02-27 15:48:02 +01:00
matejcik
3e294cc339 changelog: update release date and tag 2019-02-27 13:25:56 +01:00
matejcik
b441ea7c3b build: properly clean generated files from setup.py prebuild 2019-02-27 13:22:48 +01:00
matejcik
12c0e78e3d trezorctl: ALLOWED_FIRMWARE_FORMATS should be lists (well tuples) 2019-02-27 13:12:18 +01:00
matejcik
a2f1dad3d4 docs: python -> python3 in readme 2019-02-27 13:09:47 +01:00
brianddk
96ce34b276 Fix incompatibilities with v0.11 movement of methods to misc library.
- pwd_reader.py
    - Moved encrypt/decrypt calls to misc module from client.
    - Corrected key to encode in binstr for Py3.7 hmac functions.
    - Added ui to client.

- pwd_reader.py
    - Moved entropy calls to misc module from client.
    - Added ui to client.
2019-02-27 13:07:51 +01:00
Tomas Susanka
a96c39a9d1 mocks: generate 2019-02-27 11:30:58 +01:00
matejcik
972b47c8e1 docs: update README with more installation instructions 2019-02-26 18:29:22 +01:00
matejcik
697f86210f revert usb reset related commits
As it stands, they cause more harm than good for a point release.
This code will be returned later, when it is more mature
2019-02-26 18:01:19 +01:00
matejcik
0a8b5a08c2 trezorlib: workaround for a problem with Trezor One webusb
when webusb version of T1 is wiped, the usb device changes serial
immediately (unlike TT, which changes it after reconnect).

That confuses libusb on linux, and next time the device is reset, it
will insist on re-enumeration.

To solve this, we leave some explanatory comments, and trigger the
device reset through opening the device right after a wipe.
The client instance is unusable after that, but not much we can do about
it, and on next run trezorctl will behave as if nothing bad happened.
2019-02-26 17:35:25 +01:00