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

515 Commits

Author SHA1 Message Date
Pavol Rusnak
fb09a258b7
git subrepo pull common
subrepo:
  subdir:   "common"
  merged:   "0aaa6c4c1"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "0b98a20e3"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
2020-08-05 12:18:07 +02:00
Pavol Rusnak
3fffa9ae68
common/defs: enable XVG 2020-08-05 12:10:52 +02:00
Marvin Piekarek
83fd1b035b
common/defs: add XVG (#1165) 2020-08-05 12:03:29 +02:00
Andrew Kozlik
5c1f197602 common/protob: Add CancelAuthorization message. 2020-08-04 17:32:44 +02:00
Andrew Kozlik
2c30dd62fc common: Add DoPreauthorized message. 2020-08-04 17:32:44 +02:00
Andrew Kozlik
bbab13f6e7 common/protob: Add AuthorizeCoinJoin message. 2020-08-04 17:32:44 +02:00
gabrielkerekes
f2ee450410 Include metadata in transaction signing 2020-07-30 17:17:03 +02:00
gabrielkerekes
e92baf5b02 Update protobuf 2020-07-30 17:17:03 +02:00
Andrew Kozlik
7c66a16bef common/tools: Check for collisions between U2F app IDs and WebAuthn RP ID hashes. 2020-07-30 15:29:54 +02:00
Andrew Kozlik
7d07161efe common/fido: Unify application labeling between U2F and FIDO2. 2020-07-30 15:29:54 +02:00
gabrielkerekes
b5f3511c1c Add support for script addresses in tx outputs 2020-07-30 14:43:32 +02:00
Pavol Rusnak
cec87bba50
core: remove mono bold font variant (not used anywhere) 2020-07-27 23:22:34 +02:00
Gabriel Kerekeš
d2c1624602 Cardano shelley update 2/3 (#1112) 2020-07-27 13:11:23 +02:00
gabrielkerekes
e1615e60ec Update Cardano to support Shelley era 1/3
Update protobuf

- Previous transactions don't need to be sent anymore, because fee is
  included in the transaction now. Thus transactions_count can be
  removed from CardanoSignTx message and the CardanoTxAck and
  CardanoTxRequest messages can be removed altogether.
- CardanoTxInputType.type is unused so remove it

Add NULL (None type) serialisation to CBOR

- Transaction metada must either have a valid structure or CBOR NULL
  must be used (if metadata is empty) - it can't be simply left out.

Add protocol_magics file

- Just to have a nicer way of representing protocol magics

Update transaction signing

- Previous transactions no longer need to be requested
- Output building is simplified, since fee doesn't need to be calculated
- Remove transaction class since it is no longer needed (only functions
  remained)
- Reorder functions so it reads top to bottom

Add protocol magic to byron address on testnet

- This has always been a part of the spec, but it hasn't been
  implemented before, because it wasn't really needed.

Update trezorlib

Update tests

- Transaction messages are no longer required
- Expected values are different since tx format changed
- Common values in test cases have been extracted

Remove unused file

- Progress was used when receiving previous transactions

Add CRC check to output address validation
2020-07-27 13:04:49 +02:00
matejcik
fdcb64ac24 all: rename protobuf unsafe_prompts to safety_checks 2020-07-24 16:37:58 +02:00
matejcik
1109250dcf core: add option to allow unsafe prompts 2020-07-24 16:37:58 +02:00
Tomas Susanka
5d851fd0f1 common: bump zec and taz support 2020-07-15 08:58:54 +02:00
Tomas Susanka
c030a8fa2d common: update zcash branch id for the upcoming Heartwood fork 2020-07-15 08:58:54 +02:00
Tomas Susanka
15f3021ff1 git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "3ce0b90d7"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "3ce0b90d7"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
2020-07-03 11:47:52 +02:00
Andrew Kozlik
533de50588 common/protob: Add GetOwnershipId message. 2020-07-03 11:17:19 +02:00
Andrew Kozlik
956ea9a94f common: Add ownership_proof field to TxInputType. 2020-07-03 11:17:19 +02:00
Andrew Kozlik
c723c78529 common/protob: Add GetOwnershipProof message. 2020-07-03 11:17:19 +02:00
Andrew Kozlik
cc655575c8 common: Add witness field to TxInputType. 2020-07-03 11:17:19 +02:00
Tomas Susanka
14a8da9c28 common: remove underscore from 'overwintered' field
Due to some Suite/Connect compatibility issues.
2020-07-01 13:56:32 +00:00
Tomas Susanka
ca3dd2bfb9 common: skip deprecated fields during generation; deprecate overwintered field in Zcash 2020-06-30 16:02:21 +02:00
Tomas Susanka
e534ae3ad7 legacy, core: rename Features.pin_cached to unlocked and unify 2020-06-19 21:26:36 +02:00
Andrey
033d49aa22 Code review comments: Added a personalized mail address 2020-06-15 09:53:00 +02:00
Andrey
49bc623a84 Enable extra_data for Zcoin 2020-06-15 09:53:00 +02:00
Pavol Rusnak
46087c4a2b common/tools: validate for string emptiness in cointool 2020-06-11 17:49:30 +02:00
Tomas Susanka
56fe5adcfc Merge branch 'release/2020-06' 2020-06-10 06:51:18 +00:00
Pavol Rusnak
5262ef84cf common/defs/fido: add aws and tutanota 2020-06-05 14:53:13 +02:00
matejcik
6f53ca0ac6 core: rework wait_layout()
The original wait_layout was unreliable, because there are no guarantees
re order of arrival of the respective events. Still, TT's event handling
is basically deterministic, so as long as the host sent its messages
close enough to each other, the order worked out.

This is no longer the case with the introduction of loop.spawn: TT's
behavior is still deterministic, but now ButtonAck is processed *before*
the corresponding wait_layout, so the waiting side waits forever.

In the new process, the host must first register to receive layout
events, and then receives all of them (so the number of calls to
wait_layout must match the number of layout changes).

DebugLinkWatchLayout message must be version-gated, because of an
unfortunate collection of bugs in previous versions wrt unknown message
handling; and this interests us because upgrade-tests are using
wait_layout feature.
2020-06-04 16:18:46 +02:00
matejcik
bbfce4e303 common: introduce ButtonRequestType.PinEntry 2020-06-04 16:18:46 +02:00
matejcik
0600d87c8c common: rename ClearSession to LockDevice, introduce EndSession 2020-06-04 16:18:46 +02:00
matejcik
bd5b3a3f21 common: drop Theta and VeChain ERC tokens, refresh market caps
fixes #1022
fixes #1023
2020-05-29 12:12:30 +02:00
WO
30b93579ea Update Koto coin information 2020-05-25 15:31:55 +02:00
matejcik
72ef86d79a all: enable extra_data for komodo 2020-05-24 14:36:37 +00:00
Tomas Susanka
9dfc08ca61 core/bitcoin: drop decred_script_version 2020-05-21 19:14:39 +02:00
matejcik
eeb46eabca common: refresh token list 2020-05-21 13:29:13 +02:00
Pavol Rusnak
40aa038f0c
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "74560655e"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "74560655e"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2020-05-12 09:19:18 +02:00
Pavol Rusnak
43eccaceb4
common/defs: fix litecoin minfee 2020-05-12 09:18:17 +02:00
Pavol Rusnak
2859972043
common/defs: regenerate coins 2020-04-17 12:05:47 +00:00
matejcik
5885978c83 Merge branch 'release/2020-04' 2020-04-15 15:00:23 +02:00
Pavol Rusnak
6c0a960794
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "bff7fdfe4"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "bff7fdfe4"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2020-04-14 08:52:56 +02:00
Pavol Rusnak
99e15bf597
git subrepo pull common
subrepo:
  subdir:   "common"
  merged:   "54a14197b"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "5eb9901c1"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2020-04-14 08:52:12 +02:00
Dusan Klinec
25b6e9058f xmr: proto - add fields for protocol optimization 2020-04-13 22:19:56 +02:00
matejcik
fc987cbfb2 common: update ethereum icon names to match documentation 2020-04-09 15:22:18 +02:00
matejcik
ae7522165e common: rename auxilium chain to 'auxi' to avoid bad Windows name (fixes #870) 2020-04-09 15:06:29 +02:00
y-chan
e6d884b145
common: Fix maintainer email for vipstar/bitzeny (#891)
* fix my email address

* fix my email address
2020-04-02 11:13:59 +02:00
jagdeep sidhu
e58c5f63d5
common/defs: update SYS (#928) 2020-04-02 00:22:47 +02:00
Tomas Susanka
ab5ba2b106 common: style 2020-03-31 07:22:17 +00:00
Pavol Rusnak
9d116598d0
common/tools: add segwit sanity checks 2020-03-29 14:34:30 +00:00
matejcik
208bac8653 common: drop capricoin blockbook servers 2020-03-26 11:30:06 +01:00
Tomas Susanka
6478b2705c common: regenerate support.json 2020-03-20 14:30:43 +00:00
matejcik
ffdb299c61 all: drop Capricoin support [NO BACKPORT] 2020-03-20 14:19:30 +00:00
matejcik
e2035b4972 all: drop Horizen and BIP-115 support [NO BACKPORT] 2020-03-20 14:19:07 +00:00
matejcik
27803ee8c1 all: drop overwintered field from transaction 2020-03-20 14:18:27 +00:00
Pavol Rusnak
817b922850 all: add extra_data and timestamp fields to coin specification 2020-03-20 14:18:27 +00:00
Izuho Fujiwara
6fdbde98fd
common: add ZNY to connect (#907) 2020-03-16 15:49:21 +01:00
Andrew Kozlik
2f905a1157 core/webauthn: Add algorithm and curve to WebAuthnListResidentCredentials response. 2020-03-12 15:45:26 +01:00
Pavol Rusnak
49fe64f84c
common/protob: update special fields usage in comments 2020-03-10 16:58:59 +00:00
matejcik
d6fa8a9f0f git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "5520ea806"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "5520ea806"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "5d6aba9"
2020-02-28 10:56:02 +01:00
matejcik
bd9663af79 common/defs: update token reference, add new tokens to 2.3.0/1.9.0, regenerate coins_details 2020-02-27 19:13:17 +01:00
matejcik
7a826b9f1b common/defs: drop OMNITrezor (fixes #844) 2020-02-27 19:12:04 +01:00
matejcik
f3f0f507d9 git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "e8ef868cf"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "e8ef868cf"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "5d6aba9"
2020-02-24 15:16:05 +01:00
matejcik
b916072389 common: restore PassphraseAck.state 2020-02-24 15:15:09 +01:00
matejcik
ddee77ecb6 core: add SD clearing via debuglink 2020-02-20 12:51:48 +01:00
Tomas Susanka
ff1bb67abc common: return the PasshraseType button request 2020-02-20 08:04:35 +00:00
matejcik
e61b7d28e9 all: do not send state in PassphraseAck (not needed for compatibility) 2020-02-13 15:44:50 +01:00
Tomas Susanka
2c0504ad1c
Merge pull request #803 from trezor/passphrase
Passphrase Redesign
2020-02-11 16:01:59 +01:00
matejcik
05a1d6f771 core/debug: add "show arbitrary screen" capability, for easier prototyping 2020-02-11 11:53:34 +01:00
matejcik
c01d04f26e common/protob: drop a default field declaration
which triggers nanopb bug https://github.com/nanopb/nanopb/issues/487
2020-02-11 11:53:34 +01:00
matejcik
ff702c7d7f common: add proper markers for deprecated messages 2020-02-10 15:38:26 +01:00
matejcik
cfe0e34215 tests: ignore trezor.log 2020-02-10 12:36:53 +01:00
matejcik
4c9689d7a7 common: return deprecated fields to protobuf, to allow cross-version compatible code 2020-02-10 12:35:28 +01:00
Tomas Susanka
56dc952495 common: fix PassphraseAck.on_device id 2020-02-07 14:19:01 +00:00
Pavol Rusnak
73ed2f3450
legacy: small nitpicks related to the new passphrase handling 2020-02-07 11:41:03 +00:00
Tomas Susanka
f3553f63f1
common: remove PassphraseRequest.on_device completely 2020-02-07 11:41:00 +00:00
Tomas Susanka
c65b57affb
core, legacy: remove passphrase_cached 2020-02-07 11:41:00 +00:00
Tomas Susanka
a3f3d4fcdb
remove ping.passphrase/pin 2020-02-07 11:41:00 +00:00
Tomas Susanka
466dc4732d
core/passphrase: add button requests 2020-02-07 11:40:59 +00:00
Tomas Susanka
cd09f9ce94
all: modify passphrase source to always on device 2020-02-07 11:40:59 +00:00
Tomas Susanka
eafd57c301
common, core: add passphrase entry capability 2020-02-07 11:40:58 +00:00
Tomas Susanka
90d5cdfd5b
all: rework passphrase
The `on_device` field is being moved to PassphraseAck, State messages
are removed. Features newly contain `session_id`.
2020-02-07 11:40:58 +00:00
EtherCore Contributor
c03caaf76a
common/defs: switch ERE logo (#808) 2020-01-29 10:49:21 +01:00
Pavol Rusnak
50773c2a3b
common/defs: fix wanchain wallet link 2020-01-17 14:36:14 +01:00
Pavol Rusnak
8a36ead915
common/defs: add Faceboook to recognized apps 2020-01-16 15:35:45 +00:00
Pavol Rusnak
7c7ed59678
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "467700c73"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "467700c73"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2020-01-12 22:26:35 +01:00
Dušan Klinec
af6a607b39 common/xmr: message changes optimizing runtime and memory (#786) 2020-01-12 22:24:18 +01:00
Tomas Susanka
7c41b40dff
tests: introduce UI tests for core with diffs (#784)
tests: introduce UI tests for core with diffs
2020-01-10 20:39:31 +01:00
EtherCore Contributor
409d4b6da5 common/defs: add EtherCore (#787) 2020-01-06 13:55:03 +01:00
Tomas Susanka
51ef963738 tests: introduce UI tests for core 2020-01-03 14:28:27 +00:00
apollo
feefe34328 common/defs: update wallets.json (#764) 2019-12-19 10:40:07 +01:00
Scotty0448
9d461f548e common/defs: add RITO wallet 2019-12-18 12:07:40 +01:00
matejcik
e7ceb283ca git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "6819f2898"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "6819f2898"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "5d6aba9"
2019-12-16 17:56:23 +01:00
matejcik
c8b1a061de common: drop Trust Wallet from BNB (no Trezor integration) 2019-12-16 17:54:08 +01:00
Pavol Rusnak
8890d90f26
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "31a576f3a"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "31a576f3a"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-12-15 19:47:43 +01:00
Pavol Rusnak
d6a3725955
common: remove coins with no trezor compatible wallets 2019-12-15 18:19:36 +00:00
matejcik
1c23c24059 common: apply overrides for Auxilium
properly fixes #723
closes #724
2019-12-13 15:44:22 +01:00
Tomas Susanka
87d2217b2a
Merge pull request #723 from yorugac/fix/update-aux-coin-details
Update of coin_details.json
2019-12-13 15:13:34 +01:00
Pavol Rusnak
e5bdf0d51b
Merge pull request #742 from trezor/language
common: change language field to IETF BCP 47 language tag
2019-12-12 18:07:54 +01:00
Andrew Kozlik
813beda90d
Merge pull request #746 from trezor/andrewkozlik/fido2-self-att-flag
Add use_self_attestation flag to FIDO apps
2019-12-12 11:19:35 +01:00
Pavol Rusnak
d6cc035f00
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "54b2470a8"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "54b2470a8"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-12-11 15:28:23 +00:00
Szymon Lesisz
21b6ab3e98 common: update zcash consensus branch_id (Blossom fork) (#745) 2019-12-11 16:27:28 +01:00
Andrew Kozlik
0432f5e801 webauthn: Add use_self_attestation flag to FIDO apps. 2019-12-11 15:29:52 +01:00
Pavol Rusnak
0d4a889dd0
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "669fc83eb"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "669fc83eb"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-12-09 18:04:19 +01:00
Pavol Rusnak
7646b97dca
common: divisibility -> decimals 2019-12-09 17:43:47 +01:00
matejcik
6225fa6193 common/fido: change FIDO icon checking logic 2019-12-09 16:31:46 +01:00
matejcik
12fb69d789 common/tools: fix comment 2019-12-09 16:31:46 +01:00
matejcik
558020be01 common: drop lastpass from FIDO apps
as it doesn't actually support FIDO/U2F
2019-12-09 16:31:46 +01:00
matejcik
0320a6f23b common: move FIDO defs to "fido" subdirectory 2019-12-09 16:31:46 +01:00
matejcik
04c34fb4b0 common: add support for FIDO data to template rendering 2019-12-09 16:31:46 +01:00
matejcik
6a3910b8ff common: add bitwarden logo 2019-12-09 16:31:46 +01:00
matejcik
cad7bb9423 common: add support for FIDO apps to cointool
also resize icons to the same 128x128 RGBA format as coin logos are
using
2019-12-09 16:31:46 +01:00
Pavol Rusnak
bb8d809a6d
common: change language field to IETF BCP 47 language tag 2019-12-08 11:27:10 +01:00
Tomas Susanka
1b88840f53 docs: move docs to root 2019-12-06 12:24:20 +00:00
Pavol Rusnak
3d50bb5ed8
common: add Peercoin, regenerate coins 2019-12-05 09:43:32 +00:00
Pavol Rusnak
5301c03607
common: add coin.divisibility attribute
legacy: remove has_address_type/has_address_type_p2sh
2019-12-05 04:30:51 +01:00
Andrew Kozlik
1bc8226a50 common, core: Add wipe_code_protection to the Features message. 2019-11-25 12:32:20 +01:00
Andrew Kozlik
4381511930 common: Add ChangeWipeCode message. 2019-11-25 12:32:20 +01:00
Shinoa-Fores
5e7dd41613 Update wallets.json (#725)
Fixed to point to proper uno-electrum repo
2019-11-25 04:58:51 +01:00
Olha Yevtushenko
5bdd3b379b update coin_details.json for AUX 2019-11-24 12:27:04 +02:00
Andrew Kozlik
2ae1d9a935 webauthn: Disable signature counter in FIDO2 for dropbox.com, gandi.net, secure.login.gov. 2019-11-21 13:59:45 +01:00
matejcik
fd8aed6105 all: drop XPRV feature of LoadDevice 2019-11-13 16:48:35 +01:00
Pavol Rusnak
16af7f1353 common: add {needs,no}_backup flags to LoadDevice, make it debug only 2019-11-13 16:48:35 +01:00
Tomas Susanka
2a20287882 common/protobuf: add message for retrieving an increased u2f counter 2019-11-13 10:55:52 +00:00
Pavol Rusnak
e1c072221e
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "e2a545110"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "e2a545110"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-11-03 11:12:38 +00:00
Pavol Rusnak
159b6d0308
common/defs: fix support.json 2019-11-03 11:12:25 +00:00
Pavol Rusnak
1523f09b37
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "47de95caa"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "47de95caa"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-11-03 10:44:54 +00:00
Pavol Rusnak
0040b916d2
common/defs: remove inactive coins 2019-11-03 10:44:22 +00:00
Pavol Rusnak
2d8f70d49a
common/defs: add mojeid.cz definition to webauthn 2019-11-01 12:54:28 +00:00
apollo
18c926a34b common/defs: fix zcore signing (#669) 2019-11-01 00:18:03 +01:00
Jan Hrnko
0ee0ade761 fix whitespaces 2019-10-30 10:07:30 +01:00
Pavol Rusnak
ddea567ecc
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "23ee4ad59"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "23ee4ad59"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-10-24 09:16:55 +00:00
Pavol Rusnak
5fe2f7e59c common/protob: remove ButtonRequest.data field 2019-10-24 11:11:43 +02:00
Adrian Nagy
384275ac73
core/tezos: support the new protocol update (005-BABYLON) 2019-10-23 17:53:10 +02:00
matejcik
a8fc569016 debug: add support for general layout waiting 2019-10-22 17:06:49 +02:00
matejcik
06e10f948d protobuf: send x/y coordinates, allow waiting for layout change 2019-10-22 16:55:30 +02:00
Tomas Susanka
0511cc8b8c core: add final mypy fixes! 2019-10-22 14:36:25 +00:00
Tomas Susanka
8f34b4c5de
Merge pull request #628 from trezor/tsusanka/sdprotect-fix
Skip sd protect test on device
2019-10-22 15:40:03 +02:00
Pavol Rusnak
c2aa8a04c0
common/defs: update tokens 2019-10-22 10:59:52 +02:00
Pavol Rusnak
ade3b6aebd
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "e6321c8fa"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "e6321c8fa"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-10-21 09:49:09 +00:00
Pavol Rusnak
178d58c763
common/defs: remove BTDX as it has no Trezor compatible wallet 2019-10-21 09:48:19 +00:00
Pavol Rusnak
07c7da8df6
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "4585439ae"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "4585439ae"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-10-20 17:12:14 +00:00
Pavol Rusnak
4e5b60ec2b
common/defs: remove BITC per maintainer request 2019-10-20 17:11:43 +00:00
Pavol Rusnak
3f9642dd70
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "dee2f32db"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "dee2f32db"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-10-19 17:15:05 +00:00
Pavol Rusnak
3ebc79f9b2
common/defs: remove MEC per maintainer request 2019-10-19 17:14:32 +00:00
Pavol Rusnak
236b6334c6
common/defs: add new wallets 2019-10-18 10:28:31 +00:00
Pavol Rusnak
47246c96f9
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "a8832ac09"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "a8832ac09"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-10-18 10:15:05 +00:00
Pavol Rusnak
9b7a2095b3
common/defs: update coins info 2019-10-18 10:14:33 +00:00
Emma Hsueh
ac201fa92b
common/defs: add ETP 2019-10-17 17:24:22 +02:00
Tomas Susanka
f0cd99c545 common/protob: add sd card/protection to Features 2019-10-17 15:58:12 +02:00
Pavol Rusnak
0e9aa6b307
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "f61d905a0"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "f61d905a0"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-10-17 07:18:19 +00:00
Pavol Rusnak
1da51161c4
common/defs: sort wallets.json 2019-10-17 07:17:47 +00:00
sidhujag
de4c7bb855
common/defs: add SYS 2019-10-17 06:45:47 +00:00
Pavol Rusnak
d17ced9305
common/defs: remove ZCL as per maintainer request 2019-10-16 20:50:45 +00:00
Pavol Rusnak
d28bc3c3a6
common/defs: remove BSD - website does not exist, maintainer not reachable 2019-10-16 10:18:33 +00:00
Pavol Rusnak
3e20c51dbf
common/defs: remove MTNS - maintainer not reachable
website does not exist, backends don't work
2019-10-16 10:15:19 +00:00
Pavol Rusnak
4c640bcb3e
git subrepo pull common
subrepo:
  subdir:   "common"
  merged:   "f88fa3f75"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "f88fa3f75"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-10-15 17:30:50 +02:00
Pavol Rusnak
dfe3e3e95e
sync common subrepo 2019-10-15 17:29:20 +02:00
Pavol Rusnak
533d9c6794
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "3cd4b8eaa"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "3cd4b8eaa"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-10-15 15:59:53 +02:00
Pavol Rusnak
b23da6acb9
common: update wallet support list 2019-10-15 15:59:53 +02:00
apollo
74bcc05e2e common/defs: add ZCR (#611) 2019-10-11 21:01:11 +02:00
Andrew Kozlik
564b24191e debug: Add left and right swipe direction to DebugLinkDecision message and unify terminology around swipe direction. 2019-10-10 14:56:49 +02:00
Andrew Kozlik
710866074b core/webauthn: Fix mypy warnings. 2019-10-09 18:13:48 +02:00
JonSalazar
d33010d6d3 common/defs: add XSN to wallets.json 2019-10-08 21:18:35 +02:00
Sotiris Blad
fdd8f5ff09 common/defs: add MUE wallet (#604) 2019-10-07 14:40:45 +02:00
Sirak Ghazaryan
8317774e06 common/defs: enable CRW (#600) 2019-10-07 14:39:37 +02:00
matejcik
ff44248346 git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "5d98111e5"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "5d98111e5"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "5d6aba9"
2019-10-03 13:34:21 +02:00
baff5b
c17ab67dda common/defs: add XRC to Connect (#595) 2019-10-02 20:09:10 +02:00
Andrew Kozlik
9ea8136545 u2f: Add keepersecurity.eu to knownapps. 2019-09-26 19:02:29 +02:00
Andrew Kozlik
e4c13b6357 u2f: Store hashes of U2F application parameters instead of pre-images. 2019-09-26 19:02:29 +02:00
Andrew Kozlik
6a33889706 common/webauthn: Add new URLs for gandi.net and Slush Pool. 2019-09-26 19:02:29 +02:00
Andrew Kozlik
839c6cdac5 common/webauthn: Allow multiple URLs per app. 2019-09-26 19:02:29 +02:00
Andrew Kozlik
5e99058832 common/webauthn: Add webauthn RP ID for google.com. 2019-09-25 19:59:59 +02:00
Pavol Rusnak
a4c39c5c34
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "67e90bd11"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "67e90bd11"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-09-19 18:08:22 +02:00
Pavol Rusnak
df7094eb01
common/defs: regenerate support 2019-09-19 18:07:18 +02:00
hatchpay
d96c2e0dae common/defs: add HATCH (#543) 2019-09-19 18:00:48 +02:00
Pavol Rusnak
68513a0b39
Merge pull request #538 from trezor/andrewkozlik/fido2-signcount
Disable FIDO2 signature counter for some relying parties
2019-09-19 17:00:51 +02:00
Tomas Susanka
cefb1cf4fd core: refactor slip39 2019-09-19 16:38:29 +02:00
Andrew Kozlik
315a30b42b core/webauthn: Disable FIDO2 signature counter for some relying parties 2019-09-19 16:16:58 +02:00
Scotty0448
2a59360afa common/defs: add RITO to Connect (#536) 2019-09-19 15:44:37 +02:00
Andrew Kozlik
06fc676cc9 common/messages: Add SdProtect message. 2019-09-18 18:53:42 +02:00
Andrew Kozlik
091053507d common/messages: Add credential management message. 2019-09-17 18:32:31 +02:00
Pavol Rusnak
e91cd6bfa6
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "4fd24eafa"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "4fd24eafa"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-09-06 12:29:04 +02:00
Szymon Lesisz
9264f787cf common: add BNB to support.json (#503) 2019-09-06 12:28:13 +02:00
Min Khang Aung
f252edfc7e common: add blockbook link to cpuchain (#477) 2019-09-01 18:23:01 +02:00
TheCreator
64034c6d7d common: enable UNO (#472) 2019-09-01 09:47:58 +02:00
Pavol Rusnak
851b786c2e
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "37e1bace9"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "37e1bace9"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-08-31 23:43:42 +02:00
Pavol Rusnak
68d2e4c075
common: update coins_details.json 2019-08-31 23:43:17 +02:00
Marek Mahut
a540a3f15b common: adding Yoroi wallet for Cardano (#475) 2019-08-31 22:36:41 +02:00
Pavol Rusnak
1a71c7a3e8
common: rename Features.features to Features.capabilities 2019-08-28 15:02:30 +02:00
Pavol Rusnak
1adbc79068
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "a6d4e4b20"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "a6d4e4b20"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-08-28 09:25:52 +02:00
Pavol Rusnak
dde4c12796
common: add Feature.ShamirGroups to features 2019-08-28 09:25:11 +02:00
Pavol Rusnak
fee1578dab
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "7b84a98cb"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "7b84a98cb"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-08-27 19:20:18 +02:00
Pavol Rusnak
4354ab0e06
git subrepo pull common
subrepo:
  subdir:   "common"
  merged:   "74e19519b"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "2a1d9c3f3"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-08-27 19:19:49 +02:00
Pavol Rusnak
74bc83726c
common: add Feature.Shamir to features 2019-08-27 17:17:26 +02:00
Ryxor
2c709ee162 common/defs: add Umbru (#433) 2019-08-23 11:59:30 +02:00
Pavol Rusnak
625aafbe36
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "2bc82a96"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "2bc82a96"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-08-23 10:24:03 +02:00
Pavol Rusnak
60d1d93228
common: fix whitespace 2019-08-21 17:30:52 +02:00
Pavol Rusnak
0f6e06e1e5
common/tools: reorder coins in coin_info.py so Regtest appears at the beginning 2019-08-21 11:06:02 +02:00
Pavol Rusnak
cc184a0a30
common: introduce Features.features enum 2019-08-20 14:38:31 +02:00
Pavol Rusnak
101ec1d161
common/protob: fix wrong typing info for Lists 2019-08-20 14:38:30 +02:00
omtns
1bb77b81c0 common/defs: enable MTNS (#415) 2019-08-16 17:29:50 +02:00
matejcik
d4b1e256d6 git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "04fb1c22"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "04fb1c22"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "5d6aba9"
2019-08-13 16:36:48 +02:00
Szymon Lesisz
5b20459fc8 common/defs: remove empty blockchain_link objects (#404) 2019-08-12 15:49:00 +02:00
Roman Zeyde
7210a2f56d common/defs: add 'confidential_assets' section to coin definitions (#399)
Enable 'confidential_assets' for Elements (following #66 and #317) to allow
deriving confidential addresses and signing confidential transactions.

The following Python helper script was used to update the JSON files:
```
import json
import sys

for f in sys.argv[1:]:
    d = json.load(open(f))
    d["confidential_assets"] = None
    with open(f, "w") as o:
        json.dump(d, o, indent=2)
        o.write("\n")
```

Set it to `{'address_prefix': 4, 'blech32_prefix': 'el'}` for Elements.

`coins.json` and `coininfo.py` were re-generated using:
```
$ pipenv run make gen gen_check
```
2019-08-12 12:52:20 +02:00
yorugac
2923f3390f common/ethereum: add AUX network (#401) 2019-08-11 18:59:39 +02:00
Enrique
9164c15f1b common: enable POLIS in Connect (#397) 2019-08-10 20:35:34 +02:00
matejcik
0890f68c0c core: use channels to give feedback over debuglink
all debug input signals are now channels, and DebugLinkDecision handler
waits until the input was consumed. This means that the input events are
queued; originally, if an input event arrived before the previous was
consumed, the previous input would be lost.

reset words and their positions are now also channels, and
DebugLinkGetState can wait for their updates, if required
2019-08-09 16:53:12 +02:00
Pavol Rusnak
e23bb10ec4
core+legacy: fix KMD signing (introduce negative_fee coin field) 2019-08-09 16:47:24 +02:00
Pavol Rusnak
cbcb524de8
common: enable new coins 2019-08-09 13:23:30 +02:00
Andrew Kozlik
1d56b8b9a1 webauthn: Add login.microsoft.com to knownapps. Add Microsoft icon. 2019-08-09 12:46:28 +02:00
Pavol Rusnak
91897089b2
legacy: enable new coins
(cherry picked from commit d7efdc3b44)
2019-08-07 12:43:52 +02:00
matejcik
aa9860fdb7
protobuf: add enum value validation (#363) 2019-08-02 19:06:01 +02:00
Ciny
90b91a7fb5 #28 - binance implementation (#189)
- placeOrder, cancelOrder, transfer messages
- cli support
- unit and device tests
2019-07-31 17:02:41 +02:00
Tomas Susanka
ac887f514d git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "868b7db8"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "868b7db8"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-07-26 16:39:28 +02:00
Tomas Susanka
a8c9a4ddc4 core/shamir: send boolean flag in Features that Recovery is in progress 2019-07-26 16:38:05 +02:00
Pavol Rusnak
fd4b7af936
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "3d3659f6"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "3d3659f6"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-07-26 13:22:14 +02:00
Pavol Rusnak
d0a74e43df
common/defs: regenerate coins_details.json 2019-07-26 13:21:55 +02:00
Pavol Rusnak
ae3963a807
common/tools: rework trezor url matching in coins_details.py 2019-07-26 13:21:28 +02:00
Pavol Rusnak
0246579779
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "302d02fb"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "302d02fb"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-07-26 13:12:41 +02:00
Pavol Rusnak
1fdd6140a2
common/defs: regenerate coins_details.json 2019-07-26 13:12:18 +02:00
Pavol Rusnak
5684983b3c
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "be136578"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "be136578"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-07-26 12:41:42 +02:00
Pavol Rusnak
9f6bd97e54
common/defs: add wallets to misc coins 2019-07-26 12:40:54 +02:00
Pavol Rusnak
6e249a9d20
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "aea91ab4"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "aea91ab4"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-07-25 12:34:59 +02:00
Pavol Rusnak
4898e8b727
common/defs: add Bloks to wallets 2019-07-25 12:34:24 +02:00
Tomas Susanka
e95a97f281 common/protobuf: set mnemonic as repeated in LoadDevice for SLIP-39 support 2019-07-24 15:45:52 +02:00
Tomas Susanka
d2597d54c1 core/shamir: persistence
updates #270
2019-07-24 15:12:04 +02:00
Min Khang Aung
50d18fb2bb common/defs: update wallets.json (#357) 2019-07-24 12:16:12 +02:00
Tomas Susanka
071bd112e3 git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "8cb9df8d"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "8cb9df8d"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-07-22 16:08:07 +02:00
Tomas Susanka
71dbbf9e97 common/protobuf: replace ResetDevice.slip39 with enum 2019-07-22 15:22:44 +02:00
matejcik
ebf8736c5a git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "661cf3a3"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "661cf3a3"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "5d6aba9"
2019-07-19 13:36:27 +02:00
Zdeněk Zippy Slezák
e344eea2b3
Update capricoin.json 2019-07-19 12:40:19 +02:00
Tomas Zorvan
9e65c8c2ea common/defs: update minimal fee for Namecoin (#340) 2019-07-16 15:14:35 +02:00
Pavol Rusnak
68efe429cd
common/defs: add qtum to webwallet 2019-07-12 19:29:13 +02:00
zakurai
4fe5cb1af8 common/defs: add BITG (#329) 2019-07-12 19:14:26 +02:00
Andrew Kozlik
b9f63c3f55 webauthn: Add Binance to knownapps. Add Binance icon. 2019-07-12 11:38:44 +02:00
Kewde
87e6cb1089 common/defs: add Particl (#316) 2019-07-11 14:24:39 +02:00
Pavol Rusnak
34653a326e
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "db106e8f"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "db106e8f"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-07-09 17:11:58 +02:00
Pavol Rusnak
28619468a7
common/defs: regenerate coins_details.json 2019-07-09 17:11:31 +02:00
Jan Pochyla
86e16bbf31 messages: add types 2019-07-09 12:51:48 +02:00
Min Khang Aung
21bf62562a common/defs: add CPUchain (#311) 2019-07-08 19:13:03 +02:00
Pavol Rusnak
14063ee494
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "75dfc724"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "75dfc724"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-07-08 11:54:33 +02:00
Pavol Rusnak
7f11a85377
common/defs: add Monero wallet link 2019-07-08 11:50:23 +02:00
y-chan
6da3180f1d common/defs: add electrum wallets (#310) 2019-07-08 11:44:56 +02:00
Tomas Susanka
30e8eb421a git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "71bd68c8"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "71bd68c8"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-06-24 13:53:09 +02:00
Tomas Susanka
132519123e common: add slip39 flag to reset_device 2019-06-23 21:27:06 +02:00
sergeykrasilnik
f726d58c55 common/defs: add XRC wallet link (#256) 2019-06-23 20:36:08 +02:00
Cabecinha84
8a94aef1b0 common/defs: add ZelCash (#251) 2019-06-18 12:01:49 +02:00