Pavol Rusnak
4ed714ba47
common/defs: add xpub_magic_multisig_segwit_{native,p2sh} fields to coins
2021-01-21 23:46:29 +01:00
Pavol Rusnak
6689b9c22f
common/protob: add GetAddress.ignore_xpub_magic field
2021-01-21 23:46:29 +01:00
Rafael Korbas
3a7a8e4d77
Disable "at least one output" restriction for Cardano, warn instead
2021-01-20 16:00:30 +01:00
mcudev
b8ffcadf94
common/defs/fido: add gemini webauthn ( #1416 )
2021-01-19 14:15:19 +01:00
Pavol Rusnak
a7e7f6fc5f
common/defs: fix typo in cointool; remove icons of already deleted coins
...
[skip_ci]
2021-01-13 19:52:59 +01:00
Pavol Rusnak
a205a86505
docs: fix typo
...
[skip_ci]
2021-01-13 11:06:36 +01:00
Pavol Rusnak
edb1243f64
feat(proto): add descriptors related fields to GetPublicKey/PublicKey
2021-01-08 14:17:09 +01:00
matejcik
9a9f23c54e
chore(common): regenerate coins_details
2021-01-04 12:17:55 +01:00
matejcik
8cae43f874
fix(common): drop non-functional wallet links ( fixes #1400 )
2021-01-04 12:17:40 +01:00
Pavol Rusnak
d657cdaeef
fix(common): update protob combine script to reflect new changes
2020-12-10 16:53:00 +01:00
Pavol Rusnak
1187e4ddaf
style(common): use new syntax for typing in autogenerated protobuf enums
2020-12-01 15:52:29 +01:00
matejcik
58387a5f04
fix(common): drop Zilliqa token ( fixes #1318 )
2020-11-20 18:55:35 +01:00
matejcik
f0ede24bd7
chore(common): refresh coins details
2020-11-20 18:55:35 +01:00
matejcik
dc7f49aeea
chore(common): update tokens and support data
2020-11-20 18:55:35 +01:00
matejcik
1bade86792
feat(common): load Ethereum networks from upstream
2020-11-20 18:55:35 +01:00
matejcik
e72b6abf47
feat(common/tools): use pathlib in cointool
2020-11-20 18:55:35 +01:00
matejcik
ac65867771
feat(common): move out blockbook urls to a separate file
2020-11-20 18:55:35 +01:00
matejcik
f709df02d6
feat(common/tools): allow overriding non-token network duplicity info
2020-11-20 18:55:35 +01:00
matejcik
e8fcdbb426
feat(common): add upstream Ethereum chains repository
2020-11-20 18:55:35 +01:00
Rafael Korbas
b311bd4d4a
Add displaying of TTL to cardano transaction, align url validation with Ledger
2020-11-20 15:58:50 +01:00
Rafael Korbas
b261f789f3
Add support for stakepool registration to Cardano
2020-11-20 15:58:50 +01:00
Pavol Rusnak
c6e78e525a
fix: remove PIVX ( #1359 )
2020-11-20 12:12:42 +01:00
Huge
e871a1c4ae
docs(common): remove mention of deprecated folder ( #1349 )
...
There is no coins/ subdirectory anymore so it makes no sense to describe it.
2020-11-17 15:43:01 +01:00
Pavol Rusnak
f0968e8f66
common: don't use Beta/Next but rather Suite
2020-11-14 16:45:31 +01:00
Pavol Rusnak
de44454cbf
common: reintroduce accountviewer.stellar.org
2020-11-14 16:42:43 +01:00
Pavol Rusnak
50fdd183c2
ci: enable editorconfig checks, fix whitespace issues
2020-11-11 14:43:50 +01:00
Andrew Kozlik
f71af43874
chore(common): Add sanity checks for protobuf definitions.
2020-10-23 15:07:15 +02:00
Andrew Kozlik
9e5d5bd5f9
feat: Add support for experimental field flag in protobuf.
2020-10-23 15:07:15 +02:00
Andrew Kozlik
ad6a0bc2a2
chore(common): Add new request types TXORIGINPUT and TXORIGOUTPUT.
2020-10-23 15:07:15 +02:00
Andrew Kozlik
443e0c101e
chore(common): Add orig_hash and orig_index fields to TxInput and TxOutput.
2020-10-23 15:07:15 +02:00
Martin Milata
0376670404
feat(common): expose 'unstable' option in generated code
2020-10-16 13:53:31 +02:00
Martin Milata
314cd260eb
feat(common): add experimental_features setting
2020-10-16 13:53:31 +02:00
Martin Milata
b2c4bbdaa2
feat(common): add auto_lock_delay and display_rotation to Features
2020-10-02 11:06:16 +02:00
Rafael Korbas
66dbdc2462
Enforce network id/protocol magic consistency for cardano show address
2020-09-29 08:55:28 +02:00
matejcik
46e8804477
docs(common): add comments and reserved fields to TxAck subtypes
...
this will hopefully make it more difficult to break TransactionType
compatibility
2020-09-25 12:32:44 +02:00
matejcik
0eed360037
chore: make tx type names shorter
...
as suggested by @andrewkozlik:
TxAckInputType -> TxInput
TxAckOutputType -> TxOutput
TxAckPrevTxType -> PrevTx
TxAckPrevInputType -> PrevInput
TxAckPrevOutputType -> PrevOutput
2020-09-23 16:00:10 +02:00
matejcik
396de3f05e
feat(common): add more required fields
2020-09-23 16:00:10 +02:00
matejcik
185c2ac17d
feat(common): specialize TxAck messages, add more required fields
2020-09-23 16:00:10 +02:00
matejcik
8847c58bbf
feat(common): allow overriding wire_type of a generated message
2020-09-23 16:00:10 +02:00
matejcik
90ee5f3d38
feat!: implement protobuf required fields and default values
...
BREAKING CHANGE: this makes arguments to protobuf constructors
keyword-only, and arguments corresponding to required fields are now
mandatory
2020-09-23 16:00:10 +02:00
Pavol Rusnak
0799b64b29
chore(common/defs): regenerate coins_details.json
2020-09-23 11:46:26 +02:00
Pavol Rusnak
f8489f16e4
fix(common/defs): remove FSN, ICX which migrated to mainnet
2020-09-23 11:31:09 +02:00
Pavol Rusnak
fc5847854b
fix(common/defs): add BNB wallet
2020-09-18 11:05:31 +02:00
Martin Milata
7d37b2c90f
common: add PromptTemporarily to SafetyChecks enum
2020-09-18 09:02:40 +02:00
Martin Milata
9f066e877d
common: add SafetyCheckLevel to Features
2020-09-18 09:02:40 +02:00
Andrew Kozlik
5d745d5d04
common/protob: Add commitment_data to TxInputType.
2020-09-08 19:36:10 +02:00
Tomas Susanka
b99b8b3df3
Merge remote-tracking branch 'origin/release/2020-09'
2020-09-03 13:17:23 +02:00
Pavol Rusnak
2148402f84
common/defs: update coins details
2020-09-02 15:05:50 +02:00
Tomas Susanka
ba36cef369
tests: move fixtures to common directory, start with Cardano
2020-09-01 16:14:41 +02:00
matejcik
e0583dd5cb
all: use a specific error code for "invalid session"
2020-08-28 15:37:06 +02:00
Martin Milata
df5421e7d6
common/defs: update maxfee_kb to 10USD/tx
...
Except bitcoin.
(cherry picked from commit f51fac3410
)
2020-08-25 18:06:54 +02:00
Martin Milata
f51fac3410
common/defs: update maxfee_kb to 10USD/tx
...
Except bitcoin.
2020-08-25 18:05:29 +02:00
Martin Milata
f6b7622dd2
common/tools: add maxfee.py for updating maxfee_kb
2020-08-25 18:05:29 +02:00
Martin Milata
9849d84a5e
common/tools: factor out marketcap data download
2020-08-25 18:05:29 +02:00
matejcik
336000154a
common: add "unstable" as a custom protobuf extension ( fixes #1220 )
2020-08-25 10:47:18 +02:00
Pavol Rusnak
41f5237967
common/defs: enable extra_data for FLO
...
(cherry picked from commit 534695313c
)
2020-08-24 11:08:02 +02:00
Pavol Rusnak
534695313c
common/defs: enable extra_data for FLO
2020-08-24 11:06:12 +02:00
Alexis Hernandez
96c38315df
common/defs: enable extra_data for XSN ( #1208 )
2020-08-20 20:40:30 +02:00
Pavol Rusnak
41607f7029
common/defs: update tokens
2020-08-19 19:29:18 +02:00
Pavol Rusnak
fd87c62b68
common/defs: remove coins with no Trezor-compatible wallets
2020-08-19 19:29:18 +02:00
matejcik
d2a5bb5b34
common: fix style
2020-08-07 11:55:50 +02:00
matejcik
5de3787915
common: regenerate coins_details
2020-08-07 11:50:07 +02:00
matejcik
51ea8ccecd
common: update token support
2020-08-07 11:49:26 +02:00
matejcik
de77a3727d
common: drop CyberMiles ( fixes #1169 )
2020-08-07 11:35:49 +02:00
matejcik
6218989e91
common: drop compatibility link
2020-08-07 11:30:09 +02:00
Pavol Rusnak
56c4027a6d
git subrepo push common
...
subrepo:
subdir: "common"
merged: "beb242691"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "beb242691"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2020-08-05 12:19:20 +02:00
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